syssi / esphome-jk-bms

ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE
Apache License 2.0
483 stars 163 forks source link

http_request.post and mqtt not work #383

Closed rdaguerre closed 1 year ago

rdaguerre commented 1 year ago

Hello, I was trying for a long time to get the mqtt to work while I was reading the jk bms via bluetooth and it did not publish the sensors. After many attempts I wanted to send it via http_request.post and I couldn't either. It gives me an error when trying to connect to the server. Now activate the UART function and the board restarts. It is a heltec lora 32 v2. I would appreciate it if you could tell me what I could do to send the data online to the HA. greetings and thanks

syssi commented 1 year ago

If you are a Home Assistant user why do you prefer mqtt of api? Do you have a JK-BMS or Heltec Balancer? Which example YAML did you use? Should we discuss the BLE or UART connection variant?