How do i work out the "IN" and "OUT" clusters from zigbee device (Tradfri Motion sensor)


(Steve ) #1

Hi guys
I’ve got a Ikea Tradfri motion sensor and i have the zigbee join info but as i’m complete novice at this i’m not sure how to link the codes in the zigbee join to the device handler.
i have been reading up on Here
which helps and arnqvist seems to have located some but i’m wanting to ask if anyone has any links or “Noob” guides on how i use the info to create a device handler to suit the sensor.
Thanks
The Zbjoin info i got from the sensor was.

Name Value
archivable true
date 2017-06-01 10:58:55.552 AM BST (2017-06-01T09:58:55.552Z)
description zbjoin: {“dni”:“9F30”,“d”:“000B57FFFE327A00”,“capabilities”:“80”,“endpoints”:[{“simple”:“01 0104 0850 02 06 0000 0001 0003 0009 0B05 1000 05 0003 0004 0006 0019 1000”,“application”:“11”,“manufacturer”:“IKEA of Sweden”,“model”:“TRADFRI motion sensor”}]}
displayed false
eventSource HUB
hubId 806f3963-d890-4985-a11f-8f5fdb39359b
id ec95d400-46b0-11e7-add8-02a52fd27136
isStateChange false
isVirtualHub false
linkText Home Hub
locationId 4596db67-269a-4f16-9137-58d6db95c033
name zbjoin: {“dni”:“9F30”,“d”:“000B57FFFE327A00”,“capabilities”:“80”,“endpoints”:[{“simple”:"01 0104 085
rawDescription zbjoin: {“dni”:“9F30”,“d”:“000B57FFFE327A00”,“capabilities”:“80”,“endpoints”:[{“simple”:“01 0104 0850 02 06 0000 0001 0003 0009 0B05 1000 05 0003 0004 0006 0019 1000”,“application”:“11”,“manufacturer”:“IKEA of Sweden”,“model”:“TRADFRI motion sensor”}]}
translatable false
unixTime 1496311135552
value zbjoin: {“dni”:“9F30”,“d”:“000B57FFFE327A00”,“capabilities”:“80”,“endpoints”:[{“simple”:“01 0104 0850 02 06 0000 0001 0003 0009 0B05 1000 05 0003 0004 0006 0019 1000”,“application”:“11”,“manufacturer”:“IKEA of Sweden”,“model”:“TRADFRI motion sensor”}]}
viewed false


#2

This might help.

Be aware, however, that most of the IKEA devices are not using a certified profile. Instead, they are what is called “manufacturer proprietary” which means IKEA made up its own way of doing things. Consequently, it may be somewhat harder to write a device type handler for than a certified ZHA or ZLL device. You can find some discussion of these issues in the IKEA thread in the forums:


(Steve ) #3

Thanks for that yeah i did read somewhere about that but thought i’d try a new learning curve,
i have read that second link which helps but not seen the first so thanks