Hi folks,
I need to measure power consumption of some of my devices at home. And since I had somewhere an unused brand new Belkin Wemo Insight F7c029 plug lying around, I tried to install it. What a hell... Took me 2 hours, and - after resetting the factory defaults about 12 times - it was finally accessible via the node/node-red-node-wemo nodes. Major thanks to Dave, Nick and Ben!!!!!!!!!!!!!! Don't know how they managed to implement those nodes, because the official Belkin Android app is still not able to detect and show the damn device .
Anyway it is working now in Node-RED:
-
I can turn the switch on and off.
-
I can read the current state:
However this device can also measure the power consumption. So I had expected/hoped to have some more information in the output msg (like here), and not only the binary state of the device:
binaryState: params[0],
instantPower: params[7],
iinsightParams: {
ONSince: params[1],
OnFor: params[2],
TodayONTime: params[3],
TodayConsumed: params[8] // power consumer today (mW per minute)
}
When looking at the wemo.js it is not clear to me what would be the best/easiest way to add this functionality to this Node-RED node. Does anybody have a tip about which approach I should use?
Thanks !!!
Bart