Thanks for the comments.
I removed the IP address from the file, but yes, it is correct.
Ive attached the log below. It takes a while, but does eventually connect. But then gets stuck at Publishing Home Assistant discovery messages.
If I look in MQQT Explorer, I can see the inverter and battery info, but none of the devices are added to HA. (See below)
2023-12-08 19:05:03,027 - startup - [CRITICAL] - HA MQTT Service has been found at core-mosquitto
2023-12-08 19:05:03,029 - startup - [INFO] - Supervisor Timezone: Europe/London
2023-12-08 19:05:05,034 - startup - [CRITICAL] - Scanning network for GivEnergy Devices...
2023-12-08 19:05:08,879 - startup - [ERROR] - Gathering inverter details for REMOVED failed.
2023-12-08 19:05:08,880 - startup - [ERROR] - Unable to interrogate inverter to get base details
2023-12-08 19:05:09,090 - startup - [ERROR] - Gathering inverter details for REMOVED failed.
2023-12-08 19:05:09,091 - startup - [ERROR] - Unable to interrogate inverter to get base details
2023-12-08 19:05:09,091 - startup - [INFO] - Searching for Inverters again
2023-12-08 19:05:09,092 - startup - [CRITICAL] - Scanning network for GivEnergy Devices...
2023-12-08 19:05:12,940 - startup - [ERROR] - Gathering inverter details for REMOVED failed.
2023-12-08 19:05:12,941 - startup - [ERROR] - Unable to interrogate inverter to get base details
2023-12-08 19:05:13,148 - startup - [ERROR] - Gathering inverter details for REMOVED failed.
2023-12-08 19:05:13,148 - startup - [ERROR] - Unable to interrogate inverter to get base details
2023-12-08 19:05:13,148 - startup - [INFO] - Searching for Inverters again
2023-12-08 19:05:13,148 - startup - [CRITICAL] - Scanning network for GivEnergy Devices...
2023-12-08 19:05:17,008 - startup - [ERROR] - Gathering inverter details for REMOVED failed.
2023-12-08 19:05:17,008 - startup - [ERROR] - Unable to interrogate inverter to get base details
2023-12-08 19:05:17,220 - startup - [ERROR] - Gathering inverter details for REMOVED failed.
2023-12-08 19:05:17,221 - startup - [ERROR] - Unable to interrogate inverter to get base details
2023-12-08 19:05:17,223 - startup - [CRITICAL] - Running Redis
2023-12-08 19:05:17,226 - startup - [CRITICAL] - Setting up invertor: 1 of 1
2023/12/08 19:05:17 [notice] 188#188: using the "epoll" event method
2023/12/08 19:05:17 [notice] 188#188: nginx/1.20.2
2023/12/08 19:05:17 [notice] 188#188: OS: Linux 6.1.63-haos
2023/12/08 19:05:17 [notice] 188#188: getrlimit(RLIMIT_NOFILE): 1073741816:1073741816
2023/12/08 19:05:17 [notice] 188#188: start worker processes
2023/12/08 19:05:17 [notice] 188#188: start worker process 192
2023-12-08 19:05:17,246 - startup - [CRITICAL] - Running RQ worker to queue and process givernergy-modbus calls
2023-12-08 19:05:17,246 - startup - [CRITICAL] - Running Invertor (REMOVED) read loop every 15s
2023-12-08 19:05:17,249 - startup - [CRITICAL] - Subscribing MQTT Broker for control
2023-12-08 19:05:17,252 - startup - [CRITICAL] - Starting Gunicorn on port 6345
[2023-12-08 19:05:17 +0000] [196] [INFO] Starting gunicorn 21.2.0
[2023-12-08 19:05:17 +0000] [196] [INFO] Listening at: http://0.0.0.0:6345 (196)
[2023-12-08 19:05:17 +0000] [196] [INFO] Using worker: sync
[2023-12-08 19:05:17 +0000] [197] [INFO] Booting worker with pid: 197
[2023-12-08 19:05:17 +0000] [198] [INFO] Booting worker with pid: 198
[2023-12-08 19:05:17 +0000] [199] [INFO] Booting worker with pid: 199
2023-12-08 19:05:18,680 - Inv1 - mqtt_client - [CRITICAL] - Connecting to MQTT broker for control- core-mosquitto
2023-12-08 19:05:24,908 - Inv1 - read - [CRITICAL] - First time running so saving AC Charge status
2023-12-08 19:05:24,910 - Inv1 - read - [CRITICAL] - Publishing Home Assistant Discovery messages
