mirror of
https://github.com/compute-blade-community/compute-blade-agent.git
synced 2026-04-21 17:45:43 +02:00
* feat: add smart fanunit (serial) protocol Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com> * feat: add rudimentary eventbus to ease implementation Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com> * feat: smart fanunit client Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com> * feat: initial smart fan unit implementation Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com> * feat: improve logging, double btn press Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com> * fix: testcases Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com> * fix: context closure handling, RPM reporting Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com> * fix: address linting issues Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com> * fix: edge line closure Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com> * fix: reset CPU after i2c lockup Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com> * feat: add uf2 to release Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com> --------- Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
49 lines
1014 B
YAML
49 lines
1014 B
YAML
# Default configuration for the computeblade-agent
|
|
|
|
log:
|
|
mode: production # production, development
|
|
|
|
# Listen configuration
|
|
listen:
|
|
metrics: ":9666"
|
|
grpc: /tmp/computeblade-agent.sock
|
|
|
|
# Hardware abstraction layer configuration
|
|
hal:
|
|
# For the default fan unit, fanspeed measurement is causing a tiny bit of CPU laod.
|
|
# Sometimes it might not be desired
|
|
rpm_reporting_standard_fan_unit: true
|
|
|
|
# Idle LED color, values range from 0-255
|
|
idle_led_color:
|
|
red: 0
|
|
green: 16
|
|
blue: 0
|
|
|
|
# Identify LED color
|
|
identify_led_color:
|
|
red: 16
|
|
green: 0
|
|
blue: 16
|
|
|
|
# Critical LED color
|
|
criticalLedColor:
|
|
red: 64
|
|
green: 0
|
|
blue: 0
|
|
|
|
# Enable/disable stealth mode; turns off all LEDs on the blade
|
|
stealth_mode: false
|
|
|
|
|
|
# Simple fan-speed controls based on the SoC temperature
|
|
fan_controller:
|
|
# For now, this is only supporting a two-step configuration.
|
|
steps:
|
|
- temperature: 45
|
|
speed: 40
|
|
- temperature: 55
|
|
speed: 80
|
|
# Critical temperature threshold
|
|
critical_temperature_threshold: 60
|