mtrossbach / noah-mqtt

A tool for integrating Growatt Noah 2000 home batteries with Home Assistant via MQTT, enabling real-time monitoring and control of your energy storage system.
Apache License 2.0
20 stars 1 forks source link

MQTT_HOST setting leads to PANIC #18

Open alekob opened 2 weeks ago

alekob commented 2 weeks ago

Currently, I've a setup of 2 Raspberry Pi's:

  1. RaspberryMatic + Mosquitto, named CCU
  2. Home Assistant with MQTT integration running

The Add-on NOAH-MQTT reports an error,, when MQTT_HOST is configured to CCU:

[20:43:48] ERROR: Got unexpected response from the API: Service not enabled {"time":"2024-09-10T20:43:49.017847602+02:00","level":"ERROR","msg":"couldn't validate config","error":"MQTT_HOST is required"} {"time":"2024-09-10T20:43:49.018010386+02:00","level":"ERROR","msg":"PANIC ... waiting 15s to exit ..."}

The configuration is as follows:

log_level: ERROR polling_interval: 10 growatt_username: growatt_password: mqtt_host: ccu

msmthng commented 1 week ago

can the host(name) you have used for the config be resolved?

alekob commented 1 week ago

Sure; I‘ve also used the bare IP address with the same result