Open PianSom opened 8 months ago
FWIW my suspicion is that GivTCP is not finding my (AIO) inverter, even though the IP is specified as an ENV. I never got the 2.3 branch to work for this reason
docker-compose.yaml:
GivTCP:
container_name: givtcp
image: britkat/giv_tcp-ma:2.4.1
# user: 1000:1000
ports:
# - "1883:1883" # MQTT
- "6345:6345" # REST (add increments for each inverter)
- "8040:3000" # This should match the WEB_DASH_PORT ENV below
- "6379:6379" # Redis port for job queueing
- "9181:9181" # RQ Dashboard to view job scheduling
environment:
## Critical to update
- NUMINVERTORS=1 # Set this to the number of Inverters in your setup, then replicate the next two lines for each inverter (changing the last number of the ENV)
- INVERTOR_IP_1=192.168.99.211 # Set this to the IP address of your Inverter on your local network
- INVERTOR_AIO_1=True
- NUMBATTERIES_1=0 # Number of battery modules installed and connected to the above inverter
- MQTT_OUTPUT=True # "True" if you want to publish your data to MQTT, "False" otherwise
- MQTT_ADDRESS=192.168.99.200 # IP address of an existing MQTT broker, or leave as "127.0.0.1" to use the internal broker
- MQTT_USERNAME=REDACTED # Username of your existing broker, if needed. Not required for internal broker
- MQTT_PASSWORD=REDACTED # Password of your existing broker, if needed. Not required for internal broker
- HOSTIP=192.168.99.200 # External IP address of the docker host (needed for web dashboard)
- CACHELOCATION=/config/GivTCP # Location of cache data, this folder can be mapped to a persistence storage outside the container
- TZ=Europe/London # Set to your Timezone
<the rest as per default>
Looking at Debug logs, it appears that I was wrong - it does appear to be connecting to the AIO inverter. But is failing to retrieve the serial number for some reason.
Issue solved, by including the env variable -
- INVERTOR_AC_1=False
I run GivTCP in its own Docker container, rather than as a HA Add-on. I am trying to upgrade from 2.2.4 (which works) to 2.4.1
I get a fail, with the following error: