Temperature difference scene: new functions to iHost with Node-Red
HTML-код
- Опубликовано: 16 июл 2024
- Scenes on the iHost have limited conditions, and if you want to include a formula you are out of luck. But by running Node-Red on the iHost you can implement more complex logic in Node-Red and do the simple task on the iHost itself.
In this example I show how to create a trigger for a temperature difference. Read two temperature sensors and trigger if one temperature is higher than the other. For example to ventillate/cool a green house and only turn on the fan if the outside temperature is lower than the inside temperature.
Download my flow: github.com/nygma2004/km/blob/...
Buy your iHost: itead.cc/product/sonoff-ihost...
If you like what I do here, you can support me with RUclips Thanks, or Patreon:
/ csongorvarga
Chapters:
0:00 Intro
1:20 How it works
3:08 Node-Red flow overview
5:23 Prerequisites
6:06 New virtual device
7:22 Hysteresis
7:41 Reading sensors
10:28 Fan state
10:55 Switching logic
15:36 Demo the logic
18:59 Closing comments
19:26 Outro Наука
you can't send commands to zigbee devices.
the node module doesn't see them.
Good explanation..will folow your step after this.may i know how if ihost can integrate with esphome firmware device?.
That is a good question. I think you can communicate with esphome via http queries in Node-Red and Node-Red to update the device in iHost. Quite complicated, but may work.
Hello dear, hope you will be fine.
I have a question please help me for this.
I have installed sonoff 4ch R3 pro.
I want my exhaust fan to run for 5 minutes after every 30 minutes and stop after 5 minutes Running and this cycle will run for 24 hours a day.
Most of Sonoff relays, there is a Loop Timer function, but not on the 4ch pro. Exactly what you would need.
@@csongorvarga is there any solution for this or not? I need interval timer. After every 30 minutes exhaust fan run for 5 minutes for ventilation.