Hey
Some years ago, I was interested in this project: https://github.com/crjens/PiPowerMeter
I got some of his boards and after quite some tinkering, I got it working.
Because I was not happy with the accuracy and didn't have the time to make it work properly, I left this project in the cupboard.
Now I want to give it another try. Unfortunately doing the install described on the github page is not working as there are many dependency errors.
As I'm now using Node-Red and InFluxdb for many of my home projects, I'd rather just implement this power meter into it.
Ideally, I have a node in Node-Red, where I can just inject a message saying which current channel, voltage channel and correction factor to use. And it would output a message containing current, voltage and power.
But how do I go about that? I can do some basic Javascript to make function nodes, but I have no clue on how to insert such a large amount of functions into 1 node.
Anybody that can give me some pointers, guides, help... so I can make this work?
Thanks a lot!