Skip to content
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

unhandled data and bad header #96

Open
FritsOV opened this issue Apr 26, 2024 · 2 comments
Open

unhandled data and bad header #96

FritsOV opened this issue Apr 26, 2024 · 2 comments

Comments

@FritsOV
Copy link

FritsOV commented Apr 26, 2024

In adition to post: https://github.com/syssi/esphome-seplos-bms/issues/86 and https://github.com/syssi/esphome-seplos-bms/issues/67
I also use the Seplos BMS 48200-1101-10E-SP118-16S (or 1101-4800-10E-BOM-V16-57FTDJR) in a Daly Green mason attached to 3 Victron multiplus II.
I managed to setup a esp8266 lilo with a ttl as described here https://github.com/syssi/esphome-seplos-bms/discussions/55#discussioncomment-9228944

I am getting some errors like unhandled data, bad header and failed CRC check.
logs_esphome-web-761f72_logs.txt

how to resolve these errors?

@syssi
Copy link
Owner

syssi commented Apr 29, 2024

Some thoughts:

  1. The unhandled messages/warnings are fine and can be ignored. These are frames of frame type 0x5A. I don't know what the frame is used for. This frame type isn't implemented and therefor reported as unhandled. Do you know any details? Could you ask your seller/manufacturer about some details of this protocol flavor?
  2. I assume the CRC errors can be reduced if a hardware UART is used instead of software serial (GPIO4/GPIO5). If you want to use the hardware UART you have to use GPIO1/GPIO3 and disable the logger (baud_rate: 0) here.

In general your setup is working properly and you are missing just a frame every now and then.

@FritsOV
Copy link
Author

FritsOV commented May 6, 2024

I already did and got the offer for an online meeting. I'm not a programmer but if you want to i can set this meeting including you.
I never could get the code working using the hardware uart. Could give it another try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants