Three of my Xiaomi buttons have been working perfectly since switching to this DTH, but one of them has never worked and Ive only just had the time to work out why. It looks like the model number of one device is null and I cant seem to fix that (all the others correctly detect Model: lumi.sensor_switch):
Ive tried configure and refresh, Ive tried pairing it again - without fully removing it - and it always gets detected fine, but the model: information never seems to populate.... As a result it doesnt work as a button just an 'open/close' type sensor as that is the only parameter which updated. Any pointers for what to try next would be much appreciated.
Thanks!
This is what appears in live logging when adding the device
[dev:224](http://192.168.1.201/logs#dev224)2021-08-29 11:25:54.421 [debug](http://192.168.1.201/device/edit/224)Processing Xigbee data (cluster:0006, attrId:0000)
[dev:224](http://192.168.1.201/logs#dev224)2021-08-29 11:25:54.418 [debug](http://192.168.1.201/device/edit/224)Incoming data from device : read attr - raw: 41450100060800001001, dni: 4145, endpoint: 01, cluster: 0006, size: 08, attrId: 0000, encoding: 10, command: 0A, value: 01
[dev:224](http://192.168.1.201/logs#dev224)2021-08-29 11:25:49.360 [info](http://192.168.1.201/device/edit/224)Button4 presense check in 12 hours
[dev:224](http://192.168.1.201/logs#dev224)2021-08-29 11:25:49.358 [info](http://192.168.1.201/device/edit/224)Button4 voltage changed to 3.09 volts
[dev:224](http://192.168.1.201/logs#dev224)2021-08-29 11:25:49.355 [info](http://192.168.1.201/device/edit/224)Button4 battery changed to 100%
[dev:224](http://192.168.1.201/logs#dev224)2021-08-29 11:25:49.353 [debug](http://192.168.1.201/device/edit/224)Processing Xiaomi data (cluster:0000, attrId:FF02)
[dev:224](http://192.168.1.201/logs#dev224)2021-08-29 11:25:49.350 [debug](http://192.168.1.201/device/edit/224)Incoming data from device : read attr - raw: 41450100003002FF4C0600100021140C21A8012400000000002139022055, dni: 4145, endpoint: 01, cluster: 0000, size: 30, attrId: FF02, encoding: 4C, command: 0A, value: 0600100021140C21A8012400000000002139022055
[dev:224](http://192.168.1.201/logs#dev224)2021-08-29 11:25:49.330 [debug](http://192.168.1.201/device/edit/224)Processing Xigbee data (cluster:0000, attrId:0001)
[dev:224](http://192.168.1.201/logs#dev224)2021-08-29 11:25:49.328 [debug](http://192.168.1.201/device/edit/224)Processing Xiaomi data (cluster:0000, attrId:0005, encoding:42)
[dev:224](http://192.168.1.201/logs#dev224)2021-08-29 11:25:49.325 [debug](http://192.168.1.201/device/edit/224)Incoming data from device : read attr - raw: 41450100002C050042126C756D692E73656E736F725F737769746368, dni: 4145, endpoint: 01, cluster: 0000, size: 2C, attrId: 0005, encoding: 42, command: 0A, value: 126C756D692E73656E736F725F737769746368
[dev:224](http://192.168.1.201/logs#dev224)2021-08-29 11:25:49.322 [debug](http://192.168.1.201/device/edit/224)Incoming data from device : read attr - raw: 4145010000080100200A, dni: 4145, endpoint: 01, cluster: 0000, size: 08, attrId: 0001, encoding: 20, command: 0A, value: 0A
[dev:224](http://192.168.1.201/logs#dev224)2021-08-29 11:25:49.306 [info](http://192.168.1.201/device/edit/224)Button4 presense check in 12 hours
[dev:224](http://192.168.1.201/logs#dev224)2021-08-29 11:25:49.271 [debug](http://192.168.1.201/device/edit/224)Incoming data from device : catchall: 0000 0013 00 00 0040 00 4145 00 00 0000 00 00 10454172D7A501008D150080