-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Comments
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? |
Hi Geoffrey,
Thanks for getting back to me
I also suspect it's more than likely a givtcp issue.
It first showed up on v2.4.9 out of no where last week, although this may
have been after I updated ha core but I cannot remember for sure.
As the logs on the inverter seem to show the right time, predbat seems fine
and it seems mainly to be the givtcp inverter time going out I suspect
givtcp as well.
I'll try the things you suggest as soon as I can get time to for now I have
an automation handling the desync
Interestingly the sensor I created for the time difference shows a very
random pattern it seemed to have calmed down over night then a few
incidents where the automation resyncd the this evening it went crazy and
was resync every few minutes so I changed my automation only to run if the
clocks drifted by 5 minutes
The difference is time now - givtcp inverter time (in seconds)
I'd be interested in your thoughts on this
…On Sun, 1 Dec 2024, 12:13 Geoffrey Coan, ***@***.***> wrote:
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?
—
Reply to this email directly, view it on GitHub
<#1675 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BBXYY33HIOTAPFVERQLE3XL2DL4QFAVCNFSM6AAAAABSY6OJEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBZG4ZTSNRXGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
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
Gen 1 inverter & 9.5kw battery
Screenshots
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
The text was updated successfully, but these errors were encountered: