Skip to content
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

invertor time drift #1675

Open
AGLAISTER opened this issue Nov 30, 2024 · 2 comments
Open

invertor time drift #1675

AGLAISTER opened this issue Nov 30, 2024 · 2 comments
Assignees

Comments

@AGLAISTER
Copy link

Describe the bug
sensor.givtcp_ce2235g284_invertor_time is drifting about 2 minutes per 30 minutes.
call/issue registered with Givenergy with Paul Landreagon and Mike smith who asked me to send these logs to you as well

I've updated from Givtcp v2.4.9 to v3.0.4 and added an automation to resync time which does get sensor.givtcp_ce2235g284_invertor_time back to system time but it then drifts out again

Expected behaviour
A clear and concise description of what you expected to happen.

Predbat version
8.7.2

Environment details

  • Inverter and battery setup
    Gen 1 inverter & 9.5kw battery
  • Standard HAOS installer
  • Givtcp v3.0.4
  • Mqttbroker 6.4.1

Screenshots

image
image

As can be seen in the screen shots the sensor shows a 25 minute time difference but the portal shows the right time
givtcplog.txt
predbatdetaillog.log
Inverter Register Record Data Download 2024-11-30.csv
predbataddonlog.txt

2 days ago when I was getting a lot of errors and restarts of givtcp even when the clock was just 10 minutes out - but now it seems to be showing 25 minutes out but no restart of givtcp

@gcoan
Copy link
Collaborator

gcoan commented Dec 1, 2024

I don't think this is a a Predbat issue, if GivTCP is not reporting the inverter time correctly then it will be a GivTCP issue.

Was wondering if you had your poll frequency for GivTCP set too low, but looking at the logfile, GivtCP appears to be running every 30 seconds OK.

Suggest that you firstly delete all the PKL (cache) files in the GivTCP folder and restart GivTCP, and see if that resolves the issue.

If the inverter time in HA is not updating still then maybe there is a problem with GivTCP/MQTT. You could try shutting down everything, HA and all the add-on's and then restarting, and see if that gets the control updating OK.

If that fails, shutdown GivTCP, uninstall MQTT to delete all the givtcp_ sensors in HA, shutdown and restart everything again, and re-install MQTT then restart GivTCP. That should re-initialise the sensors in HA.

If that fails then I'm out of ideas and you'll have to ask the issue on the GivTCP github. Have you tried reverting to GivTCP v2 and see if that has the same issue?

@AGLAISTER
Copy link
Author

AGLAISTER commented Dec 1, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants