Hi
I have setup daylight app but the sunrise time don't change for a week now
sunset is working ok, can I fix this?
I use z-wave server 3.2.1
cbni
Daylight app
Re: Daylight app
We have just passed the Winter Solstice, it isn't changing much right now.
You can read your times via your browser.
Set your IP and change "Daylight_22" to the ID of your DayLight app
http://YOUR-IP:8083/JS/Run/controller.d ... t("metrics")
https://www.timeanddate.com/sun/uk/london
WINTER SOLSTICE....(WINTER) DEC 21 2021
You can read your times via your browser.
Set your IP and change "Daylight_22" to the ID of your DayLight app
http://YOUR-IP:8083/JS/Run/controller.d ... t("metrics")
https://www.timeanddate.com/sun/uk/london
WINTER SOLSTICE....(WINTER) DEC 21 2021
Raspi 4 - (Buster - 32 Bit) Zwave Version 4.1.1, Raz 7 Pro, Serial API Version: 07.38
Re: Daylight app
hi
if I see the time for today there is 2min differens
my Daylight app is on 8.44 Sunrise and this it has been for e week
I will see if it change in the next week and I will tell it here
time for sun set is ok it is 15.47
https://www.timeanddate.com/sun/@2621471
cbni
if I see the time for today there is 2min differens
my Daylight app is on 8.44 Sunrise and this it has been for e week
I will see if it change in the next week and I will tell it here
time for sun set is ok it is 15.47
https://www.timeanddate.com/sun/@2621471
cbni
-
- Posts: 174
- Joined: 02 Mar 2020 22:41
Re: Daylight app
Here's a link to a NOAA web site that presumably performs an authoritative calculation of sunrise/sunset time for a given latitude/longitude and day of the year:
https: //gml.noaa.gov/grad/solcalc/sunrise.html
May I suggest you input the same latitude/longitude on the NOAA website used to configure the Daylight app (set official for zenith) and compare the sunrise/sunset results. The Z-Way event log should have an on time (at sunrise) and an off time (at sunset) that you can use (be sure to set the date on the NOAA web site to the same date of the Z-Way event log date).
Alternatively, you can repeat the test over the next several days. Each day, run the following API command (substitute [YOUR ADMIN PASSWORD] and [YOUR APP ID]):
curl -u admin:[YOUR ADMIN PASSWORD] --globoff 'http: //127.0.0.1:8083/JS/Run/controller.devices.get("Daylight_[YOUR APP ID]").get("metrics")'
Note that the Daylight app calculates the sunrise/sunset time at 3:01 AM each day by scheduling a Z-Way cron job. With that in mind, one possible explanation for the Daylight app being "stuck" is if the Z-Way Cron app has been disabled. I doubt this is the cause since you've reported the sunset time has changed by 2 minutes.
If you see a meaningful discrepancy between the NOAA data and the Daylight app, then there may be a problem with the Daylight. Just post a screenshot of the Daylight event log data and a screenshot of your Daylight app configuration.
https: //gml.noaa.gov/grad/solcalc/sunrise.html
May I suggest you input the same latitude/longitude on the NOAA website used to configure the Daylight app (set official for zenith) and compare the sunrise/sunset results. The Z-Way event log should have an on time (at sunrise) and an off time (at sunset) that you can use (be sure to set the date on the NOAA web site to the same date of the Z-Way event log date).
Alternatively, you can repeat the test over the next several days. Each day, run the following API command (substitute [YOUR ADMIN PASSWORD] and [YOUR APP ID]):
curl -u admin:[YOUR ADMIN PASSWORD] --globoff 'http: //127.0.0.1:8083/JS/Run/controller.devices.get("Daylight_[YOUR APP ID]").get("metrics")'
Note that the Daylight app calculates the sunrise/sunset time at 3:01 AM each day by scheduling a Z-Way cron job. With that in mind, one possible explanation for the Daylight app being "stuck" is if the Z-Way Cron app has been disabled. I doubt this is the cause since you've reported the sunset time has changed by 2 minutes.
If you see a meaningful discrepancy between the NOAA data and the Daylight app, then there may be a problem with the Daylight. Just post a screenshot of the Daylight event log data and a screenshot of your Daylight app configuration.
Re: Daylight app
Hi
The Daylight app is working, the sunrise and sunset don't change every day
cb
The Daylight app is working, the sunrise and sunset don't change every day
cb