New Here, does this night light look ok


#1

Will update as I go :slight_smile:

1) Give a description of the problem
Only 5PM so cant test yet. Just want to know if this looks right?

2) What is the expected behaviour?
I want a night light. But I want some time between the motion sensor going off. So if I get up at 1am, go to the bathroom and get back into bed, its not going to repeatedly reset the timer (let me know if that assumption is wrong?)

3) What is happening/not happening?
Just an idea if my syntax is on the right track?

**4) Post a Green Snapshot of the piston![image|45x37]image

5) Attach logs after turning logging level to Full
(PASTE YOUR LOGS HERE THEN HIGHLIGHT ALL OF THE LOGS AND CLICK ON THE </> ICON TO FORMAT THEM CORRECTLY)


#2

If memory serves me right, the code:
"did not change"
was never completed, and should be avoided.


#3

Thanks mate, made a few changes, how does this look and how reliable is no motion detected over such a short time frame?

image


#4

The triggers should be separate. See my example in your other thread.