Relatively simple with a rule (even if you don’t have a light sensor)
Timer1 {"Enable":1,"Mode":1,"Time":"-00:15","Window":0,"Days":"1111111","Repeat":1,"Output":1,"Action":3} // 15 minutes before sunrise
Timer2 {"Enable":1,"Mode":1,"Time":"00:15","Window":0,"Days":"1111111","Repeat":1,"Output":1,"Action":3} // 15 minutes after sunrise
Timer3 {"Enable":1,"Mode":2,"Time":"-00:15","Window":0,"Days":"1111111","Repeat":1,"Output":1,"Action":3} // 15 minutes before sunset
Timer4 {"Enable":1,"Mode":2,"Time":"00:15","Window":0,"Days":"1111111","Repeat":1,"Output":1,"Action":3} //15 minutes after sunset
On clock#timer1 do wcfeature 1 endon
On clock#timer2 do wcfeature 0 endon
On clock#timer3 do wcfeature 1 endon
On clock#timer4 do wcfeature 2 endon
but someone with Berry experience might come along later
Sent from Mail for Windows
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/4ca223ee-d909-4f45-9553-2b409675157en%40googlegroups.com.
In console
Rule1 On clock#timer1 do wcfeature 1 endon On clock#timer2 do wcfeature 0 endon On clock#timer3 do wcfeature 1 endon On clock#timer4 do wcfeature 2 endon
Rule1 1
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/9d188d8d-e137-4882-a59d-a0c5fb4ed887n%40googlegroups.com.