# NODE-RED - Heater and Box Fan Controller

**URL:** <https://community.openhab.org/t/node-red-heater-and-box-fan-controller/53856>\
**Category:** Scripts & Rules\
**Tags:** heater, node-red, pid\
**Created:** [October 15, 2018, 7:54pm UTC](https://community.openhab.org/t/node-red-heater-and-box-fan-controller/53856 "2018-10-15T19:54:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![brianllong](https://community.openhab.org/user_avatar/community.openhab.org/brianllong/32/42154_2.png) [@brianllong](https://community.openhab.org/u/brianllong)\
**Post date:** [October 15, 2018, 7:54pm UTC](https://community.openhab.org/t/node-red-heater-and-box-fan-controller/53856/1 "2018-10-15T19:54:32Z")

</div>

Ive been working with this flow for sometime now and it works well so i thought id share it. So if anyone has any suggestion or improvement im open to hearing them.

> <https://gist.github.com/brianllong/b1f0bb12c1e128c6bde04c5106aace51>

---

<div class="post-metadata">

**Author:** ![Gad\_Ofir](https://community.openhab.org/user_avatar/community.openhab.org/gad_ofir/32/19861_2.png) [@Gad\_Ofir](https://community.openhab.org/u/Gad_Ofir)\
**Post date:** [October 15, 2018, 9:15pm UTC](https://community.openhab.org/t/node-red-heater-and-box-fan-controller/53856/2 "2018-10-15T21:15:40Z")

</div>

Hi i am missing allot of nodes there , do you know how can i tell what i am missing  
alwys love to see a node red flow 🙂

---

<div class="post-metadata">

**Author:** ![brianllong](https://community.openhab.org/user_avatar/community.openhab.org/brianllong/32/42154_2.png) [@brianllong](https://community.openhab.org/u/brianllong)\
**Post date:** [October 15, 2018, 9:53pm UTC](https://community.openhab.org/t/node-red-heater-and-box-fan-controller/53856/3 "2018-10-15T21:53:38Z")

</div>

did you copy it from github? try clicking the raw then copying the source

---

<div class="post-metadata">

**Author:** ![Gad\_Ofir](https://community.openhab.org/user_avatar/community.openhab.org/gad_ofir/32/19861_2.png) [@Gad\_Ofir](https://community.openhab.org/u/Gad_Ofir)\
**Post date:** [October 16, 2018, 6:11pm UTC](https://community.openhab.org/t/node-red-heater-and-box-fan-controller/53856/4 "2018-10-16T18:11:19Z")

</div>

yes but you have nodes that i dont have so i cannot see all…

---

<div class="post-metadata">

**Author:** ![brianllong](https://community.openhab.org/user_avatar/community.openhab.org/brianllong/32/42154_2.png) [@brianllong](https://community.openhab.org/u/brianllong)\
**Post date:** [August 28, 2019, 3:15pm UTC](https://community.openhab.org/t/node-red-heater-and-box-fan-controller/53856/5 "2019-08-28T15:15:36Z")

</div>

Updated Github, fan controls now query localweather to override window fan if weather conditions change

[https://gist.github.com/brianllong/b1f0bb12c1e128c6bde04c5106aace51.js](https://gist.github.com/brianllong/b1f0bb12c1e128c6bde04c5106aace51.js)
