I use the Plugwise Binding and everything seems to work fine, but one thing is still not working for me.
A while ago, i used the python script to get the data from my plugwise. within the python binding it was possible to change the timer for “last hour energy”. Therefore, my plugwise no saves a value every 15 minutes instead of every hour.
The problem is that the binding does not like it In the log i can see the following:
23:17:37.747 [INFO ] [marthome.event.ItemStateChangedEvent] - KHlschrank_LastHourEnergy changed from 0.00027882094519450284 to 0.00025974651542461904
23:17:37.902 [INFO ] [marthome.event.ItemStateChangedEvent] - KHlschrank_LastHourEnergy changed from 0.00025974651542461904 to 0.00027882094519450284
the problem is that the first value is the value for the last 15 minutes, but it will be overwritten by an older one just a few ms later. because there is no good possibility to match the value with the right timestamp (there is the same problem) i am a bit helpless. maybe i miss something here.
Hey, thanks that worked very well, but there is one problem. the clock of three plugwise are wrong and these three plugwise have the same problem (two changes at one time):
22:40:41.191 [INFO ] [marthome.event.ItemStateChangedEvent] - KHlschrank_LastHourEnergy changed from 0.01202054376898652 to 0.00006493662885615476
22:40:41.216 [INFO ] [marthome.event.ItemStateChangedEvent] - KHlschrank_LastHourEnergyTime changed from 2017-09-10T23:15:00.000+0200 to 2017-09-10T22:30:00.000+0200
22:40:41.361 [INFO ] [marthome.event.ItemStateChangedEvent] - KHlschrank_LastHourEnergy changed from 0.00006493662885615476 to 0.01202054376898652
22:40:41.382 [INFO ] [marthome.event.ItemStateChangedEvent] - KHlschrank_LastHourEnergyTime changed from 2017-09-10T22:30:00.000+0200 to 2017-09-10T23:15:00.000+0200
is there a routine to sync the clock? or do i have to sync them manually with the source software?
I’ve submitted a fix for this last week and it was merged on September 7th. It looks like the fix is part of the latest 2.2.0-SNAPSHOT build (#1035). So you might want to upgrade to the latest greatest!