sztof
(Krzysztof)
August 12, 2019, 7:42pm
1
Hello,
Is here anybody who succesfully connected zigbee2mqtt with MQTT broker on node-red (mosca) ?
I have some problems with it. In the logs i constantly see:
zigbee2mqtt:error 8/12/2019, 9:30:40 PM Not connected to MQTT server!
zigbee2mqtt:error 8/12/2019, 9:30:49 PM Not connected to MQTT server!
Config on zigbee2mqtt side is:
"mqtt": {
"base_topic": "zigbee2mqtt",
"server": "192.168.0.11:1883",
"user": "XXX",
"password": "YYY"
},
I will be gratefull for any help, I dont want to migrate to mosquito if this wont be necessary
Akriss
(kris)
August 12, 2019, 8:18pm
2
Whats the log for the MQTT (mosca) broker around the same time?
Can you connect to the broker with other clients?
sztof
(Krzysztof)
August 12, 2019, 8:23pm
3
yeah, I can connect with MQTT.fx to the broker with the same user and pass
I’m not sure how to check logs from mosca side in node-red,
the “mosca in node” doesn’t show any new topic in debug
sztof
(Krzysztof)
August 12, 2019, 8:28pm
4
ok i got this
server config should look like this
"mqtt": {
"base_topic": "zigbee2mqtt",
"server": "mqtt://192.168.0.11:1883",
...
Akriss
(kris)
August 12, 2019, 8:31pm
5
I don’t know the mosca broker.
I was hoping that log could perhaps shed some light.
The error has not revealed its self with the given information.
Edit: Happy you found the answer. Yes. I should of checked how my config looked in comparison.