We have built a nice ultra low battery powered Solar Powerd Pi0w platform. It is DC powered up by uAmp idling micro runs for 10 minutes every hour. It would be nice to know if the state of the Low Voltage / LED / Warning has been triggered as part of the monitor and control feature
Does anyone know of a handy script or process to pick this low volts / brown out state. It would be hand if it could be monitored in python or by other method forwarded to the a Cayenne dashboard.
I think rather than follow the status of the LED the better way would be to dev some script and find the bit within the vcgencmd get_throttled command.
This returns a hex number in which the following bits may be set:
1: arm frequency capped
2: currently throttled
16: under-voltage has occurred
17: arm frequency capped has occurred
18: throttling has occurred https://www.raspberrypi.org/forums/viewtopic.php?p=1380859
This could be handy for monitoring the other states and tracking issues and bugs in stressed hardware. Will update if I get something like a script together that posts to a custom dashboard widget