I have been using BigTimer node to turn on a floodlight at 4:45AM every morning, and off at sunrise. It's been working fine for many months, maybe more than a year. It's disabled in the node during the summer months and was supposed to resume in September.
However, ever since September 1, it's been turning on the light at midnight.
Here is the flow. Any ideas why bigtimer is turning on the light at midnight??
BTW, you should format your flow using the </> in the post editor.
Not sure if the node is pulling current time from the device running Node-Red (probably) or the device running the browser, but perhaps something has changed with the device clock?
As suggested, check the system time and timezone on the machine running node-red (not the one running the browser).
Is the Status message below the bigtimer node correct?
What is your timezone?
Does it turn on at exactly midnight?
Gunner & Colin:
System time is correct. Other bigtimer nodes are working correctly- only this one seems to be off.
Node-Red is running as a component of Home Assistant on an Intel NUC i3. The OS is Hassio. The bash command 'date' shows the correct date and time.
The status message shows correctly. It is currently 7:43AM, so the timer should be off for 20:53.
I did reboot the host this morning, so let's see if it turns on again at midnight.
If so that will be a seperate (Docker) container to HASSIO and might be where the issue is
If you have portainer running you should be able to see this and access the console of that container or through Portainer be able to expose the environment variables and confirm the TZ is set correctly
This flow is the only place that the device appears.
A couple of hours ago the node status said "Off for 7 hours". Just as I would have expected. And at midnight, the light goes on and the status changed to "On for 06hrs, 59min"
It just occurred to me.... Look at the node configuration:
Could bigtimer be interpreting the blank On Time 2 as midnight? The Off Time 2 07:00 is a failsafe. I don't recall why it's there, but I will remove it and see if the problem goes away tomorrow night.