-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
“Kodesh” sensor turning off and on unexpectedly #5
Comments
When trying to figure out what's happening, I've added a notification on my iPhone for every time a status is changed in the Contact Sensor, and it looks like indeed this is what happening - on Friday 19:27 (Candle Light Time) sensor status changed to "Open", then, on midnight exactly, sensor status changed to "Close" (why??), then on Saturday 00:42 sensor status changed to "Open" again (why??), and finally on Saturday 20:40 contact status changed back to "Close" (this is Havdalah time): When trying to look on Homebridge logs - they show the following around midnight: [07/06/2021, 00:00:06] [JewishCalendar] Shifting the time by -2880 minutes. ... [07/06/2021, 00:00:36] [JewishCalendar] Shifting the time by -2880 minutes. ... [07/06/2021, 00:01:06] [JewishCalendar] Shifting the time by -2880 minutes. and then around 00:42, the logs are: ... [07/06/2021, 00:42:07] [JewishCalendar] Shifting the time by -2880 minutes. I do see that the check at [07/06/2021, 00:42:07] (in the "Sunset Tonight" line) only identifies for the 1st time that a day has changed (i.e. Sunset Tonight: 05/06/2021, 19:42:38), whereas all previous checks showed [07/06/2021, 00:41:37] [JewishCalendar] Sunset Tonight: 04/06/2021, 19:42:07 Hope this gives any clue... |
Well, after playing a bit with some debug logs, it seems like we hit the same problem as described in mourner/suncalc#11. Thanks! |
I’ve built 2 automations based on this plugin:
In practice, light turned on as needed on Knissat Shabbat, but didn’t turn off at 00:30…
When I’ve looked at HB logs, I’ve noticed few weird things:
This led me to think that somewhere during evening (maybe at 00:00??) the “Kodesh” sensor was getting Off (hence on 00:30 the automation wasn’t done eventually…) but then around 00:40 “Kodesh” sensor triggered On again, which in turn activated the ”Turn On” scene…
Is that the expected behavior of the sensor?
I couldn’t see any related logs of the plug-in in HB logs - is there any option to activate it?
The text was updated successfully, but these errors were encountered: