Open Elektrofix-OL opened 8 months ago
Unfortunately I've no idea what's going on here. Could you try to interface a single balancer? I assume there is a timing issue which gets worth if the BLE traffic increases.
Did you rename your neey's? That's maybe solve this problem. Use different names
Exactly the same issue here. There are 2 ESP32s connecting via BT to 2 Neey balancers each. However, I skipped the single-cell datapoints to reduce traffic. Neeys are renamed. I´ll try a single ESP32 for each of the balancers and report back.
Please make sure you are using the latest ESPHome release (2023.11!). The ble_client
implementation was buggy in the past so multiple connections wasn't possible / all traffic was routed to the first BLE client connection and did confuse the remote device probably.
It seems as the ESP32s run stable when they have to deal with 1 BT connection only. Using the lastest ESPhome release and multiple BT connections still led to sporadic disconnects. That's why I now use a separate ESP32 for each of the 4 balancers.
FYI I experienced the same with WEMOS-S3-MINI with these settings:
esphome: name: ${name} platformio_options: platform: https://github.com/platformio/platform-espressif32.git board: lolin_s3_mini framework: espidf board_build.flash_mode: dio build_unflags: -Werror=all
esp32: variant: esp32s3 board: lolin_s3_mini flash_size: 4MB framework: type: esp-idf version: latest sdkconfig_options: CONFIG_ESPTOOLPY_FLASHSIZE_4MB: y
FYI I have had good results with "different throttle time" settings for each ble_client:
heltec_balancer_ble:
I have the problem that the ESP32 loses the connection to the two NEEY balancers via BT. Only “nan” is transmitted as measured values.I have the problem with all versions of ESPHome and have already gone back to version 2023.5.4, but after an indefinite period of time (3 hours or 7 days) I no longer receive any data. My Yamel:
The displays in the LOG:
Before time to time comes:
If I unplug the ESP32 and restart it, everything is OK. I've already changed the board, no success. What am I doing wrong?