I have two RPI's with Domoticz. One is configured as a remote Domoticz system. By I can display all needed devices in my master Domoticz system. Now I have added a CC2632RB stick om my slave and I run the Zigbee2MQTT plugin. By this a whole a new world has opened up! Zonoff SNZB-02 temperature sensors works fine I can finally throw away my 433Mhz system. I'm so tired of loosing the temperature sensor every time I need to replace a battery. And I can also add power switches and I will know it is on when Domoticz says it is on.
However, I have to problem to expose the Zigbee devices on my master system. I'm aware of the limitation plugin devices will not show up in the remote interface. So I installed the Ziqbee2MQTT plugin on the master as well and tried to connect the plugin to the MQTT broker on the remote system via the network interface. I configured the plugin with the local address of my remote system and used the default port 1883. However, my log is filled with this message:
2021-05-24 07:34:50.108 Error: Zigbee: (Zigbee) Failed to connect to: 192.168.0.241:1883, Description: Connection refused
So something is wrong with this setup. My configuration on the Zigbee2MQTT bridge software on my remote is as follows:
homeassistant: false
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://localhost:1883'
serial:
port: /dev/ttyUSB0
I'm running Domoticz Version: 2021.1 on both RPIs, v1.18.3 of the plugin.
Any help on this is appreciated!
Edit: I found a solution. Looking into the mosquitto log, I realized may master Domoticz system was not authorized to access the broker. First I tried to add a username and password. But I still had problems. Adding:
listener 1883
allow_anonymous true
in the mosquitto.conf solved my problem.
Edit2: I have problems to expose a temperature sensor. I pops up as a "general" type device and no temperature data is available. However, a Zigbee switch works fine. I think it is also a bit strange only enabled devices in the remote system is visible.The master asks the broker on my slave, and this is not aware of any Domoticz stuff as far as I understand. This is quite strange.
Edit3: My final problem is solved as well. I didn't wait enough to get all devices from the MQTT broker. 5 min to accept new hardware wasn't enough to get them all.
Zigbee in a remote setup Topic is solved
Moderator: leecollings
Who is online
Users browsing this forum: No registered users and 1 guest