Zigbee stick update

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
Fredom
Posts: 141
Joined: Saturday 19 September 2020 21:02
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: Krimpen aan den IJssel
Contact:

Zigbee stick update

Post 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.
Yours sincerely,
Fred

Rasberry Pi 3B+ - Debian Bullseye - Domoticz 2025.1
RFLink - RFXCom - Zigbee (CC2531)
P1 Smart Meter - KaKu
User avatar
waltervl
Posts: 5904
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Zigbee stick update

Post 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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Fredom
Posts: 141
Joined: Saturday 19 September 2020 21:02
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: Krimpen aan den IJssel
Contact:

Re: Zigbee stick update

Post 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
Yours sincerely,
Fred

Rasberry Pi 3B+ - Debian Bullseye - Domoticz 2025.1
RFLink - RFXCom - Zigbee (CC2531)
P1 Smart Meter - KaKu
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Zigbee stick update

Post 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
Quality outlives Quantity!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest