Palakis / esphome-native-hdmi-cec

HDMI-CEC implementation for ESPHome
Other
38 stars 11 forks source link

ESP32 C3 supermini becomes unavailable #10

Open DIYtechie opened 1 month ago

DIYtechie commented 1 month ago

Downsizing from a full-sized ESP32 dev board (which works great) to a ESP32 C3 supermini, I am running into issues with the ESP rebooting or at least becoming unavailable. It can send a single CEC command once, but as soon as it receives CEC commands, it becomes unavailable.

I used the template in the readme (same as on my ESP32 dev board) and connected 5v, ground and gpio. Tried GPIO 5, 6 and 10 but the result is the same. It becomes unavailable.

If I don't connect the HDMI cable to my receiver, the C3 does not become unavailable, when I send the "all off" command. Same if it is connected and all other devices are off. But if other devices are on and I send the "all off" command, the C3 becomes unavailable, which is what leads me to think that it cannot handle the messages it receives.

c3 supermini IMG_5693

Any help is greatly appreciated.

(I am in the proces of designing a case for this tiny project and will be happy to share as soon as it is done. Really want to use a C3 board to keep it tiny.)

nagyrobi commented 1 month ago

Try grabbing serial logs while this happens.

DIYtechie commented 1 month ago

Try grabbing serial logs while this happens.

Will do. Should I plug it into the server runnning ESPHome dashboard or is the log over wifi just as good?

nagyrobi commented 1 month ago

Serial logs - means over physically connected serial port - not wifi

DIYtechie commented 1 month ago

config:

esphome:
  name: supermini4
  friendly_name: supermini4

esp32:
  board: esp32-c3-devkitm-1
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: [redacted]

ota:
  - platform: esphome
    password: [redacted]

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Supermini4 Fallback Hotspot"
    password: [redacted]

captive_portal:

external_components:
  - source: github://Palakis/esphome-hdmi-cec

hdmi_cec:
  # Pick a GPIO pin that can do both input AND output
  pin: GPIO10 # Required
  # The address can be anything you want. Use 0xF if you only want to listen to the bus and not act like a standard device
  address: 0xE # Required
  # Physical address of the device. In this case: 4.0.0.0 (HDMI4 on the TV)
  # DDC support is not yet implemented, so you'll have to set this manually.
  physical_address: 0x4800 # Required
  # The name that will we displayed in the list of devices on your TV/receiver
  osd_name: "HDMI bridge" # Optional. Defaults to "esphome"
  # By default, promiscuous mode is disabled, so the component only handles directly-address messages (matching
  # the address configured above) and broadcast messages. Enabling promiscuous mode will make the component
  # listen for all messages (both in logs and the on_message triggers)
  promiscuous_mode: true # Optional. Defaults to false
  # By default, monitor mode is disabled, so the component can send messages and acknowledge incoming messages.
  # Enabling monitor mode lets the component act as a passive listener, disabling active manipulation of the CEC bus.
  monitor_mode: false # Optional. Defaults to false
  # List of triggers to handle specific commands. Each trigger has the following optional filter parameters:
  # - "source": match messages coming from the specified address
  # - "destination": match messages meant for the specified address
  # - "opcode": match messages bearing the specified opcode
  # - "data": exact-match on message content
  # Actions called from these triggers is called with "source", "destination" and "data" as parameters
  on_message:
    - opcode: 0x36 # opcode for "Standby"
      then:
        logger.log: "Got Standby command"

button:
  - platform: template
    name: "Turn all HDMI devices off"
    on_press:
      hdmi_cec.send:
        # "source" can optionally be set, like if you want to spoof another device's address
        destination: 0xF # Broadcast
        data: [0x36] # "Standby" opcode

Serial log:

INFO ESPHome 2024.6.6
INFO Reading configuration /config/esphome/supermini4.yaml...
INFO Starting log output from /dev/ttyACM0 with baud rate 115200
[07:57:43] - ' [redacted]▂▄▆█[I][safe_mode:041]: Boot seems successful; resetting boot loop counter
[07:57:43][D][esp32.preferences:114]: Saving 1 preferences to flash...
[07:57:43][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[07:58:09][D][button:010]: 'Turn all HDMI devices off' Pressed.
[07:58:09][D][hdmi_cec:205]: sending frame: EF:36
[07:58:09][D][hdmi_cec:219]: HDMICEC::send(): frame sent and acknowledged
[07:58:09][W][component:237]: Component api took a long time for an operation (55 ms).
[07:58:09][W][component:238]: Components should block for at most 30 ms.
[07:58:15][D][button:010]: 'Turn all HDMI devices off' Pressed.
[07:58:15][D][hdmi_cec:205]: sending frame: EF:36
[07:58:15][D][hdmi_cec:219]: HDMICEC::send(): frame sent and acknowledged
[07:58:15][W][component:237]: Component api took a long time for an operation (55 ms).
[07:58:15][W][component:238]: Components should block for at most 30 ms.
[07:58:26]ESP-ROM:esp32c3-api1-20210207
[07:58:26]Build:Feb  7 2021
[07:58:26]rst:0x3 (RTC_SW_SYS_RST),boot:0xf (SPI_FAST_FLASH_BOOT)
[07:58:26]Saved PC:0x40382570
WARNING Decoded 0x40382570: esp_restart_noos_dig at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:44 (discriminator 1)
[07:58:26]SPIWP:0xee
[07:58:26]mode:DIO, clock div:1
[07:58:26]load:0x3fcd6100,len:0x438
[07:58:26]load:0x403ce000,len:0x918
[07:58:26]load:0x403d0000,len:0x24e4
[07:58:26]entry 0x403ce000
[07:58:26][I][logger:156]: Log initialized
[07:58:26][C][safe_mode:079]: There have been 0 suspected unsuccessful boot attempts
[07:58:26][D][esp32.preferences:114]: Saving 1 preferences to flash...
[07:58:26][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[07:58:26][I][app:029]: Running through setup()...
[07:58:26][C][wifi:047]: Setting up WiFi...
[07:58:26][C][wifi:060]: Starting WiFi...
[07:58:26][C][wifi:061]:   Local MAC: 40:4C:CA:FB:E5:48
[07:58:26][W][wifi_esp32:500][arduino_events]: esp_netif_set_hostname failed: ESP_ERR_INVALID_ARG
[07:58:26][D][wifi:481]: Starting scan...
[07:58:26][W][component:157]: Component wifi set Warning flag: scanning for networks
[07:58:27]ESP-ROM:esp32c3-api1-20210207
[07:58:27]Build:Feb  7 2021
[07:58:27]rst:0x3 (RTC_SW_SYS_RST),boot:0xf (SPI_FAST_FLASH_BOOT)
[07:58:27]Saved PC:0x40382570
WARNING Decoded 0x40382570: esp_restart_noos_dig at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:44 (discriminator 1)
[07:58:27]SPIWP:0xee
[07:58:27]mode:DIO, clock div:1
[07:58:27]load:0x3fcd6100,len:0x438
[07:58:27]load:0x403ce000,len:0x918
[07:58:27]load:0x403d0000,len:0x24e4
[07:58:27]entry 0x403ce000
[07:58:27][I][logger:156]: Log initialized
[07:58:27][C][safe_mode:079]: There have been 1 suspected unsuccessful boot attempts
[07:58:27][D][esp32.preferences:114]: Saving 1 preferences to flash...
[07:58:27][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[07:58:27][I][app:029]: Running through setup()...
[07:58:27][C][wifi:047]: Setting up WiFi...
[07:58:27][C][wifi:060]: Starting WiFi...
[07:58:27][C][wifi:061]:   Local MAC: 40:4C:CA:FB:E5:48
[07:58:27][W][wifi_esp32:500][arduino_events]: esp_netif_set_hostname failed: ESP_ERR_INVALID_ARG
[07:58:27][D][wifi:481]: Starting scan...
[07:58:27][W][component:157]: Component wifi set Warning flag: scanning for networks
[07:58:29]ESP-ROM:esp32c3-api1-20210207
[07:58:29]Build:Feb  7 2021
[07:58:29]rst:0x3 (RTC_SW_SYS_RST),boot:0xf (SPI_FAST_FLASH_BOOT)
[07:58:29]Saved PC:0x40382570
WARNING Decoded 0x40382570: esp_restart_noos_dig at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:44 (discriminator 1)
[07:58:29]SPIWP:0xee
[07:58:29]mode:DIO, clock div:1
[07:58:29]load:0x3fcd6100,len:0x438
[07:58:29]load:0x403ce000,len:0x918
[07:58:29]load:0x403d0000,len:0x24e4
[07:58:29]entry 0x403ce000
[07:58:29][I][logger:156]: Log initialized
[07:58:29][C][safe_mode:079]: There have been 2 suspected unsuccessful boot attempts
[07:58:29][D][esp32.preferences:114]: Saving 1 preferences to flash...
[07:58:29][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[07:58:29][I][app:029]: Running through setup()...
[07:58:29][C][wifi:047]: Setting up WiFi...
[07:58:29][C][wifi:060]: Starting WiFi...
[07:58:29][C][wifi:061]:   Local MAC: 40:4C:CA:FB:E5:48
[07:58:29][W][wifi_esp32:500][arduino_events]: esp_netif_set_hostname failed: ESP_ERR_INVALID_ARG
[07:58:29]ESP-ROM:esp32c3-api1-20210207
[07:58:29]Build:Feb  7 2021
[07:58:29]rst:0x3 (RTC_SW_SYS_RST),boot:0xf (SPI_FAST_FLASH_BOOT)
[07:58:29]Saved PC:0x40382570
WARNING Decoded 0x40382570: esp_restart_noos_dig at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:44 (discriminator 1)
[07:58:29]SPIWP:0xee
[07:58:29]mode:DIO, clock div:1
[07:58:29]load:0x3fcd6100,len:0x438
[07:58:29]load:0x403ce000,len:0x918
[07:58:29]load:0x403d0000,len:0x24e4
[07:58:29]entry 0x403ce000
[07:58:29][I][logger:156]: Log initialized
[07:58:29][C][safe_mode:079]: There have been 3 suspected unsuccessful boot attempts
[07:58:29][D][esp32.preferences:114]: Saving 1 preferences to flash...
[07:58:29][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[07:58:29][I][app:029]: Running through setup()...
[07:58:29][C][wifi:047]: Setting up WiFi...
[07:58:29][C][wifi:060]: Starting WiFi...
[07:58:29][C][wifi:061]:   Local MAC: 40:4C:CA:FB:E5:48
[07:58:29][W][wifi_esp32:500][arduino_events]: esp_netif_set_hostname failed: ESP_ERR_INVALID_ARG
[07:58:29][D][wifi:481]: Starting scan...
[07:58:29][W][component:157]: Component wifi set Warning flag: scanning for networks
[07:58:30]ESP-ROM:esp32c3-api1-20210207
[07:58:30]Build:Feb  7 2021
[07:58:30]rst:0x3 (RTC_SW_SYS_RST),boot:0xf (SPI_FAST_FLASH_BOOT)
[07:58:30]Saved PC:0x40382570
WARNING Decoded 0x40382570: esp_restart_noos_dig at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:44 (discriminator 1)
[07:58:30]SPIWP:0xee
[07:58:30]mode:DIO, clock div:1
[07:58:30]load:0x3fcd6100,len:0x438
[07:58:30]load:0x403ce000,len:0x918
[07:58:30]load:0x403d0000,len:0x24e4
[07:58:30]entry 0x403ce000
[07:58:30][I][logger:156]: Log initialized
[07:58:30][C][safe_mode:079]: There have been 4 suspected unsuccessful boot attempts
[07:58:30][D][esp32.preferences:114]: Saving 1 preferences to flash...
[07:58:30][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[07:58:30][I][app:029]: Running through setup()...
[07:58:30][C][wifi:047]: Setting up WiFi...
[07:58:30][C][wifi:060]: Starting WiFi...
[07:58:30][C][wifi:061]:   Local MAC: 40:4C:CA:FB:E5:48
[07:58:30]ESP-ROM:esp32c3-api1-20210207
[07:58:30]Build:Feb  7 2021
[07:58:30]rst:0x3 (RTC_SW_SYS_RST),boot:0xf (SPI_FAST_FLASH_BOOT)
[07:58:30]Saved PC:0x40382570
WARNING Decoded 0x40382570: esp_restart_noos_dig at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:44 (discriminator 1)
[07:58:30]SPIWP:0xee
[07:58:30]mode:DIO, clock div:1
[07:58:30]load:0x3fcd6100,len:0x438
[07:58:30]load:0x403ce000,len:0x918
[07:58:30]load:0x403d0000,len:0x24e4
[07:58:30]entry 0x403ce000
[07:58:30][I][logger:156]: Log initialized
[07:58:30][C][safe_mode:079]: There have been 5 suspected unsuccessful boot attempts
[07:58:30][D][esp32.preferences:114]: Saving 1 preferences to flash...
[07:58:30][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[07:58:30][I][app:029]: Running through setup()...
[07:58:30][C][wifi:047]: Setting up WiFi...
[07:58:30][C][wifi:060]: Starting WiFi...
[07:58:30][C][wifi:061]:   Local MAC: 40:4C:CA:FB:E5:48
[07:58:31][W][wifi_esp32:500][arduino_events]: esp_netif_set_hostname failed: ESP_ERR_INVALID_ARG
[07:58:31][D][wifi:481]: Starting scan...
[07:58:31][W][component:157]: Component wifi set Warning flag: scanning for networks
[07:58:31]ESP-ROM:esp32c3-api1-20210207
[07:58:31]Build:Feb  7 2021
[07:58:31]rst:0x3 (RTC_SW_SYS_RST),boot:0xf (SPI_FAST_FLASH_BOOT)
[07:58:31]Saved PC:0x40382570
WARNING Decoded 0x40382570: esp_restart_noos_dig at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:44 (discriminator 1)
[07:58:31]SPIWP:0xee
[07:58:31]mode:DIO, clock div:1
[07:58:31]load:0x3fcd6100,len:0x438
[07:58:31]load:0x403ce000,len:0x918
[07:58:31]load:0x403d0000,len:0x24e4
[07:58:31]entry 0x403ce000
[07:58:31][I][logger:156]: Log initialized
[07:58:31][C][safe_mode:079]: There have been 6 suspected unsuccessful boot attempts
[07:58:31][D][esp32.preferences:114]: Saving 1 preferences to flash...
[07:58:31][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[07:58:31][I][app:029]: Running through setup()...
[07:58:31][C][wifi:047]: Setting up WiFi...
[07:58:31][C][wifi:060]: Starting WiFi...
[07:58:31][C][wifi:061]:   Local MAC: 40:4C:CA:FB:E5:48
[07:58:32]ESP-ROM:esp32c3-api1-20210207
[07:58:32]Build:Feb  7 2021
[07:58:32]rst:0x3 (RTC_SW_SYS_RST),boot:0xf (SPI_FAST_FLASH_BOOT)
[07:58:32]Saved PC:0x40382570
WARNING Decoded 0x40382570: esp_restart_noos_dig at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:44 (discriminator 1)
[07:58:32]SPIWP:0xee
[07:58:32]mode:DIO, clock div:1
[07:58:32]load:0x3fcd6100,len:0x438
[07:58:32]load:0x403ce000,len:0x918
[07:58:32]load:0x403d0000,len:0x24e4
[07:58:32]entry 0x403ce000
[07:58:32][I][logger:156]: Log initialized
[07:58:32][C][safe_mode:079]: There have been 7 suspected unsuccessful boot attempts
[07:58:32][D][esp32.preferences:114]: Saving 1 preferences to flash...
[07:58:32][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[07:58:32][I][app:029]: Running through setup()...
[07:58:32][C][wifi:047]: Setting up WiFi...
[07:58:32][C][wifi:060]: Starting WiFi...
[07:58:32][C][wifi:061]:   Local MAC: 40:4C:CA:FB:E5:48
[07:58:32][W][wifi_esp32:500][arduino_events]: esp_netif_set_hostname failed: ESP_ERR_INVALID_ARG
[07:58:32][D][wifi:481]: Starting scan...
[07:58:32][W][component:157]: Component wifi set Warning flag: scanning for networks
[07:58:32]ESP-ROM:esp32c3-api1-20210207
[07:58:32]Build:Feb  7 2021
[07:58:32]rst:0x3 (RTC_SW_SYS_RST),boot:0xf (SPI_FAST_FLASH_BOOT)
[07:58:32]Saved PC:0x40382570
WARNING Decoded 0x40382570: esp_restart_noos_dig at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:44 (discriminator 1)
[07:58:32]SPIWP:0xee
[07:58:32]mode:DIO, clock div:1
[07:58:32]load:0x3fcd6100,len:0x438
[07:58:32]load:0x403ce000,len:0x918
[07:58:32]load:0x403d0000,len:0x24e4
[07:58:32]entry 0x403ce000
[07:58:32][I][logger:156]: Log initialized
[07:58:32][C][safe_mode:079]: There have been 8 suspected unsuccessful boot attempts
[07:58:32][D][esp32.preferences:114]: Saving 1 preferences to flash...
[07:58:32][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[07:58:32][I][app:029]: Running through setup()...
[07:58:32][C][wifi:047]: Setting up WiFi...
[07:58:32][C][wifi:060]: Starting WiFi...
[07:58:32][C][wifi:061]:   Local MAC: 40:4C:CA:FB:E5:48
[07:58:32][W][wifi_esp32:500][arduino_events]: esp_netif_set_hostname failed: ESP_ERR_INVALID_ARG
[07:58:32][D][wifi:481]: Starting scan...
[07:58:32][W][component:157]: Component wifi set Warning flag: scanning for networks
[07:58:33]ESP-ROM:esp32c3-api1-20210207
[07:58:33]Build:Feb  7 2021
[07:58:33]rst:0x3 (RTC_SW_SYS_RST),boot:0xf (SPI_FAST_FLASH_BOOT)
[07:58:33]Saved PC:0x40382570
WARNING Decoded 0x40382570: esp_restart_noos_dig at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:44 (discriminator 1)
[07:58:33]SPIWP:0xee
[07:58:33]mode:DIO, clock div:1
[07:58:33]load:0x3fcd6100,len:0x438
[07:58:33]load:0x403ce000,len:0x918
[07:58:33]load:0x403d0000,len:0x24e4
[07:58:33]entry 0x403ce000
[07:58:33][I][logger:156]: Log initialized
[07:58:33][C][safe_mode:079]: There have been 9 suspected unsuccessful boot attempts
[07:58:33][D][esp32.preferences:114]: Saving 1 preferences to flash...
[07:58:33][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[07:58:33][I][app:029]: Running through setup()...
[07:58:33][C][wifi:047]: Setting up WiFi...
[07:58:33][C][wifi:060]: Starting WiFi...
[07:58:33][C][wifi:061]:   Local MAC: 40:4C:CA:FB:E5:48
[07:58:33][W][wifi_esp32:500][arduino_events]: esp_netif_set_hostname failed: ESP_ERR_INVALID_ARG
[07:58:33][D][wifi:481]: Starting scan...
[07:58:33][W][component:157]: Component wifi set Warning flag: scanning for networks
[07:58:33]ESP-ROM:esp32c3-api1-20210207
[07:58:33]Build:Feb  7 2021
[07:58:33]rst:0x3 (RTC_SW_SYS_RST),boot:0xf (SPI_FAST_FLASH_BOOT)
[07:58:33]Saved PC:0x40382570
WARNING Decoded 0x40382570: esp_restart_noos_dig at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:44 (discriminator 1)
[07:58:33]SPIWP:0xee
[07:58:33]mode:DIO, clock div:1
[07:58:33]load:0x3fcd6100,len:0x438
[07:58:33]load:0x403ce000,len:0x918
[07:58:33]load:0x403d0000,len:0x24e4
[07:58:33]entry 0x403ce000
[07:58:34][I][logger:156]: Log initialized
[07:58:34][C][safe_mode:079]: There have been 10 suspected unsuccessful boot attempts
[07:58:34][D][esp32.preferences:114]: Saving 1 preferences to flash...
[07:58:34][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[07:58:34][E][safe_mode:086]: Boot loop detected. Proceeding to safe mode
[07:58:34][E][component:164]: Component safe_mode set Error flag: unspecified
[07:58:34][I][app:029]: Running through setup()...
[07:58:34][C][wifi:047]: Setting up WiFi...
[07:58:34][C][wifi:060]: Starting WiFi...
[07:58:34][C][wifi:061]:   Local MAC: 40:4C:CA:FB:E5:48
[07:58:34][W][wifi_esp32:500][arduino_events]: esp_netif_set_hostname failed: ESP_ERR_INVALID_ARG
[07:58:34][D][wifi:481]: Starting scan...
[07:58:34][W][component:157]: Component wifi set Warning flag: scanning for networks
[07:58:35][D][wifi:496]: Found networks:
[07:58:35][I][wifi:540]: -  [redacted]▂▄▆█
[07:58:35][D][wifi:541]:     Channel: 4
[07:58:35][D][wifi:542]:     RSSI: -23 dB
[07:58:35][I][wifi:540]: -  [redacted]▂▄▆█
[07:58:35][D][wifi:541]:     Channel: 4
[07:58:35][D][wifi:542]:     RSSI: -54 dB
[07:58:35][I][wifi:312]: WiFi Connecting to 'Grinderslev'...
[07:58:36][W][wifi:673]: WiFi Unknown connection status 0
[07:58:36][I][wifi:312]: WiFi Connecting to 'Grinderslev'...
[07:58:36][W][wifi_esp32:530][arduino_events]: Event: Disconnected ssid='Grinderslev' bssid=3C:7C:3F:61:D3:08[redacted] reason='Association Leave'
[07:58:36][I][wifi:616]: WiFi Connected!
[07:58:36][C][wifi:427]:   Local MAC: 40:4C:CA:FB:E5:48
[07:58:36][C][wifi:432]:   SSID: [redacted]
[07:58:36][C][wifi:435]:   IP Address: 192.168.3.102
[07:58:36][C][wifi:439]:   BSSID: [redacted]
[07:58:36][C][wifi:440]:   Hostname: 'supermini4'
[07:58:36][C][wifi:442]:   Signal strength: -22 dB ▂▄▆█
[07:58:36][C][wifi:446]:   Channel: 4
[07:58:36][C][wifi:447]:   Subnet: 255.255.255.0
[07:58:36][C][wifi:448]:   Gateway: 192.168.3.1
[07:58:36][C][wifi:449]:   DNS1: 192.168.3.1
[07:58:36][C][wifi:450]:   DNS2: 0.0.0.0
[07:58:36][D][wifi:625]: Disabling AP...
[07:58:36][I][app:062]: setup() finished successfully!
[07:58:36][W][safe_mode:099]: SAFE MODE IS ACTIVE
[07:58:36][W][component:170]: Component wifi cleared Warning flag
[07:58:36][I][app:100]: ESPHome version 2024.6.6 compiled on Jul  6 2024, 16:16:39
[07:58:36][C][wifi:599]: WiFi:
[07:58:36][C][wifi:427]:   Local MAC: 40:4C:CA:FB:E5:48
[07:58:36][C][wifi:432]:   SSID: [redacted]
[07:58:36][C][wifi:435]:   IP Address: 192.168.3.102
[07:58:36][C][wifi:439]:   BSSID: [redacted]
[07:58:36][C][wifi:440]:   Hostname: 'supermini4'
[07:58:36][C][wifi:442]:   Signal strength: -22 dB ▂▄▆█
[07:58:36][C][wifi:446]:   Channel: 4
[07:58:36][C][wifi:447]:   Subnet: 255.255.255.0
[07:58:36][C][wifi:448]:   Gateway: 192.168.3.1
[07:58:36][C][wifi:449]:   DNS1: 192.168.3.1
[07:58:36][C][wifi:450]:   DNS2: 0.0.0.0
[07:58:36][C][logger:185]: Logger:
[07:58:36][C][logger:186]:   Level: DEBUG
[07:58:36][C][logger:188]:   Log Baud Rate: 115200
[07:58:36][C][logger:189]:   Hardware UART: USB_CDC
[07:58:36][C][captive_portal:088]: Captive Portal:
[07:58:36][C][mdns:115]: mDNS:
[07:58:36][C][mdns:116]:   Hostname: supermini4
[07:58:36][C][esphome.ota:073]: Over-The-Air updates:
[07:58:36][C][esphome.ota:074]:   Address: supermini4.local:3232
[07:58:36][C][esphome.ota:075]:   Version: 2
[07:58:36][C][esphome.ota:078]:   Password configured
[07:58:36][C][safe_mode:018]: Safe Mode:
[07:58:36][C][safe_mode:020]:   Boot considered successful after 60 seconds
[07:58:36][C][safe_mode:021]:   Invoke after 10 boot attempts
[07:58:36][C][safe_mode:023]:   Remain in safe mode for 300 seconds
[07:58:36][W][safe_mode:031]: SAFE MODE IS ACTIVE
nagyrobi commented 1 month ago

You should try asking in ESPHome discord in a thread what could be causing to trigger esp_restart_noos_dig.

Palakis commented 1 month ago

Looks like something is wrong with the receive interrupt specifically on the ESP32-C3. I've ordered a couple of ESP32-C3 superminis to test and debug this on my end.

DIYtechie commented 1 month ago

Looks like something is wrong with the receive interrupt specifically on the ESP32-C3. I've ordered a couple of ESP32-C3 superminis to test and debug this on my end.

Awesome!

DIYtechie commented 2 weeks ago

Any luck with getting the C3 supermini to work? :)

The case is coming along nicely:

47EC35CE-B7B4-4F5A-8862-4E47CDF9CF64 41B2FFDF-E419-43CD-9399-8B5CA3CE02DD

Update: (New limited edition) GIF_0884941116