This object is in archive! 
sunrise time and sunset time in the weather station
Need Answer
Hello,
I have made the following rules :
If I put my alarm on (not a zwave one) Then depeding on the hour of the day (day or night) I close all my roller shutter or only some of them. To make this condition I try to use the weather station and the sunset and sunrise information.
But it is not working and always go on the Else statement even if it day.
Please see the attache image of the rules.
Thx for your help.
Files:
rules.png
No connection
Real-time notifications may not work
Don't think this is going to work.
You should make a rule with the scheduler (and astro) then set virtual switch (on/off). Do a search on this forum for the rule.
Don't think this is going to work.
You should make a rule with the scheduler (and astro) then set virtual switch (on/off). Do a search on this forum for the rule.
Thank you very much.
Thank you very much.
The weather station's sunset and sunrise time values may not be in a format which is compatible with the Zipabox's.
The weather station's sunset and sunrise time values may not be in a format which is compatible with the Zipabox's.
After investigating further I think the "sunrise" and "sunset" values in the Zipato weather station are, in fact, strings. If I copy those values to a virtual meter and try to compare them to other date values, they always behave as 0. If I send them to an email, the reason becomes clear. This is what I see (the description in brackets were added by me).
19:36 (Sunset)
08:25 (Sunrise)
They're not numerical time values at all.
In contrast, time and date values are large numerical values. So the two can never be compared.
After investigating further I think the "sunrise" and "sunset" values in the Zipato weather station are, in fact, strings. If I copy those values to a virtual meter and try to compare them to other date values, they always behave as 0. If I send them to an email, the reason becomes clear. This is what I see (the description in brackets were added by me).
19:36 (Sunset)
08:25 (Sunrise)
They're not numerical time values at all.
In contrast, time and date values are large numerical values. So the two can never be compared.
Replies have been locked on this page!