wildmountainfarms / solarthing

Monitors an Outback MATE, Renogy Rover - MPPT Charge Controller and EPEver Tracer. Integrates with Grafana, PVOutput and more!
https://solarthing.readthedocs.io
MIT License
127 stars 28 forks source link

Support consumed power upload to PVOutput with Rover #32

Closed alx-k closed 3 years ago

alx-k commented 3 years ago

Would it be possible to make the Renogy Rover also output its used power to PVOutput? If I understand it right, this is where energy generation and consumption are set for upload but consumption is only set for fx inverter packets at the moment.

retrodaredevil commented 3 years ago

I just committed a fix for this. If you could run git pull, then compile SolarThing yourself by running ./compile_and_move.sh, once you restart solarthing-pvoutput, it should upload the consumption.

For some reason I only had it upload consumption if FX inverter packets were present, but I actually had the functionality for Rover consumption completed already, so it was a simple fix.

alx-k commented 3 years ago

OK, I pulled the changes and ran the compile script and everything seems to be working fine now, thanks for the quick fix!

alx-k commented 3 years ago

I was probably a little bit fast on closing this issue, energy conumption is now uploaded, but power consumption (parameter v4) is still always 0.

alx-k commented 3 years ago

I just wanted to add that I looked at the packets in couchdb and "loadPower" isn't actually 0. (So there's actually something wrong)

retrodaredevil commented 3 years ago

Huh. Thanks for pointing that out. The cause of that was actually a bug I probably wouldn't have found. Try pulling and recompiling now.

alx-k commented 3 years ago

Yep, everything is working perfectly fine now, thanks again!