Page 1 of 1

Sunset/Sunrise variables not working yet **solved*

Posted: Sat May 24, 2008 8:16 pm
by cbhiii
I like the new variables that you added. However, I noticed that some of them aren't working right yet.

On Saturday May 24 today the sunrise was 06:10 and sunset will be at 21:09 as reported by WU and my Vantage Pro.

Below I've highlighted the entries that are in error with the data above.

actual_sunrise_standard_utc 10:06 (3 min off should be 6:10)
actual_sunrise_standard_local 06: -54
actual_sunset_standard_utc 25:04 (5 min off should be 01:09)
actual_sunset_standard_local 21:-56

Re:Sunset/Sunrise variables not working yet

Posted: Sun May 25, 2008 12:04 am
by admin
Negative or too big numbers that result from conversion from UTC to local time will be covered by the next update.

Re:Sunset/Sunrise variables not working yet

Posted: Sun May 25, 2008 1:44 am
by WebDog

Re:Sunset/Sunrise variables not working yet (2.3e)

Posted: Tue May 27, 2008 12:00 pm
by najbo
Hi,

I patched from 2.3c to d and then to e version. But still not possible to show sunset / sunrise variable.

It shows [actual_sunrise_civiltwilight_local] instead of value.

Here's the link : http://www.jan-boesch.net/index.php?meteo

Any idea ?

Thank you !
Jan

Re:Sunset/Sunrise variables not working yet (2.3e)

Posted: Tue May 27, 2008 2:33 pm
by Unconnected
najbo wrote:It shows [actual_sunrise_civiltwilight_local] instead of value.
your coordinates aren't in the configfile yet, as shown by these variables on the bottom of your site:

[actual_station_latitude_decimal]
[actual_station_longitude_decimal]

you have to press 'save' on the corresponding settings-page in meteohub to activate these variables.

{solved} Sunset/Sunrise variables not working yet

Posted: Tue May 27, 2008 7:47 pm
by najbo
It worked ! thank you very much. I had to change one of the values first.

Re:{solved} Sunset/Sunrise variables not working yet

Posted: Tue May 27, 2008 9:08 pm
by cbhiii
Your website looks nice!