This weekend I achieved what is an accomplishment for me: using Node-RED so that Telegram sends me a message with a photo when my outdoor camera detects a human.
A small step for some… haha
Anyway it works, but I’d like to be able to use this camera/photo via Telegram when an intrusion is detected in the house.
My problem: in Node-RED I don’t know how to go about making a trigger coming from Gladys start a series of actions.
My cascade of actions would look like this:
When my MQTT fake device « intrusion » in Gladys switches to active
Then I tell Node-RED
Node-RED should send me the photos from my cameras at time T
But I don’t know how to translate this starting condition in Node-RED, there’s no If / else / then