node-red-contrib-power-monitor
node-red-contrib-power-monitor copied to clipboard
Nice idea - request
I like this idea a lot, thanks for developing it!
It would make it more flexible if you could input something like:
{"name":"Livingroom lights", "watt":350}
use the key
as name and start/stop based on the name/value
So you can use one input/output node for multiple devices.
Also, devices that never turn off will never get a stop event. Would be nice if there was way to output the energy every x second/minutes. - This could be solved by sending node.status
to an additional output ? I can imagine this node being used for graphs/dashboards, realtime overview would be awesome.
I see these are actually two different issues:
- being able to use just one node to monitor multiple devices
- fixing the problem when the device stops reporting data while running
I'm merging soon a PR that reports energy on every input, still it won't work if the device stops sending data.
Xose... great work on this new version. I am really anxious for your PR containing "watts" passthrough.
Tracking multiple appliances with a single node might be tidier, still it will require solving some UX issues, like how do you update the node status?