Hi, I want to create an alarm system in node red. I have a Xiaomi Door Sensor which is already implemented in iobroker.
The iobroker node sends a message to the Telegram node when the sensor is open, which is already working.
Now i want to add a switch, where I can toggle on and off the alarm system. So if the switch is off and sensor is open no message should be send to telegram, only when the switch is on.
Many Thanks for helping