OK back again
After watching for a day, there is something odd:
If I look at my sensor #208 since my last log rotate, it’s sending data every hour as it should:
root@MiOS_50103066:/tmp/log/cmh# grep -i currentlevel LuaUPnP.log | grep 208
06 12/05/19 16:56:47.573 Device_Variable::m_szValue_set device: 208 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 0 now: 0 #hooks: 1 upnp: 0 skip: 0 v:0xeaf1f8/NONE duplicate:1 <0x76fd9520>
06 12/05/19 17:56:52.498 Device_Variable::m_szValue_set device: 208 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 0 now: 0 #hooks: 1 upnp: 0 skip: 0 v:0xeaf1f8/NONE duplicate:1 <0x76fd9520>
06 12/05/19 18:56:57.447 Device_Variable::m_szValue_set device: 208 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 0 now: 0 #hooks: 1 upnp: 0 skip: 0 v:0xeaf1f8/NONE duplicate:1 <0x76fd9520>
06 12/05/19 19:57:03.821 Device_Variable::m_szValue_set device: 208 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 0 now: 0 #hooks: 1 upnp: 0 skip: 0 v:0xeaf1f8/NONE duplicate:1 <0x76fd9520>
06 12/05/19 20:57:09.333 Device_Variable::m_szValue_set device: 208 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 0 now: 0 #hooks: 1 upnp: 0 skip: 0 v:0xeaf1f8/NONE duplicate:1 <0x76fd9520>
But the whisper file has not been updated since 12:56
-rw-r–r-- 1 root root 374736 Dec 5 12:56 Vera-50103066.208.urn^micasaverde-com^serviceId^LightSensor1.CurrentLevel.wsp
Similarly my device 10
|06|12/05/19 17:08:40.485|Device_Variable::m_szValue_set device: 10 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 0 now: 0 #hooks: 1 upnp: 0 skip: 0 v:0xeaf1f8/NONE duplicate:1 <0x76fd9520>|
|06|12/05/19 18:09:12.640|Device_Variable::m_szValue_set device: 10 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 0 now: 0 #hooks: 1 upnp: 0 skip: 0 v:0xeaf1f8/NONE duplicate:1 <0x76fd9520>|
|06|12/05/19 19:05:55.110|Device_Variable::m_szValue_set device: 224 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 3 now: 3 #hooks: 1 upnp: 0 skip: 0 v:0xeaf1f8/NONE duplicate:1 <0x76fd9520>|
|06|12/05/19 19:09:41.958|Device_Variable::m_szValue_set device: 10 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 0 now: 0 #hooks: 1 upnp: 0 skip: 0 v:0xeaf1f8/NONE duplicate:1 <0x76fd9520>|
|06|12/05/19 20:10:11.504|Device_Variable::m_szValue_set device: 10 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 0 now: 0 #hooks: 1 upnp: 0 skip: 0 v:0xeaf1f8/NONE duplicate:1 <0x76fd9520>|
|06|12/05/19 21:10:38.501|Device_Variable::m_szValue_set device: 10 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 0 now: 0 #hooks: 1 upnp: 0 skip: 0 v:0xeaf1f8/NONE duplicate:1 <0x76fd9520>|
|06|12/05/19 21:10:38.585|Device_Variable::m_szValue_set device: 10 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 0 now: 0 #hooks: 1 upnp: 0 skip: 0 v:0xeaf1f8/NONE duplicate:1 <0x76fd9520>|
But the whisper has not been changed since 1407
-rw-r–r-- 1 root root 374736 Dec 5 14:07 Vera-50103066.010.urn^micasaverde-com^serviceId^LightSensor1.CurrentLevel.wsp
What’s my next step? Kill the watched values and start again now the senors are correctly configured, or is it a function of how I’ve configured the watch or something else (such as a zero, non changing value being sent?)
Much thanks!
C