-
-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Renogy - Multi battery setup documentation #1099
Comments
@TheVodden could you do that?
Please add some pictures/screenshots, so that others could follow more easily. I will add this then to the documentation. |
I’m currently on vacation without a laptop but I’ll do my best to explain how it’s done. When I get back, I can post more comprehensive instructions with pics etc.
My batteries were auto addressed by the Renogy rs485 battery monitor. I’ve made the assumption that the BT2 addresses them in the same manner but can’t confirm. 0x30 was the battery closest to the monitor and +1 each battery getting further away from the controller/monitor. Batteries are wired as per Renogy instructions [here](https://www.renogy.com/content/RBT100LFP12SH-US/LFP100SH-Manual.pdf). See page 8. Because the Cerbo will act as the master, you will need to unplug the BT2/battery monitor so communication collisions don’t occur.
I confirmed addresses using a modbus program called QModMaster. Im quite familiar with this program but its fairly straightforward. You can connect to each battery individually with a laptop and the same cable you use to connect to the Cerbo. Connect to each battery individually, (485 ports on batteries not wired together) using function code 0x03, polling slave address 255 (broadcast address), and start address 5223 (1467 HEX) setting number of registers to 1. This will return each battery address you plug into. A full list of battery registers is found [here](https://objects.githubusercontent.com/github-production-repository-file-5c1aeb/431221128/8134043?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240714%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240714T212031Z&X-Amz-Expires=300&X-Amz-Signature=b76d6dc1e822788ee4530522fcd8fc961f0bbe05e8ddc2d3811c6877657b9c09&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=431221128&response-content-disposition=attachment%3Bfilename%3DLithium.Iron.Battery.BMS.Modbus.Protocol.V1.7.zh-CN.en.1.pdf&response-content-type=application%2Fpdf) if you want to poll additional data (handy for troubleshooting) Optionally, if different addresses are returned, you can write a new address to the device by changing the function code to write holding registers, but it seems unlikely you should need to do this.
That is basic setup. In general, follow the manufacturers instructions and everything should work out.
…________________________________
From: Manuel ***@***.***>
Sent: Sunday, July 14, 2024 1:01:57 PM
To: Louisvdw/dbus-serialbattery ***@***.***>
Cc: TheVodden ***@***.***>; Mention ***@***.***>
Subject: Re: [Louisvdw/dbus-serialbattery] Renogy - Multi battery setup documentation (Issue #1099)
@TheVodden<https://github.com/TheVodden> could you do that?
1. Describe how you need to prepare the batteries, to get the correct addresses
2. How to connect the batteries correctly
3. How to setup the driver correctly
Please add some pictures/screenshots, so that others could follow more easily. I will add this then to the documentation.
—
Reply to this email directly, view it on GitHub<#1099 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BJI35IFASKIBWOS42QVN2ODZMLKLLAVCNFSM6AAAAABK3NJKQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGQ3DONZXGE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I had used the BT2 first, not the RS485 battery monitor. EDIT: I have no idea why my batteries do not report their serial numbers. I do not know enough of modbus to even contemplate trying to connect directly to the batteries to try to figure that out. @TheVodden do you have the same batteries? and if so, what firmware are they on. Mine are v1.31 according to the Renogy app. I have not been able to find a different firmware on the renogy site, so updating would probably not be an option anyway. |
Hi, I will change that for Renogy batteries to use the port as unique identifier by default. They seem to not provide this info or do you see the serial number in their software? |
The port is now used for the unique identifier for the Renogy battery as default. See mr-manuel@ed1950b. |
"do you see the serial number in their software?" I have not been alle to find anything in the renogy app that provides a unique number of each battery. Only a numbering 1 through 4 (in my case) based on the rs485 daisychain connection. |
Is your feature request related to a problem? Please describe.
Create a documentation on how to connect multiple Renogy batteries to one serial adapter.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: