Closed prezes210 closed 1 year ago
This looks like an out of memory exception. Please remove most of the sensors and try again!
Thanks @syssi for super quick response. I've followed your advice but still no luck. I've removed all sensors and iam still getting OOM.
One more thing, I am running homeasstiance raspberry pi 4
. Maybe that is an issue.
My esphome config below.
substitutions:
name: jkbms-280-1
device_description: "Monitor and control a JK-BMS via UART-TTL"
external_components_source: github://syssi/esphome-jk-bms@main
tx_pin: GPIO1
rx_pin: GPIO3
esphome:
name: ${name}
comment: ${device_description}
project:
name: "syssi.esphome-jk-bms"
version: 1.3.0
esp8266:
board: d1_mini
external_components:
- source: ${external_components_source}
refresh: 0s
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ota:
logger:
baud_rate: 0
level: DEBUG
api:
uart:
id: uart0
baud_rate: 115200
rx_buffer_size: 384
tx_pin: ${tx_pin}
rx_pin: ${rx_pin}
debug:
direction: BOTH
jk_modbus:
id: modbus0
uart_id: uart0
rx_timeout: 50ms
jk_bms:
id: bms0
jk_modbus_id: modbus0
Hmm... this YAML should just work. Could you try another D1 mini to rule out a faulty ESP?
@syssi you were right. I used a brand new D1 mini and installation went without any issues. Thank you for support.
After flashing
Wemos D1 mini
iam getting OOM error during startup. I can observe this error when iam connected "locally" to wemos using serial port.Please see captured log: