silverman
(Ashwin Isaac)
December 28, 2018, 6:14pm
1
There seems to be an issue with the Aqara human body sensor. It stops working/sending events after a day or so. I then have to delete the thing and discover it again.
No idea why this is happening. I see from the logs that the polling happens almost every 124 mins.
The thing status remains online and it doesnt change.
This is the thing properties
zigbee_logicaltype
END_DEVICE
zigbee_powerlevel
FULL
modelId
lumi.sensor_motion.aq2
vendor
LUMI
zigbee_networkaddress
56329
zigbee_powermode
RECEIVER_ON_IDLE
zigbee_powersources
[DISPOSABLE_BATTERY]
zigbee_powersource
DISPOSABLE_BATTERY
hardwareVersion
1
zigbee_datecode
20161130
zigbee_zclversion
1
silverman
(Ashwin Isaac)
December 28, 2018, 6:15pm
2
also, below is the log entry when I discover/add the device
2018-12-28 17:16:36.588 [DEBUG] [bee.discovery.ZigBeeDiscoveryService] - 00158D00016DAC60: Discovery: Starting discovery for existing device zigbee:device:9577380f:00158d00016dac60
2018-12-28 17:16:36.620 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 00158D00016DAC60: Starting ZigBee device discovery
2018-12-28 17:16:36.635 [DEBUG] [bee.discovery.ZigBeeDiscoveryService] - 00158D00016DAC60: Creating ZigBee device zigbee:device with bridge zigbee:coordinator_cc2531:9577380f
2018-12-28 17:16:36.660 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 00158D00016DAC60: ZigBee node property discovery start
2018-12-28 17:16:36.675 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 00158D00016DAC60: ZigBee node property discovery using 56329/1
2018-12-28 17:16:46.860 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 00158D00016DAC60: Stack version failed
2018-12-28 17:16:56.989 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 00158D00016DAC60: OTA firmware failed
2018-12-28 17:16:57.001 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 00158D00016DAC60: ZigBee node property discovery complete: {zigbee_logicaltype=END_DEVICE, zigbee_powerlevel=FULL, modelId=lumi.sensor_motion.aq2, vendor=LUMI, zigbee_networkaddress=56329, zigbee_powermode=RECEIVER_ON_IDLE, zigbee_powersources=[DISPOSABLE_BATTERY], zigbee_powersource=DISPOSABLE_BATTERY, hardwareVersion=1, zigbee_datecode=20161130, zigbee_zclversion=1}
2018-12-28 17:16:57.028 [DEBUG] [bee.discovery.ZigBeeDiscoveryService] - 00158D00016DAC60: Update ZigBee device zigbee:device with bridge zigbee:coordinator_cc2531:9577380f, label 'LUMI lumi.sensor_motion.aq2'
2018-12-28 17:17:15.732 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 00158D00016DAC60: Initializing ZigBee thing handler zigbee:device:9577380f:00158d00016dac60
2018-12-28 17:17:15.756 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 00158D00016DAC60: Coordinator status changed to ONLINE.
2018-12-28 17:17:15.766 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 00158D00016DAC60: Coordinator is ONLINE. Starting device initialisation.
2018-12-28 17:17:15.795 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 00158D00016DAC60: Start initialising ZigBee Thing handler
2018-12-28 17:17:15.808 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 00158D00016DAC60: Checking endpoint 1 channels
2018-12-28 17:17:15.822 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 00158D00016DAC60: Created 2 channels
2018-12-28 17:17:15.832 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 00158D00016DAC60: Updating thing definition as channels have changed from [] to [zigbee:device:9577380f:00158d00016dac60:00158D00016DAC60_1_measurement_illuminance, zigbee:device:9577380f:00158d00016dac60:00158D00016DAC60_1_sensor_occupancy]
2018-12-28 17:17:15.879 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 00158D00016DAC60: Initializing channel zigbee:device:9577380f:00158d00016dac60:00158D00016DAC60_1_measurement_illuminance with org.openhab.binding.zigbee.internal.converter.ZigBeeConverterIlluminance@240de4
2018-12-28 17:17:26.263 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 00158D00016DAC60: Initializing channel zigbee:device:9577380f:00158d00016dac60:00158D00016DAC60_1_sensor_occupancy with org.openhab.binding.zigbee.internal.converter.ZigBeeConverterOccupancy@1d92ec4
2018-12-28 17:17:26.280 [DEBUG] [l.converter.ZigBeeConverterOccupancy] - 00158D00016DAC60: Initialising device occupancy cluster
2018-12-28 17:17:36.649 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 00158D00016DAC60: Channel initialisation complete
2018-12-28 17:17:36.658 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 00158D00016DAC60: ZigBee node property discovery start
2018-12-28 17:17:36.667 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 00158D00016DAC60: ZigBee node property discovery using 56329/1
2018-12-28 17:17:46.789 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 00158D00016DAC60: Stack version failed
2018-12-28 17:17:56.921 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 00158D00016DAC60: OTA firmware failed
2018-12-28 17:17:56.943 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 00158D00016DAC60: ZigBee node property discovery complete: {zigbee_logicaltype=END_DEVICE, zigbee_powerlevel=FULL, modelId=lumi.sensor_motion.aq2, vendor=LUMI, zigbee_networkaddress=56329, zigbee_powermode=RECEIVER_ON_IDLE, zigbee_powersources=[DISPOSABLE_BATTERY], zigbee_powersource=DISPOSABLE_BATTERY, hardwareVersion=1, zigbee_datecode=20161130, zigbee_zclversion=1}
2018-12-28 17:18:07.082 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 00158D00016DAC60: Error getting binding table
2018-12-28 17:18:07.108 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 00158D00016DAC60: Polling initialised at 7851633ms
2018-12-28 17:18:07.124 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 00158D00016DAC60: Done initialising ZigBee Thing handler
2018-12-28 17:21:01.713 [DEBUG] [converter.ZigBeeConverterIlluminance] - 00158D00016DAC60: ZigBee attribute reports ZclAttribute [cluster=ILLUMINANCE_MEASUREMENT, id=0, name=MeasuredValue, dataType=UNSIGNED_16_BIT_INTEGER, lastValue=2, lastReportTime=Fri Dec 28 17:21:01 GMT 2018]
2018-12-28 17:21:01.716 [DEBUG] [l.converter.ZigBeeConverterOccupancy] - 00158D00016DAC60: ZigBee attribute reports ZclAttribute [cluster=OCCUPANCY_SENSING, id=0, name=Occupancy, dataType=BITMAP_8_BIT, lastValue=1, lastReportTime=Fri Dec 28 17:21:01 GMT 2018]
silverman
(Ashwin Isaac)
January 2, 2019, 2:51pm
3
Fixed this by removing intermediate hop.
Connected the device directly to the controller and it hasnt dropped out yet.