# Node-red-contrib-vcgencmd : reset throttling statistics

**URL:** <https://discourse.nodered.org/t/node-red-contrib-vcgencmd-reset-throttling-statistics/15229>\
**Category:** General\
**Created:** [7 September 2019 09:49 UTC](https://discourse.nodered.org/t/node-red-contrib-vcgencmd-reset-throttling-statistics/15229 "2019-09-07T09:49:21Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [7 September 2019 20:23 UTC](https://discourse.nodered.org/t/node-red-contrib-vcgencmd-reset-throttling-statistics/15229/5 "2019-09-07T20:23:50Z")

</div>

> [@BartButenaers](#):
>
> But by reading this [discussion](https://www.raspberrypi.org/forums/viewtopic.php?t=241736) I conclude that you CANNOT reset it?

Found [here](https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=147781&start=75#p1005529) somebody that claims it should be possible, by adding a bitmask parameter to the command:

```auto
vcgencmd get_throttled 0x7

```

I understand this from his explanation:

- There are two persistent values stored in the Raspberry:
  - Value A: Keep track whether the Raspberry has been throttled since reboot.
  - Value B: Keep track whether the Raspberry has been since the bitmask has been used.

- You can get hold of both of these values:
  - Get value A by calling the command without bitmask.
  - Get value B by calling the command with bitmask.

If it works like this, then I think I should implement it in my node like this:

- Add a checkbox in my config screen "_reset throttling status at every measurement_".
- Apply the bitmask when the checkbox is selected.
- Add a warning in my readme file that only a single node-red-contrib-vcgencmd node is allowed to have this option. Indeed there is only 1 value B available in your Raspberry so the nodes would start resetting each others value B ...

Is there anybody that could check whether this theory is valid?  
Not sure how I could 'easily' throttle my Raspberry temporarily to experiment with this.

---

_[View the full topic](https://discourse.nodered.org/t/node-red-contrib-vcgencmd-reset-throttling-statistics/15229)._
