Hallo,
im Rahmen meiner Heizungsüberwachung habe ich 12 Temperatursensoren verbaut, die gebündelt über z.B. ESP8266 Systeme abgefragt werden. Ich kann nun zwar das Addon ESPHome updaten (aktuell 2024.5.2), aber nicht mehr die eingesetzten Geräte.
Beim Übersetzen der neuen Software wird das Fehlen der packages ESP8266WiFi and ESP8266mDNS angezeigt. Dies passiert bei allen Gerätetypen (D1 mini, esp8266S01). Keine Ahnung wie und warum diese Dateien nicht mehr da sind.
Kann mir bitte jemand helfen, wie ich das Problem lösen kann. Vielen Dank.
Im folgenden das Log eines der aktuell laufenden Gerätes kompiliert mit ESPHome 2024.3.2 und weiter unten der Versuch der Installation mit ESPHome 2024.5.2 :
Logs esp826601s01.yaml
INFO ESPHome 2024.5.2
INFO Reading configuration /config/esphome/esp826601s01.yaml...
INFO Starting log output from 192.168.178.71 using esphome API
INFO Successfully connected to esp826601s01 @ 192.168.178.71 in 0.004s
INFO Successful handshake with esp826601s01 @ 192.168.178.71 in 2.638s
[19:36:13][app:102]: ESPHome version 2024.3.2 compiled on Apr 10 2024, 14:14:57
[19:36:13][C][wifi:580]: WiFi:
[19:36:13][C][wifi:408]: Local MAC: E8:DB:84:DC:4E:0B
[19:36:13][C][wifi:413]: SSID: [redacted]
[19:36:13][C][wifi:416]: IP Address: 192.168.178.71
[19:36:13][C][wifi:419]: BSSID: [redacted]
[19:36:13][C][wifi:421]: Hostname: 'esp826601s01'
[19:36:13][C][wifi:423]: Signal strength: -59 dB ▂▄▆█
[19:36:13][C][wifi:427]: Channel: 6
[19:36:13][C][wifi:428]: Subnet: 255.255.255.0
[19:36:13][C][wifi:429]: Gateway: 192.168.178.100
[19:36:13][C][wifi:430]: DNS1: 192.168.178.100
[19:36:13][C][wifi:431]: DNS2: 0.0.0.0
[19:36:13][C][logger:166]: Logger:
[19:36:13][C][logger:167]: Level: DEBUG
[19:36:13][C][logger:169]: Log Baud Rate: 115200
[19:36:13][C][logger:170]: Hardware UART: UART0
[19:36:13][C][dallas.sensor:075]: DallasComponent:
[19:36:13][C][dallas.sensor:076]: Pin: GPIO2
[19:36:13][C][dallas.sensor:077]: Update Interval: 420.0s
[19:36:13][D][dallas.sensor:082]: Found sensors:
[19:36:13][D][dallas.sensor:084]: 0x413c4c0457125728
[19:36:13][C][dallas.sensor:089]: Device 'Sensor 5'
[19:36:13][C][dallas.sensor:089]: Device Class: 'temperature'
[19:36:13][C][dallas.sensor:089]: State Class: 'measurement'
[19:36:13][C][dallas.sensor:089]: Unit of Measurement: '°C'
[19:36:13][C][dallas.sensor:089]: Accuracy Decimals: 1
[19:36:13][C][dallas.sensor:089]: Icon: 'mdi:thermometer-plus'
[19:36:13][C][dallas.sensor:097]: Address: 0x413c4c0457125728
[19:36:13][C][dallas.sensor:098]: Resolution: 12
[19:36:13][C][dht:017]: DHT:
[19:36:13][C][dht:018]: Pin: GPIO0
[19:36:13][C][dht:020]: Auto-detected model: DHT11
[19:36:13][C][dht:027]: Update Interval: 420.0s
[19:36:13][C][dht:029]: Temperature 'Büro Rudi Temperatur'
[19:36:13][C][dht:029]: Device Class: 'temperature'
[19:36:13][C][dht:029]: State Class: 'measurement'
[19:36:13][C][dht:029]: Unit of Measurement: '°C'
[19:36:13][C][dht:029]: Accuracy Decimals: 1
[19:36:13][C][dht:029]: Icon: 'mdi:thermometer-plus'
[19:36:13][C][dht:030]: Humidity 'Büro Rudi Feuchtigkeit'
[19:36:13][C][dht:030]: Device Class: 'humidity'
[19:36:13][C][dht:030]: State Class: 'measurement'
[19:36:13][C][dht:030]: Unit of Measurement: '%'
[19:36:13][C][dht:030]: Accuracy Decimals: 0
[19:36:13][C][adc:097]: ADC Sensor 'VCC Voltage'
[19:36:14][C][adc:097]: Device Class: 'voltage'
[19:36:14][C][adc:097]: State Class: 'measurement'
[19:36:14][C][adc:097]: Unit of Measurement: 'V'
[19:36:14][C][adc:097]: Accuracy Decimals: 2
[19:36:14][C][adc:100]: Pin: VCC
[19:36:14][C][adc:142]: Update Interval: 60.0s
[19:36:14][C][captive_portal:088]: Captive Portal:
[19:36:14][C][mdns:115]: mDNS:
[19:36:14][C][mdns:116]: Hostname: esp826601s01
[19:36:14][C][ota:096]: Over-The-Air Updates:
[19:36:14][C][ota:097]: Address: esp826601s01.local:8266
[19:36:14][C][ota:100]: Using Password.
[19:36:14][C][ota:103]: OTA version: 2.
[19:36:14][C][api:139]: API Server:
[19:36:14][C][api:140]: Address: esp826601s01.local:6053
[19:36:14][C][api:142]: Using noise encryption: YES
[19:36:56][D][dallas.sensor:143]: 'Sensor 5': Got Temperature=61.6°C
[19:36:56][D][sensor:093]: 'Sensor 5': Sending state 61.56250 °C with 1 decimals of accuracy
[19:37:05][D][dht:048]: Got Temperature=32.8°C Humidity=33.0%
[19:37:05][D][sensor:093]: 'Büro Rudi Temperatur': Sending state 30.50000 °C with 1 decimals of accuracy
[19:37:05][D][sensor:093]: 'Büro Rudi Feuchtigkeit': Sending state 33.00000 % with 0 decimals of accuracy
[19:37:07][D][sensor:093]: 'VCC Voltage': Sending state 3.32812 V with 2 decimals of accuracy
[19:38:07][D][sensor:093]: 'VCC Voltage': Sending state 3.32910 V with 2 decimals of accuracy
Install esp826601s01.yaml
INFO ESPHome 2024.5.2
INFO Reading configuration /config/esphome/esp826601s01.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing esp826601s01 (board: esp01_1m; framework: arduino; platform: platformio/espressif8266@4.2.1)
HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash
Library Manager: Installing ESP8266WiFi
Warning! Could not find the package with 'ESP8266WiFi' requirements for your system 'linux_aarch64'
Library Manager: Installing ESP8266mDNS
Warning! Could not find the package with 'ESP8266mDNS' requirements for your system 'linux_aarch64'
Dependency Graph
|-- ESPAsyncTCP-esphome @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.2.0
|-- DNSServer @ 1.1.0
|-- noise-c @ 0.1.4
Compiling .pioenvs/esp826601s01/src/esphome/components/adc/adc_sensor.cpp.o
Compiling .pioenvs/esp826601s01/src/esphome/components/api/api_connection.cpp.o
Compiling .pioenvs/esp826601s01/src/esphome/components/api/api_frame_helper.cpp.o
Compiling .pioenvs/esp826601s01/src/esphome/components/api/api_pb2.cpp.o
Compiling .pioenvs/esp826601s01/src/esphome/components/api/api_pb2_service.cpp.o
Compiling .pioenvs/esp826601s01/src/esphome/components/api/api_server.cpp.o
Compiling .pioenvs/esp826601s01/src/esphome/components/api/list_entities.cpp.o
Compiling .pioenvs/esp826601s01/src/esphome/components/api/proto.cpp.o
Compiling .pioenvs/esp826601s01/src/esphome/components/api/subscribe_state.cpp.o
Compiling .pioenvs/esp826601s01/src/esphome/components/api/user_services.cpp.o
Compiling .pioenvs/esp826601s01/src/esphome/components/captive_portal/captive_portal.cpp.o
In file included from src/esphome/components/captive_portal/captive_portal.h:5,
from src/esphome/components/captive_portal/captive_portal.cpp:1:
.piolibdeps/esp826601s01/DNSServer/src/DNSServer.h:3:10: fatal error: WiFiUdp.h: No such file or directory
Looking for WiFiUdp.h dependency? Check our library registry!
*CLI > platformio lib search "header:WiFiUdp.h"
Web > https://registry.platformio.org/search? ... :WiFiUdp.h
*
*****************************************************************3 | #include <WiFiUdp.h>
|~~~~~~~
compilation terminated.
*** [.pioenvs/esp826601s01/src/esphome/components/captive_portal/captive_portal.cpp.o] Error 1
========================= [FAILED] Took 23.79 seconds =========================