First make sure that zigbee2mqtt and zigbee2mqtt domoticz plugin are latest version. Also I suggest to update domoticz to the latest stable version(or even latest beta). In Domoticz, when setting up the zigbee2mqtt plugin you can use localhost or 127.0.0.1 for mqtt broker IP(if the broker is on the same Raspberry).RoWolf wrote: ↑Wednesday 03 July 2019 13:52 Hello,
I'm new to zigbee2mqtt and got myself a CC2531 USB stick with some aquara stuff.
I used the https://www.domoticz.com/wiki/Zigbee2MQTT manual to install this on my pi
Everything went fine and a paired one device which now shows up in the zigbee2mqtt.service logging
I installed the zigbee2mqtt domoticz plugin, as stated as last step in the manual.
After installing the plugin i added zifbee2mqtt as a hardware device in domoticz, My domoticz started not responding anymore.
I could not access domoticz through the webinterface, although the status stated it was running. Webinterface did hardly load and if it said it was offline.
After manually removing the plugin, i could access domoticz again and remove the hardware also.
Tried this several times, because i was not sure i made the correct settings in the hardware (should i used the ip from the pi, or is localhost/127.0.0.1 also valid?), but i left al default so it should be ok. Still every time domoticz hung.
What could be the reason? Is there a minimal python version necessarry, currently running Python Version: 3.4.2
Also before trying the above-written, try deleting the browser cache when trying to reach the webinterface.
If both of these don't work for you, I suggest to enable domoticz logs and check them after a crash. To enable domoticz logs edit the file /etc/init.d/domoticz.sh find the line
#DAEMON_ARGS="$DAEMON_ARGS -log /tmp/domoticz.txt" and remove the # in the begining of the line. This will set domoticz to write the logs to a file called domoticz.txt in the /tmp/ directory. Don't forget to comment the line(put back the #) once you fix your problem because loging to sd card will decrease its lifespan.