Good afternoon All,
(Apologies in advance for my English, which is not very good).
I am new with Node-Red and by following several tutorials I am trying to gain some knowledge of how Node-Red works.
However, I am now stuck with what I think is a very simple issue.
Who can help me on my way?
First the situation sketch:
In the toilet I have a ventilation box that is on 24 hours a day.
- I would like to turn it off between 23:00 and 07:00.
- And furthermore only on if the toilet switch is on for longer than 1 minute.
- Does the switch turn off after 1 minute? Then turn it off after 10 minutes.
I tried to make one and other in Node-Red but it does not function how I thought it would.
If the switch is on for more than 1 minute it works.
But if the switch is on again immediately after 1 minute then the fan box turns off before that.
What am I doing wrong?
With ESPHome, I use the following configuration:
esphome:
name: ventilatiebox
friendly_name: Ventilatiebox
switch:
- platform: gpio
name: "Ventilatiebox_light"
pin: D4
inverted: yes
binary_sensor:
- platform: gpio
pin:
number: D3
inverted: yes
mode:
input: true
pullup: true
name: "Toilet_Schakelaar"
And my Node-Red
Thank you in advance.
Andries.