Looking for some techie help
I am running GivTCP locally within docker, running on a Mac OS 13.2
I run it with the following command:
docker run -e INVERTOR_IP=192.168.87.40 -e INVERTOR_IP_1=192.168.87.40 -e NUM_BATTERIES=1 --network host britkat/giv_tcp-ma
As am fairly new to docker I am unsure how I edit the config file directly so am running the env vars in the run command. For some reason I have to set INVERTOR_IP and INVERTOR_IP_1 to the local inverter IP... anyway
It seems to work, I see:
[2023-02-21 11:06:34 +0000] [17] [INFO] Starting gunicorn 20.1.0
[2023-02-21 11:06:34 +0000] [17] [INFO] Listening at: http://0.0.0.0:6345 (17)
[2023-02-21 11:06:34 +0000] [17] [INFO] Using worker: sync
[2023-02-21 11:06:34 +0000] [21] [INFO] Booting worker with pid: 21
[2023-02-21 11:06:34 +0000] [23] [INFO] Booting worker with pid: 23
[2023-02-21 11:06:34 +0000] [24] [INFO] Booting worker with pid: 24
As well as this looping a connection to the inverter (I think)
1676977824: New connection from 127.0.0.1:51619 on port 1883.
1676977824: New client connected from 127.0.0.1:51619 as GivEnergy_GivTCP_1 (p2, c1, k60).
1676977824: Client GivEnergy_GivTCP_1 disconnected.
But how to access the restful API that now should be available? I tried http://0.0.0.0:6345 but just errors. Can anyone help at all?
