node-red-contrib-power-monitor icon indicating copy to clipboard operation
node-red-contrib-power-monitor copied to clipboard

Nice idea - request

Open bakman2 opened this issue 6 years ago • 3 comments

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.

bakman2 avatar Sep 24 '18 15:09 bakman2

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.

xoseperez avatar Sep 19 '21 10:09 xoseperez

Xose... great work on this new version. I am really anxious for your PR containing "watts" passthrough.

swilson86 avatar Sep 21 '21 09:09 swilson86

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?

xoseperez avatar Sep 21 '21 09:09 xoseperez