I have two esp32s that used to function well with HA. Then HA lost the connection to one of them, and a week later the other. Now I get the in HA-Settings-Entities:
“This entity is no longer being provided by the esphome integration. If the entity is no longer in use, delete it in settings.”
I the panels it says “Unavailable” on all entities.
My guess is 1) network problem 2) hardware problem 3) something else
- Both ESPs have status as “ONLINE” in ESPHome. One has signal strength -74 db, the other -54 db (with external antennae)
- The values from the logs show that its working
- I haven´t a clue
I´m not sure if there is any reason to include the yaml-code of the ESPs, as it were working before, with no changes after that.
I can include the yaml and the install-log of one of the ESPs below in case anyone can spot something.
Any help for solving this mystery will be greatly appreciated.
Stig
esphome:
name: planteskap
esp32:
board: nodemcu-32s
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "c8d2a4b3401b4435049876ed12dd6848"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Optional manual IP
manual_ip:
static_ip: 192.168.100.25
gateway: 192.168.100.1
subnet: 255.255.255.0
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Planteskap Fallback Hotspot"
password: "Q8A2JteRx4Ug"
# Set the local domain to .local
#domain: .local
captive_portal:
dallas:
pin: GPIO22
sensor:
# Blå ledning
- platform: adc
pin: GPIO33
name: "ps_hovedtank"
raw: true
update_interval: 1s
# Grønn ledning
- platform: adc
pin: GPIO32
name: "ps_pumpe1"
raw: true
update_interval: 1s
# Gul ledning
- platform: adc
pin: GPIO35
name: "ps_pumpe2"
raw: true
update_interval: 1s
# Oransj ledning
- platform: adc
pin: GPIO34
name: "ps_vannkar"
raw: true
update_interval: 1s
# Rød ledning
- platform: adc
pin: GPIO39
name: "ps_spiretank"
raw: true
update_interval: 1s
# Brun ledning
- platform: adc
pin: GPIO36
name: "ps_spirekar"
raw: true
update_interval: 1s
# Legg til sensor og switch fra den andre YAML-filen
- platform: dallas
address: 0x5B00000014898828
name: "Temp_skap"
INFO Reading configuration /config/esphome/planteskap.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing planteskap (board: nodemcu-32s; framework: arduino; platform: platformio/espressif32 @ 3.3.2)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
Dependency Graph
|-- <AsyncTCP-esphome> 1.2.2
|-- <WiFi> 1.0
|-- <FS> 1.0
|-- <Update> 1.0
|-- <ESPAsyncWebServer-esphome> 2.1.0
| |-- <AsyncTCP-esphome> 1.2.2
|-- <DNSServer> 1.1.0
|-- <ESPmDNS> 1.0
Compiling /data/planteskap/.pioenvs/planteskap/src/main.cpp.o
Linking /data/planteskap/.pioenvs/planteskap/firmware.elf
RAM: [= ] 12.7% (used 41748 bytes from 327680 bytes)
Flash: [===== ] 50.3% (used 922586 bytes from 1835008 bytes)
Building /data/planteskap/.pioenvs/planteskap/firmware.bin
========================= [SUCCESS] Took 33.54 seconds =========================
INFO Successfully compiled program.
esptool.py v3.2
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP32-D0WD (revision 1)
Features: WiFi, BT, Dual Core, Coding Scheme None
Crystal is 40MHz
MAC: 30:ae:a4:96:f0:94
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00010000 to 0x000f1fff...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Compressed 922688 bytes to 525834...
Wrote 922688 bytes (525834 compressed) at 0x00010000 in 12.6 seconds (effective 583.6 kbit/s)...
Hash of data verified.
Compressed 17104 bytes to 11191...
Wrote 17104 bytes (11191 compressed) at 0x00001000 in 0.5 seconds (effective 258.8 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 144...
Wrote 3072 bytes (144 compressed) at 0x00008000 in 0.1 seconds (effective 402.9 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 563.3 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
INFO Successfully uploaded program.
INFO Starting log output from /dev/ttyUSB0 with baud rate 115200
[18:17:59][E][esp32-hal-misc.c:111] disableCore1WDT(): Failed to remove Core 1 IDLE task from WDT
[18:17:59][I][logger:214]: Log initialized
[18:17:59][C][ota:458]: There have been 0 suspected unsuccessful boot attempts.
[18:17:59][D][esp32.preferences:114]: Saving preferences to flash...
[18:17:59][I][app:029]: Running through setup()...
[18:17:59][C][dallas.sensor:032]: Setting up DallasComponent...
[18:17:59][E][dallas.sensor:173]: Reading scratchpad failed: reset
[18:17:59][C][adc:020]: Setting up ADC 'ps_hovedtank'...
[18:17:59][C][adc:020]: Setting up ADC 'ps_pumpe1'...
[18:17:59][C][adc:020]: Setting up ADC 'ps_pumpe2'...
[18:17:59][C][adc:020]: Setting up ADC 'ps_vannkar'...
[18:17:59][C][adc:020]: Setting up ADC 'ps_spiretank'...
[18:17:59][C][adc:020]: Setting up ADC 'ps_spirekar'...
[18:17:59][C][wifi:037]: Setting up WiFi...
[18:17:59][D][wifi:370]: Starting scan...
[18:17:59][E][dallas.sensor:113]: Requesting conversion failed
[18:17:59][D][sensor:113]: 'ps_spiretank': Sending state 100.00000 V with 2 decimals of accuracy
[18:17:59][D][sensor:113]: 'ps_spirekar': Sending state 3.00000 V with 2 decimals of accuracy
[18:17:59][D][sensor:113]: 'ps_pumpe1': Sending state 2336.00000 V with 2 decimals of accuracy
[18:17:59][D][sensor:113]: 'ps_pumpe2': Sending state 272.00000 V with 2 decimals of accuracy
[18:17:59][D][sensor:113]: 'ps_hovedtank': Sending state 1668.00000 V with 2 decimals of accuracy
[18:17:59][D][sensor:113]: 'ps_vannkar': Sending state 157.00000 V with 2 decimals of accuracy
[18:18:00][D][sensor:113]: 'ps_spiretank': Sending state 0.00000 V with 2 decimals of accuracy