Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee) Topic is solved
Moderator: leecollings
-
- Posts: 849
- Joined: Wednesday 15 August 2018 14:38
- Target OS: -
- Domoticz version:
- Contact:
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
Lol, good to know @salopette, I m not courageous enought to install it to test.
And yep you can install deconz on another machine than the domoticz one > https://www.phoscon.de/en/conbee2/install
And yep you can install deconz on another machine than the domoticz one > https://www.phoscon.de/en/conbee2/install
- DewGew
- Posts: 581
- Joined: Thursday 21 April 2016 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10618
- Location: Sweden
- Contact:
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
Thanks!Thorgal789 wrote: ↑Wednesday 25 March 2020 16:33 Lol, good to know @salopette, I m not courageous enought to install it to test.
And yep you can install deconz on another machine than the domoticz one > https://www.phoscon.de/en/conbee2/install
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
-
- Posts: 187
- Joined: Tuesday 07 March 2017 21:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Germany
- Contact:
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
@Thorgal789
I was behaving strangely in the log of Domoticz.
If I e.g. other switches / sensors from Deconz appear in the log.
But they have nothing to do with the circuit.
Are also not used in the Blokly script.
I was behaving strangely in the log of Domoticz.
If I e.g. other switches / sensors from Deconz appear in the log.
But they have nothing to do with the circuit.
Are also not used in the Blokly script.
- Attachments
-
- sshot-4.jpg (189.7 KiB) Viewed 2228 times
-
- sshot-2.jpg (172.26 KiB) Viewed 2228 times
-
- Posts: 849
- Joined: Wednesday 15 August 2018 14:38
- Target OS: -
- Domoticz version:
- Contact:
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
Hello,where have you this panel ?
It's dzevent logging ? It's something from new version ?
It's dzevent logging ? It's something from new version ?
-
- Posts: 187
- Joined: Tuesday 07 March 2017 21:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Germany
- Contact:
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
That when I look at the protocol from the motion detector.
I only mentioned it because lately the lights have not been switched off properly or not at all.
If someone leaves the bathroom, it should be off after 30-40 seconds, but it doesn't always happen.
I have in sonoff with tasmota and hue motion.
I only mentioned it because lately the lights have not been switched off properly or not at all.
If someone leaves the bathroom, it should be off after 30-40 seconds, but it doesn't always happen.
I have in sonoff with tasmota and hue motion.
- Attachments
-
- sshot-5.jpg (115.32 KiB) Viewed 2218 times
-
- sshot-4.jpg (172.12 KiB) Viewed 2218 times
-
- sshot-2.jpg (24.11 KiB) Viewed 2218 times
-
- Posts: 849
- Joined: Wednesday 15 August 2018 14:38
- Target OS: -
- Domoticz version:
- Contact:
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
I don't have the "Benutzer" part on my log ... It's not because you have enabled some log in domoticz (I had same when enable dzevent logging) ?
Your script seem good for me.
The only problem I m seeing is if you press a button in same time the sensor go to "off", you will trigger the first or second "if" so you can't reach the 4th to turn off bulb, ybut you realy need to be unlucky to have this situation.
The 4 "lights" stay "on" or only some of them ?
Your script seem good for me.
The only problem I m seeing is if you press a button in same time the sensor go to "off", you will trigger the first or second "if" so you can't reach the 4th to turn off bulb, ybut you realy need to be unlucky to have this situation.
The 4 "lights" stay "on" or only some of them ?
-
- Posts: 187
- Joined: Tuesday 07 March 2017 21:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Germany
- Contact:
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
I have now deactivated DzVents log, and created 2 different scripts, one for movement and one for switch.
Let's see what happens next!
Let's see what happens next!
-
- Posts: 849
- Joined: Wednesday 15 August 2018 14:38
- Target OS: -
- Domoticz version:
- Contact:
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
So the difference was because of DZevent log (IDK if there is an option for Blocky) ?
The 4 "lights" stay "on" or only some of them ?
The 4 "lights" stay "on" or only some of them ?
-
- Posts: 187
- Joined: Tuesday 07 March 2017 21:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Germany
- Contact:
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
I could not test it today because it is only home in the evening.
All lights remained on, so only the 3 that were switched via motion
All lights remained on, so only the 3 that were switched via motion
-
- Posts: 849
- Joined: Wednesday 15 August 2018 14:38
- Target OS: -
- Domoticz version:
- Contact:
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
So just for information I have pulled a new version, with some cosmetic amelioration but this version solve a critic bug that can crash domoticz, if you have a Xiaomi plug with consumption activated.
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
Has anyone used the daylight 'sensor' provided with the deconz software? In Domoticz it is showing up as a switch, not as a sensor.
-
- Posts: 849
- Joined: Wednesday 15 August 2018 14:38
- Target OS: -
- Domoticz version:
- Contact:
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
Yep, I use only the daylight field, to set a switch on or off, if it's day > "on" else "off".
You need to tweak it ?
You need to tweak it ?
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
So it has to be used with a blockly script? Would it be possible there to use it with the different types of astronomical / nautical sunset / golden hour etc as described in the link (from HA, but referring to the use of the deconz daylight sensor) below? Well, possibly not really much more useful than the possibilities provided within domoticz itself.
https://www.home-assistant.io/integrati ... onz/#light
Sorry for al noobish questions

https://www.home-assistant.io/integrati ... onz/#light
Sorry for al noobish questions


-
- Posts: 849
- Joined: Wednesday 15 August 2018 14:38
- Target OS: -
- Domoticz version:
- Contact:
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
You can use it like you want, sensor or switch is same.
I m using only the daylight value, because I thought it was the only usefull information (and easier to use), you want to use the sunlight phases for something ?
Do you know a domoticz widget where I can use in same time an on/off value and another filed for sunlight phases ? Because I prefer avoid the cration of 2 devices just for it.
If you want I can send this value to "level value", so it will be invisible, but you can use it in your script, but it will be a numeric value ?
I m using only the daylight value, because I thought it was the only usefull information (and easier to use), you want to use the sunlight phases for something ?
Do you know a domoticz widget where I can use in same time an on/off value and another filed for sunlight phases ? Because I prefer avoid the cration of 2 devices just for it.
If you want I can send this value to "level value", so it will be invisible, but you can use it in your script, but it will be a numeric value ?
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
I now use 'sun down' minus around 40 minutes to turn the lights on at twilight. Possably a setting for 'twilight' or 'start sundown' would be easier tot find the right time to turn on the lights when it gets darker outside.
But I bought a light sensor yesterday. I think that will be more practical to use.
But I bought a light sensor yesterday. I think that will be more practical to use.
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
Is that true? I have not found any apps other then Hue Essentials (and all4hue supposedly) that work with the deConz bridge. You know any others that work?Thorgal789 wrote: ↑Friday 15 February 2019 18:05 For API, deconz mimic hue API , their objective is Philips Hue applications to work unaltered with deCONZ.
-
- Posts: 849
- Joined: Wednesday 15 August 2018 14:38
- Target OS: -
- Domoticz version:
- Contact:
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
Yep, https://github.com/dresden-elektronik/d ... patibility
And no, I haven't the list of supported application, I have see someone make the try, perhaps in this topic, but nothing official and up to date.
I haven't tried myself, but there is other person that use it with alexa or harmony (with native hue support)
And no, I haven't the list of supported application, I have see someone make the try, perhaps in this topic, but nothing official and up to date.
I haven't tried myself, but there is other person that use it with alexa or harmony (with native hue support)
-
- Posts: 69
- Joined: Tuesday 29 July 2014 10:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Contact:
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
I have something I need some help with:
In the deCONZ app I see the ConbeeII and my 'voordeur' sensor (not connected with a line, it was though when I created it).
A bit from the error log of Domoticz:
2020-06-22 09:35:25.486 Error: (deCONZ) Connexion problem (3) with Gateway, check your API key, or Use Request lib > V2.4.2
2020-06-22 09:35:35.399 Error: (deCONZ) Wrong startup, retrying !!
2020-06-22 09:35:45.476 Error: (deCONZ) Wrong startup, retrying !!
2020-06-22 09:35:55.435 Error: (deCONZ) Wrong startup, retrying !!
But when I open the front door (sensor voordeur) it give me the status open and closed (just like it is), but it is showing almost everytime in red.
In the deCONZ app I see the ConbeeII and my 'voordeur' sensor (not connected with a line, it was though when I created it).
A bit from the error log of Domoticz:
2020-06-22 09:35:25.486 Error: (deCONZ) Connexion problem (3) with Gateway, check your API key, or Use Request lib > V2.4.2
2020-06-22 09:35:35.399 Error: (deCONZ) Wrong startup, retrying !!
2020-06-22 09:35:45.476 Error: (deCONZ) Wrong startup, retrying !!
2020-06-22 09:35:55.435 Error: (deCONZ) Wrong startup, retrying !!
But when I open the front door (sensor voordeur) it give me the status open and closed (just like it is), but it is showing almost everytime in red.
- bitjeverkeerd
- Posts: 30
- Joined: Monday 13 April 2015 20:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
Since I reinstalled my system with the latest stable Domoticz version (2020.2), and the latest deConz version (2.05.77)
and have updated the conbee usb firmware to version 26580700 i have the following problem.
With the 5-button Ikea remote (firmware 2.3.014), a long press of the Left (L <) or a long press of the Right (L>) are no longer detected correctly. Domoticz then displays (<) and (>). Is this a known problem from the plugin or is it caused in deConz?
Long press of the Up (L+) and Down (L-) button are still correctly detected.
and have updated the conbee usb firmware to version 26580700 i have the following problem.
With the 5-button Ikea remote (firmware 2.3.014), a long press of the Left (L <) or a long press of the Right (L>) are no longer detected correctly. Domoticz then displays (<) and (>). Is this a known problem from the plugin or is it caused in deConz?
Long press of the Up (L+) and Down (L-) button are still correctly detected.
-
- Posts: 849
- Joined: Wednesday 15 August 2018 14:38
- Target OS: -
- Domoticz version:
- Contact:
Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
Hello, @nitpicker, have you got your api key ? Using API_KEY.py ?
If yes can you try the command
To check if you have the lib request correctly installed on your system.
@bitjeverkeerd IDK, you can check in your log (level "debug log only"), when you press the button you will have as buttonevent return 4001 and 5001 for long press and 4002 5002 for short press (for < and >).
But on my side with older remote, deconz version 77, I haven't problem, wich one plugin version have you ?
If yes can you try the command
Code: Select all
sudo -H pip3 install requests
@bitjeverkeerd IDK, you can check in your log (level "debug log only"), when you press the button you will have as buttonevent return 4001 and 5001 for long press and 4002 5002 for short press (for < and >).
But on my side with older remote, deconz version 77, I haven't problem, wich one plugin version have you ?
Who is online
Users browsing this forum: No registered users and 1 guest