wez / govee2mqtt

Govee2MQTT: Connect Govee lights and devices to Home Assistant
MIT License
510 stars 32 forks source link

Not finding MQTT Broker (Docker) #310

Open godfa7h3r opened 19 hours ago

godfa7h3r commented 19 hours ago

Hello!

Been trying for weeks to get this working and I'm at a loss. Home Assistant, mosquitto MQTT, and govee2mqtt are all setup on Docker containers.

I have the mosquitto MQTT broker successfully integrated into HA. I've tested functionality by publishing data from the MQTT integration page of HA and using MQTT Explorer to monitor. So I know that it's configured and functioning correctly.

The MQTT Integration page of HA shows an IP address of 192.168.86.21

In my govee2mqtt env I have the following setup as the MQTT host: GOVEE_MQTT_HOST=192.168.86.21

Checking the Docker logs of the govee2mqtt container, I can see that it's running and is finding my account and devices just fine. But there is this error in the logs which is what is preventing the final step of getting it to talk to the MQTT Broker in HA.

Error: Please specify the mqtt broker either via the --mqtt-host parameter or by setting $GOVEE_MQTT_HOST

Any help here would be greatly appreciated as this one of the last pieces of my HA puzzle!

Thank you!