Closed voed closed 9 months ago
Add to your config, and flash again:
debug:
sensor:
- platform: template
name: Free HEAP
lambda: return heap_caps_get_free_size(MALLOC_CAP_INTERNAL);
icon: "mdi:memory"
entity_category: diagnostic
state_class: measurement
unit_of_measurement: "b"
update_interval: 60s
- platform: uptime
name: Uptime
- platform: debug
free:
name: Free MEM
Wait for some time and look at the graphs.
The problem
I am trying to parse BLE notification result with ble_client sensor, but running this code using arduino framework causes memory corruption and crash. With esp-idf it works fine. The response from server looks like this:
Or even array of zeros
Which version of ESPHome has the issue?
2022.9
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2022.9.6
What platform are you using?
ESP32
Board
nodemcu-32s
Component causing the issue
ble_client
Example YAML snippet
Anything in the logs that might be useful for us?