I’m still figuring out node red and how it works with Smartthings so apologies if this is a simple question.
That said I haven’t been able to figure out how to use the smartthings motion sensor effectively. From what I can tell I’m only getting a single msg event when motion is first detected.
I’m trying to create a motion activated light however I’m don't know how to do this effectively with only one event.
My Hue motion sensor on the other hand sends an additional msg after motion has stopped which allows me to turn the light off.
Any ideas on how to accomplish this with the Smartthings sensor?