# Simple Gate Status - Solved

**URL:** <https://discourse.nodered.org/t/simple-gate-status-solved/33387>\
**Category:** General\
**Created:** [26 September 2020 17:22 UTC](https://discourse.nodered.org/t/simple-gate-status-solved/33387 "2020-09-26T17:22:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![n61ab](https://avatars.discourse-cdn.com/v4/letter/n/cc9497/32.png) [@n61ab](https://discourse.nodered.org/u/n61ab)\
**Post date:** [26 September 2020 17:22 UTC](https://discourse.nodered.org/t/simple-gate-status-solved/33387/1 "2020-09-26T17:22:58Z")

</div>

I am using the Node "simple-gate" with the topic set to "control" and msg.payload "open or close", to command the gate.

I want to use the gate open/close status to operate an LED and other logic.

There is no direct way to get the status from the simple-gate Node.

Could members of this forum suggest techniques to indirectly derive the gate status?

Alan  
WA9WUD

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [26 September 2020 18:50 UTC](https://discourse.nodered.org/t/simple-gate-status-solved/33387/2 "2020-09-26T18:50:21Z")

</div>

The Status node can report the status of the gate.

---

<div class="post-metadata">

**Author:** ![drmibell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/drmibell/32/8424_2.png) [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Post date:** [26 September 2020 19:27 UTC](https://discourse.nodered.org/t/simple-gate-status-solved/33387/3 "2020-09-26T19:27:34Z")

</div>

The second example provided with the node (Dashboard Control) shows how to do this.

---

<div class="post-metadata">

**Author:** ![n61ab](https://avatars.discourse-cdn.com/v4/letter/n/cc9497/32.png) [@n61ab](https://discourse.nodered.org/u/n61ab)\
**Post date:** [26 September 2020 20:36 UTC](https://discourse.nodered.org/t/simple-gate-status-solved/33387/4 "2020-09-26T20:36:31Z")

</div>

Thanks, drmibell and E1cid. I see......the "status" node. Perfect.

Alan

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [25 November 2020 20:36 UTC](https://discourse.nodered.org/t/simple-gate-status-solved/33387/5 "2020-11-25T20:36:47Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
