Page 22 of 35

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

Posted: Wednesday 25 March 2020 16:33
by Thorgal789
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

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

Posted: Thursday 26 March 2020 7:32
by DewGew
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
Thanks!

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

Posted: Saturday 28 March 2020 7:08
by salopette
@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.

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

Posted: Saturday 28 March 2020 9:16
by Thorgal789
Hello,where have you this panel ?
It's dzevent logging ? It's something from new version ?

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

Posted: Saturday 28 March 2020 9:23
by salopette
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.

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

Posted: Saturday 28 March 2020 13:15
by Thorgal789
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 ?

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

Posted: Saturday 28 March 2020 14:12
by salopette
I have now deactivated DzVents log, and created 2 different scripts, one for movement and one for switch.
Let's see what happens next!

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

Posted: Saturday 28 March 2020 16:12
by Thorgal789
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 ?

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

Posted: Saturday 28 March 2020 18:12
by salopette
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

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

Posted: Wednesday 03 June 2020 17:47
by Thorgal789
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)

Posted: Thursday 11 June 2020 19:48
by Hilus
Has anyone used the daylight 'sensor' provided with the deconz software? In Domoticz it is showing up as a switch, not as a sensor.

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

Posted: Friday 12 June 2020 15:06
by Thorgal789
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 ?

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

Posted: Friday 12 June 2020 16:49
by Hilus
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 :? ;)

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

Posted: Saturday 13 June 2020 14:02
by Thorgal789
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 ?

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

Posted: Sunday 14 June 2020 13:28
by Hilus
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.

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

Posted: Friday 19 June 2020 16:41
by capitalT
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.
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?

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

Posted: Friday 19 June 2020 16:59
by Thorgal789
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)

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

Posted: Monday 22 June 2020 9:51
by nitpicker
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.

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

Posted: Tuesday 23 June 2020 13:37
by bitjeverkeerd
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.

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

Posted: Tuesday 23 June 2020 17:16
by Thorgal789
Hello, @nitpicker, have you got your api key ? Using API_KEY.py ?
If yes can you try the command

Code: Select all

sudo -H pip3 install requests
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 ?