1) Give a description of the problem
Designing a piston that turns on front porch light when Ring doorbell is pressed once, sends a notification, waits for 10 minutes, then front porch light auto turns off. If Ring doorbell is pressed a second time, turns on the front porch light and stays on indefinitely until manually turned off
2) What is the expected behavior?
3) What is happening/not happening?
Not able to code for the second pushed mode
Could someone see how I would code for the second part (Regarding the second doorbell push)? I don’t think my logic is correct using the variables. Also is using {$time} correct in the notification if I want it to send a message of what time the doorbell was pushed? I’m pretty new to using webcore. Thank you!