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
  • НаукаНаука

Комментарии • 6

  • @MrElciupacabra
    @MrElciupacabra 6 месяцев назад

    you can't send commands to zigbee devices.
    the node module doesn't see them.

  • @Idut017
    @Idut017 9 месяцев назад +1

    Good explanation..will folow your step after this.may i know how if ihost can integrate with esphome firmware device?.

    • @csongorvarga
      @csongorvarga  9 месяцев назад +1

      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.

  • @asim7507575
    @asim7507575 8 месяцев назад

    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.

    • @csongorvarga
      @csongorvarga  8 месяцев назад

      Most of Sonoff relays, there is a Loop Timer function, but not on the 4ch pro. Exactly what you would need.

    • @asim7507575
      @asim7507575 8 месяцев назад

      @@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.