-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time synchronization #348
Comments
There is a way you can do it already and it's by using automation and setting Date & Time entity but there are some other ways currently coming (it's already part of latest code in this repo and just not yet released) and it's time synchronization using heartbeat time replies but it won't work for every inverter so you will have to try and see (it's mostly for microinverters) |
Thanks, but how? this doesn't seem to do anything, time entity not changing when triggered?
|
Try to run this during debug logging enabled. |
Referenced entities datetime.inverter_date_time are missing or not currently available But thats the entities id name from the details? |
Do you have this entity in the list of entities in device detail page? |
Yes, in the "Configuration" section |
Ah, it should be proly this action
|
Is it necessary to change a setting on the inverter for the heartbeat? I just blocked the internet and it had no date or time. Writing about the action worked though |
Not sure if it's enough honestly. It needs to be tested more and the packets has to be verified in server mode I guess. |
Deye can upgrade your firmware without your knowledge and currently do firmware upgrades which brick some devices. So I blocked the inverters from connecting the internet like @CrazyUs3r Can we set the somehow the ntp server with your addon? |
I wouldn't advice to grant those devices any internet access at all now or even locally connect via the app (I guess that's how some got their updates forced)
worked but as mentioned does not reset todays production |
It doesn't use NTP. And this is an integration not an addon. So far it seems like devices proly set time during handshake which is done in server mode. This integration doesn't support that, yet. But it's proly not even possible because integration (to my knowledge) can't listen on ports so it would have to be done using an addon. Integrations and Addons are for HA two different things. |
with this automation the time will get set. I can´t check if the production will be reset, because we had no sun yesterday. But in case of doubt, it is just another automation that restarts the inverter once in the morning |
Is your feature request related to a problem?
Deye is pushing out updates that are potentially bricking inverters (no relays box despite no need / wrong country detected and so on)
So many people block internet access completely to forbid further updates.
In that case the inverter can not get the network time and so daily production can't reset.
Describe the solution you'd like
But pvsolarman has a way to set the time as well via
"SunXG3RegistersWrite.DeviceTime(inv, datetime.datetime.now())"
Could that be implemented within the addon, maybe with an option switch to enable it?
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: