Whoohoooo !!! Now we're talkin !
Thanks!
Now you're going to be sorry you got this working on mine as I come up with a short list to get this to quiet down to less frequent reporting and work only on a delta/threshold, and do so quickly enough to catch the flash of a flashlight or headlights passing through the sensor's field of view. From what I have seen so far I think I had too high an expectation for that.
Thanks a bunch for sticking with this for me. Such a good feeling to not have this have been a waste of time and money. Not to mention the collegial collaboration of folk across the pond to make it work! Great stuff in this Community.
----------------for your full cycle look back---------------------------
Leaving you the log from the last lux posting from that other driver (Markus spinoff) through the change over to yours.
dev:2562022-02-21 09:50:26.809 debugLUM28D : Lux : Darkening from 8 to 7 lux.
dev:2562022-02-21 09:50:26.806 traceLUM28D : processMap() : [raw:9BFA0104000A0000214723, dni:9BFA, endpoint:01, cluster:0400, size:0A, attrId:0000, encoding:21, command:0A, value:2347, clusterInt:1024, attrInt:0]
dev:2562022-02-21 09:50:26.804 debugLUM28D : Parse : Processing against Zigbee cluster specification.
dev:2562022-02-21 09:50:26.801 traceLUM28D : parse() : read attr - raw: 9BFA0104000A0000214723, dni: 9BFA, endpoint: 01, cluster: 0400, size: 0A, attrId: 0000, encoding: 21, command: 0A, value: 4723
dev:2562022-02-21 09:50:02.046 traceLUM28D : checkPresence() : Report interval is 3600000 ms, timeout is 8400000 ms.
dev:2562022-02-21 09:50:02.044 traceLUM28D : checkPresence() : 1645462202025 - 1645462137193 = 64832
dev:2562022-02-21 09:50:02.042 debugLUM28D : Presence : Last presence report 64 seconds ago.
dev:2562022-02-21 09:48:57.212 debugLUM28D : Lux : Brightening from 7 to 8 lux.
dev:2562022-02-21 09:48:57.201 traceLUM28D : processMap() : [raw:9BFA0104000A0000214725, dni:9BFA, endpoint:01, cluster:0400, size:0A, attrId:0000, encoding:21, command:0A, value:2547, clusterInt:1024, attrInt:0]
dev:2562022-02-21 09:48:57.198 debugLUM28D : Parse : Processing against Zigbee cluster specification.
dev:2562022-02-21 09:48:57.196 traceLUM28D : parse() : read attr - raw: 9BFA0104000A0000214725, dni: 9BFA, endpoint: 01, cluster: 0400, size: 0A, attrId: 0000, encoding: 21, command: 0A, value: 4725
dev:2562022-02-21 09:48:27.328 debugLUM28D : Lux : Darkening from 8 to 7 lux.
dev:2562022-02-21 09:48:27.325 traceLUM28D : processMap() : [raw:9BFA0104000A0000214723, dni:9BFA, endpoint:01, cluster:0400, size:0A, attrId:0000, encoding:21, command:0A, value:2347, clusterInt:1024, attrInt:0]
dev:2562022-02-21 09:48:27.322 debugLUM28D : Parse : Processing against Zigbee cluster specification.
dev:2562022-02-21 09:48:27.320 traceLUM28D : parse() : read attr - raw: 9BFA0104000A0000214723, dni: 9BFA, endpoint: 01, cluster: 0400, size: 0A, attrId: 0000, encoding: 21, command: 0A, value: 4723
dev:2562022-02-21 09:47:42.517 debugLUM28D : Lux : Variance of 0 (previously 9543, now 9543) is within tolerance.
dev:2562022-02-21 09:47:42.515 traceLUM28D : processMap() : [raw:9BFA0104000A0000214725, dni:9BFA, endpoint:01, cluster:0400, size:0A, attrId:0000, encoding:21, command:0A, value:2547, clusterInt:1024, attrInt:0]
dev:2562022-02-21 09:47:42.512 debugLUM28D : Parse : Processing against Zigbee cluster specification.
dev:2562022-02-21 09:47:42.510 traceLUM28D : parse() : read attr - raw: 9BFA0104000A0000214725, dni: 9BFA, endpoint: 01, cluster: 0400, size: 0A, attrId: 0000, encoding: 21, command: 0A, value: 4725
dev:2562022-02-21 09:46:12.840 traceLUM28D : Splurge! : [raw:catchall: 0000 0006 00 00 0040 00 9BFA 00 00 0000 00 00 DDFDFF040101190000, profileId:0000, clusterId:0006, clusterInt:6, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:9BFA, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[DD, FD, FF, 04, 01, 01, 19, 00, 00]]
dev:2562022-02-21 09:46:12.838 warnLUM28D : Received : endpoint: null, cluster: null, clusterId: 0006, attrId: null, command: 00 with value: null and 9 bits of data: [DD, FD, FF, 04, 01, 01, 19, 00, 00]
dev:2562022-02-21 09:46:12.836 warnLUM28D : UNKNOWN DATA! Please report these messages to the developer.
dev:2562022-02-21 09:46:12.829 traceLUM28D : processMap() : [raw:catchall: 0000 0006 00 00 0040 00 9BFA 00 00 0000 00 00 DDFDFF040101190000, profileId:0000, clusterId:0006, clusterInt:6, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:9BFA, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[DD, FD, FF, 04, 01, 01, 19, 00, 00]]
dev:2562022-02-21 09:46:12.827 debugLUM28D : Parse : Processing against Zigbee cluster specification.
dev:2562022-02-21 09:46:12.825 traceLUM28D : parse() : catchall: 0000 0006 00 00 0040 00 9BFA 00 00 0000 00 00 DDFDFF040101190000
dev:2562022-02-21 09:45:43.015 debugLUM28D : Lux : Darkening from 14 to 8 lux.
dev:2562022-02-21 09:45:42.999 traceLUM28D : processMap() : [raw:9BFA0104000A0000214725, dni:9BFA, endpoint:01, cluster:0400, size:0A, attrId:0000, encoding:21, command:0A, value:2547, clusterInt:1024, attrInt:0]
dev:2562022-02-21 09:45:42.996 debugLUM28D : Parse : Processing against Zigbee cluster specification.
dev:2562022-02-21 09:45:42.994 traceLUM28D : parse() : read attr - raw: 9BFA0104000A0000214725, dni: 9BFA, endpoint: 01, cluster: 0400, size: 0A, attrId: 0000, encoding: 21, command: 0A, value: 4725
dev:2562022-02-21 09:45:13.056 debugLUM28D : Lux : Brightening from 10 to 14 lux.
dev:2562022-02-21 09:45:13.053 traceLUM28D : processMap() : [raw:9BFA0104000A000021F12D, dni:9BFA, endpoint:01, cluster:0400, size:0A, attrId:0000, encoding:21, command:0A, value:2DF1, clusterInt:1024, attrInt:0]
dev:2562022-02-21 09:45:13.050 debugLUM28D : Parse : Processing against Zigbee cluster specification.
dev:2562022-02-21 09:45:13.048 traceLUM28D : parse() : read attr - raw: 9BFA0104000A000021F12D, dni: 9BFA, endpoint: 01, cluster: 0400, size: 0A, attrId: 0000, encoding: 21, command: 0A, value: F12D
dev:2562022-02-21 09:44:43.182 debugLUM28D : Lux : Brightening from 0 to 10 lux.
dev:2562022-02-21 09:44:43.179 traceLUM28D : processMap() : [raw:9BFA0104000A000021AE28, dni:9BFA, endpoint:01, cluster:0400, size:0A, attrId:0000, encoding:21, command:0A, value:28AE, clusterInt:1024, attrInt:0]
dev:2562022-02-21 09:44:43.176 debugLUM28D : Parse : Processing against Zigbee cluster specification.
dev:2562022-02-21 09:44:43.174 traceLUM28D : parse() : read attr - raw: 9BFA0104000A000021AE28, dni: 9BFA, endpoint: 01, cluster: 0400, size: 0A, attrId: 0000, encoding: 21, command: 0A, value: AE28
dev:2562022-02-21 09:44:17.239 debugLUM28D : Skipped : Bind Response
dev:2562022-02-21 09:44:17.236 traceLUM28D : processMap() : [raw:catchall: 0000 8021 00 00 0040 00 9BFA 00 00 0000 00 00 2100, profileId:0000, clusterId:8021, clusterInt:32801, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:9BFA, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[21, 00]]
dev:2562022-02-21 09:44:17.234 debugLUM28D : Parse : Processing against Zigbee cluster specification.
dev:2562022-02-21 09:44:17.232 traceLUM28D : parse() : catchall: 0000 8021 00 00 0040 00 9BFA 00 00 0000 00 00 2100
dev:2562022-02-21 09:44:15.112 infoLUM28D : Configuration : Received by device.
dev:2562022-02-21 09:44:15.105 traceLUM28D : processMap() : [raw:catchall: 0104 0001 01 01 0040 00 9BFA 00 00 0000 07 01 00, profileId:0104, clusterId:0001, clusterInt:1, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9BFA, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:07, direction:01, data:[00]]
dev:2562022-02-21 09:44:15.102 debugLUM28D : Parse : Processing against Zigbee cluster specification.
dev:2562022-02-21 09:44:15.101 traceLUM28D : parse() : catchall: 0104 0001 01 01 0040 00 9BFA 00 00 0000 07 01 00
dev:2562022-02-21 09:44:13.645 debugLUM28D : Skipped : Bind Response
dev:2562022-02-21 09:44:13.642 traceLUM28D : processMap() : [raw:catchall: 0000 8021 00 00 0040 00 9BFA 00 00 0000 00 00 1E00, profileId:0000, clusterId:8021, clusterInt:32801, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:9BFA, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[1E, 00]]
dev:2562022-02-21 09:44:13.640 debugLUM28D : Parse : Processing against Zigbee cluster specification.
dev:2562022-02-21 09:44:13.638 traceLUM28D : parse() : catchall: 0000 8021 00 00 0040 00 9BFA 00 00 0000 00 00 1E00
dev:2562022-02-21 09:44:13.505 debugLUM28D : Skipped : Bind Response
dev:2562022-02-21 09:44:13.502 traceLUM28D : processMap() : [raw:catchall: 0000 8021 00 00 0040 00 9BFA 00 00 0000 00 00 1D00, profileId:0000, clusterId:8021, clusterInt:32801, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:9BFA, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[1D, 00]]
dev:2562022-02-21 09:44:13.500 debugLUM28D : Parse : Processing against Zigbee cluster specification.
dev:2562022-02-21 09:44:13.498 traceLUM28D : parse() : catchall: 0000 8021 00 00 0040 00 9BFA 00 00 0000 00 00 1D00
dev:2562022-02-21 09:44:13.475 debugLUM28D : Skipped : Bind Response
dev:2562022-02-21 09:44:13.472 traceLUM28D : processMap() : [raw:catchall: 0000 8021 00 00 0040 00 9BFA 00 00 0000 00 00 1C00, profileId:0000, clusterId:8021, clusterInt:32801, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:9BFA, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[1C, 00]]
dev:2562022-02-21 09:44:13.470 debugLUM28D : Parse : Processing against Zigbee cluster specification.
dev:2562022-02-21 09:44:13.468 traceLUM28D : parse() : catchall: 0000 8021 00 00 0040 00 9BFA 00 00 0000 00 00 1C00
dev:2562022-02-21 09:44:13.240 debugLUM28D : Skipped : Bind Response
dev:2562022-02-21 09:44:13.237 traceLUM28D : processMap() : [raw:catchall: 0000 8021 00 00 0040 00 9BFA 00 00 0000 00 00 1B00, profileId:0000, clusterId:8021, clusterInt:32801, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:9BFA, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[1B, 00]]
dev:2562022-02-21 09:44:13.234 debugLUM28D : Parse : Processing against Zigbee cluster specification.
dev:2562022-02-21 09:44:13.232 traceLUM28D : parse() : catchall: 0000 8021 00 00 0040 00 9BFA 00 00 0000 00 00 1B00
dev:2562022-02-21 09:44:12.967 traceLUM28D : Trace Logging : true
dev:2562022-02-21 09:44:12.966 debugLUM28D : Debug Logging : true
dev:2562022-02-21 09:44:12.965 infoLUM28D : Info Logging : true
dev:2562022-02-21 09:44:12.964 infoLUM28D : Preferences Updated
dev:2562022-02-21 09:44:12.905 infoLUM28D : Configuration : Hub settings complete.
dev:2562022-02-21 09:44:12.844 traceLUM28D : sendZigbeeCommands received : [zdo bind 9BFA 0x01 0x01 0x0000 {54EF4410000C218C} {}, zdo bind 9BFA 0x01 0x01 0x0001 {54EF4410000C218C} {}, zdo bind 9BFA 0x01 0x01 0x0003 {54EF4410000C218C} {}, zdo bind 9BFA 0x01 0x01 0x0400 {54EF4410000C218C} {}, zdo bind 0x9BFA 0x01 0x01 0x0001 {54EF4410000C218C} {}, delay 2000, he cr 0x9BFA 0x01 1 32 32 3600 3600 {} {}, delay 2000, zdo bind 0x9BFA 0x01 0x01 0x0400 {54EF4410000C218C} {}, delay 2000, he cr 0x9BFA 0x01 1024 0 33 3 3600 {C800} {}, delay 2000]
dev:2562022-02-21 09:44:11.864 infoLUM28D : Trigger : Button Pressed
dev:2562022-02-21 09:44:11.861 traceLUM28D : processMap() : [raw:catchall: 0104 0003 01 FF 0040 00 9BFA 01 00 0000 01 00 , profileId:0104, clusterId:0003, clusterInt:3, sourceEndpoint:01, destinationEndpoint:FF, options:0040, messageType:00, dni:9BFA, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:00, data:[]]
dev:2562022-02-21 09:44:11.858 debugLUM28D : Parse : Processing against Zigbee cluster specification.
dev:2562022-02-21 09:44:11.857 traceLUM28D : parse() : catchall: 0104 0003 01 FF 0040 00 9BFA 01 00 0000 01 00
dev:2562022-02-21 09:44:08.354 debugLUM28D : Lux : Darkening from 100 to 0 lux.
dev:2562022-02-21 09:44:08.343 traceLUM28D : processMap() : [raw:9BFA0104000A0000210000, dni:9BFA, endpoint:01, cluster:0400, size:0A, attrId:0000, encoding:21, command:0A, value:0000, clusterInt:1024, attrInt:0]
dev:2562022-02-21 09:44:08.340 debugLUM28D : Parse : Processing against Zigbee cluster specification.
dev:2562022-02-21 09:44:08.338 traceLUM28D : parse() : read attr - raw: 9BFA0104000A0000210000, dni: 9BFA, endpoint: 01, cluster: 0400, size: 0A, attrId: 0000, encoding: 21, command: 0A, value: 0000
dev:2562022-02-21 09:43:38.495 debugLUM28D : Lux : Brightening from 0 to 100 lux.
dev:2562022-02-21 09:43:38.482 traceLUM28D : processMap() : [raw:9BFA0104000A0000214C4E, dni:9BFA, endpoint:01, cluster:0400, size:0A, attrId:0000, encoding:21, command:0A, value:4E4C, clusterInt:1024, attrInt:0]
dev:2562022-02-21 09:43:38.469 debugLUM28D : Parse : Processing against Zigbee cluster specification.
dev:2562022-02-21 09:43:38.466 traceLUM28D : parse() : read attr - raw: 9BFA0104000A0000214C4E, dni: 9BFA, endpoint: 01, cluster: 0400, size: 0A, attrId: 0000, encoding: 21, command: 0A, value: 4C4E
dev:2562022-02-21 09:43:35.383 traceLUM28D : Trace Logging : true
dev:2562022-02-21 09:43:35.382 debugLUM28D : Debug Logging : true
dev:2562022-02-21 09:43:35.380 infoLUM28D : Info Logging : true
dev:2562022-02-21 09:43:35.379 infoLUM28D : Preferences Updated
dev:2562022-02-21 09:42:33.738 infoLUM28D: Illuminance is 101.02 lux