Page 1 of 1
Zigbee2mqtt not showing in hardware type
Posted: Tuesday 14 January 2020 22:33
by pedemo
I've a flashed CC2531 stick, installed zigbee2mqtt and python plugin on a domoticz@RPi2.
So far so good but I get stuck on the following:
On Domoticz 》hardware I want to select zigbee2mqtt but there's no zigbee type to selected.
What am I doing wrong?
Re: Zigbee2mqtt not showing in hardware type
Posted: Tuesday 14 January 2020 23:07
by FireWizard
Re: Zigbee2mqtt not showing in hardware type
Posted: Tuesday 14 January 2020 23:22
by pedemo
Yes but it did 't read a solution
Re: Zigbee2mqtt not showing in hardware type
Posted: Tuesday 14 January 2020 23:30
by FireWizard
Hi,
Then just a simple question.
Did you tick the box in Setup > Settings > System > Accept new Hardware Devices.
Or clicked Allow for 5 minutes?
Regards
Re: Zigbee2mqtt not showing in hardware type
Posted: Tuesday 14 January 2020 23:42
by pedemo
I did both
Re: Zigbee2mqtt not showing in hardware type
Posted: Wednesday 15 January 2020 2:34
by waaren
pedemo wrote: ↑Tuesday 14 January 2020 23:42I did both
After installing a new python plugin a domoticz restart is required. If you already restarted domoticz after the installation of the plugin and still do not see the new plugin as one of the hardware choices when adding a new one, it might be a cache problem.
Please clear cache and appcache (different things) and try again
Re: Zigbee2mqtt not showing in hardware type
Posted: Saturday 18 January 2020 19:10
by pedemo
I've tried it on a another RPi (3B+) but with the same result (nothing showed up hardware type). Could it be a defect on the CC2531 stick? How can I check it
Re: Zigbee2mqtt not showing in hardware type
Posted: Saturday 18 January 2020 19:15
by pedemo
I solved it and the solution was here (where it always was but I simply ignored it because I thought python was completely installed .... NOT)
https://www.domoticz.com/forum/viewtopi ... pe#p207816
"After running: sudo apt-get install python3-dev everything works fine and Zigbee2MQTT is available in the hardware-types."
Re: Zigbee2mqtt not showing in hardware type
Posted: Tuesday 19 January 2021 6:35
by Mardie
hi, on your youtube chanel, i see it is possible to pair without havint to edit the configuration.yaml file. (you have got a switch wich enables it at the hardware page). How do you get that button. The present plugin does not show this switch.
Re: Zigbee2mqtt not showing in hardware type
Posted: Thursday 14 October 2021 12:23
by wou5er
I had a Similar problem after installing python3-dev zigbee2mqtt plugin start working but in the log i get a error
Code: Select all
2021-10-14 02:11:34.127 Error: Zigbee2Mqtt: (Zigbee2MQTT) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/zigbee2mqtt/:/usr/lib/python38.zip:/usr/lib/python3.8:/usr/lib/python3.8/lib-dynload:/usr/local/lib/python3.8/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.8/dist-packages'.
Offcourse this has something to do with python path envirement but i don't know how to fix this. My knowledge of linux isn't that great!
Any advice would be great.
I'm running domoticz from ubuntu as of zigbee2mqtt
Re: Zigbee2mqtt not showing in hardware type
Posted: Thursday 14 October 2021 13:08
by Dnpwwo
Did you install it using 'sudo'?
Re: Zigbee2mqtt not showing in hardware type
Posted: Thursday 14 October 2021 22:10
by wou5er
Dnpwwo wrote: ↑Thursday 14 October 2021 13:08
Did you install it using 'sudo'?
yes installed zigbee with sudo ... after that i removed domoticz and installed also with sudo.