Skip to content
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

Time schedule triggers not at midnight #8

Open
oelison opened this issue Oct 6, 2022 · 0 comments
Open

Time schedule triggers not at midnight #8

oelison opened this issue Oct 6, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@oelison
Copy link

oelison commented Oct 6, 2022

If you use a time schedule trigger to enable or disable zones it will not fire.

Steps to reproduce the behavior:

Create a schedule trigger 0 0 * * 1-5
Use it to enable/disable a zone without any other conditions
You will see no action in the log.

I assume it has something to do with the midnight event "Re-scheduling time triggers for updating astro times and updating 'info.astroTimes.' states."

Expected behavior
Zone should be enabled/disabled at 00:00

Versions:

Adapter version: 1.2.1
JS-Controller version: 3.2.16
Node version: 12.18.0
Operating system: Windows Server 2016

Additional context
If I set the time schedule trigger 1 minute later (1 0 * * 1-5) it works (my current workaround)

copied from original repo: issue 139

@oelison oelison added the bug Something isn't working label Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant