I also boughed this device TY0202. I have a RaspberryPI with a CC2531 sniffer with Domoticz on it.
I tried to pair the device with CC2531. This worked, but the log says:
nov 28 20:40:23 raspberrypi npm[453]: zigbee2mqtt:warn 2020-11-28 20:40:23: Received message from unsupported device with Zigbee model ‘TY0202’
nov 28 20:40:23 raspberrypi npm[453]: zigbee2mqtt:warn 2020-11-28 20:40:23: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.
Device now shows up in log (Putty). When I push button on rearside, it shows:
dec 02 18:51:12 raspberrypi npm[13388]: Zigbee2MQTT:info 2020-12-02 18:51:12: MQTT publish: topic ‘zigbee2mqtt/MotionSensor_Z001’, payload ‘{“battery_low”:false,“linkquality”:0,“occupancy”:true,“tamper”:false}’
dec 02 18:51:13 raspberrypi npm[13388]: Zigbee2MQTT:info 2020-12-02 18:51:13: MQTT publish: topic ‘zigbee2mqtt/MotionSensor_Z001’, payload ‘{“battery_low”:false,“linkquality”:0,“occupancy”:true,“tamper”:true}’
So device is working…
But it still doesn’t show in Domoticz… how to fix that?