Yoda-x / ha-zha-new

update of the zha component
56 stars 10 forks source link

documentation for tradfri sensors #36

Closed h3ndrik closed 6 years ago

h3ndrik commented 6 years ago

how do i use the tradfri motion sensor and remotes?

can anybody help me figure this out or send a working configuration? the bulbs work fine. i'm currently testing zha_new as custom component and i also ran the pip upgrade commands from issue #22

somewhere in the zha documentation i read you have to permit and then press the butten 5 times to join the device. here i was instructed to press 4 times, then permit and then long-press. but only former procedure gives me some results (device ... joined)

the motion sensor is discovered but doesn't do anything. it updates it's rssi values a few times and doesn't communicate at all after some time or a restart of home-assistant. status is "off" in any case.

also do i have to load a template ? and set type and config_report for the remote controllers? i have the remote with 5 buttons for on/off, brightness and color temp. i'm unsure wheather this is a dimmer or remote and if i have to set some variables, because at least the template for the dimmer is empty.

also: do i have to connect the remotes to a light bulb for them to send packets? or is it sufficient to pair them with the zigbee-stick?

thanks

Yoda-x commented 6 years ago

zha_new is not tested with the tradfri motion sensor. you need to develope the right template file. the round 5 button remote is very tricky. it communicates with the bulbs over broadcasts. you can join it to the controller, but you will not see any events. you need to pair a bulb to the remote and to zha_new. my code gets the multicast group from the bulb and then join the multicast group. from there you should see the remote button presses. the tradfri dimmer (disc) and remote are detected automatic.