NEWS
[Gelöst] ESPHome Mi Thermometer keine verbindung zum MQTT
-
Hallo, habe folgendes Problem nach ESPHome Update, wenn ich in der Konfig den MQTT Server auskommentiere dann funktioniert der esp32 und sein Webif, es scannt die Mi Thermometer nur halt legt keine Daten bei MQTT ab, ist ja auch klar ist auskommentiert.
So, wenn ich aber den MQTT Eintrag wieder aktiviere bekommt der esp keine WIFI Verbindung und stürzt immer wieder ab, vor dem update (ich weis aber nicht ab welche Version das war, sind schon mehrere neuere Updates raus gekommen aber auch die brachten keine Besserung) hat alles funktioniert. Hab schon etwas versucht aber keine Änderung
Hat jemand auch so ein Problem oder einen Tip wie ich das lösen könnte ?Danke mfg
Das ist die YAML:
esphome: name: temperaturen friendly_name: temperaturen esp32: board: az-delivery-devkit-v4 framework: type: arduino web_server: port: 6052 logger: null #api: #encryption: #key: RjJphditsoUsxfMcZU/In/hxCGOYvjqbtjmz9jGCP/g= ota: password: "xxyy" wifi: ssid: !secret wifi_ssid password: !secret wifi_password ap: ssid: Temperaturen Fallback Hotspot password: "123xxxxxx" captive_portal: null esp32_ble_tracker: null xiaomi_ble: null sensor: - platform: atc_mithermometer mac_address: A4:C1:38:62:98:A0 temperature: name: Kinderzimmer Temperatur humidity: name: Kinderzimmer Luftfeuchtigkeit battery_level: name: Kinderzimmer Batterie battery_voltage: name: Kinderzimmer Batt-Spannung signal_strength: name: Kinderzimmer Signal - platform: atc_mithermometer mac_address: A4:C1:38:CE:82:EF temperature: name: Wohnzimmer Temperatur humidity: name: Wohnzimmer Luftfeuchtigkeit battery_level: name: Wohnzimmer Batterie battery_voltage: name: Wohnzimmer Batt-Spannung signal_strength: name: Wohnzimmer Signal - platform: atc_mithermometer mac_address: A4:C1:38:79:3B:FC temperature: name: Terrasse Temperatur humidity: name: Terrasse Luftfeuchtigkeit battery_level: name: Terrasse Batterie battery_voltage: name: Terrasse Batt-Spannung signal_strength: name: Terrasse Signal - platform: atc_mithermometer mac_address: A4:C1:38:66:AF:66 temperature: name: Küche Temperatur humidity: name: Küche Luftfeuchtigkeit battery_level: name: Küche Batterie battery_voltage: name: Küche Batt-Spannung signal_strength: name: Küche Signal - platform: atc_mithermometer mac_address: A4:C1:38:F5:B8:84 temperature: name: Am PC Temperatur humidity: name: Am PC Luftfeuchtigkeit battery_level: name: Am PC Batterie battery_voltage: name: Am PC Batt-Spannung signal_strength: name: Am PC Signal - platform: atc_mithermometer mac_address: A4:C1:38:2C:DD:07 temperature: name: Schlafzimmer Temperatur humidity: name: Schlafzimmer Luftfeuchtigkeit battery_level: name: Schlafzimmer Batterie battery_voltage: name: Schlafzimmer Batt-Spannung signal_strength: name: Schlafzimmer Signal #mqtt: #broker: 192.168.1.xxx #port: 1883 #username: yyyyy #password: xxxxxxxx #topic_prefix: esp/temperaturen
LOG:
INFO ESPHome 2023.9.3 INFO Reading configuration /opt/iobroker/iobroker-data/esphome.0/temperaturen.yaml... INFO Generating C++ source... INFO Compiling app... Processing temperaturen (board: az-delivery-devkit-v4; framework: arduino; platform: platformio/espressif32@5.4.0) -------------------------------------------------------------------------------- HARDWARE: ESP32 240MHz, 520KB RAM, 4MB Flash - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5 Dependency Graph |-- AsyncTCP-esphome @ 2.0.1 |-- WiFi @ 2.0.0 |-- FS @ 2.0.0 |-- Update @ 2.0.0 |-- ESPAsyncWebServer-esphome @ 3.1.0 |-- DNSServer @ 2.0.0 |-- ESPmDNS @ 2.0.0 |-- ArduinoJson @ 6.18.5 Compiling .pioenvs/temperaturen/src/esphome/components/atc_mithermometer/atc_mithermometer.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/captive_portal/captive_portal.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/esp32/gpio.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/esp32/preferences.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/esp32_ble/ble.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/esp32_ble/ble_advertising.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/esp32_ble/ble_uuid.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/esp32_ble_tracker/esp32_ble_tracker.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/json/json_util.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/logger/logger.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/md5/md5.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/mdns/mdns_component.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/mdns/mdns_esp32.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/mdns/mdns_esp8266.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/mdns/mdns_host.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/mdns/mdns_libretiny.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/mdns/mdns_rp2040.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/network/util.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/ota/ota_backend_arduino_esp32.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/ota/ota_backend_arduino_esp8266.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/ota/ota_backend_arduino_libretiny.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/ota/ota_backend_arduino_rp2040.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/ota/ota_backend_esp_idf.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/ota/ota_component.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/sensor/automation.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/sensor/filter.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/sensor/sensor.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/socket/bsd_sockets_impl.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/socket/lwip_raw_tcp_impl.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/socket/lwip_sockets_impl.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/socket/socket.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/web_server/list_entities.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/web_server/web_server.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/web_server_base/web_server_base.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/wifi/wifi_component.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/wifi/wifi_component_esp32_arduino.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/wifi/wifi_component_esp8266.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/wifi/wifi_component_esp_idf.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/wifi/wifi_component_libretiny.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/wifi/wifi_component_pico_w.cpp.o Compiling .pioenvs/temperaturen/src/esphome/components/xiaomi_ble/xiaomi_ble.cpp.o Compiling .pioenvs/temperaturen/src/esphome/core/application.cpp.o Compiling .pioenvs/temperaturen/src/esphome/core/component.cpp.o Compiling .pioenvs/temperaturen/src/esphome/core/component_iterator.cpp.o Compiling .pioenvs/temperaturen/src/esphome/core/controller.cpp.o Compiling .pioenvs/temperaturen/src/esphome/core/entity_base.cpp.o Compiling .pioenvs/temperaturen/src/esphome/core/helpers.cpp.o Compiling .pioenvs/temperaturen/src/esphome/core/log.cpp.o Compiling .pioenvs/temperaturen/src/esphome/core/scheduler.cpp.o Compiling .pioenvs/temperaturen/src/esphome/core/string_ref.cpp.o Compiling .pioenvs/temperaturen/src/esphome/core/util.cpp.o Compiling .pioenvs/temperaturen/src/main.cpp.o Linking .pioenvs/temperaturen/firmware.elf RAM: [= ] 10.1% (used 53608 bytes from 532480 bytes) Flash: [========= ] 92.5% (used 1697717 bytes from 1835008 bytes) Building .pioenvs/temperaturen/firmware.bin Creating esp32 image... Successfully created esp32 image. esp32_create_combined_bin([".pioenvs/temperaturen/firmware.bin"], [".pioenvs/temperaturen/firmware.elf"]) Wrote 0x1afe40 bytes to file /opt/iobroker/iobroker-data/esphome.0/.esphome/build/temperaturen/.pioenvs/temperaturen/firmware-factory.bin, ready to flash to offset 0x0 ======================== [SUCCESS] Took 100.04 seconds ======================== INFO Successfully compiled program. esptool.py v4.6.2 Serial port /dev/ttyUSB0 Connecting...... Chip is ESP32-D0WDQ6 (revision v1.0) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: c8:c9:a3:ca:3d:d8 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 0x001affff... 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 1703488 bytes to 1121311... Wrote 1703488 bytes (1121311 compressed) at 0x00010000 in 26.3 seconds (effective 517.5 kbit/s)... Hash of data verified. Compressed 17440 bytes to 12128... Wrote 17440 bytes (12128 compressed) at 0x00001000 in 0.6 seconds (effective 227.9 kbit/s)... Hash of data verified. Compressed 3072 bytes to 144... Wrote 3072 bytes (144 compressed) at 0x00008000 in 0.1 seconds (effective 319.0 kbit/s)... Hash of data verified. Compressed 8192 bytes to 47... Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.2 seconds (effective 420.0 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 [10:50:44][I][logger:268]: Log initialized [10:50:44][C][ota:473]: There have been 0 suspected unsuccessful boot attempts. [10:50:44][D][esp32.preferences:114]: Saving 1 preferences to flash... [10:50:44][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed [10:50:44][I][app:029]: Running through setup()... [10:50:44][C][esp32_ble:027]: Setting up BLE... [10:50:45][D][esp32_ble:043]: BLE setup complete [10:50:45][D][esp32_ble_tracker:246]: Starting scan... [10:50:45][C][wifi:038]: Setting up WiFi... [10:50:45][C][wifi:051]: Starting WiFi... [10:50:45][C][wifi:052]: Local MAC: C8:C9:A3:CX:XX:XX [10:50:45][D][wifi:428]: Starting scan... [10:50:48][D][wifi:443]: Found networks: [10:50:48][I][wifi:487]: - 'NAS' (44:4E:6D:66:B5:0A) [redacted]▂▄▆█ [10:50:48][D][wifi:488]: Channel: 4 [10:50:48][D][wifi:489]: RSSI: -48 dB [10:50:48][I][wifi:487]: - 'NAS' (08:96:D7:74:7B:A2) [redacted]▂▄▆█ [10:50:48][D][wifi:488]: Channel: 4 [10:50:48][D][wifi:489]: RSSI: -81 dB [10:50:48][D][wifi:492]: - 'Doma'[redacted] (CC:CE:1E:DB:A0:E0) [redacted]▂▄▆█ [10:50:48][D][wifi:492]: - 'o2-HB3-6742-JC'[redacted] (FC:12:63:6E:C9:FC) [redacted]▂▄▆█ [10:50:48][D][wifi:492]: - 'FRITZ-Box-DAB-1'[redacted] (CC:CE:1E:3F:F8:EB) [redacted]▂▄▆█ [10:50:48][D][wifi:492]: - 'EasyBox-944320'[redacted] (D4:60:E3:55:C5:4C) [redacted]▂▄▆█ [10:50:48][I][wifi:277]: WiFi Connecting to 'NAS'... [10:50:49][D][esp-idf:000]: E (11087) wifi: [10:50:49][D][esp-idf:000]: Association refused temporarily, comeback time 1024 mSec [10:50:49][D][esp-idf:000]: [10:50:49] [10:50:51][W][wifi_esp32:465]: Event: Disconnected ssid='NAS' bssid=44:4E:6D:66:B5:0A[redacted] reason='Association Failed' [10:50:51][W][wifi:591]: Error while connecting to network. [10:50:51][W][wifi:627]: Restarting WiFi adapter... [10:50:51][D][esp-idf:000]: E (13252) wifi: [10:50:51][D][esp-idf:000]: timeout when WiFi un-init, type=4 [10:50:51][D][esp-idf:000]: [10:50:51] [10:50:53][I][wifi:560]: WiFi Connected! [10:50:53][C][wifi:382]: Local MAC: C8:C9:A3:CA:3D:D8 [10:50:53][C][wifi:383]: SSID: 'NAS'[redacted] [10:50:53][C][wifi:384]: IP Address: 192.168.1.99 [10:50:53][C][wifi:386]: BSSID: 44:4E:6D:66:B5:0A[redacted] [10:50:53][C][wifi:387]: Hostname: 'temperaturen' [10:50:53][C][wifi:389]: Signal strength: -47 dB ▂▄▆█ [10:50:53][C][wifi:393]: Channel: 4 [10:50:53][C][wifi:394]: Subnet: 255.255.255.0 [10:50:53][C][wifi:395]: Gateway: 192.168.1.1 [10:50:53][C][wifi:396]: DNS1: 192.168.1.1 [10:50:53][C][wifi:397]: DNS2: 0.0.0.0 [10:50:53][D][wifi:569]: Disabling AP... [10:50:53][C][web_server:116]: Setting up web server... [10:50:53][C][ota:097]: Over-The-Air Updates: [10:50:53][C][ota:098]: Address: temperaturen.local:3232 [10:50:53][C][ota:101]: Using Password. [10:50:53][C][mqtt:037]: Setting up MQTT... [10:50:53][I][mqtt:242]: Connecting to MQTT... [10:50:53][I][mqtt:282]: MQTT Connected! [10:50:55] [10:50:55]abort() was called at PC 0x401f7c37 on core 0 [10:50:55] [10:50:55] [10:50:55]Backtrace:0x40083725:0x3ffd7b400x400931ad:0x3ffd7b60 0x40098771:0x3ffd7b80 0x401f7c37:0x3ffd7c00 0x401f7c7e:0x3ffd7c20 0x401f7d77:0x3ffd7c40 0x401f7cd6:0x3ffd7c60 0x400d4c9d:0x3ffd7c80 0x4011a985:0x3ffd7ca0 0x40141949:0x3ffd7cc0 0x401437a3:0x3ffd7ce0 WARNING Found stack trace! Trying to decode it WARNING Decoded 0x40083725: panic_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c:402 WARNING Decoded 0x400931ad: esp_system_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:128 WARNING Decoded 0x40098771: abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/newlib/abort.c:46 WARNING Decoded 0x401f7c37: __cxxabiv1::__terminate(void (*)()) at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:47 WARNING Decoded 0x401f7c7e: std::terminate() at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:57 WARNING Decoded 0x401f7d77: __cxa_throw at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc:95 WARNING Decoded 0x401f7cd6: operator new(unsigned int) at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/gcc/libstdc++-v3/libsupc++/new_op.cc:54 WARNING Decoded 0x400d4c9d: esphome::esp32_ble::ESP32BLE::gap_event_handler(esp_gap_ble_cb_event_t, esp_ble_gap_cb_param_t*) at /opt/iobroker/iobroker-data/esphome.0/.esphome/build/temperaturen/src/esphome/components/esp32_ble/ble.cpp:173 WARNING Decoded 0x4011a985: btc_gap_ble_cb_to_app at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/bt/host/bluedroid/btc/profile/std/gap/btc_gap_ble.c:55 (inlined by) btc_gap_ble_cb_handler at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/bt/host/bluedroid/btc/profile/std/gap/btc_gap_ble.c:1156 WARNING Decoded 0x40141949: btc_thread_handler at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/bt/common/btc/core/btc_task.c:196 WARNING Decoded 0x401437a3: osi_thread_run at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/bt/common/osi/thread.c:68 [10:50:55] [10:50:55] [10:50:55] [10:50:55] [10:50:55]ELF file SHA256: 0000000000000000 [10:50:55] [10:50:55]Rebooting... [10:50:55]ets Jun 8 2016 00:22:57 [10:50:55] [10:50:55]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) [10:50:55]configsip: 0, SPIWP:0xee [10:50:55]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 [10:50:55]mode:DIO, clock div:2 [10:50:55]load:0x3fff0030,len:1184 [10:50:55]load:0x40078000,len:13132 [10:50:55]load:0x40080400,len:3036 [10:50:55]entry 0x400805e4 [10:50:55][I][logger:268]: Log initialized [10:50:55][C][ota:473]: There have been 1 suspected unsuccessful boot attempts. [10:50:55][D][esp32.preferences:114]: Saving 1 preferences to flash... [10:50:55][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed [10:50:55][I][app:029]: Running through setup()... [10:50:55][C][esp32_ble:027]: Setting up BLE... [10:50:56][D][esp32_ble:043]: BLE setup complete [10:50:56][D][esp32_ble_tracker:246]: Starting scan... [10:50:56][C][wifi:038]: Setting up WiFi... [10:50:56][C][wifi:051]: Starting WiFi... [10:50:56][C][wifi:052]: Local MAC: C8:C9:A3:CA:3D:D8 [10:50:56][D][wifi:428]: Starting scan... [10:51:00][D][wifi:443]: Found networks: [10:51:00][I][wifi:487]: - 'NAS' (44:4E:6D:66:B5:0A) [redacted]▂▄▆█ [10:51:00][D][wifi:488]: Channel: 4 [10:51:00][D][wifi:489]: RSSI: -48 dB [10:51:00][I][wifi:487]: - 'NAS' (08:96:D7:74:7B:A2) [redacted]▂▄▆█ [10:51:00][D][wifi:488]: Channel: 4 [10:51:00][D][wifi:489]: RSSI: -78 dB [10:51:00][D][wifi:492]: - 'Doma'[redacted] (CC:CE:1E:DB:A0:E0) [redacted]▂▄▆█ [10:51:00][D][wifi:492]: - 'o2-HB3-6742-JC'[redacted] (FC:12:63:6E:C9:FC) [redacted]▂▄▆█ [10:51:00][D][wifi:492]: - 'FRITZ-Box-DAB-1'[redacted] (CC:CE:1E:3F:F8:EB) [redacted]▂▄▆█ [10:51:00][D][wifi:492]: - 'EasyBox-944320'[redacted] (D4:60:E3:55:C5:4C) [redacted]▂▄▆█ [10:51:00][I][wifi:277]: WiFi Connecting to 'NAS'... [10:51:01][D][esp-idf:000]: E (11087) wifi: [10:51:01][D][esp-idf:000]: Association refused temporarily, comeback time 1024 mSec [10:51:01][D][esp-idf:000]: [10:51:01] [10:51:03][W][wifi_esp32:465]: Event: Disconnected ssid='NAS' bssid=44:4E:6D:66:B5:0A[redacted] reason='Association Failed' [10:51:03][W][wifi:591]: Error while connecting to network. [10:51:03][W][wifi:627]: Restarting WiFi adapter... [10:51:03][D][esp-idf:000]: E (13252) wifi: [10:51:03][D][esp-idf:000]: timeout when WiFi un-init, type=4 [10:51:03][D][esp-idf:000]: [10:51:03] [10:51:04][D][atc_mithermometer:112]: Got ATC MiThermometer (A4:C1:38:F5:B8:84): [10:51:04][D][atc_mithermometer:115]: Temperature: 22.3 °C [10:51:04][D][atc_mithermometer:118]: Humidity: 51 % [10:51:04][D][atc_mithermometer:121]: Battery Level: 83 % [10:51:04][D][atc_mithermometer:124]: Battery Voltage: 2.955 V [10:51:04][D][sensor:094]: 'Am PC Temperatur': Sending state 22.30000 °C with 1 decimals of accuracy [10:51:04][D][sensor:094]: 'Am PC Luftfeuchtigkeit': Sending state 51.00000 % with 0 decimals of accuracy [10:51:04][D][sensor:094]: 'Am PC Batterie': Sending state 83.00000 % with 0 decimals of accuracy [10:51:04][D][sensor:094]: 'Am PC Batt-Spannung': Sending state 2.95500 V with 3 decimals of accuracy [10:51:04][D][sensor:094]: 'Am PC Signal': Sending state -71.00000 dBm with 0 decimals of accuracy [10:51:04][I][wifi:560]: WiFi Connected! [10:51:04][C][wifi:382]: Local MAC: C8:C9:A3:CA:3D:D8 [10:51:04][C][wifi:383]: SSID: 'NAS'[redacted] [10:51:04][C][wifi:384]: IP Address: 192.168.1.99 [10:51:04][C][wifi:386]: BSSID: 44:4E:6D:66:B5:0A[redacted] [10:51:04][C][wifi:387]: Hostname: 'temperaturen' [10:51:04][C][wifi:389]: Signal strength: -48 dB ▂▄▆█ [10:51:04][C][wifi:393]: Channel: 4 [10:51:04][C][wifi:394]: Subnet: 255.255.255.0 [10:51:04][C][wifi:395]: Gateway: 192.168.1.1 [10:51:04][C][wifi:396]: DNS1: 192.168.1.1 [10:51:04][C][wifi:397]: DNS2: 0.0.0.0 [10:51:04][D][wifi:569]: Disabling AP... [10:51:04][C][web_server:116]: Setting up web server... [10:51:04][C][ota:097]: Over-The-Air Updates: [10:51:04][C][ota:098]: Address: temperaturen.local:3232 [10:51:04][C][ota:101]: Using Password. [10:51:04][C][mqtt:037]: Setting up MQTT... [10:51:04][I][mqtt:242]: Connecting to MQTT... [10:51:04][I][mqtt:282]: MQTT Connected! [10:51:09]E (19672) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time: [10:51:09]E (19672) task_wdt: - loopTask (CPU 1) [10:51:09]E (19672) task_wdt: Tasks currently running: [10:51:09]E (19672) task_wdt: CPU 0: IDLE [10:51:09]E (19672) task_wdt: CPU 1: IDLE [10:51:09]E (19672) task_wdt: Aborting. [10:51:09] [10:51:09]abort() was called at PC 0x400f5174 on core 0 [10:51:09] [10:51:09] [10:51:09]Backtrace:0x40083725:0x3ffbe9bc |<-CORRUPTED WARNING Found stack trace! Trying to decode it WARNING Decoded 0x40083725: panic_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c:402 [10:51:09] [10:51:09] [10:51:09] [10:51:09] [10:51:09]ELF file SHA256: 0000000000000000 [10:51:09] [10:51:09]Rebooting... [10:51:09]ets Jun 8 2016 00:22:57 [10:51:09] [10:51:09]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) [10:51:09]configsip: 0, SPIWP:0xee [10:51:09]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 [10:51:09]mode:DIO, clock div:2 [10:51:09]load:0x3fff0030,len:1184 [10:51:09]load:0x40078000,len:13132 [10:51:09]load:0x40080400,len:3036 [10:51:09]entry 0x400805e4 [10:51:10][I][logger:268]: Log initialized [10:51:10][C][ota:473]: There have been 2 suspected unsuccessful boot attempts. [10:51:10][D][esp32.preferences:114]: Saving 1 preferences to flash... [10:51:10][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed [10:51:10][I][app:029]: Running through setup()... [10:51:10][C][esp32_ble:027]: Setting up BLE... [10:51:11][D][esp32_ble:043]: BLE setup complete [10:51:11][D][esp32_ble_tracker:246]: Starting scan... [10:51:11][C][wifi:038]: Setting up WiFi... [10:51:11][C][wifi:051]: Starting WiFi... [10:51:11][C][wifi:052]: Local MAC: C8:C9:A3:CA:3D:D8 [10:51:11][D][wifi:428]: Starting scan... [10:51:14][D][wifi:443]: Found networks: [10:51:14][I][wifi:487]: - 'NAS' (44:4E:6D:66:B5:0A) [redacted]▂▄▆█ [10:51:14][D][wifi:488]: Channel: 4 [10:51:14][D][wifi:489]: RSSI: -49 dB [10:51:14][I][wifi:487]: - 'NAS' (08:96:D7:74:7B:A2) [redacted]▂▄▆█ [10:51:14][D][wifi:488]: Channel: 4 [10:51:14][D][wifi:489]: RSSI: -82 dB [10:51:14][D][wifi:492]: - 'Doma'[redacted] (CC:CE:1E:DB:A0:E0) [redacted]▂▄▆█ [10:51:14][D][wifi:492]: - 'o2-HB3-6742-JC'[redacted] (FC:12:63:6E:C9:FC) [redacted]▂▄▆█ [10:51:14][D][wifi:492]: - 'FRITZ-Box-DAB-1'[redacted] (CC:CE:1E:3F:F8:EB) [redacted]▂▄▆█ [10:51:14][D][wifi:492]: - 'EasyBox-944320'[redacted] (D4:60:E3:55:C5:4C) [redacted]▂▄▆█ [10:51:14][I][wifi:277]: WiFi Connecting to 'NAS'... [10:51:15][D][esp-idf:000]: E (11095) wifi: [10:51:15][D][esp-idf:000]: Association refused temporarily, comeback time 1024 mSec [10:51:15][D][esp-idf:000]: [10:51:15] [10:51:17][W][wifi_esp32:465]: Event: Disconnected ssid='NAS' bssid=44:4E:6D:66:B5:0A[redacted] reason='Association Failed' [10:51:17][W][wifi:591]: Error while connecting to network. [10:51:17][W][wifi:627]: Restarting WiFi adapter... [10:51:18][D][esp-idf:000]: E (13259) wifi: [10:51:18][D][esp-idf:000]: timeout when WiFi un-init, type=4 [10:51:18][D][esp-idf:000]: [10:51:18] [10:51:19][I][wifi:560]: WiFi Connected! [10:51:19][C][wifi:382]: Local MAC: C8:C9:A3:CA:3D:D8 [10:51:19][C][wifi:383]: SSID: 'NAS'[redacted] [10:51:19][C][wifi:384]: IP Address: 192.168.1.99 [10:51:19][C][wifi:386]: BSSID: 44:4E:6D:66:B5:0A[redacted] [10:51:19][C][wifi:387]: Hostname: 'temperaturen' [10:51:19][C][wifi:389]: Signal strength: -49 dB ▂▄▆█ [10:51:19][C][wifi:393]: Channel: 4 [10:51:19][C][wifi:394]: Subnet: 255.255.255.0 [10:51:19][C][wifi:395]: Gateway: 192.168.1.1 [10:51:19][C][wifi:396]: DNS1: 192.168.1.1 [10:51:19][C][wifi:397]: DNS2: 0.0.0.0 [10:51:19][D][wifi:569]: Disabling AP... [10:51:19][C][web_server:116]: Setting up web server... [10:51:19][C][ota:097]: Over-The-Air Updates: [10:51:19][C][ota:098]: Address: temperaturen.local:3232 [10:51:19][C][ota:101]: Using Password. [10:51:19][W][ota:107]: Last Boot was an unhandled reset, will proceed to safe mode in 8 restarts [10:51:19][C][mqtt:037]: Setting up MQTT... [10:51:19][I][mqtt:242]: Connecting to MQTT... [10:51:19][I][mqtt:282]: MQTT Connected! [10:51:24] [10:51:24]abort() was called at PC 0x401f7c37 on core 0 [10:51:24] [10:51:24] [10:51:24]Backtrace:0x40083725:0x3ffd7b400x400931ad:0x3ffd7b60 0x40098771:0x3ffd7b80 0x401f7c37:0x3ffd7c00 0x401f7c7e:0x3ffd7c20 0x401f7d77:0x3ffd7c40 0x401f7cd6:0x3ffd7c60 0x400d4c9d:0x3ffd7c80 0x4011a985:0x3ffd7ca0 0x40141949:0x3ffd7cc0 0x401437a3:0x3ffd7ce0 WARNING Found stack trace! Trying to decode it WARNING Decoded 0x40083725: panic_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c:402 WARNING Decoded 0x400931ad: esp_system_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:128 WARNING Decoded 0x40098771: abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/newlib/abort.c:46 WARNING Decoded 0x401f7c37: __cxxabiv1::__terminate(void (*)()) at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:47 WARNING Decoded 0x401f7c7e: std::terminate() at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:57 WARNING Decoded 0x401f7d77: __cxa_throw at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc:95 WARNING Decoded 0x401f7cd6: operator new(unsigned int) at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/gcc/libstdc++-v3/libsupc++/new_op.cc:54 WARNING Decoded 0x400d4c9d: esphome::esp32_ble::ESP32BLE::gap_event_handler(esp_gap_ble_cb_event_t, esp_ble_gap_cb_param_t*) at /opt/iobroker/iobroker-data/esphome.0/.esphome/build/temperaturen/src/esphome/components/esp32_ble/ble.cpp:173 WARNING Decoded 0x4011a985: btc_gap_ble_cb_to_app at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/bt/host/bluedroid/btc/profile/std/gap/btc_gap_ble.c:55 (inlined by) btc_gap_ble_cb_handler at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/bt/host/bluedroid/btc/profile/std/gap/btc_gap_ble.c:1156 WARNING Decoded 0x40141949: btc_thread_handler at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/bt/common/btc/core/btc_task.c:196 WARNING Decoded 0x401437a3: osi_thread_run at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/bt/common/osi/thread.c:68 [10:51:24] [10:51:24] [10:51:24] [10:51:24] [10:51:24]ELF file SHA256: 0000000000000000 [10:51:24] [10:51:24]Rebooting... [10:51:24]ets Jun 8 2016 00:22:57 [10:51:24] [10:51:24]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) [10:51:24]configsip: 0, SPIWP:0xee [10:51:24]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 [10:51:24]mode:DIO, clock div:2 [10:51:24]load:0x3fff0030,len:1184 [10:51:24]load:0x40078000,len:13132 [10:51:24]load:0x40080400,len:3036 [10:51:24]entry 0x400805e4 [10:51:24][I][logger:268]: Log initialized [10:51:24][C][ota:473]: There have been 3 suspected unsuccessful boot attempts. [10:51:24][D][esp32.preferences:114]: Saving 1 preferences to flash... [10:51:24][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed [10:51:24][I][app:029]: Running through setup()... [10:51:24][C][esp32_ble:027]: Setting up BLE... [10:51:25][D][esp32_ble:043]: BLE setup complete [10:51:25][D][esp32_ble_tracker:246]: Starting scan... [10:51:25][C][wifi:038]: Setting up WiFi... [10:51:25][C][wifi:051]: Starting WiFi... [10:51:25][C][wifi:052]: Local MAC: C8:C9:A3:CA:3D:D8 [10:51:25][D][wifi:428]: Starting scan...
das ist mit MQTT aktiv
-
@jabba76 die Siete kennst du aber
-
hallo nur mal so am Rande, wenn ich dort die Antwort auf mein Problem gefunden hätte, würde ich hier nicht fragen.
Problem teilweise gelöst so das es zumindest funktioniert, hat nichts mit MQTT zu tun, der ESP32 hat sehr wenig RAM speicher die Komponenten werden immer größer, und wenn man alles aktiviert (obwohl es so bis zum bestimmten Zeitpunkt gelaufen ist) läuft der RAM speicher einfach voll und stürzt ab, wenn ich den Web-Server Auskommentiere läuft er wieder, hab dann kein Web Interface mehr, aber er scannt meine Thermometer und sendet die Daten an MQTT weiter.
Danke MFG