@ensar - I am getting ready to deploy a new system and this HAT seems to have issues. It is connected to the power.sixfab.com system as device-id: dca632a1e28e.
Certain battery metrics are not working like current and power. Level seems stuck at 57% while working mode is “fully charged”. If I remove the adapter power, I can see the battery voltage change, but all other metrics remain static.
Any suggestions? Thanks.
pi@-dca632a1e28e:~ $ curl http://localhost:6060/signals/soft_shutdown
{“value”:false}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/signals/soft_reboot
{“value”:false}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/signals/system_temperature
{“value”:true}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/signals/battery_temperature
{“value”:true}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/signals/watchdog
{“value”:true}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/metrics/version
{“metric”:“version”,“value”:“0.3.22”}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/metrics/fan/health
{“metric”:“health”,“sensor”:“fan”,“value”:1}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/metrics/working_mode
{“metric”:“working_mode”,“value”:“fully_charged”}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/metrics/battery/level
{“metric”:“level”,“sensor”:“battery”,“value”:57}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/metrics/battery/health
{“metric”:“health”,“sensor”:“battery”,“value”:91}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/metrics/fan/speed
{“metric”:“speed”,“sensor”:“fan”,“value”:0}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/metrics/input/temperature
{“metric”:“temp”,“sensor”:“input”,“value”:41.5}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/metrics/input/voltage
{“metric”:“voltage”,“sensor”:“input”,“value”:13.952}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/metrics/input/current
{“metric”:“current”,“sensor”:“input”,“value”:0.45}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/metrics/input/power
{“metric”:“power”,“sensor”:“input”,“value”:6.278}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/metrics/system/temperature
{“metric”:“temp”,“sensor”:“system”,“value”:54.0}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/metrics/system/voltage
{“metric”:“voltage”,“sensor”:“system”,“value”:5.116}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/metrics/system/current
{“metric”:“current”,“sensor”:“system”,“value”:1.018}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/metrics/system/power
{“metric”:“power”,“sensor”:“system”,“value”:5.328}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/metrics/battery/temperature
{“metric”:“temp”,“sensor”:“battery”,“value”:21.0}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/metrics/battery/voltage
{“metric”:“voltage”,“sensor”:“battery”,“value”:4.197}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/metrics/battery/current
{“metric”:“current”,“sensor”:“battery”,“value”:0.0}
pi@-dca632a1e28e:~ $ curl http://localhost:6060/metrics/battery/power
{“metric”:“power”,“sensor”:“battery”,“value”:0.0}
pi@-dca632a1e28e:~ $