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
405 stars 134 forks source link

http_request.post and mqtt not work #383

Closed rdaguerre closed 8 months ago

rdaguerre commented 8 months 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 8 months 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?