syssi / esphome-seplos-bms

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

Assemble any requests #7

Closed syssi closed 2 years ago

syssi commented 2 years ago
  1. Add the device address from config to the frame
  2. Calculate LENID: https://github.com/Frankkkkk/python-pylontech/blob/master/pylontech/pylontech.py#L114-L124
  3. Append Checksum
  4. Pass CID1, CID2 & value

At the moment the telemetry request is hardcoded to: "~20004642E00200FD37\r"