byte4geek / SEPLOS_MQTT

Read data From Seplos BMS and send them to the Home Assistant
GNU General Public License v3.0
39 stars 13 forks source link

Multiple Seplos BMS #14

Closed BarkinSpider closed 5 months ago

BarkinSpider commented 12 months ago

Thanks for the great code. Do you have any information about what data is returned when you have a master BMS and multiple slaves attached? I have 4 of the Seplos/Mason 48v boxes. Do you need a RS485 connection to each box or can you just query the master?

xjustbmw commented 12 months ago

not sure you can query at all if they already use the rs485 for parallel connection. what bms version you got ?

BarkinSpider commented 12 months ago

Hi, they have dual RS485 ports on the Mason boxes. The use the V2 BMS. I will hook them up with my Pi4 next week and find out what happens.

See docs attached

I will be adding a Grafana interface if it works. Look at my Git code to see what that will look like. I have coded many BMS/inverters/charge controllers already.

What cable did you use? What is the RJ45 pinout?

Like that you got the comms working in just SH, I had to use Python up till now.

Thanks ... Joe

On Tue, Nov 7, 2023, 7:59 AM xjustbmw @.***> wrote:

not sure you can query at all if they already use the rs485 for parallel connection. what bms version you got ?

— Reply to this email directly, view it on GitHub https://github.com/byte4geek/SEPLOS_MQTT/issues/14#issuecomment-1799023588, or unsubscribe https://github.com/notifications/unsubscribe-auth/APZVK2X7AJ66BR7LTVOGXQLYDJLGDAVCNFSM6AAAAAA7BNISESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJZGAZDGNJYHA . You are receiving this because you authored the thread.Message ID: @.***>

xjustbmw commented 12 months ago

I am also with seplos v2 , waiting for a neey to balance the pack. The internal passive balancer takes forever.

From what i read on an offgrid garage video, the master battery unfortunately cannot be read anymore with v2 seplos in parallel mode.

the new V3 of the seplos bms still has a parallel mode that you can use to monitor all your batteries.

A different ideea would be to monitor all of them over a wifi->bluetooth gateway.

regards, Adrian

xjustbmw commented 12 months ago

regarding the pinout, I used pin 7 and 8 for A and B.

riogrande75 commented 11 months ago

Playing arround with this issue as well... If you interconnect some seplos bms' (V16 in my case), the master polls slave id's on the RS485 bus with following commands every second: ~2001465A0000FD9D ~2001465AC04000010BF40BAD0B8D0B85FFDE12E51E2B6D60011312E900000000000003028010EFE5 ~2001465A0000FD9D ~2001465AC04000010BF40BAD0B8D0B85FFDC12E51E2B6D60011312E900000000000003028010EFE7 ~2001465A0000FD9D ~2001465AC04000010BF40BAD0B8D0B85FFDC12E51E2B6D60011312E900000000000003028010EFE7 ~2001465A0000FD9D ~2001465AC04000010BF40BAD0B8D0B85FFDC12E51E2B6D60011312E900000000000003028010EFE7 There is no documentation about CID2 0x5A so far, but decoding seems not too complicated.

As the master box takes over the (RS485) busmuster functionality, you cannot poll anything on that bus unless you're ok with lots of collisions. If you are interrested in every single battery's voltage,etc., you could poll all slaves but don't get the info from the master battery.

BarkinSpider commented 11 months ago

Hi, finally got around to trying your code. Running the query script all I can get is

Response: "~2001465A0000FD9D" — same as your result above, but no data line.

Nothing else. I using the cable supplied by seplos for PC connection. Ive tried all port and dip switch combinations. Any ideas? Thanks … Joe.

riogrande75 commented 11 months ago

~2001465A0000FD9D ist just a query command from the master battery. You obviously captured just this one. If you can't see a reply from a slave battery, I guess there is currently no communication between your batteries.

kasperbirk commented 8 months ago

Hello. Great job with this code! I am curious about this issue, because I just upgraded my to batteries with seplos cases and already uses Home Assistant. Is there any news about this?

ddonq1412 commented 5 months ago

Would be interested getting this to work for V2 BMSs currently have 3 units. Have knocked off the inverter Comms for slaves to get this working for home assistant.

byte4geek commented 5 months ago

i do not have version 2, and now installed the version 3 and i use this https://github.com/syssi/esphome-seplos-bms to monitor it.