I see a post from a couple of years ago about about Hive motion sensors and how there is no reliable driver. I am new to Hubitat (and Groovy) and trying to learn the code for custom drivers (and the Zigbee standards) and hope to get a driver working for this device.
Cobbling together a debug driver from various sources, I can see that my sensor (MOT003) is able to report temperature and illuminance and possibly battery status along with an announcement each time motion is triggered. I believe the device has an occupancy status but so far I have been unable to find this data.
People have reported that generic drivers do not work as this device does not trigger an 'inactive' event when no motion is detected for a period - hence previous posts about using delays and timers in code to emulate this.
Can anyone shed any light on the behaviour I am seeing where the device sends data every 10 seconds or so, which appear to contain a counter in the data?
descMap:[raw:catchall: 0000 0006 00 00 0040 00 314A 00 00 0000 00 00 00FDFF040100012000, profileId:0000, clusterId:0006, clusterInt:6, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:314A, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[00, FD, FF, 04, 01, 00, 01, 20, 00]]
The first 00 in the data field increments on each message and loops at FF back to 00
I do not understand what type of message is being sent - has anyone seen this before on other devices?
The device in question is
- endpointId: 06
- application: 01
- calcBattery: false
- endpointId: 06
- firmwareMT: 1039-2630-01102603
- inClusters: 0000,0001,0003,0020,0400,0402,0500
- manufacturer: HiveHome.com
- model: MOT003
- outClusters: 0019
- profileId: 0104
- softwareBuild: 01102603
Many thanks.