MaffooClock / SerialRenogy

A NodeJS utility to retrieve data from a Renogy solar controllers via RS-232 and serve it as a Prometheus metrics endpoint for display in Grafana.
MIT License
2 stars 0 forks source link

Battery Capacity doesnt seem to be returning correctly #3

Open ecam315 opened 1 day ago

ecam315 commented 1 day ago

battery shows 100% even when on battery overnight, Based on calculations, it should be dropping to something around 95% by morning.

MaffooClock commented 1 day ago

Care to share what hardware you're using?

I haven't observed this problem with my Rover nor Wanderer. If there's something wrong with the data, I would be inclined to think it's the controller, not this utility -- all this utility does is read various registers to retrieve the data (with minimal processing for data that needs it).

Battery capacity, in particular, is read straight from the register without any processing.

Here's a screenshot from Grafana of battery capacity from my Renogy Rover 20A for the past 7 days, just to prove my sanity: screenshot from Grafana showing battery capacity over past 7 days

I guess it's possible Renogy might have changed the firmware in more recent models to have different register addresses, in which case this utility would then be trying to read the wrong data.

You could view http://<host>:<port>/info.json to see the model and hardware/software versions.

ecam315 commented 1 day ago

{"controllerV":24,"controllerC":20,"controllerDischgC":20,"controllerType":"Controller","controllerModel":"RNG-CTRL-RVR20","softwareVersion":"V4.1.1","hardwareVersion":"V0.0.6","serialNumber":1444147,"controllerAddress":1}

It is a Rover Li 20 amp.

I just looked back over the last 7 days, and it did actually drop down to 97% after a day of low production.

image

So, maybe false report on my end, I shut the panel off today for testing.