Post by retrodaredevil on Aug 24, 2019 17:07:58 GMT
I'm using my own program (mentioned in this thread: renogy.boards.net/thread/535/using-rj11-cable-connect-raspberry ) to set values from the Renogy Rover Modbus document.
I am able to set the battery type, load working mode, system battery voltage (and even recognized battery voltage (why?)), and I'm sure a few others.
Also for reference, I am testing on a 24V system. This might work differently for 12V systems.
I cannot set any of the voltage values such as over voltage threshold, floating charging time, under voltage warning level, etc. I am trying to set these values by writing to 0xE005 to 0xE013. However, the documentation mentions this:
"Setting range:
(7 to 17) V
E.g.:
when the over-voltage threshold needs to be set to 17.0 V and one decimal place is to be kept, first multiply the figure by 10, i.e. 17.0V * 10 = 170V, then convert it to a hexadecimal value 00AAH, and next write the value into 0103H."
(7 to 17) V
E.g.:
when the over-voltage threshold needs to be set to 17.0 V and one decimal place is to be kept, first multiply the figure by 10, i.e. 17.0V * 10 = 170V, then convert it to a hexadecimal value 00AAH, and next write the value into 0103H."
I'm very confused as to why it tells me to write to 0x0103. If I were to read from 0x0103, I would get the temperature. If I were to write to 0x0103, then 0x0104 for the next, etc, I would eventually run into 0x010A which turns the street light (load) on and off. Plus, if I do set 0x010A to 1, setting it back to 0 does nothing! To turn the load off, I set the load working mode to 14 then back to 15. I'm sure there are other ways of turning the load off, but setting 0x010A to 0 is not one of them...
Also, because I have a 24V system, I figured that if I want to set something to 22.2, the raw value I'd be using is 111. If that's incorrect, please tell me as that might be my whole problem. But again, the documentation doesn't mention that.
Another inconsistency I've found in the documentation is everything involving kWH. It tells us to divide by 10,000, when I think we are really supposed to just divide by 1,000. I'm sure there are a few more inconsistencies in the documentation, but I haven't found them yet.
Is this the fault of my own program? Can anyone help me figure out a way to set some of these values without buying a bluetooth module? The documentation clearly has some inconsistencies and most of the custom programs made for this don't set values and don't use all the data from the rover...
If you haven't done this before, this is the documentation: renogy.boards.net/thread/266/rover-modbus