@Cobra Andy, I think I see what is happening. I have 0 errors showing in the logs with full logging activated. However, it appears that while the average lux is being calculated the app is stuck on waiting for time-out to occur before updating the virtual lux device.
Not a programmer by any means, but is it possible that the timer is being interrupted by another app causing the app to get stuck waiting for the time-out to allow it to update the virtual lux device?
The log excerpt below was taken with the app set to update every 5 minutes.
I've decided to eliminate the time-out on both driver and app to see if that prevents the return of the issue.
Thanks again,
app:36402018-09-05 21:57:45.803:infoYou are using the current version of this app
app:36402018-09-05 21:45:36.500:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Waiting for timer to expire
app:36402018-09-05 21:45:36.499:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Average Illuminance = 0.5
app:36402018-09-05 21:45:36.496:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Total Combined value = 1
app:36402018-09-05 21:45:36.492:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Sensor data count = 2
app:36402018-09-05 21:45:36.487:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Sensor data count = 1
app:36402018-09-05 21:45:36.485:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - received 1
app:36402018-09-05 21:45:36.483:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - running illuminance handler
app:36402018-09-05 21:36:05.843:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Waiting for timer to expire
app:36402018-09-05 21:36:05.842:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Average Illuminance = 0.0
app:36402018-09-05 21:36:05.840:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Total Combined value = 0
app:36402018-09-05 21:36:05.835:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Sensor data count = 2
app:36402018-09-05 21:36:05.831:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Sensor data count = 1
app:36402018-09-05 21:36:05.829:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - received 0
app:36402018-09-05 21:36:05.827:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - running illuminance handler
app:36402018-09-05 21:35:33.916:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Waiting for timer to expire
app:36402018-09-05 21:35:33.914:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Average Illuminance = 0.5
app:36402018-09-05 21:35:33.911:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Total Combined value = 1
app:36402018-09-05 21:35:33.905:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Sensor data count = 2
app:36402018-09-05 21:35:33.900:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Sensor data count = 1
app:36402018-09-05 21:35:33.897:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - received 0
app:36402018-09-05 21:35:33.894:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - running illuminance handler
app:36402018-09-05 21:31:06.090:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Waiting for timer to expire
app:36402018-09-05 21:31:06.088:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Average Illuminance = 1.0
app:36402018-09-05 21:31:06.085:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Total Combined value = 2
app:36402018-09-05 21:31:06.080:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Sensor data count = 2
app:36402018-09-05 21:31:06.071:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Sensor data count = 1
app:36402018-09-05 21:31:06.068:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - received 1
app:36402018-09-05 21:31:06.066:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - running illuminance handler
app:36402018-09-05 21:26:06.329:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Waiting for timer to expire
app:36402018-09-05 21:26:06.327:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Average Illuminance = 1.5
app:36402018-09-05 21:26:06.324:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Total Combined value = 3
app:36402018-09-05 21:26:06.319:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Sensor data count = 2
app:36402018-09-05 21:26:06.313:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Sensor data count = 1
app:36402018-09-05 21:26:06.310:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - received 2
app:36402018-09-05 21:26:06.308:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - running illuminance handler
app:36402018-09-05 21:25:31.511:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Waiting for timer to expire
app:36402018-09-05 21:25:31.509:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Average Illuminance = 2.5
app:36402018-09-05 21:25:31.506:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Total Combined value = 5
app:36402018-09-05 21:25:31.499:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Sensor data count = 2
app:36402018-09-05 21:25:31.492:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Sensor data count = 1
app:36402018-09-05 21:25:31.489:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - received 1
app:36402018-09-05 21:25:31.485:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - running illuminance handler
app:36402018-09-05 21:21:17.005:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Waiting for timer to expire
app:36402018-09-05 21:21:16.981:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Average Illuminance = 12.5
app:36402018-09-05 21:21:16.917:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Total Combined value = 25
app:36402018-09-05 21:21:16.878:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Sensor data count = 2
app:36402018-09-05 21:21:16.708:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - Sensor data count = 1
app:36402018-09-05 21:21:16.672:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - received 4
app:36402018-09-05 21:21:16.656:debugAVERAGE_OUTDOOR_LUX (App Version: 1.0.1) - running illuminance handler