syssi / esphome-jbd-bms

ESPHome component to monitor and control a Xiaoxiang Battery Management System (JBD-BMS) via UART-TTL or BLE
Apache License 2.0
102 stars 28 forks source link

Is there a way to just get the data from serial? #62

Closed TjadenWright closed 10 months ago

TjadenWright commented 10 months ago

I want to just get the data from the battery through bluetooth to the esp32. Then the data in the esp32 will be sent to my computer through serial. Is there a way to disable WIFI and MQTT so that it only shows the data from bluetooth?

syssi commented 10 months ago

Do you want to parse the log messages or do you want to implement a serial protocol?

syssi commented 10 months ago

If you don't want to use MQTT just remove the mqtt section. Same applies to wifi. The components aren't required. I would disable the logger and write a message per sensor value to a dedicated uart.

TjadenWright commented 10 months ago

This works perfectly thank you! All I need was to get rid of it looking for wifi and mqtt all the time.