Hey, hello there !
I'm new to Node red and have no programing background (nothing beyond setting up a rpi and use it in my home automation).
I have a few basic flows for things like using zigbee buttons and turn on/off lights when a door opens with luminosity and hour conditions, but now I want to make node red trigger some virtual buttons so my Amazon Echo could warn me when I have oppened windows and starts to rain, let me explain:
I have 4 zigbee contact sensors and 1 zigbee water leak sensor (working as rain sensor).
11 virtual buttons to trigger Alexa routines
I'm trying to make:
rain sensor detects rain > node red checks which windows are open > accourding to the oppened windows turn on a specific button > alexa stuff e etc ...
ex: rain > bedroom window open > office window open > turn on "bedroom and office" virtual swich.
I just can't figure out how to make the conditional steps.
So, anyone there to give me some help?