britkat1980 / giv_tcp

TCP connection (from inverter) and MQTT implementation
78 stars 37 forks source link

Inverter Time #139

Closed SheriffOfNotts closed 1 day ago

SheriffOfNotts commented 10 months ago

Hello, I keep getting the following message in Predbat "Invertor time is 2023-11-12 05:25:57+00:00 AppDeamon time 2023-11- 12 09:50:00.019620+00:00 this is -264.07 minutes skewed, Predbat tus may not function correctly, please fix this by updating your inverter or fixing AppDeamon time zone"

I think it's due to the GivTCP not updating the inverter time for 4 hours. The AIO is hard wired and has had a solid connection during this time.

image

Restarting GivTCP resolves the issue. Any ideas?

PianSom commented 10 months ago

What version of GivTCP are you using with your AIO? I have not managed to get 2.4.1 to work. The last working version on mine is 2.2.4

SheriffOfNotts commented 10 months ago

2.4.1 - works perfectly apart from this.. Have you set battery to 0?

PianSom commented 10 months ago

Yes, I have.

Here's an extract from my docker-compose. I'd be very interested to see what env's you have set, if you wouldn't mind sharing?

      - NUMINVERTORS=1   
      - INVERTOR_IP_1=###my AIO IP###
      - INVERTOR_AIO_1=True          
      - NUMBATTERIES_1=0     
SheriffOfNotts commented 10 months ago

I don't use a docker, but the config is:

image image

Have you configured MQTT?

PianSom commented 10 months ago

Thanks for sharing. Seems like maybe the HA add-on is working ok, but not the standalone Docker version. Odd.

Yes, I have a fully working MQTT (works with many other devices, and indeed v2.2.4 of GivTCP).

Looks like I will have to wait for @britkat1980 to have time to take a look.

PS Sorry for hijacking your issue!

SheriffOfNotts commented 10 months ago

No problem :) Glad to help..

britkat1980 commented 10 months ago

Is this a repeatable error or a one off. I’ve not seen the system time not updating when everything else is working…