Page 8 of 18
Re: Python Plugin: Zigbee2Mqtt
Posted: Tuesday 09 June 2020 19:11
by StasDemydiuk
You need to wait some time till model attribute for your device start appearing in zigbee2mqtt devices response. Sometimes it doesn't appear immediately after pairing and require an hour or so. Also you can try to repair device to network
Re: Python Plugin: Zigbee2Mqtt
Posted: Tuesday 09 June 2020 20:18
by madradrakie
StasDemydiuk wrote: ↑Tuesday 09 June 2020 19:11
You need to wait some time till model attribute for your device start appearing in zigbee2mqtt devices response. Sometimes it doesn't appear immediately after pairing and require an hour or so. Also you can try to repair device to network
i waited for about 12 hours but it was still not recognized but i found the solution!
it is working now after some changes in devices.js file. The model which was recognized was ZG2835RAC. In de devices.js file this model number was assigned to
{ zigbeeModel: ['Micro Smart Dimmer'], model: 'ZG2835RAC', vendor: 'Sunricher', description: 'ZigBee knob smart dimmer', extend: generic.light_onoff_brightness, },
i know changed this one to:
{ zigbeeModel: ['Micro Smart Dimmer'], model: 'ZG2835RAC', vendor: 'ROBB', description: 'ZigBee AC phase-cut rotary dimmer', extend: generic.light_onoff_brightness, meta: {configureKey: 1}, configure: async (device, coordinatorEndpoint) => { const endpoint = device.getEndpoint(1); await bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genLevelCtrl']); await configureReporting.onOff(endpoint); }, },
I also added the following in init.py file:
'ZG2835RAC': DimmableBulbAdapter, # ROBB ZigBee AC phase-cut rotary dimmer
Now the dimmer is also recognized in Domoticz so i can add the dimmer as a device.
Re: Python Plugin: Zigbee2Mqtt
Posted: Thursday 11 June 2020 17:00
by rron
Hello,
I want to install the zigbee2mqqt python script from github but if do the following:
Code: Select all
cd domoticz/plugins
git clone https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin.git zigbee2mqtt
I get the get this
Code: Select all
cd domoticz/plugins
git clone https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin.git zigbee2mqtt
Username for htpps:// github.com
Password for https://github.com
What can I do about this? Iḿ on the latest beta version
Re: Python Plugin: Zigbee2Mqtt
Posted: Friday 12 June 2020 10:54
by rron
Nobody has this problem? I can download the plugin manager but I don't need all those plugins.
The problem is only by zigbee2 mqtt plugin.
Re: Python Plugin: Zigbee2Mqtt
Posted: Friday 12 June 2020 11:33
by doh
rron wrote: ↑Friday 12 June 2020 10:54
Nobody has this problem? I can download the plugin manager but I don't need all those plugins.
The problem is only by zigbee2 mqtt plugin.
It looks like for some reason GitHub is wanting you to login. This code is publicly accessible so it shouldn't be doing that.
It's not an issue with the plugin.
Make sure you copy and paste the commands exactly to avoid any typo's.
You could try cloning something else from GitHub and see if you get the same error.
Re: Python Plugin: Zigbee2Mqtt
Posted: Friday 12 June 2020 13:07
by rron
It's strange and I have never seen this before. As I said the manager I can download but I only want the zigbee2mqqt plugin.
I tried it several times without any luck. Perhaps the owner wants you to use the manager.
It looks that it reached the correct file so no typo's.

Re: Python Plugin: Zigbee2Mqtt
Posted: Saturday 13 June 2020 11:50
by rron
doh wrote: ↑Friday 12 June 2020 11:33
rron wrote: ↑Friday 12 June 2020 10:54
Nobody has this problem? I can download the plugin manager but I don't need all those plugins.
The problem is only by zigbee2 mqtt plugin.
It looks like for some reason GitHub is wanting you to login. This code is publicly accessible so it shouldn't be doing that.
It's not an issue with the plugin.
Make sure you copy and paste the commands exactly to avoid any typo's.
You could try cloning something else from GitHub and see if you get the same error.
You are right I made a typo mistake. It's working.
Thanks.
Re: Python Plugin: Zigbee2Mqtt
Posted: Saturday 04 July 2020 16:58
by salopette
Hello, how can I implement a dimmer?
I have a Hue Remote and dimmable Ikea lamps.
I want to switch it on and off and dim it with the Hue Remote.
How can I do this together with z2m?
thank you
Re: Python Plugin: Zigbee2Mqtt
Posted: Friday 10 July 2020 21:07
by qwerk
I am running zigbee2mqtt on a raspberry, using a cc2531 usb stick with zStack12
I have 25 devices connected
I cannot get my Xiaomi Smart Light Sensor Zigbee gzcgq01lm to connect.
I have three, neither will connect.
It should be compatible.........
Does anyone got this to work?
Re: Python Plugin: Zigbee2Mqtt
Posted: Friday 10 July 2020 21:13
by hoeby
do you have routers in your zigbee network?
Or 25 battery devices on your coördinator?
Re: Python Plugin: Zigbee2Mqtt
Posted: Saturday 11 July 2020 11:30
by qwerk
hoeby wrote: ↑Friday 10 July 2020 21:13
do you have routers in your zigbee network?
Or 25 battery devices on your coördinator?
I have one router (philips hue lamp) with 7 battery devices
and 16 direct connected battery devices
and 1 floating battey device, probably empty battery
Is there a limit to the number of battery devices?
Just moved 2 devices to an old xiaomi hub, now I can add the lux sensors.
thanks for your trigger
Re: Python Plugin: Zigbee2Mqtt
Posted: Wednesday 15 July 2020 9:17
by fireport
Dear all,
finally, I managed to install my first Zigbee network so I installed this fabulous plugin.
Unfortunately, custom pages don't show up in the menu despite I found this entry in the log
Code: Select all
(Zigbee2MQTT) Debug logging mask set to: PYTHON
2020-07-15 09:02:36.654 (Zigbee2MQTT) onStart called
2020-07-15 09:02:36.654 (Zigbee2MQTT) Installing plugin custom page...
2020-07-15 09:02:36.654 (Zigbee2MQTT) Copying files from /var/lib/domoticz/plugins/zigbee2mqtt/frontend to /var/lib/domoticz/www/templates
2020-07-15 09:02:36.657 (Zigbee2MQTT) Installing plugin custom page completed.
the directory is correctly populated
Code: Select all
drwxr-xr-x 2 domoticz domoticz 4096 Jul 15 09:05 zigbee2mqtt
-rw-rw-r-- 1 domoticz domoticz 16442 Jun 17 14:59 zigbee2mqtt.html
-rw-rw-r-- 1 domoticz domoticz 8413 Jun 17 14:59 zigbee2mqtt.js
this is my domoticz command line
Code: Select all
/usr/bin/domoticz -www 8080 -sslwww 8443 -sslcert /var/lib/domoticz/domoticz.pem -sslpass -sslmethod -ssloptions -ssldhparam -approot /usr/share/domoticz -dbase /var/lib/domoticz/domoticz.db -userdata /var/lib/domoticz/ -loglevel normal,status,error -log /var/log/domoticz.log
Someone can help me ?
Re: Python Plugin: Zigbee2Mqtt
Posted: Wednesday 15 July 2020 10:19
by fireport
I resolved manually copyng file from /var/lib/domoticz/www/templates/ to /usr/share/domoticz/www/templates.
Why the plugin doesn't detect the correct directory. Do I need to file a bug?
Re: Python Plugin: Zigbee2Mqtt
Posted: Wednesday 15 July 2020 15:11
by qwerk
I found out the hard way, this page is not visible if you use a reverse proxy. (ngnix)
When I directly connect it works,
maybe this helps
Re: Python Plugin: Zigbee2Mqtt
Posted: Tuesday 21 July 2020 9:22
by bricololo
My aqara motion devices are well recognized but with a bulb icon.
I can change the icon to a motion icon in the device, but at each update of the device, the icon turns back to a light bulb.
Any solution ?
Envoyé de mon EML-L29 en utilisant Tapatalk
Re: Python Plugin: Zigbee2Mqtt
Posted: Tuesday 21 July 2020 15:56
by jvrr
Re: Python Plugin: Zigbee2Mqtt
Posted: Wednesday 22 July 2020 21:14
by Stepdes
I also have the problem that the custom page for zigbee2mqtt don't show up in the menu. Also Copy manually the files to the www/template folder without succes.
Anyone have a workaround?
Re: Python Plugin: Zigbee2Mqtt
Posted: Sunday 26 July 2020 11:14
by bricololo
For me, it's only work with firefox (not chrome)
Re: Python Plugin: Zigbee2Mqtt
Posted: Tuesday 04 August 2020 14:14
by fireport
Stepdes wrote: ↑Wednesday 22 July 2020 21:14
I also have the problem that the custom page for zigbee2mqtt don't show up in the menu. Also Copy manually the files to the www/template folder without succes.
Anyone have a workaround?
I solved the problem adding -wwwroot /usr/share/domoticz/www to systemd unit file
In this manner, the plugin identifies the www root and copies files in the correct path
Re: Python Plugin: Zigbee2Mqtt
Posted: Wednesday 05 August 2020 9:36
by gemas
[Solved]
Hi,
I'm switching from the Conbee to Zigbee2MQTT.
I succeed to migrate all (40) my devices except 3 Ikea GU10 spots.
I see them in the mqtt messages and I see them in the logs of domoticz
2020-08-05 09:34:27.173 (zigbee2mqtt_Binnen) Device LED1537R6/LED1739R5 0x086bd7fffe205c1b (0x086bd7fffe205c1b)
2020-08-05 09:34:27.173 (zigbee2mqtt_Binnen) Device LED1537R6/LED1739R5 0x086bd7fffe24b72e (0x086bd7fffe24b72e)
2020-08-05 09:34:27.173 (zigbee2mqtt_Binnen) Device LED1537R6/LED1739R5 0x086bd7fffe5cb931 (0x086bd7fffe5cb931)
But I dont see them in the devices tab to add them to domoticz.
Is there something wrong with the plugin or did I do something wrong.
Thanks
[Resolution]
Apparently i needed to update the plugin.