# Ras Pi supply voltage

**URL:** <https://discourse.nodered.org/t/ras-pi-supply-voltage/8791>\
**Category:** General\
**Created:** [9 March 2019 22:41 UTC](https://discourse.nodered.org/t/ras-pi-supply-voltage/8791 "2019-03-09T22:41:48Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [10 March 2019 20:01 UTC](https://discourse.nodered.org/t/ras-pi-supply-voltage/8791/12 "2019-03-10T20:01:58Z")

</div>

> [@dceejay](#):
>
> I think this voltage thing is fairly Pi specific

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 " **V** ideo **C** ore **gen** eral **c** om **m** an **d**". Should we call it **node-red-contrib-videocom**?

> [@Paul-Reed](#):
>
> The resulting bit pattern is

How should the output look like: an array of **booleans** in the payload? E.g.

```auto
{
    "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.

```auto
{
    "payload": true,
    "topic": "under_voltage_detected"
}

```

> [@Paul-Reed](#):
>
> but it's easy to get carried away - as deecjay has pointed out.

Indeed ...

---

_[View the full topic](https://discourse.nodered.org/t/ras-pi-supply-voltage/8791)._
