Page 1 of 1

Zigbee stick update

Posted: Thursday 13 October 2022 11:44
by Fredom
Dear members,

I want to take my Zigbee network to a higher level.
The cc2531 has proved its worth and now I want to start using the cc2652.
The old one out and the new one in doesn't work.
I found the following site that shows how it should work.
https://www.zigbee2mqtt.io/guide/faq/
I assume that the folder Zigbe2Mqtt is meant to open here.
This is my problem I can't get into the folder to make the changes.

To change the permissions of a folder I consulted the following site.
https://blog.desdelinux.net/nl/machtigi ... -in-linux/

pi@raspberrypi:~/domoticz/plugins $ ls -l
total 28
drwxr-xr-x 3 pi pi 4096 Mar 15 2021 AwoxSMP
drwxr-xr-x 21 pi pi 4096 Jun 25 12:02 Domoticz-Zigbee
drwxr-xr-x 2 pi pi 4096 Mar 15 2021 examples
drwxr-xr-x 7 pi pi 4096 Aug 16 2021 iDetect
drwxr-xr-x 3 pi pi 4096 Jun 6 20:43 Life360
drwxr-xr-x 4 pi pi 4096 Jun 24 17:38 PP-MANAGER
drwxr-x--- 10 root root 4096 Aug 8 2021 Zigbee2Mqtt
pi@raspberrypi:~/domoticz/plugins $

I've tried everything with chmod -x etc.

I first played around with the new plugin zigbee4domoticz and the cc2652.
This works great, but unfortunately not everything I have running is supported.
That will come with time, so for now with mqtt.

I have a 2nd raspberry with an image of the working zigbee with the cc2531 that I'm testing all this on.
So if something goes wrong put the image back and continue testing

Does anyone have an idea how I can solve this?
Or someone who has done this and now how.

Re: Zigbee stick update

Posted: Thursday 13 October 2022 11:52
by waltervl
With Zigbee2MQTT:
You will have to follow this instruction https://www.zigbee2mqtt.io/guide/faq/#h ... to-another
Nothing to do with Domoticz Zigbee2MQTT plugin as it communicates with MQTT Broker that will stay the same.

Re: Zigbee stick update

Posted: Friday 14 October 2022 21:38
by Fredom
Replacing a zigbee stick cc2531 for the cc2652 is often not as easy as one suggests on the internet.
But according to the steps below, it was still successful while preserving the zigbee database.

Delete the following zigbee2mqtt folders
/home/pi/domoticz/plugins/zigbee2mqtt
/opt/zigbee2mqtt

Install Mosquitto mqtt broker
https://randomnerdtutorials.com/how-to- ... pberry-pi/

Install Zigbee2Mqtt
https://www.zigbee2mqtt.io/guide/instal ... ermissions

Install Zigbee2mqtt plugin
cd domoticz/plugins
git clone https://github.com/stas-demydiuk/domoti ... plugin.git zigbee2mqtt

Do not forget to check zigbee transport after installation

Maybe it could all be easier, but I didn't succeed after a lot of attempts

Re: Zigbee stick update

Posted: Saturday 15 October 2022 16:45
by gizmocuz
This is not Domoticz related. You might also want to look into the native MQTT-Auto Discovery hardware while you upgrade your stuff instead of using the python plugin