Hey Guys!
I would need your help again. Unfortunately its still not working correctly.
Please have a look at my offset variables. The date is set correctly.
Keep in mind that I changed my raspi location to asia - Hồ Chí Minh timezone. I had to do this because I want to display the correct sunrise and sunset time. -> Thats why im using the offset variable.
Here comes the actual issue. My rule to turn off LED-Stripe is not working because the variable $sunset-offset is set to 00:06 o clock. It´s quite difficult to explain -.- I´ll try to give you as many information as possible.
Please forget about the other rules. They are not correct. We are just talking about the Offset rules and LED rules.
Talking about the times:
Our target timezone is Ha Noi - Vietnam. They are 6 h later than German time.
When the sun rises in Vietnam (~6 a.m.) it´s 12 a.m. in Germany. Thats why I have to use the offset variable.
When the sun goes down in Vietnam (~6 p.m) it´s 00:06 a.m next day in Germany. <- I think this is the issue because Pimatic and the variable do not recognize that the date changed to the next day.
I would really appreciate your help! After getting this to work there is an other problem upcoming. I want to regulate the temperature based on the weather data from Ha Noi. I will run in issues because of the time again.
Would it be better to work with a database collecting all the weather data with time stamps?
Best regards,
André