Problem with GivTCP

3 comments started 2024-12-31 last 2024-12-31
Home AutomationHome Assistant
T
#1 Trojan00

Hi

Since this morning I have not been able to get data from GivTCP. In the GivTCP logs I can see the following:

2024-12-31 10:26:09,815 - startup - [CRITICAL] - HA MQTT Service has been found at core-mosquitto
2024-12-31 10:26:09,820 - startup - [INFO] - Supervisor Timezone: Europe/Dublin
2024-12-31 10:26:11,828 - startup - [CRITICAL] - Scanning network for GivEnergy Devices...
2024-12-31 10:26:15,669 - startup - [ERROR] - Gathering inverter details for 192.168.0.93 failed.
2024-12-31 10:26:15,670 - startup - [ERROR] - Unable to interrogate inverter to get base details
2024-12-31 10:26:15,867 - startup - [ERROR] - Gathering inverter details for 192.168.0.93 failed.
2024-12-31 10:26:15,869 - startup - [ERROR] - Unable to interrogate inverter to get base details
2024-12-31 10:26:15,894 - startup - [INFO] - Searching for Inverters again
2024-12-31 10:26:15,894 - startup - [CRITICAL] - Scanning network for GivEnergy Devices...
2024-12-31 10:26:19,728 - startup - [ERROR] - Gathering inverter details for 192.168.0.93 failed.
2024-12-31 10:26:19,728 - startup - [ERROR] - Unable to interrogate inverter to get base details
2024-12-31 10:26:19,928 - startup - [ERROR] - Gathering inverter details for 192.168.0.93 failed.
2024-12-31 10:26:19,928 - startup - [ERROR] - Unable to interrogate inverter to get base details
2024-12-31 10:26:19,929 - startup - [INFO] - Searching for Inverters again
2024-12-31 10:26:19,929 - startup - [CRITICAL] - Scanning network for GivEnergy Devices...
2024-12-31 10:26:23,769 - startup - [ERROR] - Gathering inverter details for 192.168.0.93 failed.
2024-12-31 10:26:23,769 - startup - [ERROR] - Unable to interrogate inverter to get base details
2024-12-31 10:26:23,968 - startup - [ERROR] - Gathering inverter details for 192.168.0.93 failed.
2024-12-31 10:26:23,969 - startup - [ERROR] - Unable to interrogate inverter to get base details
2024-12-31 10:26:24,271 - startup - [CRITICAL] - Running Redis
2024-12-31 10:26:24,346 - startup - [CRITICAL] - Setting up invertor: 1 of 1
2024-12-31 10:26:25,585 - startup - [CRITICAL] - Running RQ worker to queue and process givernergy-modbus calls
2024-12-31 10:26:25,585 - startup - [CRITICAL] - Running Invertor (192.168.0.93) read loop every 5s
2024-12-31 10:26:25,586 - startup - [CRITICAL] - Subscribing MQTT Broker for control
2024-12-31 10:26:25,590 - startup - [CRITICAL] - Starting Gunicorn on port 6345
2024-12-31 10:26:25,602 - startup - [CRITICAL] - Serving Web Dashboard from port 3043
2024/12/31 10:26:25 [notice] 189#189: using the "epoll" event method
2024/12/31 10:26:25 [notice] 189#189: nginx/1.20.2
2024/12/31 10:26:25 [notice] 189#189: OS: Linux 6.6.66-haos
2024/12/31 10:26:25 [notice] 189#189: getrlimit(RLIMIT_NOFILE): 1073741816:1073741816
2024/12/31 10:26:25 [notice] 189#189: start worker processes
2024/12/31 10:26:25 [notice] 189#189: start worker process 198
2024/12/31 10:26:25 [notice] 189#189: start worker process 199
[2024-12-31 10:26:28 +0000] [196] [INFO] Starting gunicorn 23.0.0
[2024-12-31 10:26:28 +0000] [196] [INFO] Listening at: http://0.0.0.0:6345 (196)
[2024-12-31 10:26:28 +0000] [196] [INFO] Using worker: sync
[2024-12-31 10:26:29 +0000] [200] [INFO] Booting worker with pid: 200
[2024-12-31 10:26:29 +0000] [201] [INFO] Booting worker with pid: 201
[2024-12-31 10:26:29 +0000] [202] [INFO] Booting worker with pid: 202
2024-12-31 10:26:30,324 - Inv1 - mqtt_client - [CRITICAL] - Connecting to MQTT broker for control- core-mosquitto
2024-12-31 10:26:42,795 - Inv1 - read - [ERROR ] - 10 failed inverter reads in a row so removing regCache to force update...
UPDATE The latest version of
serveis 14.2.4
INFO Accepting connections at http://localhost:3043
2024-12-31 10:28:10,503 - Inv1 - mqtt_client - [ERROR ] - No serial_number found in MQTT queue. MQTT Control not available.
Traceback (most recent call last):
File "/app/GivTCP_1/mqtt_client.py", line 402, in <module>
client.loop_forever()
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 2297, in loop_forever
rc = self._loop(timeout)
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 1686, in _loop
rc = self.loop_read()
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 2100, in loop_read
rc = self._packet_read()
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 3142, in _packet_read
rc = self._packet_handle()
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 3814, in _packet_handle
return self._handle_connack()
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 3934, in _handle_connack
on_connect(
File "/app/GivTCP_1/mqtt_client.py", line 386, in on_connect
client.subscribe(MQTT_Topic+"/control/"+GiV_Settings.serial_number+"/#")
AttributeError: type object 'GiV_Settings' has no attribute 'serial_number'
2024-12-31 10:28:47,957 - Inv1 - read - [ERROR ] - 10 failed inverter reads in a row so removing regCache to force update...
2024-12-31 10:30:52,757 - Inv1 - read - [ERROR ] - 10 failed inverter reads in a row so removing regCache to force update...
Live

My GivTCP version is: 2.4.9
Home Assistant: 2024.12.5

I can ping the ip address of the invertor fine. Invertor is Hybrid 5kw gen 2 (D0.915-A0.915).

I have restarted GivTCP addon, home assistant and the invertor to no avail.

Does anyone have any ideas what is going on?

T
#3 Trojan00

Henry3rd Thanks for that. Synced invertor time and its back up and running again.