Hi,
is it possible to connect zigbee2mqtt remote to deconz over tcp? I have homeassistant running in a virtualbox and a raspberrypi running with deconz and raspbee-interface. Homeassistant found my devices automatically and I can control them without problems. But I didn’t have success with zigbee2mqtt yet. For zigbee2mqtt serial config I tried this:
port: tcp://192.168.188.47:81
adapter: deconz
It seems to connect somehow but zigbee2mqtt does not start and throws undefined error. Port 81 is the http port I use for deconz on raspi and of course the ip-address of raspi 192.168.188.47. The help page does not really help me.
log:
[07:43:11] INFO: Preparing to start…
[07:43:12] INFO: Socat not enabled
[07:43:13] INFO: Starting Zigbee2MQTT…
Zigbee2MQTT:info 2023-07-31 07:43:16: Logging to console and directory: ‘/config/zigbee2mqtt/log/2023-07-31.07-43-16’ filename: log.txt
Zigbee2MQTT:info 2023-07-31 07:43:17: Starting Zigbee2MQTT version 1.32.1 (commit #unknown)
Zigbee2MQTT:info 2023-07-31 07:43:17: Starting zigbee-herdsman (0.16.0)
Zigbee2MQTT:error 2023-07-31 07:43:27: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-07-31 07:43:27: Failed to start zigbee
Zigbee2MQTT:error 2023-07-31 07:43:27: Check Zigbee2MQTT fails to start | Zigbee2MQTT for possible solutions
Zigbee2MQTT:error 2023-07-31 07:43:27: Exiting…
Zigbee2MQTT:error 2023-07-31 07:43:27: undefined
Ok. But deconz and zigbee2mqtt is not on the same device. So I thought it possible to connect like any other app (Homeassistant, Amazon Alexa, Hue Essentials and so on).
Compare your raspbee to a car. There can only be one driver (conbee or zigbee2mqtt), but there can be more passengers (Homeassistant, Amazon Alexa, Hue Essentials and so on).
And in recommended hardware the connection to Conbee/Raspbee is documented like this:
serial:
adapter: deconz
So I thought deconz acts like a server and it’s possible to connect zigbee2mqtt to it. And if yes, the next step would be to connect remotely over tcp.
USB connected adapters (ConBee and ConBee II) and Raspberry Pi GPIO modules (RaspBee and RaspBee II). If Zigbee2MQTT fails to start, try adding the following to your configuration.yaml
Ok, I see. So there is no way.
I wanted to use zigbee2mqtt to send raw commands to zigbee devices like in this video: https://www.youtube.com/watch?v=QeIUiuXBzLw. Is there another possibility to do this? But the current system with raspberrypi/raspbee/deconz must remain.
Buy another dongle, best a CC2652. But you will need to repair your plugs temporarily to Zigbee2MQTT.
Or stop deconz, start Zigbee2MQTT, pair your plugs, send the commands, stop Zigbee2MQTT, start deconz, repair to deconz