-
-
Notifications
You must be signed in to change notification settings - Fork 24
Cannot connect to mosquitto mqtt running as HA addon #18
Comments
Update: I figured out that if I use 192.168.50.20 instead of homeassistant.local it does connect, but only if 192.168.50.20 os same subnet as zigstargw, if i have server on 192.168.51.20 it does not connect. |
I would recommend checking the connection to MQTT broker using some other software. For example MQTT Explorer. When you understand what credentials and server address you should use for authorization, then we will try with Zigstar. |
Well, of course. You are probably using the /24 subnet |
This is because your PC support mDNS ("*.local) but ZigStar doesn't. You must specify exactly IP address of your mqtt broker.
This is because when z2m connecting to ZigStar connection going from z2m add-on to ZigStar. And docker doesn't block this connection. But when you trying to connect ZigStar with mqtt broker, connection goes from ZigStar to mqtt broker. So you need to specify you docker's physical network IP, not virtual one that used for communicating between add-ons. @evlo By and large, your questions are more about the work of networks, home assistant, mqtt and so on than ZigStar. |
I'm trying to have zigstar GW connect to mosquitto MQTT server running as HA addon (HA supervised) and getting these errors
I tried these settings
(password is from home assistant integration where it says core-mosquitto etc.)
and also
while having config like this
zigbee2mqtt connects and communicates no problem whatsoever
mercenaruss/zigstar_gateways#20
Any ideas why it does not connect?
The text was updated successfully, but these errors were encountered: