Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee) Topic is solved

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

Moderator: leecollings

geschriever
Posts: 8
Joined: Tuesday 18 July 2017 0:06
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Post by geschriever »

Hi Thorgal789,
Your solution is working like a charm, no errors anymore. So the customer sensor was making troubles. Thank you very much for the quick and good solution and reply!
Thorgal789
Posts: 920
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Post by Thorgal789 »

Thx for return.
Have updated the official branch, small update, but your issue can be critic.
gerard1
Posts: 28
Joined: Tuesday 25 December 2018 13:54
Target OS: Linux
Domoticz version:
Contact:

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Post by gerard1 »

The latest Domoticz update just broke the entire connection.
Restoring from the oldest backup did not solve the issue.
Rebuild Domoticz (latest stable) and imported my latest backup.
Now all is running, only the deConz tab is still broken. (Empty)
The commands are past correctly, that is the most important.

Gr.
Thorgal789
Posts: 920
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Post by Thorgal789 »

I m trying with the version 2025.1 build 16598 (still 5 mn ^^)
I haven't migration issue.
You haven't some errors from logs ? What is your OS ?

And yes, same issue here too the deconz tab in the "custom" tabs is broken again.

Perhaps something to see with

Code: Select all

Possibly unhandled rejection: {"data":"","status":404,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","params":{"type":"hardware","displayhidden":1,"filter":"all","used":"all"},"url":"json.htm","headers":{"Accept":"application/json, text/plain, */*"}},"statusText":"Not Found","xhrStatus":"complete"}
When Domoticz try the request

Code: Select all

http://192.168.1.1:8080/json.htm?displayhidden=1&filter=all&type=hardware&used=all
I m searching if the problem is from domoticz or angular.
Thorgal789
Posts: 920
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Post by Thorgal789 »

So IDK for your connexion problem.
But the custom page problem is solved on the beta branch. Have missed an update on the Domoticz API.

Need to clear the cache after the update on your browser, or can use private navigation for tests.
Harald777
Posts: 51
Joined: Thursday 01 June 2017 8:44
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Netherlands
Contact:

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Post by Harald777 »

deCONZ plugin not showing under Hardware Domoticz.

I have been using this plugin for years on my Domoticz system on a Raspberry PI 3B with the original Raspbee hardware.
A couple of weeks ago my SD card crashed for the first time in about 15 years and after that I decided to upgrade my hardware.

Bought a Raspberry PI 5 with M.2 Hat, installed Bookworm OS lite and Domoticz and cloned the installation to the M.2 SSD en configured first boot to M.2, all fine.
Installed a Conbee III dongle, configured using the Dresden Electronics instructions and I can connect to the gateway using the Phoscon App, all okay.

But then I ran in to an issue: after installing the deCONZ Domoticz plugin as instructed on GitHUB I cannot add the plugin under the Hardware page in Domoticz, it simply does not show up.
I am using the latest Domoticz version and later on switch to the Beta but still no plugin running.

Is there some special instruction for running on a Raspberry PI 5 with Bookworm?
Hope to see my issue solved in the near future and any help is much appreciated.

Greetings, Harald
User avatar
waltervl
Posts: 7020
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2026.3
Location: NL
Contact:

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Post by waltervl »

Does your system support python plugins?
Check in the menu Setup - About if python is listed.
Also check the wiki to fix it if not. https://wiki.domoticz.com/Using_Python_plugins
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Harald777
Posts: 51
Joined: Thursday 01 June 2017 8:44
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Netherlands
Contact:

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Post by Harald777 »

waltervl wrote: Sunday 15 June 2025 22:50 Does your system support python plugins?
Check in the menu Setup - About if python is listed.
Also check the wiki to fix it if not. https://wiki.domoticz.com/Using_Python_plugins
Thanks for the reply and python link.
I had all the latest python versions installed except for the python3-dev.
Installed that one and now the plugin shows up, great.
Greetings, Harald
andersbz
Posts: 15
Joined: Sunday 03 April 2016 20:51
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Sweden
Contact:

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Post by andersbz »

Kan någon verifiera att deCONZ bridge med Bookworm 64bit och Domoticz 25.2 fungerar tillsammans. Jag får felmeddlande kopplade till python 3.11??
User avatar
Sjonnie2017
Posts: 378
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Post by Sjonnie2017 »

andersbz wrote: Friday 02 January 2026 23:14 Kan någon verifiera att deCONZ bridge med Bookworm 64bit och Domoticz 25.2 fungerar tillsammans. Jag får felmeddlande kopplade till python 3.11??
This forum uses English, not Swedish. I took the liberty to translate it for you
Can anyone verify that deCONZ bridge with Bookworm 64bit and Domoticz 25.2 work together? I am getting error messages related to Python 3.11.
And to answer your question: I don't know because I run Domoticz in Docker.
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
User avatar
waltervl
Posts: 7020
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2026.3
Location: NL
Contact:

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Post by waltervl »

Domoticz in docker also runs with python 3.11
You probably have issues with Python virtual environment. See for example https://zigbeefordomoticz.github.io/wik ... alEnv.html how to solve this with Domoticz.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Thorgal789
Posts: 920
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Post by Thorgal789 »

I have a classic raspbian with python 3.11 too and Bookworm, but classic 32 bit version, and haven't changed something in python environnemt

Code: Select all

pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
NAME="Raspbian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

pi@raspberrypi:~ $ python3
Python 3.11.2 (main, Apr 28 2025, 14:11:48) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

what is your error message ?

Or perhaps I have used

Code: Select all

pip3 install xyz --break-system-packages
To force the installation of missing library.
andersbz
Posts: 15
Joined: Sunday 03 April 2016 20:51
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Sweden
Contact:

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Post by andersbz »

With feedback to question about Bookwoorm 64 and ver 25.2. Everything works fine.
NaTuRaL
Posts: 2
Joined: Tuesday 11 February 2025 20:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 2026.3
Location: Czech
Contact:

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Post by NaTuRaL »

hello,
I'm a bit limited by the deconz plugin, according to the info from Chat GPT and experience is the limit for deconz - UNIT max 255. On my installation, where I have more than 115 devices in deconz, these 255 UNITS are very few, when I take into account that some devices require 3/4/5 UNITS.
Just to clarify my question:

My deCONZ network itself works very well and is stable, so I would prefer to keep deCONZ and this plugin.

The problem is only the Domoticz Unit limit. With 115+ physical Zigbee devices, and some devices creating 3, 4 or even 5 Domoticz Units, I am running out of the available 255 Units.

Is this 255 Unit limit a limitation of the Domoticz Python Plugin Framework, or is there anything that could be changed in the deCONZ plugin to support more devices?

If it cannot be increased, is there another possible solution without migrating my whole Zigbee network to another system such as Zigbee2MQTT?

Thanks!

thx NaTuRaL
Thorgal789
Posts: 920
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Post by Thorgal789 »

NaTuRaL wrote: Wednesday 26 August 2026 17:40
Hello, here is a special branch that use the extended API (with DomoticzEx)
In reality It's just a way to increase the max Unit, the code don't exploit the API.

The code is here https://github.com/Smanar/Domoticz-deCONZ/tree/extended

This branch need to be updated with last changes, gives me somes days to update it, but it just have 8 months old, you can make a try.

BTW, make a backup before, I don't remember if a roll back is possible after, return back to old API.

Edit:
Have found this comment 'from me, but I don't remember it)
Take care, you can switch from the actual code to the extended branch without problem, the rollback is probably possible, but if you create a widget on the "extended" branch the rollback will be impossible.
NaTuRaL
Posts: 2
Joined: Tuesday 11 February 2025 20:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 2026.3
Location: Czech
Contact:

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Post by NaTuRaL »

Thank you, this sounds exactly like what I need.

My current deCONZ installation is stable, so I would much prefer to keep deCONZ and use the extended API rather than migrate 115+ Zigbee devices to another system.

I will wait for your updated extended branch before testing it on my main installation.

I will of course make a full backup before switching.

If possible, please let me know when the extended branch has been updated with the latest changes.

Thanks again!
Thorgal789
Posts: 920
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Post by Thorgal789 »

NaTuRaL wrote: Friday 28 August 2026 20:20 If possible, please let me know when the extended branch has been updated with the latest changes.

the code is updated, on the plugin folder

Code: Select all

git pull
git checkout extended
git pull

Have made a try fastly on my side with a "sand boxed" version and it have worked, but I don't use this version on my side, so not full tested, tell me if you have issues.
Post Reply