Just made my first Node-RED flow to detect whether the litter box is dirty or clean!
1: When motion in the litter box is detected, wait 5 seconds, check if the door is closed, and if so, set to "dirty"
2: When the door is opened, set to "clean"
Took a bit to figure out all the Node-RED terminology and figuring out how to "think" in that model, but I do appreciate not having to write code to do this now!
WeChat ID
aaronpk_tv