After a day of trying, i figured out a more complex YAML to control this device.
Everything was good, i just needed one more edit in the code (to manage page switch and content refresh).
I made an OTA update and... here's the logs:
[15:13:50][I][logger:214]: Log initialized
[15:13:50][C][ota:458]: There have been 6 suspected unsuccessful boot attempts.
[15:13:50][D][esp32.preferences:114]: Saving preferences to flash...
[15:13:50][I][app:029]: Running through setup()...
[15:13:50][C][switch.gpio:011]: Setting up GPIO Switch 'Sonoff NSPanel Relay 1'...
[15:13:50][D][switch:017]: 'Sonoff NSPanel Relay 1' Turning OFF.
[15:13:50][D][switch:037]: 'Sonoff NSPanel Relay 1': Sending state OFF
[15:13:50][D][switch:017]: 'Sonoff NSPanel Relay 1' Turning OFF.
[15:13:50][C][switch.gpio:011]: Setting up GPIO Switch 'Sonoff NSPanel Relay 2'...
[15:13:50][D][switch:017]: 'Sonoff NSPanel Relay 2' Turning OFF.
[15:13:50][D][switch:037]: 'Sonoff NSPanel Relay 2': Sending state OFF
[15:13:50][D][switch:017]: 'Sonoff NSPanel Relay 2' Turning OFF.
[15:13:50][C][switch.gpio:011]: Setting up GPIO Switch 'screen_power'...
[15:13:50][D][switch:013]: 'screen_power' Turning ON.
[15:13:50][D][switch:037]: 'screen_power': Sending state ON
[15:13:50][D][switch:013]: 'screen_power' Turning ON.
[15:13:50][D][text_sensor:067]: 'Sonoff NSPanel ESPHome Version': Sending state '2021.12.3 Jan 14 2022, 15:12:33'
[15:13:50][C][adc:020]: Setting up ADC 'ntc_source'...
[15:13:50][C][wifi:037]: Setting up WiFi...
[15:13:50]ets Jul 29 2019 12:21:46
[15:13:50]
[15:13:50]rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[15:13:50]configsip: 0, SPIWP:0xee
[15:13:50]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[15:13:50]mode:DIO, clock div:2
[15:13:50]load:0x3fff0018,len:4
[15:13:50]load:0x3fff001c,len:1044
[15:13:50]load:0x40078000,len:8896
[15:13:50]load:0x40080400,len:5828
[15:13:50]entry 0x400806ac
[15:13:50][I][logger:214]: Log initialized
[15:13:50][C][ota:458]: There have been 7 suspected unsuccessful boot attempts.
[15:13:50][D][esp32.preferences:114]: Saving preferences to flash...
[15:13:51][I][app:029]: Running through setup()...
[15:13:51][C][switch.gpio:011]: Setting up GPIO Switch 'Sonoff NSPanel Relay 1'...
[15:13:51][D][switch:017]: 'Sonoff NSPanel Relay 1' Turning OFF.
[15:13:51][D][switch:037]: 'Sonoff NSPanel Relay 1': Sending state OFF
[15:13:51][D][switch:017]: 'Sonoff NSPanel Relay 1' Turning OFF.
[15:13:51][C][switch.gpio:011]: Setting up GPIO Switch 'Sonoff NSPanel Relay 2'...
[15:13:51][D][switch:017]: 'Sonoff NSPanel Relay 2' Turning OFF.
[15:13:51][D][switch:037]: 'Sonoff NSPanel Relay 2': Sending state OFF
[15:13:51][D][switch:017]: 'Sonoff NSPanel Relay 2' Turning OFF.
[15:13:51][C][switch.gpio:011]: Setting up GPIO Switch 'screen_power'...
[15:13:51][D][switch:013]: 'screen_power' Turning ON.
[15:13:51][D][switch:037]: 'screen_power': Sending state ON
[15:13:51][D][switch:013]: 'screen_power' Turning ON.
[15:13:51][D][text_sensor:067]: 'Sonoff NSPanel ESPHome Version': Sending state '2021.12.3 Jan 14 2022, 15:12:33'
[15:13:51][C][adc:020]: Setting up ADC 'ntc_source'...
[15:13:51][C][wifi:037]: Setting up WiFi...
[15:13:51]ets Jul 29 2019 12:21:46
[15:13:51]
[15:13:51]rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[15:13:51]configsip: 0, SPIWP:0xee
[15:13:51]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[15:13:51]mode:DIO, clock div:2
[15:13:51]load:0x3fff0018,len:4
[15:13:51]load:0x3fff001c,len:1044
[15:13:51]load:0x40078000,len:8896
[15:13:51]load:0x40080400,len:5828
[15:13:51]entry 0x400806ac
[15:13:51][I][logger:214]: Log initialized
[15:13:51][C][ota:458]: There have been 8 suspected unsuccessful boot attempts.
[15:13:51][D][esp32.preferences:114]: Saving preferences to flash...
[15:13:51][I][app:029]: Running through setup()...
[15:13:51][C][switch.gpio:011]: Setting up GPIO Switch 'Sonoff NSPanel Relay 1'...
[15:13:51][D][switch:017]: 'Sonoff NSPanel Relay 1' Turning OFF.
[15:13:51][D][switch:037]: 'Sonoff NSPanel Relay 1': Sending state OFF
[15:13:51][D][switch:017]: 'Sonoff NSPanel Relay 1' Turning OFF.
[15:13:51][C][switch.gpio:011]: Setting up GPIO Switch 'Sonoff NSPanel Relay 2'...
[15:13:51][D][switch:017]: 'Sonoff NSPanel Relay 2' Turning OFF.
[15:13:51][D][switch:037]: 'Sonoff NSPanel Relay 2': Sending state OFF
[15:13:51][D][switch:017]: 'Sonoff NSPanel Relay 2' Turning OFF.
[15:13:51][C][switch.gpio:011]: Setting up GPIO Switch 'screen_power'...
[15:13:51][D][switch:013]: 'screen_power' Turning ON.
[15:13:51][D][switch:037]: 'screen_power': Sending state ON
[15:13:51][D][switch:013]: 'screen_power' Turning ON.
[15:13:51][D][text_sensor:067]: 'Sonoff NSPanel ESPHome Version': Sending state '2021.12.3 Jan 14 2022, 15:12:33'
[15:13:51][C][adc:020]: Setting up ADC 'ntc_source'...
[15:13:51][C][wifi:037]: Setting up WiFi...
[15:13:52]ets Jul 29 2019 12:21:46
[15:13:52]
[15:13:52]rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[15:13:52]configsip: 0, SPIWP:0xee
[15:13:52]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[15:13:52]mode:DIO, clock div:2
[15:13:52]load:0x3fff0018,len:4
[15:13:52]load:0x3fff001c,len:1044
[15:13:52]load:0x40078000,len:8896
[15:13:52]load:0x40080400,len:5828
[15:13:52]entry 0x400806ac
Etc...
This is the loop now, tried changing code, tried trim it to the minimum (just the wifi and 2-3 generic sensors)... it's just a boot loop.
Is the ESp32 board broken? How can i find it?
Thank you.