Closed optim1se closed 2 months ago
fix: Ignore incorrect datetime while parsing
Will be part of today's pre-release.
And could you maybe check why that happened? If it's due to reading incorrect registers or maybe cause of incorrect time in the inverter?
Thanks. 😉
Oh great, thank you very much.
Sadly i dont know how i can check the device time on a different way.
But i think it's reading the correct registers. I saw its working for one other user: https://github.com/davidrapan/ha-solarman/issues/84#issuecomment-2297105667 with maybe the same device, but with internet connection.
@CrazyUs3r Do you have an M80-G3 or G4?
I have g3 The problem with the time is that the inverter only gets the time after starting. At the moment I'm testing it with the npt of the fritzbox but I don't think the logger gets the time. After a few minutes it pulled the time from the China server and then the error went away.
Ah I see, okay then. Missing time won't be a problem anymore. 👍
@CrazyUs3r you could create an automation to write the date and/or time after startup over modbus or even every 5 minutes when the logger gets new data.
It would be nice to know, where the datetime must be changed, so that the device will increment by itself, but maybe its wasted time to search for....
@davidrapan the registers are fine. I manually changed them and the logger has reset its daily production.
Then this can be closed. Thanks for your fast support and great work.
Describe the bug: After Upgrade from Solarman v24.08.17 to v24.08.21, my Device(DEYE SUN-M80G3-EU-Q0) in Solarman shows: "Setup failed, retrying: [] Querying failed."
After downgrade to v24.08.17, Inverter is reachable again and Solarman is working as expected.
Attach the debug log:
To Reproduce: Steps to reproduce the behavior:
Expected behavior: Inverter should be reachable after update to v24.08.21.
Metadata: Template type: deye_2mppt Inverter type: DEYE SUN-M80G3-EU-Q0 Version: v24.08.21
Additional context Inverter has no internet access. That may be the reason for the strange time.