Open percy10442 opened 1 year ago
It will be very difficult to determine the problem without serial logs.
It will be very difficult to determine the problem without serial logs.
The webserver show the below information. 15:50:34 | [E] | [json:039] | Could not allocate memory for JSON document! Requested 408 bytes, largest free heap block: 408 bytes |
---|---|---|---|
15:50:34 | [E] | [json:039] | Could not allocate memory for JSON document! Requested 240 bytes, largest free heap block: 240 bytes |
15:50:34 | [E] | [json:039] | Could not allocate memory for JSON document! Requested 240 bytes, largest free heap block: 240 bytes |
15:50:34 | [E] | [json:039] | Could not allocate memory for JSON document! Requested 192 bytes, largest free heap block: 192 bytes |
The logs show the below information. INFO ESPHome 2023.8.1 INFO Reading configuration /config/esphome/master-bedroom.yaml... INFO Starting log output from master-bedroom.local using esphome API WARNING Can't connect to ESPHome API for master-bedroom.local: Error connecting to ('192.168.0.99', 6053): [Errno 111] Connect call failed ('192.168.0.99', 6053) (SocketAPIError) INFO Trying to connect to master-bedroom.local in the background
If I remove the number about LD2410, it will works fine on HA.
Oh, I didn't notice that you have the web server as well. You might have too many things for an 8266. Do you need the web server? Try removing it.
Oh, I didn't notice that you have the web server as well. You might have too many things for an 8266. Do you need the web server? Try removing it.
I had tried removing it, but it has the same issue. In Esphome 7.1, it work fine.
As a result, I removed MQTT publishing and ESPhome ran normally.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The problem
If I write the number in yaml about LD2410, it can't connect HA API.
number:
Which version of ESPHome has the issue?
2023.8.1
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2023.8
What platform are you using?
ESP8266
Board
D1 mini
Component causing the issue
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response