Seems indeed the vcgencmd is Raspberry specifc, and other devices with Broadcom VideoCore processors. So I agree we should put this stuff in a separate node. Read somewhere that vcgencmd stands for "VideoCore general command". Should we call it node-red-contrib-videocom?
How should the output look like: an array of booleans in the payload? E.g.
{
"payload": {
"under_voltage_detected" : true,
"arm_frequency_capped" : true,
"currently_throttled" : true,
"soft_temperature_limit_active" : true,
"under_voltage_occurred" : true,
"arm_frequency_capped_occurred" : true,
"throttling_occurred" : true,
"soft_temperature_limit_occurred" : true
}
}
Or should it be separate messages with their own topic? E.g.
{
"payload": true,
"topic": "under_voltage_detected"
}
Indeed ...