Hello @Arg0t @geoffreycoan
So my short break ended up being longer than anticipated but now I am back from my enforced "post op rest" trying once again to get GivTCP working in HA.
Short update, out of curiosity today I decided to check out the web dashboard before starting anything else. To my surprise, it seems to be mostly up and running. Peak Import and Export don't seem to be receiving data but everything else is accurate. That prompted me to try something that should have occurred to me sooner, looking at the MQTT output using MQTT.fx to see if anything was coming out of the Mosquitto MQTT server. Again, to my surprise, despite my belief that GivTCP was not running I am seeing a constant stream of data from my Inverter and batteries. Chooseing a couple of obvious messages at random the MQTT data does match what is actually happening at my invertor.
Despite this, I am still getting GivTCP error messages in my log files saying GivTCP cannot connect to my inverter but, having said that, if I keep hitting refresh and reading further down the log files I see the following messages and I am intrigued by the lines "Running Redis" and "using the epoll event method" :-
2024-08-08 20:34:25,849 - startup - [CRITICAL] - Running Redis
2024-08-08 20:34:25,861 - startup - [CRITICAL] - Setting up invertor: 1 of 1
2024/08/08 20:34:25 [notice] 188#188: using the "epoll" event method
2024/08/08 20:34:25 [notice] 188#188: nginx/1.20.2
2024/08/08 20:34:25 [notice] 188#188: OS: Linux 6.6.31-haos-raspi
2024/08/08 20:34:25 [notice] 188#188: getrlimit(RLIMIT_NOFILE): 1073741816:1073741816
2024/08/08 20:34:25 [notice] 188#188: start worker processes
2024/08/08 20:34:25 [notice] 188#188: start worker process 193
2024/08/08 20:34:25 [notice] 188#188: start worker process 194
2024/08/08 20:34:25 [notice] 188#188: start worker process 195
2024/08/08 20:34:25 [notice] 188#188: start worker process 196
2024-08-08 20:34:26,043 - startup - [CRITICAL] - Running RQ worker to queue and process givernergy-modbus calls
2024-08-08 20:34:26,044 - startup - [CRITICAL] - Running Invertor (192.168.30.20) read loop every 15s
2024-08-08 20:34:26,052 - startup - [CRITICAL] - Subscribing MQTT Broker for control
2024-08-08 20:34:26,060 - startup - [CRITICAL] - Starting Gunicorn on port 6345
2024-08-08 20:34:26,079 - startup - [CRITICAL] - Serving Web Dashboard from port 3042
From this it seems something is working and now I am not sure if I am misunderstanding the log files and that perhaps GivTCP is at least partially functional. If that is true then it begs the question why can't I see or find any GivTCP entities?
As you might have guessed, I am not very profficiant with HA so I could just be doing something stupid. Any help trying to figure out what is going on would be very welcome.
Michael.