1) Give a description of the problem
I need help making sure this code will work. Do i need to mess with TCP settings?
2) What is the expected behavior?
I would Like to set up a Night light that will turn on with Motion so that when i am up at 3am with a hungry infant I don’t have to turn on the lights and wake him up even more when going to the Kitchen.
Between 3 Hours after sunset and the next days sunrise when motion is triggered it will turn a dimmer on at 25% then wait 5 Min then turn off. But if motion is detected during the 5 min it will reset the timer for another 5 Min. It also will allow you to cancel the automation by physically turning the switch off and then on again and the light will stay on till you turn it off.
3) What is happening/not happening?
I have been reading about setting TCP to Never and it has me confused but i want to see if what I have Frankenstein’d together will work.