Let’s answer the latter question first: No, I’m not at all sure I didn’t change something. I’m frequently making changes, but I also don’t know what I did that may have broken this. It’s been relatively cool here until the heat wave that just started, so I didn’t notice the issue because the HVAC hasn’t been running in over a month. Now it’s running way too much to try to keep us cool. I’ve been adding other variables to be stored with different aggregation and schema. I don’t see any overlap. Also, I thought these are only read when starting a new data storage area?
Here’s a sample log showing the switch from Idle to Cool and then later back from Cool to Idle. At 18:42:47.738 the ModeState changes, and I see a call back at 18:42:48.273. It goes from Cool to Idle at 18:48:59.563, call back at 18:49:00.077. AltUI Watch Display shows the single spike for one minute at 18:42, similar to what I put in the initial post. The .wsp file doesn’t seem to be time ordered, so it’s a little hard for me to see what is going on in there.
AltUI history says change from Idle to Cooling at 18:42:47.739 and from Cooling to Idle at 18:48:59.564. Seems remarkably close to ModeState changing in the log file. That seems fine.
Does my usage of ‘sum’ for the aggregation affect this in any way?
2017-06-20 18:42:00.208 luup.variable_set:0: 2.openLuup.Memory_Mb was: 3.7 now: 4.8 #hooks:1
2017-06-20 18:42:00.208 luup.variable_set:0: 2.openLuup.CpuLoad was: 2.3 now: 2.3 #hooks:1
2017-06-20 18:42:00.208 luup.variable_set:0: 2.openLuup.Uptime_Days was: 2.22 now: 2.22 #hooks:1
2017-06-20 18:42:00.209 luup.variable_set:0: 2.urn:upnp-org:serviceId:altui1.DisplayLine1 was: 4 Mb, cpu 2.3%, 2.22 days now: 5 Mb, cpu 2.3%, 2.22 days #hooks:0
2017-06-20 18:42:00.209 luup_log:0: 5 Mb, cpu 2.3%, 2.22 days
2017-06-20 18:42:00.210 luup.variable_set:0: 2.openLuup.MemFree_Mb was: 103.6 now: 102.2 #hooks:0
2017-06-20 18:42:00.210 luup.variable_set:0: 2.openLuup.MemAvail_Mb was: 389.8 now: 388.4 #hooks:0
2017-06-20 18:42:00.210 luup.variable_set:0: 2.openLuup.MemTotal_Mb was: 947.7 now: 947.7 #hooks:0
2017-06-20 18:42:00.210 luup.watch_callback:: 2.openLuup.Memory_Mb function: 0x907cf8
2017-06-20 18:42:00.221 luup.watch_callback:: 2.openLuup.CpuLoad function: 0x907cf8
2017-06-20 18:42:00.234 luup.watch_callback:: 2.openLuup.Uptime_Days function: 0x907cf8
2017-06-20 18:42:47.648 luup.variable_set:18: 18.urn:upnp-org:serviceId:TemperatureSensor1.CurrentTemperature was: 78.5 now: 79 #hooks:1
2017-06-20 18:42:47.648 luup_log:18: setOpenHabItem payload is 79
2017-06-20 18:42:47.738 luup.variable_set:18: 41.urn:micasaverde-com:serviceId:HVAC_OperatingState1.ModeState was: Idle now: Cooling #hooks:1
2017-06-20 18:42:47.739 luup.call_action:18: 41.urn:upnp-org:serviceId:VSwitch1.SetText2
2017-06-20 18:42:47.740 luup.variable_set:41: 41.urn:upnp-org:serviceId:VSwitch1.Text2 was: Idle now: Cooling #hooks:0
2017-06-20 18:42:47.741 luup.call_action:18: 41.urn:upnp-org:serviceId:VSwitch1.SetTarget
2017-06-20 18:42:47.742 luup.variable_set:41: 41.urn:upnp-org:serviceId:VSwitch1.Status was: 0 now: 1 #hooks:0
2017-06-20 18:42:47.743 luup.variable_set:41: 41.urn:upnp-org:serviceId:SwitchPower1.Status was: 0 now: 1 #hooks:0
2017-06-20 18:42:47.744 luup.call_action:18: 41.urn:upnp-org:serviceId:VSwitch1.SetText1
2017-06-20 18:42:47.745 luup.variable_set:41: 41.urn:upnp-org:serviceId:VSwitch1.Text1 was: OFF now: ON #hooks:0
2017-06-20 18:42:47.746 luup.call_timer:18: interval: time=1m, days={}
2017-06-20 18:42:48.249 luup.watch_callback:: 18.urn:upnp-org:serviceId:TemperatureSensor1.CurrentTemperature function: 0x907cf8
2017-06-20 18:42:48.273 luup.watch_callback:: 41.urn:micasaverde-com:serviceId:HVAC_OperatingState1.ModeState function: 0x907cf8
2017-06-20 18:43:49.466 luup.call_timer:18: interval: time=1m, days={}
2017-06-20 18:43:58.855 luup.variable_set:21: 21.urn:akbooer-com:serviceId:DataYours1.AppMemoryUsed was: 7362 now: 5850 #hooks:0
2017-06-20 18:44:00.454 luup.variable_set:0: 2.openLuup.Memory_Mb was: 4.8 now: 3.1 #hooks:1
2017-06-20 18:44:00.454 luup.variable_set:0: 2.openLuup.CpuLoad was: 2.3 now: 2.4 #hooks:1
2017-06-20 18:44:00.455 luup.variable_set:0: 2.openLuup.Uptime_Days was: 2.22 now: 2.22 #hooks:1
2017-06-20 18:44:00.455 luup.variable_set:0: 2.urn:upnp-org:serviceId:altui1.DisplayLine1 was: 5 Mb, cpu 2.3%, 2.22 days now: 3 Mb, cpu 2.4%, 2.22 days #hooks:0
2017-06-20 18:44:00.456 luup_log:0: 3 Mb, cpu 2.4%, 2.22 days
2017-06-20 18:44:00.457 luup.variable_set:0: 2.openLuup.MemFree_Mb was: 102.2 now: 104.1 #hooks:0
2017-06-20 18:44:00.457 luup.variable_set:0: 2.openLuup.MemAvail_Mb was: 388.4 now: 390.2 #hooks:0
2017-06-20 18:44:00.458 luup.variable_set:0: 2.openLuup.MemTotal_Mb was: 947.7 now: 947.7 #hooks:0
2017-06-20 18:44:00.458 luup.watch_callback:: 2.openLuup.Memory_Mb function: 0x907cf8
2017-06-20 18:44:00.481 luup.watch_callback:: 2.openLuup.CpuLoad function: 0x907cf8
2017-06-20 18:44:00.505 luup.watch_callback:: 2.openLuup.Uptime_Days function: 0x907cf8
2017-06-20 18:44:51.548 luup.call_timer:18: interval: time=1m, days={}
2017-06-20 18:45:46.295 luup.call_timer:20: interval: time=300, days={}
2017-06-20 18:45:47.373 luup.variable_set:20: 20.urn:micasaverde-com:serviceId:EnergyMetering1.PriorKWH was: 33781.221 now: 33781.221 #hooks:0
2017-06-20 18:45:47.374 luup.variable_set:20: 20.urn:micasaverde-com:serviceId:EnergyMetering1.KWH was: 33781.221 now: 33781.541 #hooks:1
2017-06-20 18:45:47.374 luup.variable_set:20: 20.urn:micasaverde-com:serviceId:EnergyMetering1.DeltaKWH was: 0.000 now: 0.320 #hooks:1
2017-06-20 18:45:47.374 luup.variable_set:20: 20.urn:micasaverde-com:serviceId:EnergyMetering1.Watts was: 506 now: 5954 #hooks:1
2017-06-20 18:45:47.875 luup.watch_callback:: 20.urn:micasaverde-com:serviceId:EnergyMetering1.KWH function: 0x907cf8
2017-06-20 18:45:47.887 luup.watch_callback:: 20.urn:micasaverde-com:serviceId:EnergyMetering1.DeltaKWH function: 0x907cf8
2017-06-20 18:45:47.898 luup.watch_callback:: 20.urn:micasaverde-com:serviceId:EnergyMetering1.Watts function: 0x907cf8
2017-06-20 18:45:53.219 luup.variable_set:18: 18.urn:upnp-org:serviceId:TemperatureSensor1.CurrentTemperature was: 79 now: 78.5 #hooks:1
2017-06-20 18:45:53.219 luup_log:18: setOpenHabItem payload is 78.5
2017-06-20 18:45:53.240 luup.call_timer:18: interval: time=1m, days={}
2017-06-20 18:45:53.743 luup.watch_callback:: 18.urn:upnp-org:serviceId:TemperatureSensor1.CurrentTemperature function: 0x907cf8
2017-06-20 18:46:00.541 luup.variable_set:0: 2.openLuup.Memory_Mb was: 3.1 now: 4.8 #hooks:1
2017-06-20 18:46:00.542 luup.variable_set:0: 2.openLuup.CpuLoad was: 2.4 now: 2.3 #hooks:1
2017-06-20 18:46:00.542 luup.variable_set:0: 2.openLuup.Uptime_Days was: 2.22 now: 2.22 #hooks:1
2017-06-20 18:46:00.542 luup.variable_set:0: 2.urn:upnp-org:serviceId:altui1.DisplayLine1 was: 3 Mb, cpu 2.4%, 2.22 days now: 5 Mb, cpu 2.3%, 2.22 days #hooks:0
2017-06-20 18:46:00.543 luup_log:0: 5 Mb, cpu 2.3%, 2.22 days
2017-06-20 18:46:00.544 luup.variable_set:0: 2.openLuup.MemFree_Mb was: 104.1 now: 103.1 #hooks:0
2017-06-20 18:46:00.544 luup.variable_set:0: 2.openLuup.MemAvail_Mb was: 390.2 now: 389.2 #hooks:0
2017-06-20 18:46:00.545 luup.variable_set:0: 2.openLuup.MemTotal_Mb was: 947.7 now: 947.7 #hooks:0
2017-06-20 18:46:00.545 luup.watch_callback:: 2.openLuup.Memory_Mb function: 0x907cf8
2017-06-20 18:46:00.566 luup.watch_callback:: 2.openLuup.CpuLoad function: 0x907cf8
2017-06-20 18:46:00.589 luup.watch_callback:: 2.openLuup.Uptime_Days function: 0x907cf8
2017-06-20 18:46:55.369 luup.call_timer:18: interval: time=1m, days={}
2017-06-20 18:47:57.449 luup.call_timer:18: interval: time=1m, days={}
2017-06-20 18:48:00.039 luup.variable_set:0: 2.openLuup.Memory_Mb was: 4.8 now: 5.3 #hooks:1
2017-06-20 18:48:00.039 luup.variable_set:0: 2.openLuup.CpuLoad was: 2.3 now: 2.2 #hooks:1
2017-06-20 18:48:00.040 luup.variable_set:0: 2.openLuup.Uptime_Days was: 2.22 now: 2.22 #hooks:1
2017-06-20 18:48:00.040 luup.variable_set:0: 2.urn:upnp-org:serviceId:altui1.DisplayLine1 was: 5 Mb, cpu 2.3%, 2.22 days now: 5 Mb, cpu 2.2%, 2.22 days #hooks:0
2017-06-20 18:48:00.040 luup_log:0: 5 Mb, cpu 2.2%, 2.22 days
2017-06-20 18:48:00.041 luup.variable_set:0: 2.openLuup.MemFree_Mb was: 103.1 now: 104.1 #hooks:0
2017-06-20 18:48:00.041 luup.variable_set:0: 2.openLuup.MemAvail_Mb was: 389.2 now: 390.3 #hooks:0
2017-06-20 18:48:00.041 luup.variable_set:0: 2.openLuup.MemTotal_Mb was: 947.7 now: 947.7 #hooks:0
2017-06-20 18:48:00.041 luup.watch_callback:: 2.openLuup.Memory_Mb function: 0x907cf8
2017-06-20 18:48:00.052 luup.watch_callback:: 2.openLuup.CpuLoad function: 0x907cf8
2017-06-20 18:48:00.065 luup.watch_callback:: 2.openLuup.Uptime_Days function: 0x907cf8
2017-06-20 18:48:59.541 luup.variable_set:18: 18.urn:upnp-org:serviceId:TemperatureSensor1.CurrentTemperature was: 78.5 now: 78 #hooks:1
2017-06-20 18:48:59.542 luup_log:18: setOpenHabItem payload is 78
2017-06-20 18:48:59.563 luup.variable_set:18: 41.urn:micasaverde-com:serviceId:HVAC_OperatingState1.ModeState was: Cooling now: Idle #hooks:1
2017-06-20 18:48:59.564 luup.call_action:18: 41.urn:upnp-org:serviceId:VSwitch1.SetText2
2017-06-20 18:48:59.564 luup.variable_set:41: 41.urn:upnp-org:serviceId:VSwitch1.Text2 was: Cooling now: Idle #hooks:0
2017-06-20 18:48:59.564 luup.call_action:18: 41.urn:upnp-org:serviceId:VSwitch1.SetTarget
2017-06-20 18:48:59.564 luup.variable_set:41: 41.urn:upnp-org:serviceId:VSwitch1.Status was: 1 now: 0 #hooks:0
2017-06-20 18:48:59.564 luup.variable_set:41: 41.urn:upnp-org:serviceId:SwitchPower1.Status was: 1 now: 0 #hooks:0
2017-06-20 18:48:59.564 luup.call_action:18: 41.urn:upnp-org:serviceId:VSwitch1.SetText1
2017-06-20 18:48:59.565 luup.variable_set:41: 41.urn:upnp-org:serviceId:VSwitch1.Text1 was: ON now: OFF #hooks:0
2017-06-20 18:48:59.565 luup.call_timer:18: interval: time=1m, days={}
2017-06-20 18:49:00.066 luup.watch_callback:: 18.urn:upnp-org:serviceId:TemperatureSensor1.CurrentTemperature function: 0x907cf8
2017-06-20 18:49:00.077 luup.watch_callback:: 41.urn:micasaverde-com:serviceId:HVAC_OperatingState1.ModeState function: 0x907cf8
2017-06-20 18:49:00.144 luup.variable_set:21: 21.urn:akbooer-com:serviceId:DataYours1.AppMemoryUsed was: 5850 now: 6153 #hooks:0
2017-06-20 18:50:01.282 luup.call_timer:18: interval: time=1m, days={}
2017-06-20 18:50:01.783 luup.variable_set:0: 2.openLuup.Memory_Mb was: 5.3 now: 4 #hooks:1
2017-06-20 18:50:01.784 luup.variable_set:0: 2.openLuup.CpuLoad was: 2.2 now: 2.4 #hooks:1
2017-06-20 18:50:01.784 luup.variable_set:0: 2.openLuup.Uptime_Days was: 2.22 now: 2.22 #hooks:1
2017-06-20 18:50:01.784 luup.variable_set:0: 2.urn:upnp-org:serviceId:altui1.DisplayLine1 was: 5 Mb, cpu 2.2%, 2.22 days now: 4 Mb, cpu 2.4%, 2.22 days #hooks:0
2017-06-20 18:50:01.785 luup_log:0: 4 Mb, cpu 2.4%, 2.22 days
And, as always, thanks again for all of your help!