DeCONZ, ZHA and Zigbee components and compatible hardware

If most devices still work I would guess it is something with deconz.

Have you checked debug logs to see if you get any data over websocket for those remotes?

1 Like

Don’t know what fixed it but everything just started working again. Had loads of strange issues with 0.66.0 and most are gone now. Must be something local with my config.

Hello,
Is this still the way to go to be able to use conbee and zigbee for hass.io?
I have tried to follow the steps and have downloaded the files and added them to /addons under a folder namned ‘conbee’. The I have changed the config.json to point on the USB-device.

Point 5: It says install the addon from HASSIO local store. How do I do that? I go to hass.io --> ADD-ON STORE but can´t find anything regarding conbee or deconz.

Can someone please help me?
Do I have to add something to the configurator? currently I have added:
deconz:
host: ip-address

Thanks in advance!

@marthocoo has created a docker container that works both standalone as well as in hass.io.

I can get you a link tomorrow

Ok. Might be other components that didn’t load properly then? Otherwise there are no changes in the component that should make it behave in that way.

Check out this repo Vad är det du inte får att funka?

That worked much better, thanks.

1 Like

Hi,
i think I found a bug in the handling of energy consumption values that are reported from wall plugs.

My Heiman wall plug is displayed like this when connected to a lamp::

image

According to deconz developers, the current is in 0.1A so the value should be displayed as 1,5A.
See here for reference:

Allright. So I will divide current by a factor 10 then. Thanks for reporting :+1:t2:

So is there a way to get a CC2530 GPIO to work with Hassio?

Not sure what you mean, but maybe this is what your are looking for:

Well, the original question (besides others) was if you could connect a CC2530 through GPIO and use it to communicate with zigbee devices. The link you provided uses the CC2531, which is basically the USB-Version of the CC2530. But unfortunately I have a CC2530 on the way, not a CC2531 :wink: That’s why I’m asking.

1 Like

Hi guys. I just recieved some xiaomi buttons (the round). I can only use single click. Isn’t it possible to use double click and long press?

It should work. Mine generates “1000” on button down, “1002” on release and “1004” on double click.

Thank you. This solved the double click.
I have three automations.
Automation 1: single click, (event 1002 button release) raise volume 5%
Automation 2: double click (event 1004) set a specific volume, in my case 10%
Automation 3: long press, (event 1000 button press) play or pause music.

Problem here, automation 1 and 3 trigger on each other.
The short press will first send 1000 then 1002
The long press will do the exact same thing.
Is there a way to filter events? If it was states I guess it could be solved with conditions.

For those with the xiaomi GW i think they can use different click types in the trigger…

Did I kill this thread? :stuck_out_tongue:
@Robban, thank you for the deconz component. It is great to use different zigbee brands on one gateway in hass.
Is it possible to forward the rotate value from the xiaomi cube to hass?
It would be soo awesome to use the cube as a volume controller just by rotating it.

Your welcome! :+1:

So the rotation isn’t working? If you enable debug per component documentation, do you see any parameters regarding rotate for the cube?

To be honest, i just assumed it didn’t work. :blush:
No one have mentioned before in the forum.
I will check this. will report here after i tried it.

It seems to report the state, question is, how to use it as an automation in hass.

2018-05-30 21:44:59 DEBUG (MainThread) [pydeconz.websocket] Websocket data: b'\x81s{"e":"changed","id":"4","r":"sensors","state":{"buttonevent":7000,"lastupdated":"2018-05-30T19:44:59"},"t":"event"}'
2018-05-30 21:44:59 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update lastupdated with 2018-05-30T19:44:59
2018-05-30 21:44:59 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update buttonevent with 7000
2018-05-30 21:44:59 INFO (MainThread) [homeassistant.core] Bus:Handling <Event deconz_event[R]: id=rosa_kub_1, event=7000>
2018-05-30 21:44:59 DEBUG (MainThread) [pydeconz.websocket] Websocket data: b'\x81t{"e":"changed","id":"5","r":"sensors","state":{"buttonevent":-3364,"lastupdated":"2018-05-30T19:44:59"},"t":"event"}'
2018-05-30 21:44:59 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update lastupdated with 2018-05-30T19:44:59
2018-05-30 21:44:59 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update buttonevent with -3364
2018-05-30 21:44:59 INFO (MainThread) [homeassistant.core] Bus:Handling <Event deconz_event[R]: id=rosa_kub_1, event=-3364>
2018-05-30 21:45:01 DEBUG (MainThread) [pydeconz.websocket] Websocket data: b'\x81t{"e":"changed","id":"5","r":"sensors","state":{"buttonevent":-2182,"lastupdated":"2018-05-30T19:45:01"},"t":"event"}'
2018-05-30 21:45:01 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update lastupdated with 2018-05-30T19:45:01
2018-05-30 21:45:01 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update buttonevent with -2182
2018-05-30 21:45:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event deconz_event[R]: id=rosa_kub_1, event=-2182>
2018-05-30 21:45:02 DEBUG (MainThread) [pydeconz.websocket] Websocket data: b'\x81t{"e":"changed","id":"5","r":"sensors","state":{"buttonevent":-3364,"lastupdated":"2018-05-30T19:45:02"},"t":"event"}'
2018-05-30 21:45:02 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update lastupdated with 2018-05-30T19:45:02
2018-05-30 21:45:02 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update buttonevent with -3364
2018-05-30 21:45:02 INFO (MainThread) [homeassistant.core] Bus:Handling <Event deconz_event[R]: id=rosa_kub_1, event=-3364>
2018-05-30 21:45:02 DEBUG (MainThread) [pydeconz.websocket] Websocket data: b'\x81t{"e":"changed","id":"5","r":"sensors","state":{"buttonevent":-2845,"lastupdated":"2018-05-30T19:45:02"},"t":"event"}'
2018-05-30 21:45:02 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update lastupdated with 2018-05-30T19:45:02
2018-05-30 21:45:02 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update buttonevent with -2845
2018-05-30 21:45:02 INFO (MainThread) [homeassistant.core] Bus:Handling <Event deconz_event[R]: id=rosa_kub_1, event=-2845>
2018-05-30 21:45:03 DEBUG (MainThread) [pydeconz.websocket] Websocket data: b'\x81t{"e":"changed","id":"5","r":"sensors","state":{"buttonevent":-8635,"lastupdated":"2018-05-30T19:45:03"},"t":"event"}'
2018-05-30 21:45:03 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update lastupdated with 2018-05-30T19:45:03
2018-05-30 21:45:03 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update buttonevent with -8635
2018-05-30 21:45:03 INFO (MainThread) [homeassistant.core] Bus:Handling <Event deconz_event[R]: id=rosa_kub_1, event=-8635>
2018-05-30 21:45:04 DEBUG (MainThread) [pydeconz.websocket] Websocket data: b'\x81s{"e":"changed","id":"5","r":"sensors","state":{"buttonevent":2510,"lastupdated":"2018-05-30T19:45:04"},"t":"event"}'
2018-05-30 21:45:04 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update lastupdated with 2018-05-30T19:45:04
2018-05-30 21:45:04 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update buttonevent with 2510
2018-05-30 21:45:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event deconz_event[R]: id=rosa_kub_1, event=2510>
2018-05-30 21:45:05 DEBUG (MainThread) [pydeconz.websocket] Websocket data: b'\x81s{"e":"changed","id":"5","r":"sensors","state":{"buttonevent":6831,"lastupdated":"2018-05-30T19:45:05"},"t":"event"}'
2018-05-30 21:45:05 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update lastupdated with 2018-05-30T19:45:05
2018-05-30 21:45:05 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update buttonevent with 6831
2018-05-30 21:45:05 INFO (MainThread) [homeassistant.core] Bus:Handling <Event deconz_event[R]: id=rosa_kub_1, event=6831>
2018-05-30 21:45:06 DEBUG (MainThread) [pydeconz.websocket] Websocket data: b'\x81s{"e":"changed","id":"5","r":"sensors","state":{"buttonevent":3104,"lastupdated":"2018-05-30T19:45:06"},"t":"event"}'
2018-05-30 21:45:06 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update lastupdated with 2018-05-30T19:45:06
2018-05-30 21:45:06 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update buttonevent with 3104
2018-05-30 21:45:06 INFO (MainThread) [homeassistant.core] Bus:Handling <Event deconz_event[R]: id=rosa_kub_1, event=3104>
2018-05-30 21:45:07 DEBUG (MainThread) [pydeconz.websocket] Websocket data: b'\x81s{"e":"changed","id":"5","r":"sensors","state":{"buttonevent":8275,"lastupdated":"2018-05-30T19:45:07"},"t":"event"}'
2018-05-30 21:45:07 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update lastupdated with 2018-05-30T19:45:07
2018-05-30 21:45:07 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update buttonevent with 8275
2018-05-30 21:45:07 INFO (MainThread) [homeassistant.core] Bus:Handling <Event deconz_event[R]: id=rosa_kub_1, event=8275>
2018-05-30 21:45:07 DEBUG (MainThread) [pydeconz.websocket] Websocket data: b'\x81s{"e":"changed","id":"5","r":"sensors","state":{"buttonevent":2931,"lastupdated":"2018-05-30T19:45:07"},"t":"event"}'
2018-05-30 21:45:07 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update lastupdated with 2018-05-30T19:45:07
2018-05-30 21:45:07 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update buttonevent with 2931
2018-05-30 21:45:07 INFO (MainThread) [homeassistant.core] Bus:Handling <Event deconz_event[R]: id=rosa_kub_1, event=2931>
2018-05-30 21:45:08 DEBUG (MainThread) [pydeconz.websocket] Websocket data: b'\x81s{"e":"changed","id":"5","r":"sensors","state":{"buttonevent":2286,"lastupdated":"2018-05-30T19:45:08"},"t":"event"}'
2018-05-30 21:45:08 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update lastupdated with 2018-05-30T19:45:08
2018-05-30 21:45:08 DEBUG (MainThread) [pydeconz.deconzdevice] Rosa kub 1: update buttonevent with 2286
2018-05-30 21:45:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event deconz_event[R]: id=rosa_kub_1, event=2286>

I get a negative value when I rotate left, a positive value when i rotate right. Just lite in deconz web gui,
If someone smarter than me can tell how to use it, please, let me know.
The goal is the use it as an analog volume controller. How nice wouldn’t that be?

Using an automation it would be to check whether the value was positive or negative and then send a signal to your speaker to adjust accordingly

I can’t help you with yaml automations because I suck at them. This would be really easy to do with appdaemon though