ESP32 Wroom i CC1101 piny?

Mnie to zaintrygowała tylko jedna kwestia - czy pod wskazanym IP masz własny działający serwer czasu, bo w tym logu z “pustego” wsadu nie ma śladu po synchronizacji czasu (chociaż widać, że tam też miałeś komponent sntp), a w logach z bootloopem ostatnim zdarzeniem jest próba synchronizacji czasu (nie wiadomo czy udana, ale raczej nie, bo akurat w tym momencie się system wywraca za każdym razem).

Przedostatnim zdarzeniem jest próba połączenia API również nie wiadomo czy udana - tu masz kawałek logu mojego urządzania, gdzie zarówno połączenie API jak i synchronizacja czasu jest udana edit: tu akurat była synchronizacja czasu z HA (synchronizacja sntp faktycznie ostatnio nie zostawia śladu w logu, przy poziomie logowania debug)

[01:27:37][C][mdns:109]:   Hostname: zegarek-tm1637
[01:27:37][C][ota:093]: Over-The-Air Updates:
[01:27:37][C][ota:094]:   Address: zegarek-tm1637.local:8266
[01:27:37][C][api:138]: API Server:
[01:27:37][C][api:139]:   Address: zegarek-tm1637.local:6053
[01:27:37][C][api:143]:   Using noise encryption: NO
[01:27:37][C][wifi_info:009]: WifiInfo IPAddress 'zegarek-tm1637 IP Address'
[01:27:37][C][wifi_info:011]: WifiInfo SSID 'zegarek-tm1637 Connected SSID'
[01:27:37][C][wifi_info:012]: WifiInfo BSSID 'zegarek-tm1637 Connected BSSID'
[01:27:37][C][wifi_info:010]: WifiInfo Scan Results 'zegarek-tm1637 Latest Scan Results'
[01:27:37][C][sntp:053]: SNTP Time:
[01:27:37][C][sntp:054]:   Server 1: '0.pool.ntp.org'
[01:27:37][C][sntp:055]:   Server 2: '1.pool.ntp.org'
[01:27:37][C][sntp:056]:   Server 3: '2.pool.ntp.org'
[01:27:37][C][sntp:057]:   Timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
[01:27:38][D][api:102]: Accepted 192.168.20.50
[01:27:38][D][api.connection:961]: Home Assistant 2023.4.6 (192.168.20.50): Connected successfully
[01:27:38][D][time:044]: Synchronized time: 2023-04-25 01:27:38

aby była wykorzystana światowa pula serwerów wystarczy wpis konfiguracyjny w tym guście

time:
  - platform: sntp
    id: sntp_time

ewentualnie by korzystać z polskich serwerów zamiast konkretnych IP można podać adresy polskich pul

    servers:
      - 0.pl.pool.ntp.org
      - 1.pl.pool.ntp.org
      - 2.pl.pool.ntp.org

W sumie skoro korzystasz z API to może nawet lepiej byłoby pobierać czas z HA?

# Example configuration entry
time:
  - platform: homeassistant
    id: homeassistant_time

@szopen W Home Assistant mam zainstalowany i skonfigurowany dodatek Chrony, dlatego w ESP mam podany adres Home Assistant.
Zmiana serwerów sntp nic nie daje.
@_Szczepan
Wpisu platformio_options też nie.
Co miałeś na myśli mówiąć, że muszę podpiąć esp32 pod PlatformIO żeby się coś zdekodowało?
Czy to jest to samo co ArduinoIDE? Arduino mam zainstalowane na komputerze jak coś.

Edit:
Jak dodałem manual_ip i ręcznie przypisałem dns to czas zaczął się pobierać prawidłowo. Niestety dalej ten watchdog…

E (24055) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (24055) task_wdt:  - loopTask (CPU 1)
E (24055) task_wdt: Tasks currently running:
E (24055) task_wdt: CPU 0: IDLE
E (24055) task_wdt: CPU 1: loopTask
E (24055) task_wdt: Aborting.

abort() was called at PC 0x400f821c on core 0


Backtrace:0x400838d9:0x3ffbe9cc |<-CORRUPTED




ELF file SHA256: 0000000000000000

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13132
load:0x40080400,len:3036
entry 0x400805e4
[I][logger:259]: Log initialized
[C][ota:469]: There have been 1 suspected unsuccessful boot attempts.
[D][esp32.preferences:114]: Saving 1 preferences to flash...
[D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][wifi:038]: Setting up WiFi...
[C][wifi:039]:   Local MAC: 30:C6:F7:2C:B3:3C
[D][wifi:387]: Starting scan...
[D][text_sensor:064]: 'Ora Text': Sending state '11:19:15 - 25-04-2023'
[D][wifi:402]: Found networks:
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 5
[D][wifi:448]:     RSSI: -61 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 1
[D][wifi:448]:     RSSI: -74 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 10
[D][wifi:448]:     RSSI: -85 dB
[I][wifi:258]: WiFi Connecting to 'SYRION16262'...
[I][wifi:519]: WiFi Connected!
[C][wifi:363]:   Local MAC: 30:C6:F7:2C:B3:3C
[C][wifi:364]:   SSID: [redacted]
[C][wifi:365]:   IP Address: 192.168.254.7
[C][wifi:367]:   BSSID: [redacted]
[C][wifi:368]:   Hostname: 'esp32-parter'
[C][wifi:370]:   Signal strength: -62 dB ▂▄▆█
[C][wifi:374]:   Channel: 5
[C][wifi:375]:   Subnet: 255.255.255.0
[C][wifi:376]:   Gateway: 192.168.254.254
[C][wifi:377]:   DNS1: 192.168.254.254
[C][wifi:378]:   DNS2: 8.8.8.8
[D][wifi:528]: Disabling AP...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]:   Address: 192.168.254.7:3232
[C][ota:097]:   Using Password.
[C][api:025]: Setting up Home Assistant API server...
[C][sntp:028]: Setting up SNTP...

E (24115) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (24115) task_wdt:  - loopTask (CPU 1)
E (24115) task_wdt: Tasks currently running:
E (24115) task_wdt: CPU 0: IDLE
E (24115) task_wdt: CPU 1: loopTask
E (24115) task_wdt: Aborting.

abort() was called at PC 0x400f821c on core 0


Backtrace:0x400838d9:0x3ffbe9cc |<-CORRUPTED




ELF file SHA256: 0000000000000000

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13132
load:0x40080400,len:3036
entry 0x400805e4
[I][logger:259]: Log initialized
[C][ota:469]: There have been 2 suspected unsuccessful boot attempts.
[D][esp32.preferences:114]: Saving 1 preferences to flash...
[D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][wifi:038]: Setting up WiFi...
[C][wifi:039]:   Local MAC: 30:C6:F7:2C:B3:3C
[D][wifi:387]: Starting scan...
[D][text_sensor:064]: 'Ora Text': Sending state '11:19:27 - 25-04-2023'
[D][wifi:402]: Found networks:
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 5
[D][wifi:448]:     RSSI: -60 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 1
[D][wifi:448]:     RSSI: -74 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 10
[D][wifi:448]:     RSSI: -80 dB
[I][wifi:258]: WiFi Connecting to 'SYRION16262'...
[I][wifi:519]: WiFi Connected!
[C][wifi:363]:   Local MAC: 30:C6:F7:2C:B3:3C
[C][wifi:364]:   SSID: [redacted]
[C][wifi:365]:   IP Address: 192.168.254.7
[C][wifi:367]:   BSSID: [redacted]
[C][wifi:368]:   Hostname: 'esp32-parter'
[C][wifi:370]:   Signal strength: -61 dB ▂▄▆█
[C][wifi:374]:   Channel: 5
[C][wifi:375]:   Subnet: 255.255.255.0
[C][wifi:376]:   Gateway: 192.168.254.254
[C][wifi:377]:   DNS1: 192.168.254.254
[C][wifi:378]:   DNS2: 8.8.8.8
[D][wifi:528]: Disabling AP...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]:   Address: 192.168.254.7:3232
[C][ota:097]:   Using Password.
[W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 8 restarts
[C][api:025]: Setting up Home Assistant API server...
[C][sntp:028]: Setting up SNTP...

E (23975) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (23975) task_wdt:  - loopTask (CPU 1)
E (23975) task_wdt: Tasks currently running:
E (23975) task_wdt: CPU 0: IDLE
E (23975) task_wdt: CPU 1: loopTask
E (23975) task_wdt: Aborting.

abort() was called at PC 0x400f821c on core 0


Backtrace:0x400838d9:0x3ffbe9cc |<-CORRUPTED




ELF file SHA256: 0000000000000000

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13132
load:0x40080400,len:3036
entry 0x400805e4
[I][logger:259]: Log initialized
[C][ota:469]: There have been 3 suspected unsuccessful boot attempts.
[D][esp32.preferences:114]: Saving 1 preferences to flash...
[D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][wifi:038]: Setting up WiFi...
[C][wifi:039]:   Local MAC: 30:C6:F7:2C:B3:3C
[D][wifi:387]: Starting scan...
[D][text_sensor:064]: 'Ora Text': Sending state '11:19:39 - 25-04-2023'
[D][wifi:402]: Found networks:
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 5
[D][wifi:448]:     RSSI: -59 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 1
[D][wifi:448]:     RSSI: -74 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 10
[D][wifi:448]:     RSSI: -83 dB
[I][wifi:258]: WiFi Connecting to 'SYRION16262'...
[I][wifi:519]: WiFi Connected!
[C][wifi:363]:   Local MAC: 30:C6:F7:2C:B3:3C
[C][wifi:364]:   SSID: [redacted]
[C][wifi:365]:   IP Address: 192.168.254.7
[C][wifi:367]:   BSSID: [redacted]
[C][wifi:368]:   Hostname: 'esp32-parter'
[C][wifi:370]:   Signal strength: -61 dB ▂▄▆█
[C][wifi:374]:   Channel: 5
[C][wifi:375]:   Subnet: 255.255.255.0
[C][wifi:376]:   Gateway: 192.168.254.254
[C][wifi:377]:   DNS1: 192.168.254.254
[C][wifi:378]:   DNS2: 8.8.8.8
[D][wifi:528]: Disabling AP...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]:   Address: 192.168.254.7:3232
[C][ota:097]:   Using Password.
[W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 7 restarts
[C][api:025]: Setting up Home Assistant API server...
[C][sntp:028]: Setting up SNTP...

E (23973) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (23973) task_wdt:  - loopTask (CPU 1)
E (23973) task_wdt: Tasks currently running:
E (23973) task_wdt: CPU 0: IDLE
E (23973) task_wdt: CPU 1: loopTask
E (23973) task_wdt: Aborting.

abort() was called at PC 0x400f821c on core 0


Backtrace:0x400838d9:0x3ffbe9cc |<-CORRUPTED




ELF file SHA256: 0000000000000000

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13132
load:0x40080400,len:3036
entry 0x400805e4
[I][logger:259]: Log initialized
[C][ota:469]: There have been 4 suspected unsuccessful boot attempts.
[D][esp32.preferences:114]: Saving 1 preferences to flash...
[D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][wifi:038]: Setting up WiFi...
[C][wifi:039]:   Local MAC: 30:C6:F7:2C:B3:3C
[D][wifi:387]: Starting scan...
[D][text_sensor:064]: 'Ora Text': Sending state '11:19:51 - 25-04-2023'
[D][wifi:402]: Found networks:
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 5
[D][wifi:448]:     RSSI: -59 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 1
[D][wifi:448]:     RSSI: -74 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 10
[D][wifi:448]:     RSSI: -84 dB
[I][wifi:258]: WiFi Connecting to 'SYRION16262'...
[I][wifi:519]: WiFi Connected!
[C][wifi:363]:   Local MAC: 30:C6:F7:2C:B3:3C
[C][wifi:364]:   SSID: [redacted]
[C][wifi:365]:   IP Address: 192.168.254.7
[C][wifi:367]:   BSSID: [redacted]
[C][wifi:368]:   Hostname: 'esp32-parter'
[C][wifi:370]:   Signal strength: -60 dB ▂▄▆█
[C][wifi:374]:   Channel: 5
[C][wifi:375]:   Subnet: 255.255.255.0
[C][wifi:376]:   Gateway: 192.168.254.254
[C][wifi:377]:   DNS1: 192.168.254.254
[C][wifi:378]:   DNS2: 8.8.8.8
[D][wifi:528]: Disabling AP...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]:   Address: 192.168.254.7:3232
[C][ota:097]:   Using Password.
[W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 6 restarts
[C][api:025]: Setting up Home Assistant API server...
[C][sntp:028]: Setting up SNTP...

E (23967) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (23967) task_wdt:  - loopTask (CPU 1)
E (23967) task_wdt: Tasks currently running:
E (23967) task_wdt: CPU 0: IDLE
E (23967) task_wdt: CPU 1: loopTask
E (23967) task_wdt: Aborting.

abort() was called at PC 0x400f821c on core 0


Backtrace:0x400838d9:0x3ffbe9cc |<-CORRUPTED




ELF file SHA256: 0000000000000000

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13132
load:0x40080400,len:3036
entry 0x400805e4
[I][logger:259]: Log initialized
[C][ota:469]: There have been 5 suspected unsuccessful boot attempts.
[D][esp32.preferences:114]: Saving 1 preferences to flash...
[D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][wifi:038]: Setting up WiFi...
[C][wifi:039]:   Local MAC: 30:C6:F7:2C:B3:3C
[D][wifi:387]: Starting scan...
[D][text_sensor:064]: 'Ora Text': Sending state '11:20:04 - 25-04-2023'
[D][wifi:402]: Found networks:
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 5
[D][wifi:448]:     RSSI: -59 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 1
[D][wifi:448]:     RSSI: -74 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 10
[D][wifi:448]:     RSSI: -84 dB
[I][wifi:258]: WiFi Connecting to 'SYRION16262'...
[I][wifi:519]: WiFi Connected!
[C][wifi:363]:   Local MAC: 30:C6:F7:2C:B3:3C
[C][wifi:364]:   SSID: [redacted]
[C][wifi:365]:   IP Address: 192.168.254.7
[C][wifi:367]:   BSSID: [redacted]
[C][wifi:368]:   Hostname: 'esp32-parter'
[C][wifi:370]:   Signal strength: -59 dB ▂▄▆█
[C][wifi:374]:   Channel: 5
[C][wifi:375]:   Subnet: 255.255.255.0
[C][wifi:376]:   Gateway: 192.168.254.254
[C][wifi:377]:   DNS1: 192.168.254.254
[C][wifi:378]:   DNS2: 8.8.8.8
[D][wifi:528]: Disabling AP...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]:   Address: 192.168.254.7:3232
[C][ota:097]:   Using Password.
[W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 5 restarts
[C][api:025]: Setting up Home Assistant API server...
[C][sntp:028]: Setting up SNTP...

E (23965) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (23965) task_wdt:  - loopTask (CPU 1)
E (23965) task_wdt: Tasks currently running:
E (23965) task_wdt: CPU 0: IDLE
E (23965) task_wdt: CPU 1: loopTask
E (23965) task_wdt: Aborting.

abort() was called at PC 0x400f821c on core 0


Backtrace:0x400838d9:0x3ffbe9cc |<-CORRUPTED




ELF file SHA256: 0000000000000000

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13132
load:0x40080400,len:3036
entry 0x400805e4
[I][logger:259]: Log initialized
[C][ota:469]: There have been 6 suspected unsuccessful boot attempts.
[D][esp32.preferences:114]: Saving 1 preferences to flash...
[D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][wifi:038]: Setting up WiFi...
[C][wifi:039]:   Local MAC: 30:C6:F7:2C:B3:3C
[D][wifi:387]: Starting scan...
[D][text_sensor:064]: 'Ora Text': Sending state '11:20:16 - 25-04-2023'
[D][wifi:402]: Found networks:
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 5
[D][wifi:448]:     RSSI: -59 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 1
[D][wifi:448]:     RSSI: -74 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 10
[D][wifi:448]:     RSSI: -80 dB
[I][wifi:258]: WiFi Connecting to 'SYRION16262'...
[I][wifi:519]: WiFi Connected!
[C][wifi:363]:   Local MAC: 30:C6:F7:2C:B3:3C
[C][wifi:364]:   SSID: [redacted]
[C][wifi:365]:   IP Address: 192.168.254.7
[C][wifi:367]:   BSSID: [redacted]
[C][wifi:368]:   Hostname: 'esp32-parter'
[C][wifi:370]:   Signal strength: -61 dB ▂▄▆█
[C][wifi:374]:   Channel: 5
[C][wifi:375]:   Subnet: 255.255.255.0
[C][wifi:376]:   Gateway: 192.168.254.254
[C][wifi:377]:   DNS1: 192.168.254.254
[C][wifi:378]:   DNS2: 8.8.8.8
[D][wifi:528]: Disabling AP...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]:   Address: 192.168.254.7:3232
[C][ota:097]:   Using Password.
[W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 4 restarts
[C][api:025]: Setting up Home Assistant API server...
[C][sntp:028]: Setting up SNTP...

E (23973) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (23973) task_wdt:  - loopTask (CPU 1)
E (23973) task_wdt: Tasks currently running:
E (23973) task_wdt: CPU 0: IDLE
E (23973) task_wdt: CPU 1: loopTask
E (23973) task_wdt: Aborting.

abort() was called at PC 0x400f821c on core 0


Backtrace:0x400838d9:0x3ffbe9cc |<-CORRUPTED




ELF file SHA256: 0000000000000000

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13132
load:0x40080400,len:3036
entry 0x400805e4
[I][logger:259]: Log initialized
[C][ota:469]: There have been 7 suspected unsuccessful boot attempts.
[D][esp32.preferences:114]: Saving 1 preferences to flash...
[D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][wifi:038]: Setting up WiFi...
[C][wifi:039]:   Local MAC: 30:C6:F7:2C:B3:3C
[D][wifi:387]: Starting scan...
[D][text_sensor:064]: 'Ora Text': Sending state '11:20:28 - 25-04-2023'
[D][wifi:402]: Found networks:
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 5
[D][wifi:448]:     RSSI: -60 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 1
[D][wifi:448]:     RSSI: -73 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 10
[D][wifi:448]:     RSSI: -83 dB
[I][wifi:258]: WiFi Connecting to 'SYRION16262'...
[I][wifi:519]: WiFi Connected!
[C][wifi:363]:   Local MAC: 30:C6:F7:2C:B3:3C
[C][wifi:364]:   SSID: [redacted]
[C][wifi:365]:   IP Address: 192.168.254.7
[C][wifi:367]:   BSSID: [redacted]
[C][wifi:368]:   Hostname: 'esp32-parter'
[C][wifi:370]:   Signal strength: -62 dB ▂▄▆█
[C][wifi:374]:   Channel: 5
[C][wifi:375]:   Subnet: 255.255.255.0
[C][wifi:376]:   Gateway: 192.168.254.254
[C][wifi:377]:   DNS1: 192.168.254.254
[C][wifi:378]:   DNS2: 8.8.8.8
[D][wifi:528]: Disabling AP...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]:   Address: 192.168.254.7:3232
[C][ota:097]:   Using Password.
[W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 3 restarts
[C][api:025]: Setting up Home Assistant API server...
[C][sntp:028]: Setting up SNTP...

E (23975) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (23975) task_wdt:  - loopTask (CPU 1)
E (23975) task_wdt: Tasks currently running:
E (23975) task_wdt: CPU 0: IDLE
E (23975) task_wdt: CPU 1: loopTask
E (23975) task_wdt: Aborting.

abort() was called at PC 0x400f821c on core 0


Backtrace:0x400838d9:0x3ffbe9cc |<-CORRUPTED




ELF file SHA256: 0000000000000000

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13132
load:0x40080400,len:3036
entry 0x400805e4
[I][logger:259]: Log initialized
[C][ota:469]: There have been 8 suspected unsuccessful boot attempts.
[D][esp32.preferences:114]: Saving 1 preferences to flash...
[D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][wifi:038]: Setting up WiFi...
[C][wifi:039]:   Local MAC: 30:C6:F7:2C:B3:3C
[D][wifi:387]: Starting scan...
[D][text_sensor:064]: 'Ora Text': Sending state '11:20:41 - 25-04-2023'
[D][wifi:402]: Found networks:
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 5
[D][wifi:448]:     RSSI: -61 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 1
[D][wifi:448]:     RSSI: -74 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 10
[D][wifi:448]:     RSSI: -88 dB
[I][wifi:258]: WiFi Connecting to 'SYRION16262'...
[I][wifi:519]: WiFi Connected!
[C][wifi:363]:   Local MAC: 30:C6:F7:2C:B3:3C
[C][wifi:364]:   SSID: [redacted]
[C][wifi:365]:   IP Address: 192.168.254.7
[C][wifi:367]:   BSSID: [redacted]
[C][wifi:368]:   Hostname: 'esp32-parter'
[C][wifi:370]:   Signal strength: -64 dB ▂▄▆█
[C][wifi:374]:   Channel: 5
[C][wifi:375]:   Subnet: 255.255.255.0
[C][wifi:376]:   Gateway: 192.168.254.254
[C][wifi:377]:   DNS1: 192.168.254.254
[C][wifi:378]:   DNS2: 8.8.8.8
[D][wifi:528]: Disabling AP...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]:   Address: 192.168.254.7:3232
[C][ota:097]:   Using Password.
[W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 2 restarts
[C][api:025]: Setting up Home Assistant API server...
[C][sntp:028]: Setting up SNTP...

E (23969) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (23969) task_wdt:  - loopTask (CPU 1)
E (23969) task_wdt: Tasks currently running:
E (23969) task_wdt: CPU 0: IDLE
E (23969) task_wdt: CPU 1: loopTask
E (23969) task_wdt: Aborting.

abort() was called at PC 0x400f821c on core 0


Backtrace:0x400838d9:0x3ffbe9cc |<-CORRUPTED




ELF file SHA256: 0000000000000000

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13132
load:0x40080400,len:3036
entry 0x400805e4
[I][logger:259]: Log initialized
[C][ota:469]: There have been 9 suspected unsuccessful boot attempts.
[D][esp32.preferences:114]: Saving 1 preferences to flash...
[D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][wifi:038]: Setting up WiFi...
[C][wifi:039]:   Local MAC: 30:C6:F7:2C:B3:3C
[D][wifi:387]: Starting scan...
[D][text_sensor:064]: 'Ora Text': Sending state '11:20:53 - 25-04-2023'
[D][wifi:402]: Found networks:
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 5
[D][wifi:448]:     RSSI: -63 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 1
[D][wifi:448]:     RSSI: -73 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 10
[D][wifi:448]:     RSSI: -74 dB
[I][wifi:258]: WiFi Connecting to 'SYRION16262'...
[I][wifi:519]: WiFi Connected!
[C][wifi:363]:   Local MAC: 30:C6:F7:2C:B3:3C
[C][wifi:364]:   SSID: [redacted]
[C][wifi:365]:   IP Address: 192.168.254.7
[C][wifi:367]:   BSSID: [redacted]
[C][wifi:368]:   Hostname: 'esp32-parter'
[C][wifi:370]:   Signal strength: -63 dB ▂▄▆█
[C][wifi:374]:   Channel: 5
[C][wifi:375]:   Subnet: 255.255.255.0
[C][wifi:376]:   Gateway: 192.168.254.254
[C][wifi:377]:   DNS1: 192.168.254.254
[C][wifi:378]:   DNS2: 8.8.8.8
[D][wifi:528]: Disabling AP...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]:   Address: 192.168.254.7:3232
[C][ota:097]:   Using Password.
[W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 1 restarts
[C][api:025]: Setting up Home Assistant API server...
[C][sntp:028]: Setting up SNTP...

E (23977) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (23977) task_wdt:  - loopTask (CPU 1)
E (23977) task_wdt: Tasks currently running:
E (23977) task_wdt: CPU 0: IDLE
E (23977) task_wdt: CPU 1: loopTask
E (23977) task_wdt: Aborting.

abort() was called at PC 0x400f821c on core 0


Backtrace:0x400838d9:0x3ffbe9cc |<-CORRUPTED




ELF file SHA256: 0000000000000000

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13132
load:0x40080400,len:3036
entry 0x400805e4
[I][logger:259]: Log initialized
[C][ota:469]: There have been 10 suspected unsuccessful boot attempts.
[D][esp32.preferences:114]: Saving 1 preferences to flash...
[D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[E][ota:476]: Boot loop detected. Proceeding to safe mode.
[I][app:029]: Running through setup()...
[C][wifi:038]: Setting up WiFi...
[C][wifi:039]:   Local MAC: 30:C6:F7:2C:B3:3C
[D][wifi:387]: Starting scan...
[D][wifi:402]: Found networks:
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 5
[D][wifi:448]:     RSSI: -62 dB
[I][wifi:446]: - 'SYRION16262' [redacted]▂▄▆█
[D][wifi:447]:     Channel: 1
[D][wifi:448]:     RSSI: -74 dB
[I][wifi:258]: WiFi Connecting to 'SYRION16262'...
[I][wifi:519]: WiFi Connected!
[C][wifi:363]:   Local MAC: 30:C6:F7:2C:B3:3C
[C][wifi:364]:   SSID: [redacted]
[C][wifi:365]:   IP Address: 192.168.254.7
[C][wifi:367]:   BSSID: [redacted]
[C][wifi:368]:   Hostname: 'esp32-parter'
[C][wifi:370]:   Signal strength: -61 dB ▂▄▆█
[C][wifi:374]:   Channel: 5
[C][wifi:375]:   Subnet: 255.255.255.0
[C][wifi:376]:   Gateway: 192.168.254.254
[C][wifi:377]:   DNS1: 192.168.254.254
[C][wifi:378]:   DNS2: 8.8.8.8
[D][wifi:528]: Disabling AP...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]:   Address: 192.168.254.7:3232
[C][ota:097]:   Using Password.
[W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 0 restarts
[I][app:062]: setup() finished successfully!
[I][ota:489]: Waiting for OTA attempt.
[I][app:102]: ESPHome version 2023.4.0 compiled on Apr 25 2023, 13:17:42
[C][wifi:505]: WiFi:
[C][wifi:363]:   Local MAC: 30:C6:F7:2C:B3:3C
[C][wifi:364]:   SSID: [redacted]
[C][wifi:365]:   IP Address: 192.168.254.7
[C][wifi:367]:   BSSID: [redacted]
[C][wifi:368]:   Hostname: 'esp32-parter'
[C][wifi:370]:   Signal strength: -62 dB ▂▄▆█
[C][wifi:374]:   Channel: 5
[C][wifi:375]:   Subnet: 255.255.255.0
[C][wifi:376]:   Gateway: 192.168.254.254
[C][wifi:377]:   DNS1: 192.168.254.254
[C][wifi:378]:   DNS2: 8.8.8.8
[C][logger:294]: Logger:
[C][logger:295]:   Level: DEBUG
[C][logger:296]:   Log Baud Rate: 115200
[C][logger:297]:   Hardware UART: UART0
[C][captive_portal:088]: Captive Portal:
[C][mdns:108]: mDNS:
[C][mdns:109]:   Hostname: esp32-parter
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]:   Address: 192.168.254.7:3232
[C][ota:097]:   Using Password.
[W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 0 restarts

Może spróbować zmienić mu czas zanim będzie reset, albo go wyłączyć? Tylko nie wiem jak…

Nie, to nie to samo. PlatformIO to dodatek do VisualStudioCode.

Ok mam zainstalowany VisualStudioCode wraz z PlatformIO.
Co dalej?

Gdyby ktoś szukał informacji jak prawidłowo podłączyć piny CC1101 do płytki ESP32 (dla softu Openmqttgateway):

(CC1101) GND → (ESP32) GND
(CC1101) VCC → (ESP32) 3.3v
(CC1101) SCK → (ESP32) GPIO18
(CC1101) CKN → (ESP32) GPIO5
(CC1101) MISO → (ESP32) GPIO19
(CC1101) MOSI → (ESP32) GPIO23
(CC1101) GDO0 → (ESP32) GPIO12
(CC1101) GDO2 → (ESP32) GPIO27

1 polubienie

Gdyby ktoś szukał, to powinien otworzyć dokumentację OMG:

Czy ktoś sobie poradził z tym resetowaniem się w kółko układu?

19:34:16]I (695) esp_image: segment 4: paddr=001b2520 vaddr=400877c8 size=0b734h ( 46900) load
[19:34:16]I (714) esp_image: segment 5: paddr=001bdc5c vaddr=50000000 size=00020h (    32) load
[19:34:16]I (724) boot: Loaded app from partition at offset 0x10000
[19:34:16]I (724) boot: Disabling RNG early entropy source...
[19:34:16]Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
[19:34:16]
[19:34:16]Core  0 register dump:
[19:34:16]PC      : 0x400daaff  PS      : 0x00060130  A0      : 0x8014f7ac  A1      : 0x3ffe39e0  
[19:34:16]A2      : 0x00000000  A3      : 0x00000001  A4      : 0x3f41d755  A5      : 0x000000aa  
[19:34:16]A6      : 0x3f41e47b  A7      : 0x00000000  A8      : 0x00000000  A9      : 0x3ffe3a40  
[19:34:16]A10     : 0x000000ff  A11     : 0x3ffbd418  A12     : 0x00000003  A13     : 0x00000040  
[19:34:16]A14     : 0x00000006  A15     : 0x00000006  SAR     : 0x0000001a  EXCCAUSE: 0x0000001c  
[19:34:16]EXCVADDR: 0x00000034  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0xffffffff  
[19:34:16]
[19:34:16]
[19:34:16]Backtrace: 0x400daafc:0x3ffe39e0 0x4014f7a9:0x3ffe3a30 0x4014b239:0x3ffe3a60 0x40142c1d:0x3ffe3ac0 0x40128561:0x3ffe3bf0 0x40173182:0x3ffe3c30 0x40081e5e:0x3ffe3c60 0x40079826:0x3ffe3c90 |<-CORRUPTED
[19:34:16]
[19:34:16]
[19:34:16]
[19:34:16]
[19:34:16]ELF file SHA256: 584454b19
[19:34:16]
[19:34:16]Rebooting...
[19:34:16]ets Jul 29 2019 12:21:46
[19:34:16]
[19:34:16]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[19:34:16]configsip: 0, SPIWP:0xee
[19:34:16]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[19:34:16]mode:DIO, clock div:2
[19:34:16]load:0x3fff0030,len:6280
[19:34:16]load:0x40078000,len:15932
[19:34:16]ho 0 tail 12 room 4
[19:34:16]load:0x40080400,len:3920
[19:34:16]entry 0x4008063c
[19:34:16]I (29) boot: ESP-IDF 5.5.3 2nd stage bootloader
[19:34:16]I (29) boot: compile time Apr  1 2026 19:19:07
[19:34:16]I (29) boot: Multicore bootloader
[19:34:16]I (30) boot: chip revision: v3.0
[19:34:16]I (33) boot.esp32: SPI Speed      : 40MHz
[19:34:16]I (37) boot.esp32: SPI Mode       : DIO
[19:34:16]I (40) boot.esp32: SPI Flash Size : 4MB
[19:34:16]I (44) boot: Enabling RNG early entropy source...
[19:34:16]I (49) boot: Partition Table:
[19:34:16]I (51) boot: ## Label            Usage          Type ST Offset   Length
[19:34:16]I (57) boot:  0 nvs              WiFi data        01 02 00009000 00005000
[19:34:16]I (64) boot:  1 otadata          OTA data         01 00 0000e000 00002000
[19:34:16]I (71) boot:  2 app0             OTA app          00 10 00010000 001c0000
[19:34:16]I (77) boot:  3 app1             OTA app          00 11 001d0000 001c0000
[19:34:16]I (84) boot:  4 eeprom           Unknown data     01 99 00390000 00001000
[19:34:16]I (90) boot:  5 spiffs           Unknown data     01 82 00391000 0000f000
[19:34:16]I (97) boot: End of partition table
[19:34:16]I (100) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=64680h (411264) map
[19:34:16]I (248) esp_image: segment 1: paddr=000746a8 vaddr=3ffb0000 size=041a0h ( 16800) load
[19:34:16]I (254) esp_image: segment 2: paddr=00078850 vaddr=40080000 size=077c8h ( 30664) load
[19:34:16]I (267) esp_image: segment 3: paddr=00080020 vaddr=400d0020 size=1324f8h (1254648) map
[19:34:17]I (695) esp_image: segment 4: paddr=001b2520 vaddr=400877c8 size=0b734h ( 46900) load
[19:34:17]I (714) esp_image: segment 5: paddr=001bdc5c vaddr=50000000 size=00020h (    32) load
[19:34:17]I (724) boot: Loaded app from partition at offset 0x10000
[19:34:17]I (724) boot: Disabling RNG early entropy source...
[19:34:17]Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
[19:34:17]
[19:34:17]Core  0 register dump:
[19:34:17]PC      : 0x400daaff  PS      : 0x00060130  A0      : 0x8014f7ac  A1      : 0x3ffe39e0  
[19:34:17]A2      : 0x00000000  A3      : 0x00000001  A4      : 0x3f41d755  A5      : 0x000000aa  
[19:34:17]A6      : 0x3f41e47b  A7      : 0x00000000  A8      : 0x00000000  A9      : 0x3ffe3a40  
[19:34:17]A10     : 0x000000ff  A11     : 0x3ffbd418  A12     : 0x00000003  A13     : 0x00000040  
[19:34:17]A14     : 0x00000006  A15     : 0x00000006  SAR     : 0x0000001a  EXCCAUSE: 0x0000001c  
[19:34:17]EXCVADDR: 0x00000034  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0xffffffff  
[19:34:17]
[19:34:17]
[19:34:17]Backtrace: 0x400daafc:0x3ffe39e0 0x4014f7a9:0x3ffe3a30 0x4014b239:0x3ffe3a60 0x40142c1d:0x3ffe3ac0 0x40128561:0x3ffe3bf0 0x40173182:0x3ffe3c30 0x40081e5e:0x3ffe3c60 0x40079826:0x3ffe3c90 |<-CORRUPTED
[19:34:17]
[19:34:17]

A co to za soft? Jakieś słowo wstępu? Jakiś kontekst?

Wszystko jak w wątku, czyli ESP32 z CC1101

esphome:
  name: "1-esp32s-wnbus"
  friendly_name: "1-esp32s-wnbus"

esp32:
  board: esp32dev
  framework:
    type: arduino

external_components:
  - source: github://SzczepanLeon/esphome-components@version_4
    components: \[ wmbus \]
\# Enable logging
logger:
\# Enable Home Assistant API
api:
  encryption:
    key: "..."

ota:
  - platform: esphome
    password: "..."

wifi:
  min_auth_mode: WPA2
  networks:
  - ssid: !secret wifi_ssid
    password: !secret wifi_password
  - ssid: !secret wifi_ssidN2
    password: !secret wifi_passwordN2

  \# Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "..."
    password: "..."

  manual_ip:
    static_ip: 192.168.1.205
    gateway: 192.168.1.1
    subnet: 255.255.255.0  
    dns1: 192.168.1.1  

web_server:
  port: 80

time:
  - platform: sntp
    id: time_sntp

captive_portal:

wmbus:
  mosi_pin: GPIO23
  miso_pin: GPIO19
  clk_pin:  GPIO18
  cs_pin:   GPIO5
  gdo0_pin: GPIO12
  gdo2_pin: GPIO27
  frequency: 868.950
  #all_drivers: False
  #sync_mode: False
  #log_all: True

Teraz widzę to mogę powiedzieć, że u mnie działa na V4 stabilnie od połowy stycznia. Para ESP32 i najtańsza zielona płytka CC1101.

Konfiguracja:

esphome:
  name: cc1101-v4
  friendly_name: cc1101_V4

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "ws6iO0UR96UCiQBtnhSkhHE0L9ZQMbkgppvIZfy5704="

ota:
  - platform: esphome
    password: "f5bde1d767448bdc98ce9390e32876ad"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  output_power: 17dB
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Cc1101-V4 Fallback Hotspot"
    password: "TpVCtMG6W2rl"

captive_portal:
    

time:
  - platform: sntp
    id: time_sntp

# External component version_4 z CC1101
external_components:
  - source: github://SzczepanLeon/esphome-components@version_4
    refresh: 0d
    components: [ wmbus ]

# Piny dla CC1101
wmbus:
  mosi_pin: GPIO23   # MOSI
  clk_pin: GPIO18    # SCLK
  miso_pin: GPIO19   # MISO
  gdo2_pin: GPIO26   # GDO2
  gdo0_pin: GPIO27   # GDO0
  cs_pin: GPIO5      # CSN

  frequency: 868.950
  sync_mode: false
  log_all: false
  all_drivers: False

# Sensory dla pierwszego licznika - Woda dom
sensor:
  - platform: wmbus
    meter_id: 0x214146dc
    type: izar
    sensors:
      - name: "Woda dom"
        field: "total"
        accuracy_decimals: 3
        unit_of_measurement: "m³"
        device_class: "water"
        state_class: "total_increasing"
        icon: "mdi:water"
        
      - name: "Woda dom - ostatni miesiąc"
        field: "last_month_total"
        accuracy_decimals: 3
        unit_of_measurement: "m³"
        device_class: "water"
        icon: "mdi:water"
        
      - name: "IZAR_dom - RSSI"
        field: "rssi"
        accuracy_decimals: 0
        unit_of_measurement: "dBm"
        device_class: "signal_strength"
        state_class: "measurement"
        entity_category: "diagnostic"

  # Drugi licznik - Woda ogród
  - platform: wmbus
    meter_id: 0x217e0af1
    type: izar
    sensors:
      - name: "Woda ogród"
        field: "total"
        accuracy_decimals: 3
        unit_of_measurement: "m³"
        device_class: "water"
        state_class: "total_increasing"
        icon: "mdi:water"

      - name: "Woda ogród - ostatni miesiąc"
        field: "last_month_total"
        accuracy_decimals: 3
        unit_of_measurement: "m³"
        device_class: "water"
        icon: "mdi:water"

      - name: "Woda ogród - RSSI"
        field: "rssi"
        accuracy_decimals: 0
        unit_of_measurement: "dBm"
        device_class: "signal_strength"
        state_class: "measurement"
        entity_category: "diagnostic"

Obstawiam u ciebie brak pamięci. Zacznij od odchudzenia z zasobożernego komponentu web_server.

prawdopodobnie dlatego, że nie używasz GPIO12 :wink:
@OlekD odłącz na chwilę ten GPIO12 - jeśli nie będzie się restartował to przepnij na inny.

Próbowałem na różnych konfiguracjach pinów i bez podłączonego fizycznie cc1101.
Bez zmian.
Poniżej podsumowanie kompilacji.
Możecie wrzucić wasze dane.

INFO ESPHome 2026.3.1
INFO Reading configuration /config/esphome/1-esp32s-wnbus.yaml...
INFO Detected timezone 'Europe/Warsaw'
INFO Generating C++ source...
INFO Setting CONFIG_LWIP_MAX_SOCKETS to 17 (TCP=11 [api=3, captive_portal=3, web_server=5], UDP=3 [captive_portal=1, mdns=2], TCP_LISTEN=3 [api=1, ota=1, web_server_base=1])
INFO Deleting /data/build/1-esp32s-wnbus/.pioenvs/1-esp32s-wnbus/CMakeCache.txt
INFO Compiling app... Build path: /data/build/1-esp32s-wnbus
Processing 1-esp32s-wnbus (board: nodemcu-32s; framework: arduino, espidf; platform: https://github.com/pioarduino/platform-espressif32/releases/download/55.03.37/platform-espressif32.zip)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
 - contrib-piohome @ 3.4.4 
 - framework-arduinoespressif32 @ 3.3.7 
 - framework-arduinoespressif32-libs @ 5.5.3 
 - framework-espidf @ 3.50503.0 (5.5.3) 
 - tool-cmake @ 4.0.3 
 - tool-esp-rom-elfs @ 2024.10.11 
 - tool-esptoolpy @ 5.1.2 
 - tool-ninja @ 1.13.1 
 - tool-scons @ 4.40801.0 (4.8.1) 
 - toolchain-xtensa-esp-elf @ 14.2.0+20251107
Warning: the 'src_filter' option cannot be used with ESP-IDF. Select source files to build in the project CMakeLists.txt file.

Reading CMake configuration...
Dependency Graph
|-- noise-c @ 0.1.11
|-- WiFi @ 1.2.7
|-- SPI @ 3.3.7
|-- SmartRC-CC1101-Driver-Lib @ 2.5.7
RAM:   [=         ]  14.1% (used 46288 bytes from 327680 bytes)
Flash: [========= ]  94.4% (used 1733035 bytes from 1835008 bytes)
========================= [SUCCESS] Took 19.61 seconds =========================
INFO Build Info: config_hash=0x8267cc7a build_time_str=2026-04-01 23:23:45 +0200
INFO Successfully compiled program.
esphome:
  name: cc1101-v4
  friendly_name: cc1101_V4

esp32:
  board: esp32dev
  framework:
    type: arduino

logger:
  level: VERY_VERBOSE

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  ap:
    ssid: "Cc1101-V4 Fallback Hotspot"
    password: "TpVCtMG6W2rl"

captive_portal:

ota:
  - platform: esphome

external_components:
  - source: github://SzczepanLeon/esphome-components@version_4
    refresh: 0d
    components: [wmbus]

wmbus:
  mosi_pin: GPIO23
  miso_pin: GPIO19
  clk_pin: GPIO18
  # tylko jeśli moduł jest tak fizycznie podłączony
  cs_pin: GPIO5
  gdo0_pin: GPIO27
  gdo2_pin: GPIO26
  frequency: 868.950
  sync_mode: false
  log_all: true
  all_drivers: false

Skompiluj i zobacz czy się uruchomi. Niczego nie dodawaj. Oczywiście CC1101 ma być podłączone.

Ogólnie sytuacja jest bardzo dziwna. Twoja czysta instalacja (musiałem jeszcze dodać time:) wgrana przez com-a aplikacją esphome też się wywala. Jednak wgrana przez esptool z CMD działa.

Pełna instalacja z wmbus-em wgrana przez oba interfejsy (ESPHome i esptool) i tak nie działa.

Mam jakby dwa problemy:

  • wgrywanie przez serial ESPHome,
  • i cały czas niedziałająca aplikacja z wmbus.

Intryguje mnie tylko taki zapis po kompilacji.

Przy czystym

RAM:   [=         ]  11.1% (used 36248 bytes from 327680 bytes)
Flash: [=====     ]  48.8% (used 895091 bytes from 1835008 bytes)

i z wmbus

RAM:   [=         ]  14.2% (used 46608 bytes from 327680 bytes)
Flash: [==========]  95.9% (used 1759067 bytes from 1835008 bytes)

co wmbus wsadza tam do tego Flash-a

Dlatego prośba o info jak u was to wygląda.

Ogólnie w programowaniu nie jestem żółtodziób. Mam działający moduł na ESP8266 wmbus-v3 i ładnie mi on śmiga (wiem, że nakładka nadaje). No ta bene trochę się przyczyniłem do stworzenia tej integracji (Apator, Izar, AT-WMBUS-16-2 odczyt wodomierza ESPHome + CC1101 - #27 przez Woszu). Teraz chce zrobić niezależny od środowiska ESPHome moduł odczytów na ESP32. Jednak chciałem postawić komunikacje na bazie ESPHome, aby mieć pewność, że zestaw działa. A tu takie kwiatki.

Właśnie dlatego chciałem abyś skompilował goły kod aby zobaczyć czy płytka ruszy bez kombajnu.
Tak, wmbus się kompiluje do ESP , urok kombajnu

U mnie tak wygląda ta kompilacja już z dwoma sensorami pod Izary (mój YAML powyżej):

Pamięci jest na styk w ESP32 Wroom dlatego wspomniałem o wywaleniu web_server.

Możesz spróbować kompilacji w chmurze na świeżym środowisku w dowolnej wersji ESPHome.

1 polubienie