# Update status of a pin

**URL:** <https://discourse.nodered.org/t/update-status-of-a-pin/10264>\
**Category:** General\
**Created:** [16 April 2019 20:57 UTC](https://discourse.nodered.org/t/update-status-of-a-pin/10264 "2019-04-16T20:57:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ftricamo](https://avatars.discourse-cdn.com/v4/letter/f/e79b87/32.png) [@ftricamo](https://discourse.nodered.org/u/ftricamo)\
**Post date:** [16 April 2019 20:57 UTC](https://discourse.nodered.org/t/update-status-of-a-pin/10264/1 "2019-04-16T20:57:06Z")

</div>

Using Raspberry pi i can use the Report By Exception node to 'only trigger on change of state'.

Is there an opposite to that?  
How can i query the state of pins on demand?

Since i can't trigger and output with an inject, like we can do with a function, i could be waiting for weeks for change and i would like to 'very' the pin state at certain times.

thank you

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [16 April 2019 21:12 UTC](https://discourse.nodered.org/t/update-status-of-a-pin/10264/2 "2019-04-16T21:12:08Z")

</div>

The input pin can report its state at start/deploy time. If it doesn’t change then you still know the value. If you want to store it use flow or global context.
