It looks like PVO is rejecting your upload because the Power value you’re sending is negative, in this case -6. The Power field is the amount of Power the house is using, eg, 2000W if the kettle is on, or 0W is nobody is home (or rather the solar PV is covering the baseload).
Crucially, It’s NOT what’s happening at the meter, i.e. 2000W with the kettle on, or -2000W when the PV is exporting.
You may need to a a new logged value to EmonCMS, something along the lines of, Power (at the meter), but with the “Allow Positive” filter and then logged. This filter stops the feed going negative. Then feed this new value into my PVO Node Red code.
Hi Lee
And a big thank you for your reply.
I am so new to this, That I need to learn how it all links together.
The only way I manage to get it uploading was trial and error (whim and a prayer) not understanding how it all works.
Only had my emonpi a week and hadn’t heard of nod red till coming to the forum.
Sorry for the my life history lesson. So now to understand how emoncsm works to hopefully know what’s going on.
Is the a dummy’s guide or best place to understand the the prosses of how it all links together
Thanks again Lee
once the inverter has powered down approx. 25 minute, it starts to post on pvoutput again.
I know I am trying to run before I can walk.
I’ve tried your suggestion but still not fully understanding have made no progress.
I tried +positive before the log to feed in power2 inputs and that zeroed in my graph ok but still error on upload.
I just hope I’m no screwing anything up
sorry to be a pain
I suspect the problem lies elsewhere and I would welcome clarification from someone who is more familiar with the operation of the emonpi/emonbase than I am.
I have had a quick look at the node red code from the previous post (PVOutput.txt) that Paul said he used as his starting point.
The inputs that are used are from ‘mqtt in’ nodes. In terms of overall data flow through the open energy monitor system, I understand mqtt is earlier in the data flow into emoncms than the ‘inputs’. The figure below is from the guide and shows the MQTT broker between the emonHUB service and the Local Emoncms.
So including an emoncms input process to ensure the power2 value is positive will have no effect on the information being processed by node red.
Assuming Paul has not made too many changes to the PVOutput.txt node red code, I suggest looking at the node that was called ‘store power 2’ and find a suitable place in that routine to block the negative values.
I hope this helps.
Simon thank you for the diagram.
I have so much to learn and the diagram gives me a starting point to work through how all the processes work.
Thanks again for your time, much appreciated.