noone2k / hm2500pub

26 stars 3 forks source link

ESP startet immer neu, Wifi Probleme, fehlende Daten... #12

Open ugath opened 1 week ago

ugath commented 1 week ago

Hallo.

Hat hier jemand eine Idee, warum der ESP immer neu startet, warum Wifi immer abbricht und warum Daten fehlen? Ich benutze ein "[APKLVSR ESP32 ESP32-WROOM-32 USB C NodeMCU Entwicklungsplatine,CH340 2.4GHz Dual-Cores WiFi+Bluetooth für Arduino]".

Hier fehlt ja Einiges: grafik

Log:

[08:55:17] [08:55:17] [08:55:17] [08:55:17] [08:55:17]ELF file SHA256: 8111da54229f7a0f [08:55:17] [08:55:17]Rebooting... [08:55:17]ets Jul 29 2019 12:21:46 [08:55:17] [08:55:17]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) [08:55:17]configsip: 0, SPIWP:0xee [08:55:17]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 [08:55:17]mode:DIO, clock div:2 [08:55:17]load:0x3fff0030,len:6644 [08:55:17]load:0x40078000,len:15056 [08:55:17]ho 0 tail 12 room 4 [08:55:17]load:0x40080400,len:3628 [08:55:17]entry 0x40080668 [08:55:17]I (29) boot: ESP-IDF 4.4.8 2nd stage bootloader [08:55:17]I (29) boot: compile time 08:47:17 [08:55:17]W (29) boot: Unicore bootloader [08:55:17]I (32) boot: chip revision: v3.1 [08:55:17]I (36) boot.esp32: SPI Speed : 40MHz [08:55:17]I (40) boot.esp32: SPI Mode : DIO [08:55:17]I (45) boot.esp32: SPI Flash Size : 4MB [08:55:17]I (50) boot: Enabling RNG early entropy source... [08:55:17]I (55) boot: Partition Table: [08:55:17]I (59) boot: ## Label Usage Type ST Offset Length [08:55:17]I (66) boot: 0 otadata OTA data 01 00 00009000 00002000 [08:55:17]I (73) boot: 1 phy_init RF data 01 01 0000b000 00001000 [08:55:17]I (81) boot: 2 app0 OTA app 00 10 00010000 001c0000 [08:55:17]I (88) boot: 3 app1 OTA app 00 11 001d0000 001c0000 [08:55:17]I (96) boot: 4 nvs WiFi data 01 02 00390000 0006d000 [08:55:17]I (103) boot: End of partition table [08:55:17]I (108) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=3ddb4h (253364) map [08:55:17]I (208) esp_image: segment 1: paddr=0004dddc vaddr=3ffbdb60 size=0223ch ( 8764) load [08:55:17]I (211) esp_image: segment 2: paddr=00050020 vaddr=400d0020 size=fdeb0h (1040048) map [08:55:17]I (590) esp_image: segment 3: paddr=0014ded8 vaddr=3ffbfd9c size=024dch ( 9436) load [08:55:17]I (594) esp_image: segment 4: paddr=001503bc vaddr=40080000 size=1aa38h (109112) load [08:55:17]I (653) boot: Loaded app from partition at offset 0x10000 [08:55:17]I (654) boot: Disabling RNG early entropy source... [08:55:17]I (665) cpu_start: Unicore app [08:55:17]I (665) cpu_start: Pro cpu up. [08:55:17]I (665) cpu_start: Single core mode [08:55:17]I (679) cpu_start: Pro cpu start user code [08:55:17]I (679) cpu_start: cpu freq: 160000000 [08:55:17]I (679) cpu_start: Application information: [08:55:17]I (684) cpu_start: Project name: b2500-v2-ble-idf [08:55:17]I (690) cpu_start: App version: 2024.10.0 [08:55:17]I (695) cpu_start: Compile time: Oct 19 2024 08:45:21 [08:55:17]I (701) cpu_start: ELF file SHA256: 8111da54229f7a0f... [08:55:17]I (707) cpu_start: ESP-IDF: 4.4.8 [08:55:17]I (712) cpu_start: Min chip rev: v0.0 [08:55:17]I (716) cpu_start: Max chip rev: v3.99 [08:55:17]I (721) cpu_start: Chip rev: v3.1 [08:55:17]I (726) heap_init: Initializing. RAM available for dynamic allocation: [08:55:17]I (733) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM [08:55:17]I (739) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM [08:55:17]I (745) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM [08:55:17]I (751) heap_init: At 3FFCB248 len 00014DB8 (83 KiB): DRAM [08:55:17]I (758) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM [08:55:17]I (764) heap_init: At 40078000 len 00008000 (32 KiB): IRAM [08:55:17]I (770) heap_init: At 4009AA38 len 000055C8 (21 KiB): IRAM [08:55:17]I (776) heap_init: At 3FF80000 len 00002000 (8 KiB): RTCRAM [08:55:17]I (784) spi_flash: detected chip: generic [08:55:17]I (787) spi_flash: flash io: dio [08:55:17]I (794) cpu_start: Starting scheduler on PRO CPU. [08:55:17][I][logger:156]: Log initialized [08:55:17][I][app:029]: Running through setup()... [08:55:17][I][main:3246]: ble command send: 1 [0x0B] 10 [08:55:17][E][ble_client.automation:149]: Error writing to characteristic: ESP_ERR_INVALID_STATE! [08:55:17][I][main:2137]: set Timer Power (Device: 1 - Timer: 3 ): 50 [08:55:17][I][main:1670]: ble command send (raw): 1 [08:55:17][E][ble_client.automation:149]: Error writing to characteristic: ESP_ERR_INVALID_STATE! [08:55:17][I][main:3246]: ble command send: 2 [0x0B] 10 [08:55:17][E][ble_client.automation:149]: Error writing to characteristic: ESP_ERR_INVALID_STATE! [08:55:17][I][main:2174]: set Timer Enable (Device: 1 - Timer: 1 ): 0 [08:55:17][I][main:1670]: ble command send (raw): 1 [08:55:17][E][ble_client.automation:149]: Error writing to characteristic: ESP_ERR_INVALID_STATE! [08:55:17][I][main:2174]: set Timer Enable (Device: 1 - Timer: 2 ): 0 [08:55:17][I][main:1670]: ble command send (raw): 1 [08:55:17][E][ble_client.automation:149]: Error writing to characteristic: ESP_ERR_INVALID_STATE! [08:55:17][I][main:2174]: set Timer Enable (Device: 1 - Timer: 3 ): 0 [08:55:17][I][main:1670]: ble command send (raw): 1 [08:55:17][E][ble_client.automation:149]: Error writing to characteristic: ESP_ERR_INVALID_STATE! [08:55:17][I][main:3246]: ble command send: 1 [0x0D] 0 [08:55:17][E][ble_client.automation:149]: Error writing to characteristic: ESP_ERR_INVALID_STATE! [08:55:17][I][main:3246]: ble command send: 2 [0x0D] 0 [08:55:17][E][ble_client.automation:149]: Error writing to characteristic: ESP_ERR_INVALID_STATE! [08:55:17][I][main:2174]: set Timer Enable (Device: 1 - Timer: 9 ): 1 [08:55:17][I][main:1670]: ble command send (raw): 1 [08:55:17][E][ble_client.automation:149]: Error writing to characteristic: ESP_ERR_INVALID_STATE! [08:55:17][I][esp-idf:000]: I (1329) wifi: [08:55:17][I][esp-idf:000]: wifi driver task: 3ffde6e4, prio:23, stack:6656, core=0 [08:55:17][I][esp-idf:000]: [08:55:17] [08:55:17][I][esp-idf:000][wifi]: I (1334) system_api: Base MAC address is not set [08:55:17] [08:55:17][I][esp-idf:000][wifi]: I (1344) system_api: read default base MAC address from EFUSE [08:55:17] [08:55:17][I][esp-idf:000][wifi]: I (1358) wifi: [08:55:17][I][esp-idf:000][wifi]: wifi firmware version: ff661c3 [08:55:17][I][esp-idf:000][wifi]: [08:55:17] [08:55:17][I][esp-idf:000][wifi]: I (1375) wifi: [08:55:17][I][esp-idf:000][wifi]: wifi certification version: v7.0 [08:55:17][I][esp-idf:000][wifi]: [08:55:17] [08:55:17][I][esp-idf:000][wifi]: I (1385) wifi: [08:55:17][I][esp-idf:000][wifi]: config NVS flash: enabled [08:55:17][I][esp-idf:000][wifi]: [08:55:17] [08:55:17][I][esp-idf:000][wifi]: I (1405) wifi: [08:55:17][I][esp-idf:000][wifi]: config nano formating: disabled [08:55:17][I][esp-idf:000][wifi]: [08:55:17] [08:55:17][I][esp-idf:000][wifi]: I (1426) wifi: [08:55:17][I][esp-idf:000][wifi]: Init data frame dynamic rx buffer num: 32 [08:55:17][I][esp-idf:000][wifi]: [08:55:17] [08:55:17][I][esp-idf:000][wifi]: I (1437) wifi: [08:55:17][I][esp-idf:000][wifi]: Init static rx mgmt buffer num: 5 [08:55:17][I][esp-idf:000][wifi]: [08:55:17] [08:55:17][I][esp-idf:000][wifi]: I (1457) wifi: [08:55:17][I][esp-idf:000][wifi]: Init management short buffer num: 32 [08:55:17][I][esp-idf:000][wifi]: [08:55:17] [08:55:17][I][esp-idf:000][wifi]: I (1477) wifi: [08:55:17][I][esp-idf:000][wifi]: Init dynamic tx buffer num: 32 [08:55:17][I][esp-idf:000][wifi]: [08:55:17] [08:55:17][I][esp-idf:000][wifi]: I (1498) wifi: [08:55:17][I][esp-idf:000][wifi]: Init static rx buffer size: 1600 [08:55:17][I][esp-idf:000][wifi]: [08:55:17] [08:55:17][I][esp-idf:000][wifi]: I (1508) wifi: [08:55:17][I][esp-idf:000][wifi]: Init static rx buffer num: 10 [08:55:17][I][esp-idf:000][wifi]: [08:55:17] [08:55:17][I][esp-idf:000][wifi]: I (1528) wifi: [08:55:17][I][esp-idf:000][wifi]: Init dynamic rx buffer num: 32 [08:55:17][I][esp-idf:000][wifi]: [08:55:17] [08:55:17][I][esp-idf:000]: I (1540) wifi_init: rx ba win: 6 [08:55:17] [08:55:17][I][esp-idf:000]: I (1549) wifi_init: tcpip mbox: 32 [08:55:17] [08:55:17][I][esp-idf:000]: I (1549) wifi_init: udp mbox: 6 [08:55:17] [08:55:17][I][esp-idf:000]: I (1559) wifi_init: tcp mbox: 6 [08:55:17] [08:55:17][I][esp-idf:000]: I (1569) wifi_init: tcp tx win: 5760 [08:55:17] [08:55:17][I][esp-idf:000]: I (1580) wifi_init: tcp rx win: 5760 [08:55:17] [08:55:17][I][esp-idf:000]: I (1580) wifi_init: tcp mss: 1440 [08:55:17] [08:55:17][I][esp-idf:000]: I (1590) wifi_init: WiFi IRAM OP enabled [08:55:17] [08:55:17][I][esp-idf:000]: I (1600) wifi_init: WiFi RX IRAM OP enabled [08:55:17] [08:55:17][I][esp-idf:000][wifi]: I (1601) phy_init: phy_version 4791,2c4672b,Dec 20 2023,16:06:06 [08:55:17] [08:55:17][I][esp-idf:000][wifi]: I (1692) wifi: [08:55:17][I][esp-idf:000][wifi]: mode : sta (08:a6:f7:12:xx:xx) [08:55:17][I][esp-idf:000][wifi]: [08:55:17] [08:55:17][I][esp-idf:000][wifi]: I (1694) wifi: [08:55:17][I][esp-idf:000][wifi]: enable tsf [08:55:17][I][esp-idf:000][wifi]: [08:55:17] [08:55:17][I][esp-idf:000][wifi]: I (1700) wifi: [08:55:17][I][esp-idf:000][wifi]: Set ps type: 1 [08:55:17] [08:55:17][I][esp-idf:000][wifi]: [08:55:17] [08:55:17][I][wifi:313]: WiFi Connecting to 'DoepDoeDoeDoep'... [08:55:17][W][ble_sensor:123]: [infoX6b] Cannot poll, not connected [08:55:17][W][ble_sensor:123]: [infoX2b] Cannot poll, not connected [08:55:17][W][ble_sensor:123]: [infoX2a] Cannot poll, not connected [08:55:17][W][ble_sensor:123]: [infoX6a] Cannot poll, not connected [08:55:17][I][esp-idf:000][wifi]: I (1740) wifi: [08:55:17][I][esp-idf:000][wifi]: Set ps type: 1 [08:55:17] [08:55:17][I][esp-idf:000][wifi]: [08:55:17] [08:55:17][W][component:157]: Component wifi set Warning flag: associating to network [08:55:17][I][esp-idf:000]: I (1770) BTDM_INIT: BT controller compile version [f021fb7] [08:55:17] [08:55:17][I][esp-idf:000][btController]: I (1781) BTDM_INIT: Bluetooth MAC: 08:a6:f7:12:xx:xx [08:55:17] [08:55:20][I][esp-idf:000][wifi]: I (4326) wifi: [08:55:20][I][esp-idf:000][wifi]: Coexist: Wi-Fi connect fail, apply reconnect coex policy [08:55:20] [08:55:20][I][esp-idf:000][wifi]: [08:55:20] [08:55:20][W][wifi_esp32:697]: Event: Disconnected ssid='DoepDoeDoeDoep' reason='Probe Request Unsuccessful' [08:55:20][W][wifi:653]: Error while connecting to network. [08:55:20][I][wifi:313]: WiFi Connecting to 'DoepDoeDoeDoep'... [08:55:22][I][esp-idf:000][wifi]: I (6768) wifi: [08:55:22][I][esp-idf:000][wifi]: Coexist: Wi-Fi connect fail, apply reconnect coex policy [08:55:22] [08:55:22][I][esp-idf:000][wifi]: [08:55:22] [08:55:22][W][wifi_esp32:697]: Event: Disconnected ssid='DoepDoeDoeDoep' reason='Probe Request Unsuccessful' [08:55:22][W][wifi:653]: Error while connecting to network. [08:55:27][I][wifi:313]: WiFi Connecting to 'DoepDoeDoeDoep'... [08:55:30][I][esp-idf:000][wifi]: I (14209) wifi: [08:55:30][I][esp-idf:000][wifi]: Coexist: Wi-Fi connect fail, apply reconnect coex policy [08:55:30] [08:55:30][I][esp-idf:000][wifi]: [08:55:30] [08:55:30][W][wifi_esp32:697]: Event: Disconnected ssid='DoepDoeDoeDoep' reason='Probe Request Unsuccessful' [08:55:30][W][wifi:653]: Error while connecting to network. [08:55:30][I][wifi:313]: WiFi Connecting to 'DoepDoeDoeDoep'... [08:55:32][I][esp-idf:000][wifi]: I (16650) wifi: [08:55:32][I][esp-idf:000][wifi]: Coexist: Wi-Fi connect fail, apply reconnect coex policy [08:55:32] [08:55:32][I][esp-idf:000][wifi]: [08:55:32] [08:55:32][W][wifi_esp32:697]: Event: Disconnected ssid='DoepDoeDoeDoep' reason='Probe Request Unsuccessful' [08:55:32][W][wifi:653]: Error while connecting to network. [08:55:37][I][wifi:313]: WiFi Connecting to 'DoepDoeDoeDoep'... [08:55:40][I][esp-idf:000][wifi]: I (24094) wifi: [08:55:40][I][esp-idf:000][wifi]: Coexist: Wi-Fi connect fail, apply reconnect coex policy [08:55:40] [08:55:40][I][esp-idf:000][wifi]: [08:55:40] [08:55:40][W][wifi_esp32:697]: Event: Disconnected ssid='DoepDoeDoeDoep' reason='Probe Request Unsuccessful' [08:55:40][W][wifi:653]: Error while connecting to network. [08:55:40][I][wifi:313]: WiFi Connecting to 'DoepDoeDoeDoep'... [08:55:41][I][main:3246]: ble command send: 1 [0x0F] 1 [08:55:41][W][ble_client.automation:141]: Cannot write to BLE characteristic - not connected [08:55:42][I][esp-idf:000][wifi]: I (26536) wifi: [08:55:42][I][esp-idf:000][wifi]: Coexist: Wi-Fi connect fail, apply reconnect coex policy [08:55:42] [08:55:42][I][esp-idf:000][wifi]: [08:55:42] [08:55:42][W][wifi_esp32:697]: Event: Disconnected ssid='DoepDoeDoeDoep' reason='Probe Request Unsuccessful' [08:55:42][W][wifi:653]: Error while connecting to network. [08:55:43][I][main:3246]: ble command send: 1 [0x13] 0 [08:55:43][W][ble_client.automation:141]: Cannot write to BLE characteristic - not connected [08:55:46][I][main:3246]: ble command send: 1 [0x0F] 1 [08:55:46][W][ble_client.automation:141]: Cannot write to BLE characteristic - not connected [08:55:47][I][wifi:313]: WiFi Connecting to 'DoepDoeDoeDoep'... [08:55:48][I][main:3246]: ble command send: 1 [0x13] 0 [08:55:48][W][ble_client.automation:141]: Cannot write to BLE characteristic - not connected [08:55:50][I][esp-idf:000][wifi]: I (33980) wifi: [08:55:50][I][esp-idf:000][wifi]: Coexist: Wi-Fi connect fail, apply reconnect coex policy [08:55:50] [08:55:50][I][esp-idf:000][wifi]: [08:55:50] [08:55:50][W][wifi_esp32:697]: Event: Disconnected ssid='DoepDoeDoeDoep' reason='Probe Request Unsuccessful' [08:55:50][W][wifi:653]: Error while connecting to network. [08:55:50][W][wifi:690]: Restarting WiFi adapter... [08:55:50][I][esp-idf:000][wifi]: I (33998) wifi: [08:55:50][I][esp-idf:000][wifi]: flush txq [08:55:50][I][esp-idf:000][wifi]: [08:55:50] [08:55:50][I][esp-idf:000][wifi]: I (34007) wifi: [08:55:50][I][esp-idf:000][wifi]: stop sw txq [08:55:50][I][esp-idf:000][wifi]: [08:55:50] [08:55:50][I][esp-idf:000][wifi]: I (34027) wifi: [08:55:50][I][esp-idf:000][wifi]: lmac stop hw txq [08:55:50][I][esp-idf:000][wifi]: [08:55:50] [08:55:50][I][wifi:313]: WiFi Connecting to 'DoepDoeDoeDoep'... [08:55:50][I][esp-idf:000][wifi]: I (34142) wifi: [08:55:50][I][esp-idf:000][wifi]: mode : sta (08:a6:f7:12:xx:xx) [08:55:50][I][esp-idf:000][wifi]: [08:55:50] [08:55:50][I][esp-idf:000][wifi]: I (34144) wifi: [08:55:50][I][esp-idf:000][wifi]: enable tsf [08:55:50][I][esp-idf:000][wifi]: [08:55:50] [08:55:50][I][esp-idf:000][wifi]: I (34156) wifi: [08:55:50][I][esp-idf:000][wifi]: Set ps type: 1 [08:55:50] [08:55:50][I][esp-idf:000][wifi]: [08:55:50] [08:55:50][I][esp-idf:000][wifi]: I (34173) wifi: [08:55:50][I][esp-idf:000][wifi]: new:<6,1>, old:<1,0>, ap:<255,255>, sta:<6,1>, prof:1 [08:55:50][I][esp-idf:000][wifi]: [08:55:50] [08:55:50][I][esp-idf:000][wifi]: I (34401) wifi: [08:55:50][I][esp-idf:000][wifi]: state: init -> auth (b0) [08:55:50][I][esp-idf:000][wifi]: [08:55:50] [08:55:50][I][esp-idf:000][wifi]: I (34408) wifi: [08:55:50][I][esp-idf:000][wifi]: state: auth -> init (8a0) [08:55:50][I][esp-idf:000][wifi]: [08:55:50] [08:55:50][I][esp-idf:000][wifi]: I (34410) wifi: [08:55:50][I][esp-idf:000][wifi]: Coexist: Wi-Fi connect fail, apply reconnect coex policy [08:55:50] [08:55:50][I][esp-idf:000][wifi]: [08:55:50] [08:55:50][I][esp-idf:000][wifi]: I (34427) wifi: [08:55:50][I][esp-idf:000][wifi]: new:<6,0>, old:<6,1>, ap:<255,255>, sta:<6,1>, prof:1 [08:55:50][I][esp-idf:000][wifi]: [08:55:50] [08:55:50][W][wifi_esp32:704]: Event: Disconnected ssid='DoepDoeDoeDoep' bssid=DC:39:6F:AD:xx:xx reason='Authentication Failed' [08:55:50][W][wifi:653]: Error while connecting to network. [08:55:51][I][main:3246]: ble command send: 1 [0x0F] 1 [08:55:51][W][ble_client.automation:141]: Cannot write to BLE characteristic - not connected [08:55:53][I][main:3246]: ble command send: 1 [0x13] 0 [08:55:53][W][ble_client.automation:141]: Cannot write to BLE characteristic - not connected [08:55:54][W][ble_sensor:123]: [infoX6b] Cannot poll, not connected [08:55:55][I][wifi:313]: WiFi Connecting to 'DoepDoeDoeDoep'... [08:55:56][I][main:3246]: ble command send: 1 [0x0F] 1 [08:55:56][W][ble_client.automation:141]: Cannot write to BLE characteristic - not connected [08:55:58][I][esp-idf:000][wifi]: I (41895) wifi: [08:55:58][I][esp-idf:000][wifi]: new:<6,1>, old:<6,0>, ap:<255,255>, sta:<6,1>, prof:1 [08:55:58][I][esp-idf:000][wifi]: [08:55:58] [08:55:58][I][esp-idf:000][wifi]: I (42108) wifi: [08:55:58][I][esp-idf:000][wifi]: state: init -> auth (b0) [08:55:58][I][esp-idf:000][wifi]: [08:55:58] [08:55:58][I][esp-idf:000][wifi]: I (42122) wifi: [08:55:58][I][esp-idf:000][wifi]: state: auth -> assoc (0) [08:55:58][I][esp-idf:000][wifi]: [08:55:58] [08:55:58][I][esp-idf:000][wifi]: I (42135) wifi: [08:55:58][I][esp-idf:000][wifi]: state: assoc -> run (10) [08:55:58][I][esp-idf:000][wifi]: [08:55:58] [08:55:58][I][main:3246]: ble command send: 1 [0x13] 0 [08:55:58][W][ble_client.automation:141]: Cannot write to BLE characteristic - not connected [08:55:58][I][esp-idf:000][wifi]: I (42170) wifi: [08:55:58][I][esp-idf:000][wifi]: connected with DoepDoeDoeDoep, aid = 31, channel 6, 40U, bssid = dc:39:6f:ad:xx:xx [08:55:58][I][esp-idf:000][wifi]: [08:55:58] [08:55:58][I][esp-idf:000][wifi]: I (42171) wifi: [08:55:58][I][esp-idf:000][wifi]: security: WPA2-PSK, phy: bgn, rssi: -56 [08:55:58][I][esp-idf:000][wifi]: [08:55:58] [08:55:58][I][esp-idf:000][wifi]: I (42187) wifi: [08:55:58][I][esp-idf:000][wifi]: pm start, type: 1 [08:55:58] [08:55:58][I][esp-idf:000][wifi]: [08:55:58] [08:55:58][I][esp-idf:000][wifi]: I (42231) wifi: [08:55:58][I][esp-idf:000][wifi]: AP's beacon interval = 102400 us, DTIM period = 1 [08:55:58][I][esp-idf:000][wifi]: [08:55:58] [08:55:58][I][esp-idf:000][wifi]: I (42301) wifi: [08:55:58][I][esp-idf:000][wifi]: idx:0 (ifx:0, dc:39:6f:ad:xx:xx), tid:6, ssn:2, winSize:64 [08:55:58][I][esp-idf:000][wifi]: [08:55:58] [08:55:59][I][esp-idf:000][sys_evt]: I (43204) esp_netif_handlers: sta ip: 192.168.178.83, mask: 255.255.255.0, gw: 192.168.178.1 [08:55:59] [08:55:59][I][wifi:617]: WiFi Connected! [08:55:59][W][component:157]: Component mqtt set Warning flag: unspecified [08:55:59][I][mqtt:245]: Connecting to MQTT... [08:55:59][W][component:170]: Component wifi cleared Warning flag [08:55:59][I][esp32_ble_client:067]: [0] [94:70:6C:CD:xx:x0] 0x00 Attempting BLE connection [08:55:59][I][esp-idf:000][wifi]: I (43383) wifi: [08:55:59][I][esp-idf:000][wifi]: idx:1 (ifx:0, dc:39:6f:ad:xx:xx), tid:0, ssn:0, winSize:64 [08:55:59][I][esp-idf:000][wifi]: [08:55:59] [08:55:59][W][component:170]: Component mqtt cleared Warning flag [08:55:59][I][mqtt:286]: MQTT Connected! [08:55:59][I][app:062]: setup() finished successfully! [08:55:59][I][ble_sensor:031]: [infoX2a] Connected successfully! [08:55:59][I][ble_sensor:031]: [infoX6a] Connected successfully! [08:55:59][I][app:100]: ESPHome version 2024.10.0 compiled on Oct 19 2024, 08:45:23 [08:56:00][I][esp32_ble_client:067]: [1] [94:70:6C:CD:xx:x4] 0x00 Attempting BLE connection [08:56:01][I][esp32_ble_client:227]: [0] [94:70:6C:CD:xx:x0] Connected [08:56:01][I][ble_sensor:031]: [infoX2b] Connected successfully! [08:56:01][I][ble_sensor:031]: [infoX6b] Connected successfully! [08:56:01][W][safe_mode:029]: Last reset occurred too quickly; safe mode will be invoked in 4 restarts [08:56:01][I][main:3246]: ble command send: 1 [0x0F] 1 [08:56:01][I][main:2259]: runtime parse: 1 [08:56:01][W][component:237]: Component esp32_ble took a long time for an operation (51 ms). [08:56:02][W][component:238]: Components should block for at most 30 ms. [08:56:02][I][esp32_ble_client:227]: [1] [94:70:6C:CD:xx:x4] Connected [08:56:03][I][main:3246]: ble command send: 1 [0x13] 0 [08:56:03][I][main:2259]: runtime parse: 1 [08:56:03][I][main:2746]: Data: cmd 0x13 (timer) - Device: 1 [08:56:03][I][timer:2748]: 1: 1: 00:00 - 09:00 ( 100 W ) [08:56:03][I][timer:2749]: 2: 1: 19:00 - 23:59 ( 120 W ) [08:56:03][I][timer:2750]: 3: 0: 14:00 - 14:59 ( 100 W ) [08:56:03][I][timer:2755]: adaptiv: 0 - Entladeleistung: 080 - CT001: 000 ( 060 s ) [08:56:04][W][ble_sensor:078]: Error reading char at handle 21, status=2 [08:56:04][W][ble_sensor:078]: Error reading char at handle 21, status=2 [08:56:05][I][main:3246]: ble command send: 1 [0x04] 1 [08:56:05][I][main:2259]: runtime parse: 1 [08:56:05][I][deviceInfo:2650]: 60: HMA-1 [94706ccdxxx0] xxxxxxxxxxxxxxxxxxxxxxxx - L?\xf9? [08:56:05] [08:56:05]abort() was called at PC 0x401afb46 on core 0 [08:56:05] [08:56:05] [08:56:05]Backtrace: 0x4008247e:0x3ffcf260 0x4008effd:0x3ffcf280 0x40094be6:0x3ffcf2a0 0x401afb46:0x3ffcf310 0x401af3ff:0x3ffcf330 0x401aefe7:0x3ffcf350 0x400e7edd:0x3ffcf370 0x400ebf1e:0x3ffcf3b0 0x400ed56a:0x3ffcf4f0 0x400e982c:0x3ffcf520 0x400ea83b:0x3ffcf550 0x400ea814:0x3ffcf580 0x400ea850:0x3ffcf5b0 0x400e9771:0x3ffcf5e0 0x400e97c0:0x3ffcf610 0x400e9d58:0x3ffcf660 0x400d3fbf:0x3ffcf6b0 0x400d42ef:0x3ffcf6f0 0x400d433d:0x3ffcf790 0x400d3dfb:0x3ffcf7b0 0x401c52ce:0x3ffcf7e0 0x400d641d:0x3ffcf800 0x401c5279:0x3ffcf820 0x400d4fe9:0x3ffcf840 0x401c5e35:0x3ffcf860 0x401c5ee9:0x3ffcf880 0x400e4ab0:0x3ffcf8a0 0x400e8b6a:0x3ffcf8d0 0x400d452a:0x3ffcf8f0 WARNING Found stack trace! Trying to decode it WARNING Decoded 0x4008247e: panic_abort at C:\Users\Udo.platformio\packages\framework-espidf\components\esp_system/panic.c:408 WARNING Decoded 0x4008effd: esp_system_abort at C:\Users\Udo.platformio\packages\framework-espidf\components\esp_system/esp_system.c:137 WARNING Decoded 0x40094be6: abort at C:\Users\Udo.platformio\packages\framework-espidf\components\newlib/abort.c:46 WARNING Decoded 0x401afb46: wrapUnwind_Resume_or_Rethrow WARNING Decoded 0x401af3ff: cxa_throw at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32-elf/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc:90 WARNING Decoded 0x401aefe7: std::__throw_invalid_argument(char const*) at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32-elf/src/gcc/libstdc++-v3/src/c++11/functexcept.cc:74 (discriminator 2) WARNING Decoded 0x400e7edd: float gnu_cxx::__stoa<float, float, char>(float ()(char const, char*), char const, char const, unsigned int) at c:\users\udo.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\ext/string_conversions.h:83 (inlined by) std::cxx11::stof(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int) at c:\users\udo.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bits/basic_string.h:6437 WARNING Decoded 0x400ebf1e: _ZZ5setupvENKUliSt6vectorIcSaIcEEE71clEiS1$isra$1229 at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/b2500-v2-ble-idf.yaml:2661 WARNING Decoded 0x400ed56a: std::_Function_handler<void (int, std::vector<char, std::allocator >), setup()::{lambda(int, std::vector<char, std::allocator >)#73}>::_M_invoke(std::_Any_data const&, int&&, std::vector<char, std::allocator >&&) at c:\users\udo.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bits/std_function.h:297 WARNING Decoded 0x400e982c: std::function<void (int, std::vector<char, std::allocator >)>::operator()(int, std::vector<char, std::allocator >) const at c:\users\udo.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bits/std_function.h:687 (inlined by) esphome::LambdaAction<int, std::vector<char, std::allocator > >::play(int, std::vector<char, std::allocator >) at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome/core/base_automation.h:174 WARNING Decoded 0x400ea83b: esphome::Action<int, std::vector<char, std::allocator > >::play_complex(int, std::vector<char, std::allocator >) at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome/core/automation.h:125 WARNING Decoded 0x400ea814: esphome::Action<int, std::vector<char, std::allocator > >::playnext(int, std::vector<char, std::allocator >) at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome/core/automation.h:155 WARNING Decoded 0x400ea850: esphome::Action<int, std::vector<char, std::allocator > >::play_complex(int, std::vector<char, std::allocator >) at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome/core/automation.h:126 WARNING Decoded 0x400e9771: esphome::ActionList<int, std::vector<char, std::allocator > >::play(int, std::vector<char, std::allocator >) at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome/core/automation.h:203 WARNING Decoded 0x400e97c0: esphome::Automation<int, std::vector<char, std::allocator > >::trigger(int, std::vector<char, std::allocator >) at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome/core/automation.h:243 (inlined by) esphome::Trigger<int, std::vector<char, std::allocator > >::trigger(int, std::vector<char, std::allocator >) at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome/core/automation.h:98 (inlined by) esphome::script::SingleScript<int, std::vector<char, std::allocator > >::execute(int, std::vector<char, std::allocator >) at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome\components\script/script.h:64 (inlined by) esphome::script::SingleScript<int, std::vector<char, std::allocator > >::execute(int, std::vector<char, std::allocator >) at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome\components\script/script.h:58 WARNING Decoded 0x400e9d58: std::_Function_handler<float (std::vector<unsigned char, std::allocator >), setup()::{lambda(std::vector<unsigned char, std::allocator > const&)#7}>::_M_invoke(std::_Any_data const&, std::vector<unsigned char, std::allocator >&&) at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/b2500-v2-ble-idf.yaml:1328 (inlined by) _M_invoke at c:\users\udo.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bits/std_function.h:282 WARNING Decoded 0x400d3fbf: std::function<float (std::vector<unsigned char, std::allocator >)>::operator()(std::vector<unsigned char, std::allocator >) const at c:\users\udo.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bits/std_function.h:687 (inlined by) esphome::ble_client::BLESensor::parsedata(unsigned char, unsigned short) at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome/components/ble_client/sensor/ble_sensor.cpp:115 (inlined by) esphome::ble_client::BLESensor::parsedata(unsigned char, unsigned short) at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome/components/ble_client/sensor/ble_sensor.cpp:112 WARNING Decoded 0x400d42ef: esphome::ble_client::BLESensor::gattc_event_handler(esp_gattc_cb_event_t, unsigned char, esp_ble_gattc_cb_param_t) at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome/components/ble_client/sensor/ble_sensor.cpp:92 WARNING Decoded 0x400d433d: non-virtual thunk to esphome::ble_client::BLESensor::gattc_event_handler(esp_gattc_cb_event_t, unsigned char, esp_ble_gattc_cb_param_t) WARNING Decoded 0x400d3dfb: esphome::ble_client::BLEClient::gattc_event_handler(esp_gattc_cb_event_t, unsigned char, esp_ble_gattc_cb_param_t) at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome/components/ble_client/ble_client.cpp:54 (discriminator 2) WARNING Decoded 0x401c52ce: esphome::esp32_ble_tracker::ESP32BLETracker::gattc_event_handler(esp_gattc_cb_event_t, unsigned char, esp_ble_gattc_cb_param_t) at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome/components/esp32_ble_tracker/esp32_ble_tracker.cpp:408 (discriminator 2) WARNING Decoded 0x400d641d: non-virtual thunk to esphome::esp32_ble_tracker::ESP32BLETracker::gattc_event_handler(esp_gattc_cb_event_t, unsigned char, esp_ble_gattc_cb_param_t) WARNING Decoded 0x401c5279: esphome::esp32_ble::ESP32BLE::real_gattc_eventhandler(esp_gattc_cb_event_t, unsigned char, esp_ble_gattc_cb_param_t) at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome/components/esp32_ble/ble.cpp:361 (discriminator 2) WARNING Decoded 0x400d4fe9: esphome::esp32_ble::ESP32BLE::loop() at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome/components/esp32_ble/ble.cpp:308 WARNING Decoded 0x401c5e35: esphome::Component::call_loop() at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome/core/component.cpp:77 WARNING Decoded 0x401c5ee9: esphome::Component::call() at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome/core/component.cpp:104 WARNING Decoded 0x400e4ab0: esphome::Application::loop() at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome/core/application.cpp:74 (discriminator 2) WARNING Decoded 0x400e8b6a: loop() at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/b2500-v2-ble-idf.yaml:71 WARNING Decoded 0x400d452a: esphome::loop_task(void) at D:\b2500-noone2k\hm2500pub-master\config.esphome\build\b2500-v2-ble-idf/src/esphome/components/esp32/core.cpp:69 (discriminator 1) [08:56:06]

noone2k commented 1 week ago

einen möglichen fehler habe ich ggf. gesehen ... habe die fw erkennung in der fw 218 anscheinend nicht sauber aus meiner dev version übertragen. müsste dazu ggf. erstmal ein downgrade machen und nochmal checken ... sobald ein bisserl zeit dafür da ist ...

bis dahin am besten ein checkout verwenden, wo die änderungen zur 218 noch nicht drin sind ...

ugath commented 1 week ago

Habe jetzt mal die Version vom 08. Juli - [V2] update prepare passthrough fix - vmax 3.55V ( untestet ) drauf gespielt, die funktioniert etwas besser. Da fehlen nur die Timer vom 2. Speicher und es taucht immer wieder folgende Fehlermeldung im Log auf:

[17:47:01][W][ble_sensor:078]: Error reading char at handle 24, status=2 [17:47:01][W][ble_sensor:078]: Error reading char at handle 24, status=2 [17:47:02][W][ble_sensor:078]: Error reading char at handle 21, status=2 [17:47:02][W][ble_sensor:078]: Error reading char at handle 21, status=2

grafik

noone2k commented 1 week ago

die version für den v2 unterstützt nur einen speicher vollständig ( mangels ansporn zur umsetzung für nen 2ten :grin: )

schau dir mal die version von tomquist an, der kann gemixt v1 / v2 und bis zu 3 speicher steuern https://github.com/tomquist/esphome-b2500

ugath commented 1 week ago

OK, die Version von Tomquist hatte ich bisher laufen. Wegen ein paar kleiner Fehler und wegen der 5 Timern, in den zukünftigen FW-Versionen, wollte ich mal Deine Version ausprobieren. Außerdem fand ich das HA Script interessant. ;)