Replies: 4 comments 1 reply
-
@home409ca Currently scratching head and trying to ascertain is having some 'Is it DST' = No (0) / Yes (1) sensor would be beneficial, to then add in conditions to say is DST = Yes(1) then run 1 hour earlier. |
Beta Was this translation helpful? Give feedback.
-
Let the author speak. Or maybe someone else has a solution? |
Beta Was this translation helpful? Give feedback.
-
The integration offsets the retrieved timestamps against the timezone it retrieves from the inverter: https://github.com/wlcrs/huawei-solar-lib/blob/master/src/huawei_solar/registers.py#L239 In my installation this also results in results that are skewed by one hour: To be honest, I haven't bothered trying to correct this, as with the information of only my own inverter it's very hard to understand what is going on. If anyone figures out the correct formula, please let me know and I'll fix the code accordingly. |
Beta Was this translation helpful? Give feedback.
-
I looked for the registers.py file in custom_components to check it myself, but I didn't find it. Where can I add "- timedelta(hours=1)"? Or simply add "time correction" to the add-on configuration, because I see that it's not only me who has this problem. |
Beta Was this translation helpful? Give feedback.
-
The inverter started at 07:09
The "Inverter Startup time" entity incorrectly shows 08:09
Poland is currently in UTC+2 but soon it will be in UTC+1 for half a year)
What to do to make the entity value correct?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions