syssi / esphome-seplos-bms

ESPHome component to monitor a Seplos Battery Management System (Seplos-BMS) via UART or RS485
Apache License 2.0
61 stars 27 forks source link

Invalid Header #86

Open sragneau opened 6 months ago

sragneau commented 6 months ago

Hi,

I have an 10E version of the BMS SEPLOS V2 but i can't receive any data from RS485 bus. I bought this boad : and I checked baudrates and it's 19200 like i need when i connect my laptop to the BMS and no problem when i do that.

I used pin D1 and D2 to solder TX, RX connector. image

I downloaded debug logs, i don't know if there is something i can do now. logs_seplos_logs (1).txt

syssi commented 6 months ago

How did you connect the ESP to the BMS? Which RS485 module do you use?

sragneau commented 6 months ago

The first port called canbus is connected to my victron cerbox gx, i connect the esp with the next port called RS485A.

syssi commented 6 months ago

You cannot talk directly to the BMS (AFAIK). You have to translate the UART-TTL signal of the ESP into an RS485 signal using a converter module which looks like this: https://raw.githubusercontent.com/syssi/esphome-jnge-mppt-controller/main/images/circuit.jpg

sragneau commented 6 months ago

Ok my links wasn't written into my first post, but i already use this board to convert uart-ttl : image

to this esp image

syssi commented 6 months ago

Perfect! If you disconnect the BMS from the RS485 module. Does the TX LED blink periodically while the RX LED stays off?

sragneau commented 6 months ago

The tx esp ligth blink every 10s. RX led stay off

1708249707284 1708249707292

I took pictures of my connection

syssi commented 6 months ago

Could you provide your YAML configuration too?

sragneau commented 6 months ago

Yes this my yaml seplos.txt

sragneau commented 6 months ago

It may be that communication between my Cerbo GX and the Victron protocol cannot be used simultaneously with RS485 communication. Do you incorporate the Pylontech protocol in your software?