I have installed this last week and am having the same issues. I’m running latest homeassistant OS and core.
Home Assistant 2023.2.2
Supervisor 2023.01.1
Operating System 9.5
Frontend 20230202.0 - latest
When I restart GivTCP I get data initially but then it stops. Also my automations aren’t working. None of the switches work to disable battery charging schedules or level adjustments.
I have similar errors as mentioned here:
GivTCP Logs
2023-02-07 23:27:29,359 - startup - [CRITICAL] - Config directory already exists
2023-02-07 23:27:29,518 - startup - [CRITICAL] - Running Redis
2023-02-07 23:27:29,605 - startup - [CRITICAL] - Running RQ Dashboard on port 9181
2023-02-07 23:27:29,609 - startup - [CRITICAL] - Setting up invertor: 1 of 1
2023-02-07 23:27:30,247 - startup - [CRITICAL] - Recreating settings.py for invertor 1
2023-02-07 23:27:30,270 - startup - [CRITICAL] - Removing old invertor data cache
2023-02-07 23:27:30,277 - startup - [CRITICAL] - Removing old battery data cache
2023-02-07 23:27:30,336 - startup - [CRITICAL] - Running RQ worker to queue and process givernergy-modbus calls
2023-02-07 23:27:30,356 - startup - [CRITICAL] - Running Invertor read loop every 5s
2023-02-07 23:27:30,426 - startup - [CRITICAL] - Subscribing Mosquitto on port 1883
2023-02-07 23:27:30,522 - startup - [CRITICAL] - Starting Gunicorn on port 6345
2023-02-07 23:27:30,674 - startup - [CRITICAL] - Creating web dashboard config
2023-02-07 23:27:30,695 - startup - [CRITICAL] - Serving Web Dashboard from port 3061
2023-02-07 23:27:31,600 - startup - [CRITICAL] - Setting daily charge target forecast job to run at: 00:20
[2023-02-07 23:27:45 +0000] [17] [INFO] Starting gunicorn 20.1.0
[2023-02-07 23:27:45 +0000] [17] [INFO] Listening at: http://0.0.0.0:6345 (17)
[2023-02-07 23:27:45 +0000] [17] [INFO] Using worker: sync
[2023-02-07 23:27:45 +0000] [31] [INFO] Booting worker with pid: 31
[2023-02-07 23:27:45 +0000] [32] [INFO] Booting worker with pid: 32
[2023-02-07 23:27:45 +0000] [33] [INFO] Booting worker with pid: 33
RQ Dashboard version 0.6.0
- Running on 0.0.0.0:9181
- Serving Flask app ‘rq_dashboard.cli’
- Debug mode: off
UPDATE The latest version of serve
is 14.2.0.
INFO: Accepting connections at http://localhost:3061.
2023-02-07 23:27:58,433 - read - [CRITICAL] - First time running so saving AC Charge status
2023-02-07 23:27:58,588 - read - [CRITICAL] - Publishing Home Assistant Discovery messages
2023-02-07 23:36:44,090 - GivLUT - [CRITICAL] - Consecutive failure count= 1
2023-02-07 23:36:44,111 - read - [ERROR] - Error collecting registers: (<class ‘KeyError’>, KeyError(HR:013), <traceback object at 0x7fbc8f4740>)
2023-02-07 23:37:30,661 - GivLUT - [CRITICAL] - Consecutive failure count= 1
2023-02-07 23:37:30,667 - read - [ERROR] - Error collecting registers: (<class ‘KeyError’>, KeyError(HR:013), <traceback object at 0x7fbc8f0700>)
2023-02-07 23:39:41,939 - GivLUT - [CRITICAL] - Consecutive failure count= 1
2023-02-07 23:39:41,942 - read - [ERROR] - Error collecting registers: (<class ‘KeyError’>, KeyError(HR:120), <traceback object at 0x7fbc9003c0>)
2023-02-07 23:40:41,356 - GivLUT - [CRITICAL] - Consecutive failure count= 1
2023-02-07 23:40:41,359 - read - [ERROR] - Error collecting registers: (<class ‘KeyError’>, KeyError(IR:110), <traceback object at 0x7fbc904740>)
2023-02-07 23:52:34,229 - GivLUT - [CRITICAL] - Consecutive failure count= 1
2023-02-07 23:52:34,232 - read - [ERROR] - Error collecting registers: (<class ‘KeyError’>, KeyError(IR:110), <traceback object at 0x7fbc8d0800>)
2023-02-07 23:56:44,160 - GivLUT - [CRITICAL] - Consecutive failure count= 1
2023-02-07 23:56:44,168 - read - [ERROR] - Error collecting registers: (<class ‘KeyError’>, KeyError(HR:013), <traceback object at 0x7fbc8e8780>)
2023-02-07 23:59:43,390 - GivLUT - [CRITICAL] - Consecutive failure count= 1
2023-02-07 23:59:43,394 - read - [ERROR] - Error collecting registers: (<class ‘KeyError’>, KeyError(HR:113), <traceback object at 0x7fbc8e4980>)
2023-02-08 00:00:07,180 - read - [CRITICAL] - Midnight, so resetting Day/Night stats…
2023-02-08 00:00:08,518 - mqtt - [ERROR] - Error connecting to MQTT Broker: (<class ‘TypeError’>, TypeError(‘payload must be a string, bytearray, int, float or None.’), <traceback object at 0x7f9f6eb3c0>)
2023-02-08 00:00:18,984 - read - [CRITICAL] - Midnight, so resetting Day/Night stats…
2023-02-08 00:00:30,869 - read - [CRITICAL] - Midnight, so resetting Day/Night stats…
2023-02-08 00:00:42,748 - read - [CRITICAL] - Midnight, so resetting Day/Night stats…
2023-02-08 00:00:54,619 - read - [CRITICAL] - Midnight, so resetting Day/Night stats…
2023-02-08 00:02:40,574 - GivLUT - [CRITICAL] - Consecutive failure count= 1
2023-02-08 00:02:40,577 - read - [ERROR] - Error collecting registers: (<class ‘KeyError’>, KeyError(HR:013), <traceback object at 0x7fbc8d4740>)
Mosquito Logs
2023-02-08 00:01:43: New connection from 172.30.32.1:60221 on port 1883.
2023-02-08 00:01:43: New client connected from 172.30.32.1:60221 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:01:43: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:01:54: New connection from 172.30.32.1:54867 on port 1883.
2023-02-08 00:01:55: Client closed its connection.
2023-02-08 00:01:55: New connection from 172.30.32.1:44073 on port 1883.
2023-02-08 00:01:55: New client connected from 172.30.32.1:44073 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:01:55: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:02:06: New connection from 172.30.32.1:36633 on port 1883.
2023-02-08 00:02:07: Client closed its connection.
2023-02-08 00:02:07: New connection from 172.30.32.1:50061 on port 1883.
2023-02-08 00:02:07: New client connected from 172.30.32.1:50061 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:02:07: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:02:18: New connection from 172.30.32.1:48061 on port 1883.
2023-02-08 00:02:19: Client closed its connection.
2023-02-08 00:02:19: New connection from 172.30.32.1:42083 on port 1883.
2023-02-08 00:02:19: New client connected from 172.30.32.1:42083 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:02:19: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:02:30: New connection from 172.30.32.1:60285 on port 1883.
2023-02-08 00:02:31: Client closed its connection.
2023-02-08 00:02:31: New connection from 172.30.32.1:42479 on port 1883.
2023-02-08 00:02:31: New client connected from 172.30.32.1:42479 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:02:31: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:02:41: New connection from 172.30.32.1:55043 on port 1883.
2023-02-08 00:02:42: Client closed its connection.
2023-02-08 00:02:42: New connection from 172.30.32.1:58535 on port 1883.
2023-02-08 00:02:42: New client connected from 172.30.32.1:58535 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:02:42: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:02:52: New connection from 172.30.32.1:54109 on port 1883.
2023-02-08 00:02:53: Client closed its connection.
2023-02-08 00:02:53: New connection from 172.30.32.1:56131 on port 1883.
2023-02-08 00:02:53: New client connected from 172.30.32.1:56131 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:02:54: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:03:04: New connection from 172.30.32.1:46637 on port 1883.
2023-02-08 00:03:05: Client closed its connection.
2023-02-08 00:03:05: New connection from 172.30.32.1:33961 on port 1883.
2023-02-08 00:03:05: New client connected from 172.30.32.1:33961 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:03:06: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:03:16: New connection from 172.30.32.1:40907 on port 1883.
2023-02-08 00:03:17: Client closed its connection.
2023-02-08 00:03:17: New connection from 172.30.32.1:38119 on port 1883.
2023-02-08 00:03:17: New client connected from 172.30.32.1:38119 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:03:17: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:03:23: New connection from 172.30.32.2:59276 on port 1883.
2023-02-08 00:03:23: Client closed its connection.
2023-02-08 00:03:28: New connection from 172.30.32.1:59367 on port 1883.
2023-02-08 00:03:29: Client closed its connection.
2023-02-08 00:03:29: New connection from 172.30.32.1:55899 on port 1883.
2023-02-08 00:03:29: New client connected from 172.30.32.1:55899 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:03:29: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:03:40: New connection from 172.30.32.1:58823 on port 1883.
2023-02-08 00:03:41: Client closed its connection.
2023-02-08 00:03:41: New connection from 172.30.32.1:60013 on port 1883.
2023-02-08 00:03:41: New client connected from 172.30.32.1:60013 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:03:41: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:03:52: New connection from 172.30.32.1:40375 on port 1883.
2023-02-08 00:03:53: Client closed its connection.
2023-02-08 00:03:53: New connection from 172.30.32.1:41865 on port 1883.
2023-02-08 00:03:53: New client connected from 172.30.32.1:41865 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:03:53: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:04:04: New connection from 172.30.32.1:47019 on port 1883.
2023-02-08 00:04:05: Client closed its connection.
2023-02-08 00:04:05: New connection from 172.30.32.1:38101 on port 1883.
2023-02-08 00:04:05: New client connected from 172.30.32.1:38101 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:04:05: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:04:15: New connection from 172.30.32.1:50765 on port 1883.
2023-02-08 00:04:16: Client closed its connection.
2023-02-08 00:04:16: New connection from 172.30.32.1:51767 on port 1883.
2023-02-08 00:04:16: New client connected from 172.30.32.1:51767 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:04:17: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:04:27: New connection from 172.30.32.1:42529 on port 1883.
2023-02-08 00:04:28: Client closed its connection.
2023-02-08 00:04:28: New connection from 172.30.32.1:51171 on port 1883.
2023-02-08 00:04:28: New client connected from 172.30.32.1:51171 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:04:29: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:04:39: New connection from 172.30.32.1:48727 on port 1883.
2023-02-08 00:04:40: Client closed its connection.
2023-02-08 00:04:40: New connection from 172.30.32.1:47979 on port 1883.
2023-02-08 00:04:40: New client connected from 172.30.32.1:47979 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:04:41: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:04:51: New connection from 172.30.32.1:43035 on port 1883.
2023-02-08 00:04:52: Client closed its connection.
2023-02-08 00:04:52: New connection from 172.30.32.1:58299 on port 1883.
2023-02-08 00:04:52: New client connected from 172.30.32.1:58299 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:04:52: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:05:03: New connection from 172.30.32.1:43987 on port 1883.
2023-02-08 00:05:04: Client closed its connection.
2023-02-08 00:05:04: New connection from 172.30.32.1:41003 on port 1883.
2023-02-08 00:05:04: New client connected from 172.30.32.1:41003 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:05:04: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:05:15: New connection from 172.30.32.1:34721 on port 1883.
2023-02-08 00:05:16: Client closed its connection.
2023-02-08 00:05:16: New connection from 172.30.32.1:60367 on port 1883.
2023-02-08 00:05:16: New client connected from 172.30.32.1:60367 as GivEnergy_GivTCP_1 (p2, c1, k60, u’MQTT-User’).
2023-02-08 00:05:16: Client GivEnergy_GivTCP_1 disconnected.
2023-02-08 00:05:23: New connection from 172.30.32.2:39222 on port 1883.
2023-02-08 00:05:23: Client closed its connection.
2023-02-08 00:05:27: New connection from 172.30.32.1:53811 on port 1883.
2023-02-08 00:05:28: Client closed its connection.
2023-02-08 00:05:28: New connection from 172.30.32.1:51869 on port 1883.
I’m keen to get this working so if there is any advice one this I’d be extremely grateful!
I have tried deleting the pkl files in the GivTCP folder but it didn’t help unfortunately.