{"action":"opened","issue":{"url":"https://api.github.com/repos/openhab/openhab2/issues/545","labels_url":"https://api.github.com/repos/openhab/openhab2/issues/545/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab2/issues/545/comments","events_url":"https://api.github.com/repos/openhab/openhab2/issues/545/events","html_url":"https://github.com/openhab/openhab2/issues/545","id":121870105,"number":545,"title":"Wemo Insight - additional parameters","user":{"login":"toby200","id":11297036,"avatar_url":"https://avatars.githubusercontent.com/u/11297036?v=3","gravatar_id":"","url":"https://api.github.com/users/toby200","html_url":"https://github.com/toby200","followers_url":"https://api.github.com/users/toby200/followers","following_url":"https://api.github.com/users/toby200/following{/other_user}","gists_url":"https://api.github.com/users/toby200/gists{/gist_id}","starred_url":"https://api.github.com/users/toby200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toby200/subscriptions","organizations_url":"https://api.github.com/users/toby200/orgs","repos_url":"https://api.github.com/users/toby200/repos","events_url":"https://api.github.com/users/toby200/events{/privacy}","received_events_url":"https://api.github.com/users/toby200/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-12T18:16:37Z","updated_at":"2015-12-12T18:16:37Z","closed_at":null,"body":"\r\n\r\nAs discussed on the forum with @hmerk - The wemo insight plug returns a list of 11 parameters; currently the binding only returns a subset of them. It'd be great if the other parameters could also be added to the binding\r\n\r\nThe full list, as far as I can work out / gather from the internet, is as below.\r\n\r\n1: on/off state\r\n2: lastChangedAt (long, unix timestamp)\r\n3: lastOnFor\r\n4: onToday\r\n5: onTotal\r\n6: timespan (this is the time used to calc avg time/day based on onTotal. Reported in seconds)\r\n7: averagePower (Watts, ? over what period this is calculated, doesn't seem to use timespan or onTotal)\r\n8: currentPower (mW)\r\n9: energyToday (mW mins, maybe better to convert to Wh?)\r\n10: energyTotal (mW mins, maybe better to convert to Wh?)\r\n11: 8000 (fixed, static number, no idea what this is for)\r\n\r\nIt looks like the timespan is normally capped at two weeks, but will give a lower figure if the device hasn't been used that long yet (or been reset)\r\n\r\nThanks,\r\nToby\r\n"}}