britkat1980 / giv_tcp

TCP connection (from inverter) and MQTT implementation
71 stars 32 forks source link

Gen3 Hybrid firmware update issues #173

Closed lewiswatt closed 3 months ago

lewiswatt commented 3 months ago

As of this morning, I updated the firmware [D0.307-A0.307] on my Gen3 Hybrid inverter. I've been running my system with no issue for multiple months now, but as of this update, all states read as "unavailable", but basic commands still seem to be passing through to the inverter.

I've predomenantly been using givTCP for Predbat, which seems to still be able to talk to the inverter and issue commands, however as of the failure, the graphs clearly indicate an anomoly.

I have tried as much as I can think of to try and remedy the situation, but I cannot get the sensors to say anything other than "unavailable". Restarted every system, reinstalled both givTCP and the MQTT broker. I'm reaching the very edge of what I'm knowledgable of here, so I'd really appreciate any guidance anybody here could provide.

Below is the startup log for the inverter.

2024-03-15 17:50:08,264 - startup - [CRITICAL] - HA MQTT Service has been found at core-mosquitto 2024-03-15 17:50:08,268 - startup - [INFO] - Supervisor Timezone: Europe/London 2024-03-15 17:50:10,275 - startup - [CRITICAL] - Scanning network for GivEnergy Devices... 2024-03-15 17:50:14,401 - startup - [ERROR] - Gathering inverter details for 192.168.0.205 failed. 2024-03-15 17:50:14,401 - startup - [ERROR] - Unable to interrogate inverter to get base details 2024-03-15 17:50:14,612 - startup - [ERROR] - Gathering inverter details for 192.168.0.205 failed. 2024-03-15 17:50:14,612 - startup - [ERROR] - Unable to interrogate inverter to get base details 2024-03-15 17:50:14,613 - startup - [INFO] - Searching for Inverters again 2024-03-15 17:50:14,613 - startup - [CRITICAL] - Scanning network for GivEnergy Devices... 2024-03-15 17:50:18,737 - startup - [ERROR] - Gathering inverter details for 192.168.0.205 failed. 2024-03-15 17:50:18,737 - startup - [ERROR] - Unable to interrogate inverter to get base details 2024-03-15 17:50:18,943 - startup - [ERROR] - Gathering inverter details for 192.168.0.205 failed. 2024-03-15 17:50:18,943 - startup - [ERROR] - Unable to interrogate inverter to get base details 2024-03-15 17:50:18,944 - startup - [INFO] - Searching for Inverters again 2024-03-15 17:50:18,944 - startup - [CRITICAL] - Scanning network for GivEnergy Devices... 2024-03-15 17:50:23,063 - startup - [ERROR] - Gathering inverter details for 192.168.0.205 failed. 2024-03-15 17:50:23,064 - startup - [ERROR] - Unable to interrogate inverter to get base details 2024-03-15 17:50:23,274 - startup - [ERROR] - Gathering inverter details for 192.168.0.205 failed. 2024-03-15 17:50:23,274 - startup - [ERROR] - Unable to interrogate inverter to get base details 2024-03-15 17:50:23,277 - startup - [CRITICAL] - Running Redis 2024-03-15 17:50:23,280 - startup - [CRITICAL] - Setting up invertor: 1 of 1 2024/03/15 17:50:23 [notice] 189#189: using the "epoll" event method 2024/03/15 17:50:23 [notice] 189#189: nginx/1.20.2 2024/03/15 17:50:23 [notice] 189#189: OS: Linux 6.1.73-haos-raspi 2024/03/15 17:50:23 [notice] 189#189: getrlimit(RLIMIT_NOFILE): 1073741816:1073741816 2024/03/15 17:50:23 [notice] 189#189: start worker processes 2024/03/15 17:50:23 [notice] 189#189: start worker process 194 2024/03/15 17:50:23 [notice] 189#189: start worker process 195 2024/03/15 17:50:23 [notice] 189#189: start worker process 196 2024/03/15 17:50:23 [notice] 189#189: start worker process 197 2024-03-15 17:50:23,303 - startup - [CRITICAL] - Running RQ worker to queue and process givernergy-modbus calls 2024-03-15 17:50:23,304 - startup - [CRITICAL] - Running Invertor (192.168.0.205) read loop every 30s 2024-03-15 17:50:23,307 - startup - [CRITICAL] - Subscribing MQTT Broker for control 2024-03-15 17:50:23,311 - startup - [CRITICAL] - Starting Gunicorn on port 6345 [2024-03-15 17:50:23 +0000] [201] [INFO] Starting gunicorn 21.2.0 [2024-03-15 17:50:23 +0000] [201] [INFO] Listening at: http://0.0.0.0:6345 (201) [2024-03-15 17:50:23 +0000] [201] [INFO] Using worker: sync [2024-03-15 17:50:23 +0000] [202] [INFO] Booting worker with pid: 202 [2024-03-15 17:50:23 +0000] [205] [INFO] Booting worker with pid: 205 [2024-03-15 17:50:23 +0000] [206] [INFO] Booting worker with pid: 206 2024-03-15 17:50:23,979 - Inv1 - mqtt_client - [CRITICAL] - Connecting to MQTT broker for control- core-mosquitto 2024-03-15 17:50:30,014 - Inv1 - read - [CRITICAL] - First time running so saving AC Charge status 2024-03-15 17:50:30,017 - Inv1 - read - [CRITICAL] - Publishing Home Assistant Discovery messages 2024-03-15 17:50:56,668 - Inv1 - read - [CRITICAL] - Publishing Home Assistant Discovery messages 2024-03-15 17:50:59,136 - Inv1 - read - [CRITICAL] - Publishing Home Assistant Discovery messages 2024-03-15 17:51:26,135 - Inv1 - read - [CRITICAL] - Publishing Home Assistant Discovery messages

lewiswatt commented 3 months ago

I really thought I explored everything. I posted this, went for dinner, then took another bash at it. Solved it in 10 minutes. I needed to re-configure the MQTT broker. I do not know why, but that seemed to kick it into gear. For the record, the following still occurs, but it can read it properly again.