jkp
August 8, 2022, 7:49pm
55
I am not saying you should get rid of Smart Lighting but you should start looking at Routines. This Edge device can help with the time +/- with sunrise/sunset in routines so take a look at it.
@GSzabados ,
I have made this driver that locally calculates sunrise, sunset, day length, offset from the current time to sunrise and sunset, which allows automation with up to +/- 600 minutes of sunrise or sunset
The offset time is calculated every 1 minute
I have tried an automation and it works, now I have not been able to test with a negative offset since the latest version of the app does not let me enter negative values
[Screenshot_20220525-215212]
[Screenshot_20220525-205752]
[Screenshot_20220525-184852~2]
I will keep testing and adjusting
UPDATE:
If anyone wants to try it, itβs on my shared channel.
driver:
βββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ
β Name β Zigbee Sunrise and Sunset Mc β
β Version β 2022-05-25T20:20:17.093509387 β¦
1 Like