# Start and Stop button for database writting

**URL:** <https://discourse.nodered.org/t/start-and-stop-button-for-database-writting/27595>\
**Category:** General\
**Created:** [1 June 2020 03:08 UTC](https://discourse.nodered.org/t/start-and-stop-button-for-database-writting/27595 "2020-06-01T03:08:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lalo](https://avatars.discourse-cdn.com/v4/letter/l/f4b2a3/32.png) [@lalo](https://discourse.nodered.org/u/lalo)\
**Post date:** [1 June 2020 03:08 UTC](https://discourse.nodered.org/t/start-and-stop-button-for-database-writting/27595/1 "2020-06-01T03:08:58Z")

</div>

Hi guys, I want to have in my Dashboard a button to let writting in to my Json file the data from some sensors that I have. Any Example?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [1 June 2020 06:22 UTC](https://discourse.nodered.org/t/start-and-stop-button-for-database-writting/27595/2 "2020-06-01T06:22:58Z")

</div>

Have a look at node-red-contrib-simple-gate, put that in the database write flow and feed your dashboard signal to it to allow or block the message flow.

---

<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:** [31 July 2020 06:22 UTC](https://discourse.nodered.org/t/start-and-stop-button-for-database-writting/27595/3 "2020-07-31T06:22:59Z")

</div>

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