# I wil make e thermostat but is not working ; if you change the mintemp or maxtemp the funcioen should show a 1 or 0 in his debug

**URL:** <https://discourse.nodered.org/t/i-wil-make-e-thermostat-but-is-not-working-if-you-change-the-mintemp-or-maxtemp-the-funcioen-should-show-a-1-or-0-in-his-debug/17314>\
**Category:** General\
**Created:** [30 October 2019 09:44 UTC](https://discourse.nodered.org/t/i-wil-make-e-thermostat-but-is-not-working-if-you-change-the-mintemp-or-maxtemp-the-funcioen-should-show-a-1-or-0-in-his-debug/17314 "2019-10-30T09:44:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sioenl](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@sioenl](https://discourse.nodered.org/u/sioenl)\
**Post date:** [30 October 2019 09:44 UTC](https://discourse.nodered.org/t/i-wil-make-e-thermostat-but-is-not-working-if-you-change-the-mintemp-or-maxtemp-the-funcioen-should-show-a-1-or-0-in-his-debug/17314/1 "2019-10-30T09:44:09Z")

</div>

[relay test.json](https://discourse.nodered.org/uploads/short-url/hvLYKcjCUwJPXPxjLMyEl2VhQHn.json) (5.7 KB)

---

<div class="post-metadata">

**Author:** ![kuema](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kuema/32/6542_2.png) [@kuema](https://discourse.nodered.org/u/kuema)\
**Post date:** [30 October 2019 09:47 UTC](https://discourse.nodered.org/t/i-wil-make-e-thermostat-but-is-not-working-if-you-change-the-mintemp-or-maxtemp-the-funcioen-should-show-a-1-or-0-in-his-debug/17314/2 "2019-10-30T09:47:31Z")

</div>

If you expect others to help, you need to provide more appropriate information than just a flow file.

What is not working? What is your expected result?

---

<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:** [30 October 2019 11:16 UTC](https://discourse.nodered.org/t/i-wil-make-e-thermostat-but-is-not-working-if-you-change-the-mintemp-or-maxtemp-the-funcioen-should-show-a-1-or-0-in-his-debug/17314/3 "2019-10-30T11:16:24Z")

</div>

Also please see [this post](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506) for how best to share flows. Using that technique will put the flow inline so we can just mark and copy it and export directly into node red from the clipboard, rather than having to download it.
