-
Notifications
You must be signed in to change notification settings - Fork 605
Closed
Labels
Description
Which node are you reporting an issue on?
node-red-node-timeswitch
What are the steps to reproduce?
- Insert into flow
- Set Lat & Long for your location
- Configure to turn ON at SUNSET and OFF at SUNRISE
- Deploy and observe scheduled time to next execution
What happens?
The timeswitch node says it won't execute "until 24:10." The next event (sunrise, in my case) is actually more like 8.5 hours from now. Considering this is not a standard format for any timestamp, I suspect this is more of a presentation bug than an operational one, but I have no idea.
What do you expect to happen?
I expect it to report that it'll send "off" either in the appropriate timespan for when sunrise will actually occur for my lat/long, or "until" an actual timestamp in my local time.
BigTimer, the node-contrib that this one references in its overview page, reflects the correct time. Please see these comparison pictures:



Note the "off until 24:10" under the timeswitch.
Please tell us about your environment:
- Node-RED version: v3.0.2
- node.js version: Whatever it is in the latest
nodered/node-redDocker image. - npm version: "
- Platform/OS: "
- Browser: "