In the meantime I got some help on discord and managed to get the sensor running. I use the deconz docker container for that. I needed to (1) connect the sensor and (2) compile the most recent version of deconz-rest-api since the last release did not support the sensor yet.
My procedure is as follows:
- Add
deb http://devtools.silabs.com/solutions/apt jessie main
anddeb http://phoscon.de/apt/deconz buster-beta main
to the apt-sources - Install
silabs-zigbee-gateway
to get the hashing-cli binary. Also install 'qt5-qmake qt5-default deconz-dev` to be able to compile the deconz-rest-plugin - Compile and install deconz-rest-api using the instructions provided in the repository, restart the container to load the new library
- Run
ln -s /opt/siliconlabs/zigbeegateway/tools/key-derivation/hashing-cli /bin/hashing-cli
, to add hashing-cli to a $PATH directory - Connect the sensor by (1) activate the connection mode in the web UI, (2) issue a PUT-request to
http://<IP>:8090/api/<APIKEY>/devices/<MacAddressOfSensor>/installcode
with the JSON body parameterinstallcode = <first 16 bytes of install code printed on the sensor>
, (3) while holding down the button on the base of the sensor insert the batteries, keep holding the button until it flashes yellow - Immediately after connection using the deconz UI (via VNC in my case) open the settings of the IAS zone cluster and write the MAC address of the coordinator (connbee stick in my case) to attribute 0x0010 of the sensor. This has to be done rather quickly to avoid the sensor going to sleep
Afterwards the sensor was properly connected and I was able to receive sensor data using the API