I noticed that the wemo insight plug returns 11 different parameters, but only a few of these are bound at the moment. A little digging on the internet along with some trial and error has revealed most of them, and I thought it’d be a good a place as any for me to have a go at contributing something back by adding these to the binding.
Before I attempt to start on this, is anyone already looking into it?
Also if anyone has any additional input on identifying the params please let me know. At the moment I have the following, but I don’t know for sure if there’s any variation between models. Those in bold are the values I’m proposing to add:
1: on/off state
2: lastChangedAt (unix timestamp, convert to dateTime)
6: timespan (this is the time used to calc avg time/day based on onTotal. Reported in seconds)
7: averagePower (Watts, ? over what period this is calculated, doesn’t seem to use timespan or onTotal)
8: currentPower (mW)
9: energyToday (mW mins, convert to Wh?)
10: energyTotal (mW mins, convert to Wh?)
11: 8000 (fixed, static number?)
I’m thinking energy would be better converted directly in the binding to Wh than mWmins, any thoughts on that?
Final question - are there standard names for any of these settings in openHAB, or are they unique to each binding? The names above are just what I thought explained them succinctly.