esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
291 stars 34 forks source link

1 Extra sensor causes bootloop, whether logging enabled or not (not brownout) #3617

Open JeroenTuinstra opened 1 year ago

JeroenTuinstra commented 1 year ago

The problem

Not using many sensors: 28 (text and normal sensors from Home Assistant). When adding 29th it goes into a bootloop. I can still have logging. No difference if I completely switch logging off. Which seems to indicate it is not a RAM issue.

Which version of ESPHome has the issue?

2022.9.1

What type of installation are you using?

Docker

Which version of Home Assistant has the issue?

2022.9.6

What platform are you using?

ESP32

Board

ESP32-WROOM-32E (HUZZAH32 Feather board)

Component causing the issue

spi - waveshare e-paper

Example YAML snippet

esphome:
  name: temperature

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "6YzTu7YvbPeV/lAk+DrrUFzY6eqez2xrxEKVlvjDbas="

ota:
  password: "f63ba4eda519c5f46a751c8b5261c8ed"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  manual_ip:
    static_ip: 192.168.10.14
    gateway: 192.168.10.1
    subnet: 255.255.255.0

time:
  - platform: homeassistant
    id: ha_time

font:
  - file: "fonts/AcuminPro-Medium.ttf"
    id: tm24
    size: 24

  - file: "fonts/AcuminPro-Medium.ttf"
    id: tm35
    size: 35

  - file: "fonts/AcuminPro-Medium.ttf"
    id: tm60
    size: 60
    glyphs: [' ', '°', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'C', '.']

  - file: "fonts/AcuminPro-Medium.ttf"
    id: tm90
    size: 90
    glyphs: [' ', '°', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'C', '.']

  - file: "fonts/AcuminPro-Light.ttf"
    id: tl24
    size: 24
    glyphs: [' ', '°', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'C', '.', 'm', 'i', 'n', 'a', 'x', ':', '/', '%', 'r']

  - file: "fonts/AcuminPro-Light.ttf"
    id: tl60
    size: 60
    glyphs: [' ', '°', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'C', '.']

  - file: 'fonts/materialdesignicons-webfont.ttf'
    id: im90
    size: 90
    glyphs: &mdi-weather-glyphs
      - "\U000F0590" # mdi-weather-cloudy
      - "\U000F0F2F" # mdi-weather-cloudy-alert
      - "\U000F0E6E" # mdi-weather-cloudy-arrow-right
      - "\U000F0591" # mdi-weather-fog
      - "\U000F0592" # mdi-weather-hail
      - "\U000F0F30" # mdi-weather-hazy
      - "\U000F0898" # mdi-weather-hurricane
      - "\U000F0593" # mdi-weather-lightning
      - "\U000F067E" # mdi-weather-lightning-rainy
      - "\U000F0594" # mdi-weather-night
      - "\U000F0F31" # mdi-weather-night-partly-cloudy
      - "\U000F0595" # mdi-weather-partly-cloudy
      - "\U000F0F32" # mdi-weather-partly-lightning
      - "\U000F0F33" # mdi-weather-partly-rainy
      - "\U000F0F34" # mdi-weather-partly-snowy
      - "\U000F0F35" # mdi-weather-partly-snowy-rainy
      - "\U000F0596" # mdi-weather-pouring
      - "\U000F0597" # mdi-weather-rainy
      - "\U000F0598" # mdi-weather-snowy
      - "\U000F0F36" # mdi-weather-snowy-heavy
      - "\U000F067F" # mdi-weather-snowy-rainy
      - "\U000F0599" # mdi-weather-sunny
      - "\U000F0F37" # mdi-weather-sunny-alert
      - "\U000F14E4" # mdi-weather-sunny-off
      - "\U000F059A" # mdi-weather-sunset
      - "\U000F059B" # mdi-weather-sunset-down
      - "\U000F059C" # mdi-weather-sunset-up
      - "\U000F0F38" # mdi-weather-tornado
      - "\U000F059D" # mdi-weather-windy
      - "\U000F059E" # mdi-weather-windy-variant
      - "\U000F10C2" # mdi-thermometer-high
      - "\U000F10C3" # mdi-thermometer-low
      - "\U000F0E01" # mdi-thermometer-alert
      - "\U000F054B" # mdi-umbrella-outline
      - "\U000F0F29" # mdi-snowflake-alert

  - file: 'fonts/materialdesignicons-webfont.ttf'
    id: im20
    size: 20
    glyphs: *mdi-weather-glyphs

  - file: 'fonts/materialdesignicons-webfont.ttf'
    id: im40
    size: 40
    glyphs: *mdi-weather-glyphs  

  - file: 'fonts/materialdesignicons-webfont.ttf'
    id: im24
    size: 24
    glyphs: *mdi-weather-glyphs

color:
  - id: color_white
    red: 0%
    green: 0%
    blue: 0%
    white: 0%

text_sensor:
  - platform: homeassistant
    id: conditiontoday
    entity_id: sensor.weatherpredictions
    filters: 
      - map:
        - clear-night -> Clear night
        - cloudy -> Many clouds
        - exceptional -> Exceptional
        - fog -> Fog
        - hail -> Hail
        - lightning -> Lightning / thunderstorms
        - lightning-rainy -> Lightning / thunderstorms and rain
        - partlycloudy -> A few clouds
        - pouring -> Pouring rain
        - rainy -> Rain
        - snowy -> Snow
        - snowy-rainy -> Snow and Rain
        - sunny -> Sunshine
        - windy -> Wind
        - windy-variant -> Wind and clouds

  - platform: homeassistant
    id: condtom
    entity_id: sensor.weatherpredictions
    attribute: condition1

  - platform: homeassistant
    id: time1
    entity_id: sensor.weatherpredictionshourly
    attribute: time1

  - platform: homeassistant
    id: condition1
    entity_id: sensor.weatherpredictionshourly
    attribute: condition1

  - platform: homeassistant
    id: time2
    entity_id: sensor.weatherpredictionshourly
    attribute: time2

  - platform: homeassistant
    id: condition2
    entity_id: sensor.weatherpredictionshourly
    attribute: condition2

  - platform: homeassistant
    id: time3
    entity_id: sensor.weatherpredictionshourly
    attribute: time3

  - platform: homeassistant
    id: condition3
    entity_id: sensor.weatherpredictionshourly
    attribute: condition3

  - platform: homeassistant
    id: time4
    entity_id: sensor.weatherpredictionshourly
    attribute: time4

  - platform: homeassistant
    id: condition4
    entity_id: sensor.weatherpredictionshourly
    attribute: condition4

  - platform: homeassistant
    id: day1
    entity_id: sensor.weatherpredictions
    attribute: day1
    filters: 
      - to_upper

  - platform: homeassistant
    id: month1
    entity_id: sensor.weatherpredictions
    attribute: month1

sensor:  
  - platform: homeassistant
    id: tempnow
    entity_id: sensor.outdoor_module_temperature
    unit_of_measurement: "°C"

  - platform: homeassistant
    id: precipitationtoday
    entity_id: sensor.weatherpredictions
    attribute: precipitationnow
    unit_of_measurement: "%"

  - platform: homeassistant
    id: mintemptoday
    entity_id: sensor.weatherpredictions
    attribute: lowtempnow
    unit_of_measurement: "°C"

  - platform: homeassistant
    id: maxtemptoday
    entity_id: sensor.weatherpredictions
    attribute: hightempnow
    unit_of_measurement: "°C"

  - platform: homeassistant
    id: mintemptom
    entity_id: sensor.weatherpredictions
    attribute: lowtemp1
    unit_of_measurement: "°C"

  - platform: homeassistant
    id: hightemptom
    entity_id: sensor.weatherpredictions
    attribute: hightemp1
    unit_of_measurement: "°C"

  - platform: homeassistant
    id: perciptom
    entity_id: sensor.weatherpredictions
    attribute: percipitation1

  - platform: homeassistant
    id: temp1
    entity_id: sensor.weatherpredictionshourly
    attribute: temp1
    unit_of_measurement: "°C"

  - platform: homeassistant
    id: temp2
    entity_id: sensor.weatherpredictionshourly
    attribute: temp2
    unit_of_measurement: "°C"

  - platform: homeassistant
    id: temp3
    entity_id: sensor.weatherpredictionshourly
    attribute: temp3
    unit_of_measurement: "°C"

  - platform: homeassistant
    id: temp4
    entity_id: sensor.weatherpredictionshourly
    attribute: temp4
    unit_of_measurement: "°C"

  - platform: homeassistant
    id: rain1
    entity_id: sensor.weatherpredictionshourly
    attribute: rain1
    unit_of_measurement: "%"

  - platform: homeassistant
    id: rain2
    entity_id: sensor.weatherpredictionshourly
    attribute: rain2
    unit_of_measurement: "%"

  - platform: homeassistant
    id: rain3
    entity_id: sensor.weatherpredictionshourly
    attribute: rain3
    unit_of_measurement: "%"

  - platform: homeassistant
    id: rain4
    entity_id: sensor.weatherpredictionshourly
    attribute: rain4
    unit_of_measurement: "%"

  - platform: homeassistant
    id: tomorrowdate1
    entity_id: sensor.weatherpredictions
    attribute: date1

spi:
  clk_pin: 5
  mosi_pin: 18

display:
  - platform: waveshare_epaper
    cs_pin: 22
    dc_pin: 23
    busy_pin: 32
    reset_pin: 21
    model: 7.50in-hd-b
    update_interval: 30sec
    reset_duration: 200ms
    rotation: 90°
    lambda: |-
      // Map weather states to MDI characters.
      std::map<std::string, std::string> weather_icon_map
        {
          {"cloudy", "\U000F0590"},
          {"cloudy-alert", "\U000F0F2F"},
          {"cloudy-arrow-right", "\U000F0E6E"},
          {"fog", "\U000F0591"},
          {"hail", "\U000F0592"},
          {"hazy", "\U000F0F30"},
          {"hurricane", "\U000F0898"},
          {"lightning", "\U000F0593"},
          {"lightning-rainy", "\U000F067E"},
          {"night", "\U000F0594"},
          {"clear-night", "\U000F0594"},
          {"night-partly-cloudy", "\U000F0F31"},
          {"partlycloudy", "\U000F0595"},
          {"partly-lightning", "\U000F0F32"},
          {"partly-rainy", "\U000F0F33"},
          {"partly-snowy", "\U000F0F34"},
          {"partly-snowy-rainy", "\U000F0F35"},
          {"pouring", "\U000F0596"},
          {"rainy", "\U000F0597"},
          {"snowy", "\U000F0598"},
          {"snowy-heavy", "\U000F0F36"},
          {"snowy-rainy", "\U000F067F"},
          {"sunny", "\U000F0599"},
          {"sunny-alert", "\U000F0F37"},
          {"sunny-off", "\U000F14E4"},
          {"sunset", "\U000F059A"},
          {"sunset-down", "\U000F059B"},
          {"sunset-up", "\U000F059C"},
          {"tornado", "\U000F0F38"},
          {"windy", "\U000F059D"},
          {"windy-variant", "\U000F059E"},
          {"low-temperature", "\U000F10C3"},
          {"high-temperature", "\U000F10C2"},
          {"alert-temperature", "\U000F0E01"},
          {"umbrella", "\U000F054B"},
          {"alert-low-temperature", "\U000F0F29"},
        };
      it.filled_rectangle(0, 0, 150, 212);
      it.print(75, 75, id(tm24), color_white, TextAlign::TOP_CENTER, "TODAY");
      float dayofmonth = id(ha_time).now().day_of_month;
      it.printf(75, 145, id(tm90), color_white, TextAlign::CENTER, "%.0f", dayofmonth);
      it.strftime(75, 180, id(tm24), color_white, TextAlign::TOP_CENTER, "%B", id(ha_time).now());

      it.printf(276.75, 145, id(im90), TextAlign::CENTER_RIGHT, "%s", weather_icon_map[id(conditiontoday).raw_state.c_str()].c_str());
      it.printf(276.75, 145, id(tm90), TextAlign::CENTER_LEFT, "%.1f°", id(tempnow).state);
      it.printf(319, 180, id(tm24), TextAlign::TOP_CENTER, "%s", id(conditiontoday).state.c_str());

      it.printf(244.50, 225, id(tm24), TextAlign::TOP_RIGHT, "%.0f%%", id(precipitationtoday).state);
      it.printf(244.50, 222, id(im24), TextAlign::TOP_LEFT, "%s", weather_icon_map["umbrella"].c_str());

      it.printf(329, 225, id(tl24), TextAlign::TOP_RIGHT, "%.1f°", id(mintemptoday).state);
      if(id(mintemptoday).state < -5 ) {
        it.printf(329, 222, id(im24), TextAlign::TOP_LEFT, "%s", weather_icon_map["alert-low-temperature"].c_str());
      } else {
        it.printf(329, 222, id(im24), TextAlign::TOP_LEFT, "%s", weather_icon_map["low-temperature"].c_str());
      }

      it.printf(413.50, 225, id(tm24), TextAlign::TOP_RIGHT, "%.1f°", id(maxtemptoday).state);
      if(id(maxtemptoday).state > 34) {
        it.printf(413.50, 222, id(im24), TextAlign::TOP_LEFT, "%s", weather_icon_map["alert-temperature"].c_str());
      } else {
        it.printf(413.50, 222, id(im24), TextAlign::TOP_LEFT, "%s", weather_icon_map["high-temperature"].c_str());
      }

      it.printf(61, 290, id(tm24), TextAlign::TOP_CENTER, "%s", id(time1).state.c_str());
      it.printf(56, 315, id(im40), TextAlign::TOP_RIGHT, "%s", weather_icon_map[id(condition1).state.c_str()].c_str());
      it.printf(56, 335, id(tm24), TextAlign::CENTER_LEFT, "%.1f°", id(temp1).state);
      it.printf(46, 355, id(im20), TextAlign::TOP_RIGHT, "%s", weather_icon_map["umbrella"].c_str());
      it.printf(46, 368, id(tm24), TextAlign::CENTER_LEFT, "%.0f%%", id(rain1).state);

      it.printf(183, 290, id(tm24), TextAlign::TOP_CENTER, "%s", id(time2).state.c_str());
      it.printf(178, 315, id(im40), TextAlign::TOP_RIGHT, "%s", weather_icon_map[id(condition2).state.c_str()].c_str());
      it.printf(178, 335, id(tm24), TextAlign::CENTER_LEFT, "%.1f°", id(temp2).state);
      it.printf(168, 355, id(im20), TextAlign::TOP_RIGHT, "%s", weather_icon_map["umbrella"].c_str());
      it.printf(168, 368, id(tm24), TextAlign::CENTER_LEFT, "%.0f%%", id(rain2).state);

      it.printf(305, 290, id(tm24), TextAlign::TOP_CENTER, "%s", id(time3).state.c_str());
      it.printf(300, 315, id(im40), TextAlign::TOP_RIGHT, "%s", weather_icon_map[id(condition3).state.c_str()].c_str());
      it.printf(300, 335, id(tm24), TextAlign::CENTER_LEFT, "%.1f°", id(temp3).state);
      it.printf(290, 355, id(im20), TextAlign::TOP_RIGHT, "%s", weather_icon_map["umbrella"].c_str());
      it.printf(290, 368, id(tm24), TextAlign::CENTER_LEFT, "%.0f%%", id(rain3).state);

      it.printf(427, 290, id(tm24), TextAlign::TOP_CENTER, "%s", id(time4).state.c_str());
      it.printf(422, 315, id(im40), TextAlign::TOP_RIGHT, "%s", weather_icon_map[id(condition4).state.c_str()].c_str());
      it.printf(422, 335, id(tm24), TextAlign::CENTER_LEFT, "%.1f°", id(temp4).state);
      it.printf(412, 355, id(im20), TextAlign::TOP_RIGHT, "%s", weather_icon_map["umbrella"].c_str());
      it.printf(412, 368, id(tm24), TextAlign::CENTER_LEFT, "%.0f%%", id(rain4).state);

      it.filled_rectangle(0,400,150,150);
      it.printf(75, 413, id(tm24), color_white, TextAlign::TOP_CENTER, "%s", id(day1).state.c_str());
      it.printf(75, 483, id(tm90), color_white, TextAlign::CENTER, "%.0f", id(tomorrowdate1).state);
      it.printf(75, 518, id(tm24), color_white, TextAlign::TOP_CENTER, "%s", id(month1).state.c_str());

      it.printf(297.87, 483, id(im90), TextAlign::CENTER_RIGHT, "%s", weather_icon_map[id(condtom).state.c_str()].c_str());
      it.printf(297.87, 483, id(tm60), TextAlign::BOTTOM_LEFT, "%.1f°", id(hightemptom).state);
      it.printf(297.87, 483, id(tl60), TextAlign::TOP_LEFT, "%.1f°", id(mintemptom).state);

Anything in the logs that might be useful for us?

ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x12 (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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:243]: Log initialized
[C][ota:465]: There have been 0 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][spi:023]: Setting up SPI bus...
[C][wifi:037]: Setting up WiFi...
[D][wifi:384]: Starting scan...
Guru Meditation Error: Core  1 panic'ed (Unhandled debug exception)
Debug exception reason: Stack canary watchpoint triggered (loopTask) 
Core 1 register dump:
PC      : 0x4008d1c1  PS      : 0x00060836  A0      : 0x8008d292  A1      : 0x3ffb0060  
A2      : 0x3ffded30  A3      : 0xbaad5678  A4      : 0x3ffded24  A5      : 0x3ff00000  
A6      : 0x3ffb01a0  A7      : 0x3ffb01a4  A8      : 0x3ffdedb4  A9      : 0x3ffded28  
A10     : 0x00000001  A11     : 0x3ffded24  A12     : 0x000010bc  A13     : 0x00000e48  
A14     : 0x3ffdf030  A15     : 0x3ffdedb8  SAR     : 0x0000000c  EXCCAUSE: 0x00000001  
EXCVADDR: 0x00000000  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xffffffff  

ELF file SHA256: 0000000000000000

Backtrace: 0x4008d1c1:0x3ffb0060 0x4008d28f:0x3ffb0090 0x40081d2d:0x3ffb00b0 0x40081d5e:0x3ffb00d0 0x40086a69:0x3ffb00f0 0x4000beaf:0x3ffb0110 0x40086aa7:0x3ffb0130 0x4010d717:0x3ffb0150 0x4010dd6d:0x3ffb0170 0x4010c521:0x3ffb01a0 0x401069a1:0x3ffb0230 0x4010b452:0x3ffb0540 0x4010b48e:0x3ffb05d0 0x400d6875:0x3ffb0610 0x400d68d2:0x3ffb0760 0x400e0739:0x3ffb07a0 0x400e10d9:0x3ffb1060 0x400d6973:0x3ffb1080 0x400d699a:0x3ffb10a0 0x400da5b2:0x3ffb10c0 0x4016809d:0x3ffb10e0 0x400dfbda:0x3ffb1100 0x400de8cb:0x3ffb1150 0x400e3c35:0x3ffb11a0 0x400e9d0e:0x3ffb1fb0 0x40089c0a:0x3ffb1fd0

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x12 (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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:243]: Log initialized
[C][ota:465]: There have been 1 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][spi:023]: Setting up SPI bus...
[C][wifi:037]: Setting up WiFi...
[D][wifi:384]: Starting scan...
Guru Meditation Error: Core  1 panic'ed (Unhandled debug exception)
Debug exception reason: Stack canary watchpoint triggered (loopTask) 
Core 1 register dump:
PC      : 0x4008d1c1  PS      : 0x00060836  A0      : 0x8008d292  A1      : 0x3ffb0060  
A2      : 0x3ffdeec0  A3      : 0xbaad5678  A4      : 0x3ffdeeb4  A5      : 0x3ff00000  
A6      : 0x3ffb01a0  A7      : 0x3ffb01a4  A8      : 0x3ffdef44  A9      : 0x3ffdeeb8  
A10     : 0x00000001  A11     : 0x3ffdeeb4  A12     : 0x000010c0  A13     : 0x00000014  
A14     : 0x3ffdfff8  A15     : 0x3ffdef48  SAR     : 0x0000000c  EXCCAUSE: 0x00000001  
EXCVADDR: 0x00000000  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xffffffff  

ELF file SHA256: 0000000000000000

Backtrace: 0x4008d1c1:0x3ffb0060 0x4008d28f:0x3ffb0090 0x40081d2d:0x3ffb00b0 0x40081d5e:0x3ffb00d0 0x40086a69:0x3ffb00f0 0x4000beaf:0x3ffb0110 0x40086aa7:0x3ffb0130 0x4010d717:0x3ffb0150 0x4010dd6d:0x3ffb0170 0x4010c521:0x3ffb01a0 0x401069a1:0x3ffb0230 0x4010b452:0x3ffb0540 0x4010b48e:0x3ffb05d0 0x400d6875:0x3ffb0610 0x400d68d2:0x3ffb0760 0x400e0739:0x3ffb07a0 0x400e10d9:0x3ffb1060 0x400d6973:0x3ffb1080 0x400d699a:0x3ffb10a0 0x400da5b2:0x3ffb10c0 0x4016809d:0x3ffb10e0 0x400dfbda:0x3ffb1100 0x400de8cb:0x3ffb1150 0x400e3c35:0x3ffb11a0 0x400e9d0e:0x3ffb1fb0 0x40089c0a:0x3ffb1fd0

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x12 (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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:243]: Log initialized
[C][ota:465]: There have been 2 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][spi:023]: Setting up SPI bus...
[C][wifi:037]: Setting up WiFi...
[D][wifi:384]: Starting scan...
Guru Meditation Error: Core  1 panic'ed (Unhandled debug exception)
Debug exception reason: Stack canary watchpoint triggered (loopTask) 
Core 1 register dump:
PC      : 0x4008d1c1  PS      : 0x00060836  A0      : 0x8008d292  A1      : 0x3ffb0060  
A2      : 0x3ffdeec0  A3      : 0xbaad5678  A4      : 0x3ffdeeb4  A5      : 0x3ff00000  
A6      : 0x3ffb01a0  A7      : 0x3ffb01a4  A8      : 0x3ffdef44  A9      : 0x3ffdeeb8  
A10     : 0x00000001  A11     : 0x3ffdeeb4  A12     : 0x000010c0  A13     : 0x00000014  
A14     : 0x3ffdfff8  A15     : 0x3ffdef48  SAR     : 0x0000000c  EXCCAUSE: 0x00000001  
EXCVADDR: 0x00000000  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xffffffff  

ELF file SHA256: 0000000000000000

Backtrace: 0x4008d1c1:0x3ffb0060 0x4008d28f:0x3ffb0090 0x40081d2d:0x3ffb00b0 0x40081d5e:0x3ffb00d0 0x40086a69:0x3ffb00f0 0x4000beaf:0x3ffb0110 0x40086aa7:0x3ffb0130 0x4010d717:0x3ffb0150 0x4010dd6d:0x3ffb0170 0x4010c521:0x3ffb01a0 0x401069a1:0x3ffb0230 0x4010b452:0x3ffb0540 0x4010b48e:0x3ffb05d0 0x400d6875:0x3ffb0610 0x400d68d2:0x3ffb0760 0x400e0739:0x3ffb07a0 0x400e10d9:0x3ffb1060 0x400d6973:0x3ffb1080 0x400d699a:0x3ffb10a0 0x400da5b2:0x3ffb10c0 0x4016809d:0x3ffb10e0 0x400dfbda:0x3ffb1100 0x400de8cb:0x3ffb1150 0x400e3c35:0x3ffb11a0 0x400e9d0e:0x3ffb1fb0 0x40089c0a:0x3ffb1fd0

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x12 (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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:243]: Log initialized
[C][ota:465]: There have been 3 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][spi:023]: Setting up SPI bus...
[C][wifi:037]: Setting up WiFi...
[D][wifi:384]: Starting scan...
Guru Meditation Error: Core  1 panic'ed (Unhandled debug exception)
Debug exception reason: Stack canary watchpoint triggered (loopTask) 
Core 1 register dump:
PC      : 0x4008d1c1  PS      : 0x00060836  A0      : 0x8008d292  A1      : 0x3ffb0060  
A2      : 0x3ffdeec0  A3      : 0xbaad5678  A4      : 0x3ffdeeb4  A5      : 0x3ff00000  
A6      : 0x3ffb01a0  A7      : 0x3ffb01a4  A8      : 0x3ffdef44  A9      : 0x3ffdeeb8  
A10     : 0x00000001  A11     : 0x3ffdeeb4  A12     : 0x000010c0  A13     : 0x00000014  
A14     : 0x3ffdfff8  A15     : 0x3ffdef48  SAR     : 0x0000000c  EXCCAUSE: 0x00000001  
EXCVADDR: 0x00000000  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xffffffff  

ELF file SHA256: 0000000000000000

Backtrace: 0x4008d1c1:0x3ffb0060 0x4008d28f:0x3ffb0090 0x40081d2d:0x3ffb00b0 0x40081d5e:0x3ffb00d0 0x40086a69:0x3ffb00f0 0x4000beaf:0x3ffb0110 0x40086aa7:0x3ffb0130 0x4010d717:0x3ffb0150 0x4010dd6d:0x3ffb0170 0x4010c521:0x3ffb01a0 0x401069a1:0x3ffb0230 0x4010b452:0x3ffb0540 0x4010b48e:0x3ffb05d0 0x400d6875:0x3ffb0610 0x400d68d2:0x3ffb0760 0x400e0739:0x3ffb07a0 0x400e10d9:0x3ffb1060 0x400d6973:0x3ffb1080 0x400d699a:0x3ffb10a0 0x400da5b2:0x3ffb10c0 0x4016809d:0x3ffb10e0 0x400dfbda:0x3ffb1100 0x400de8cb:0x3ffb1150 0x400e3c35:0x3ffb11a0 0x400e9d0e:0x3ffb1fb0 0x40089c0a:0x3ffb1fd0

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x12 (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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:243]: Log initialized
[C][ota:465]: There have been 4 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][spi:023]: Setting up SPI bus...
[C][wifi:037]: Setting up WiFi...
[D][wifi:384]: Starting scan...
Guru Meditation Error: Core  1 panic'ed (Unhandled debug exception)
Debug exception reason: Stack canary watchpoint triggered (loopTask) 
Core 1 register dump:
PC      : 0x4008d1c1  PS      : 0x00060836  A0      : 0x8008d292  A1      : 0x3ffb0060  
A2      : 0x3ffdeec0  A3      : 0xbaad5678  A4      : 0x3ffdeeb4  A5      : 0x3ff00000  
A6      : 0x3ffb01a0  A7      : 0x3ffb01a4  A8      : 0x3ffdef44  A9      : 0x3ffdeeb8  
A10     : 0x00000001  A11     : 0x3ffdeeb4  A12     : 0x000010c0  A13     : 0x00000014  
A14     : 0x3ffdfff8  A15     : 0x3ffdef48  SAR     : 0x0000000c  EXCCAUSE: 0x00000001  
EXCVADDR: 0x00000000  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xffffffff  

ELF file SHA256: 0000000000000000

Backtrace: 0x4008d1c1:0x3ffb0060 0x4008d28f:0x3ffb0090 0x40081d2d:0x3ffb00b0 0x40081d5e:0x3ffb00d0 0x40086a69:0x3ffb00f0 0x4000beaf:0x3ffb0110 0x40086aa7:0x3ffb0130 0x4010d717:0x3ffb0150 0x4010dd6d:0x3ffb0170 0x4010c521:0x3ffb01a0 0x401069a1:0x3ffb0230 0x4010b452:0x3ffb0540 0x4010b48e:0x3ffb05d0 0x400d6875:0x3ffb0610 0x400d68d2:0x3ffb0760 0x400e0739:0x3ffb07a0 0x400e10d9:0x3ffb1060 0x400d6973:0x3ffb1080 0x400d699a:0x3ffb10a0 0x400da5b2:0x3ffb10c0 0x4016809d:0x3ffb10e0 0x400dfbda:0x3ffb1100 0x400de8cb:0x3ffb1150 0x400e3c35:0x3ffb11a0 0x400e9d0e:0x3ffb1fb0 0x40089c0a:0x3ffb1fd0

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x12 (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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:243]: Log initialized
[C][ota:465]: There have been 5 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][spi:023]: Setting up SPI bus...
[C][wifi:037]: Setting up WiFi...
[D][wifi:384]: Starting scan...
Guru Meditation Error: Core  1 panic'ed (Unhandled debug exception)
Debug exception reason: Stack canary watchpoint triggered (loopTask) 
Core 1 register dump:
PC      : 0x4008d1c1  PS      : 0x00060836  A0      : 0x8008d292  A1      : 0x3ffb0060  
A2      : 0x3ffdef24  A3      : 0xbaad5678  A4      : 0x3ffdef18  A5      : 0x3ff00000  
A6      : 0x3ffb01a0  A7      : 0x3ffb01a4  A8      : 0x3ffdefa8  A9      : 0x3ffdef1c  
A10     : 0x00000001  A11     : 0x3ffdef18  A12     : 0x00001054  A13     : 0x0000000c  
A14     : 0x3ffdfff8  A15     : 0x3ffdefac  SAR     : 0x0000000c  EXCCAUSE: 0x00000001  
EXCVADDR: 0x00000000  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xffffffff  

ELF file SHA256: 0000000000000000

Backtrace: 0x4008d1c1:0x3ffb0060 0x4008d28f:0x3ffb0090 0x40081d2d:0x3ffb00b0 0x40081d5e:0x3ffb00d0 0x40086a69:0x3ffb00f0 0x4000beaf:0x3ffb0110 0x40086aa7:0x3ffb0130 0x4010d717:0x3ffb0150 0x4010dd6d:0x3ffb0170 0x4010c521:0x3ffb01a0 0x401069a1:0x3ffb0230 0x4010b452:0x3ffb0540 0x4010b48e:0x3ffb05d0 0x400d6875:0x3ffb0610 0x400d68d2:0x3ffb0760 0x400e0739:0x3ffb07a0 0x400e10d9:0x3ffb1060 0x400d6973:0x3ffb1080 0x400d699a:0x3ffb10a0 0x400da5b2:0x3ffb10c0 0x4016809d:0x3ffb10e0 0x400dfbda:0x3ffb1100 0x400de8cb:0x3ffb1150 0x400e3c35:0x3ffb11a0 0x400e9d0e:0x3ffb1fb0 0x40089c0a:0x3ffb1fd0

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x12 (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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:243]: Log initialized
[C][ota:465]: There have been 6 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][spi:023]: Setting up SPI bus...
[C][wifi:037]: Setting up WiFi...
[D][wifi:384]: Starting scan...
Guru Meditation Error: Core  1 panic'ed (Unhandled debug exception)
Debug exception reason: Stack canary watchpoint triggered (loopTask) 
Core 1 register dump:
PC      : 0x4008d1c1  PS      : 0x00060836  A0      : 0x8008d292  A1      : 0x3ffb0060  
A2      : 0x3ffdef24  A3      : 0xbaad5678  A4      : 0x3ffdef18  A5      : 0x3ff00000  
A6      : 0x3ffb01a0  A7      : 0x3ffb01a4  A8      : 0x3ffdefa8  A9      : 0x3ffdef1c  
A10     : 0x00000001  A11     : 0x3ffdef18  A12     : 0x00001054  A13     : 0x0000000c  
A14     : 0x3ffdfff8  A15     : 0x3ffdefac  SAR     : 0x0000000c  EXCCAUSE: 0x00000001  
EXCVADDR: 0x00000000  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xffffffff  

ELF file SHA256: 0000000000000000

Backtrace: 0x4008d1c1:0x3ffb0060 0x4008d28f:0x3ffb0090 0x40081d2d:0x3ffb00b0 0x40081d5e:0x3ffb00d0 0x40086a69:0x3ffb00f0 0x4000beaf:0x3ffb0110 0x40086aa7:0x3ffb0130 0x4010d717:0x3ffb0150 0x4010dd6d:0x3ffb0170 0x4010c521:0x3ffb01a0 0x401069a1:0x3ffb0230 0x4010b452:0x3ffb0540 0x4010b48e:0x3ffb05d0 0x400d6875:0x3ffb0610 0x400d68d2:0x3ffb0760 0x400e0739:0x3ffb07a0 0x400e10d9:0x3ffb1060 0x400d6973:0x3ffb1080 0x400d699a:0x3ffb10a0 0x400da5b2:0x3ffb10c0 0x4016809d:0x3ffb10e0 0x400dfbda:0x3ffb1100 0x400de8cb:0x3ffb1150 0x400e3c35:0x3ffb11a0 0x400e9d0e:0x3ffb1fb0 0x40089c0a:0x3ffb1fd0

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x12 (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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:243]: Log initialized
[C][ota:465]: There have been 7 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][spi:023]: Setting up SPI bus...
[C][wifi:037]: Setting up WiFi...
[D][wifi:384]: Starting scan...
Guru Meditation Error: Core  1 panic'ed (Unhandled debug exception)
Debug exception reason: Stack canary watchpoint triggered (loopTask) 
Core 1 register dump:
PC      : 0x4008d1c1  PS      : 0x00060836  A0      : 0x8008d292  A1      : 0x3ffb0060  
A2      : 0x3ffdeec0  A3      : 0xbaad5678  A4      : 0x3ffdeeb4  A5      : 0x3ff00000  
A6      : 0x3ffb01a0  A7      : 0x3ffb01a4  A8      : 0x3ffdef44  A9      : 0x3ffdeeb8  
A10     : 0x00000001  A11     : 0x3ffdeeb4  A12     : 0x000010c0  A13     : 0x00000014  
A14     : 0x3ffdfff8  A15     : 0x3ffdef48  SAR     : 0x0000000c  EXCCAUSE: 0x00000001  
EXCVADDR: 0x00000000  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xffffffff  

ELF file SHA256: 0000000000000000

Backtrace: 0x4008d1c1:0x3ffb0060 0x4008d28f:0x3ffb0090 0x40081d2d:0x3ffb00b0 0x40081d5e:0x3ffb00d0 0x40086a69:0x3ffb00f0 0x4000beaf:0x3ffb0110 0x40086aa7:0x3ffb0130 0x4010d717:0x3ffb0150 0x4010dd6d:0x3ffb0170 0x4010c521:0x3ffb01a0 0x401069a1:0x3ffb0230 0x4010b452:0x3ffb0540 0x4010b48e:0x3ffb05d0 0x400d6875:0x3ffb0610 0x400d68d2:0x3ffb0760 0x400e0739:0x3ffb07a0 0x400e10d9:0x3ffb1060 0x400d6973:0x3ffb1080 0x400d699a:0x3ffb10a0 0x400da5b2:0x3ffb10c0 0x4016809d:0x3ffb10e0 0x400dfbda:0x3ffb1100 0x400de8cb:0x3ffb1150 0x400e3c35:0x3ffb11a0 0x400e9d0e:0x3ffb1fb0 0x40089c0a:0x3ffb1fd0

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x12 (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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:243]: Log initialized
[C][ota:465]: There have been 8 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][spi:023]: Setting up SPI bus...
[C][wifi:037]: Setting up WiFi...
[D][wifi:384]: Starting scan...
Guru Meditation Error: Core  1 panic'ed (Unhandled debug exception)
Debug exception reason: Stack canary watchpoint triggered (loopTask) 
Core 1 register dump:
PC      : 0x4008d1c1  PS      : 0x00060836  A0      : 0x8008d292  A1      : 0x3ffb0060  
A2      : 0x3ffdefc8  A3      : 0xbaad5678  A4      : 0x3ffdefbc  A5      : 0x3ff00000  
A6      : 0x3ffb01a0  A7      : 0x3ffb01a4  A8      : 0x3ffdf04c  A9      : 0x3ffdefc0  
A10     : 0x00000001  A11     : 0x3ffdefbc  A12     : 0x00000fb8  A13     : 0x00000014  
A14     : 0x3ffdfff8  A15     : 0x3ffdf050  SAR     : 0x0000000c  EXCCAUSE: 0x00000001  
EXCVADDR: 0x00000000  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xffffffff  

ELF file SHA256: 0000000000000000

Backtrace: 0x4008d1c1:0x3ffb0060 0x4008d28f:0x3ffb0090 0x40081d2d:0x3ffb00b0 0x40081d5e:0x3ffb00d0 0x40086a69:0x3ffb00f0 0x4000beaf:0x3ffb0110 0x40086aa7:0x3ffb0130 0x4010d717:0x3ffb0150 0x4010dd6d:0x3ffb0170 0x4010c521:0x3ffb01a0 0x401069a1:0x3ffb0230 0x4010b452:0x3ffb0540 0x4010b48e:0x3ffb05d0 0x400d6875:0x3ffb0610 0x400d68d2:0x3ffb0760 0x400e0739:0x3ffb07a0 0x400e10d9:0x3ffb1060 0x400d6973:0x3ffb1080 0x400d699a:0x3ffb10a0 0x400da5b2:0x3ffb10c0 0x4016809d:0x3ffb10e0 0x400dfbda:0x3ffb1100 0x400de8cb:0x3ffb1150 0x400e3c35:0x3ffb11a0 0x400e9d0e:0x3ffb1fb0 0x40089c0a:0x3ffb1fd0

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x12 (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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:243]: Log initialized
[C][ota:465]: There have been 9 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][spi:023]: Setting up SPI bus...
[C][wifi:037]: Setting up WiFi...
[D][wifi:384]: Starting scan...
Guru Meditation Error: Core  1 panic'ed (Unhandled debug exception)
Debug exception reason: Stack canary watchpoint triggered (loopTask) 
Core 1 register dump:
PC      : 0x4008d1c1  PS      : 0x00060836  A0      : 0x8008d292  A1      : 0x3ffb0060  
A2      : 0x3ffdeec0  A3      : 0xbaad5678  A4      : 0x3ffdeeb4  A5      : 0x3ff00000  
A6      : 0x3ffb01a0  A7      : 0x3ffb01a4  A8      : 0x3ffdef44  A9      : 0x3ffdeeb8  
A10     : 0x00000001  A11     : 0x3ffdeeb4  A12     : 0x000010c8  A13     : 0x0000001c  
A14     : 0x3ffdfff8  A15     : 0x3ffdef48  SAR     : 0x0000000c  EXCCAUSE: 0x00000001  
EXCVADDR: 0x00000000  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xffffffff  

ELF file SHA256: 0000000000000000

Backtrace: 0x4008d1c1:0x3ffb0060 0x4008d28f:0x3ffb0090 0x40081d2d:0x3ffb00b0 0x40081d5e:0x3ffb00d0 0x40086a69:0x3ffb00f0 0x4000beaf:0x3ffb0110 0x40086aa7:0x3ffb0130 0x4010d717:0x3ffb0150 0x4010dd6d:0x3ffb0170 0x4010c521:0x3ffb01a0 0x401069a1:0x3ffb0230 0x4010b452:0x3ffb0540 0x4010b48e:0x3ffb05d0 0x400d6875:0x3ffb0610 0x400d68d2:0x3ffb0760 0x400e0739:0x3ffb07a0 0x400e10d9:0x3ffb1060 0x400d6973:0x3ffb1080 0x400d699a:0x3ffb10a0 0x400da5b2:0x3ffb10c0 0x4016809d:0x3ffb10e0 0x400dfbda:0x3ffb1100 0x400de8cb:0x3ffb1150 0x400e3c35:0x3ffb11a0 0x400e9d0e:0x3ffb1fb0 0x40089c0a:0x3ffb1fd0

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x12 (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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:243]: Log initialized
[C][ota:465]: There have been 10 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[E][ota:472]: Boot loop detected. Proceeding to safe mode.
[I][app:029]: Running through setup()...
[C][wifi:037]: Setting up WiFi...
[D][wifi:384]: Starting scan...
[D][wifi:399]: Found networks:
[I][wifi:443]: - 'cheztuinstra' (B8:BE:F4:B1:0D:53) [redacted]▂▄▆█
[D][wifi:444]:     Channel: 1
[D][wifi:445]:     RSSI: -42 dB
[I][wifi:443]: - 'cheztuinstra' (B8:BE:F4:B1:24:5A) [redacted]▂▄▆█
[D][wifi:444]:     Channel: 6
[D][wifi:445]:     RSSI: -83 dB
[I][wifi:443]: - 'cheztuinstra' (F0:B0:14:57:BA:6D) [redacted]▂▄▆█
[D][wifi:444]:     Channel: 11
[D][wifi:445]:     RSSI: -88 dB
[D][wifi:448]: - 'telenet-7980561_EXT'[redacted] (3C:84:6A:76:38:AE) [redacted]▂▄▆█
[D][wifi:448]: - 'Proximus Public Wi-Fi'[redacted] (AA:6A:BB:93:72:C7) [redacted]▂▄▆█
[D][wifi:448]: - 'Proximus-Home-72C0'[redacted] (A8:6A:BB:93:72:C6) [redacted]▂▄▆█
[D][wifi:448]: - 'TelenetWiFree'[redacted] (6A:02:B8:08:26:CF) [redacted]▂▄▆█
[D][wifi:448]: - 'telenet-7980561'[redacted] (68:02:B8:08:26:CF) [redacted]▂▄▆█
[D][wifi:448]: - ''[redacted] (CA:41:1E:F9:7F:90) [redacted]▂▄▆█
[D][wifi:448]: - 'telenet-9876018'[redacted] (34:2C:C4:6A:93:48) [redacted]▂▄▆█
[D][wifi:448]: - 'TelenetWiFree'[redacted] (36:2C:B4:6A:93:48) [redacted]▂▄▆█
[D][wifi:448]: - 'TG'[redacted] (C4:41:1E:F9:7F:90) [redacted]▂▄▆█
[D][wifi:448]: - 'Orange-c8933'[redacted] (7C:DB:98:0C:89:37) [redacted]▂▄▆█
[I][wifi:255]: WiFi Connecting to 'cheztuinstra'...
[I][wifi:516]: WiFi Connected!
[C][wifi:360]:   Local MAC: 0C:DC:7E:CA:D4:24
[C][wifi:361]:   SSID: 'cheztuinstra'[redacted]
[C][wifi:362]:   IP Address: 192.168.10.14
[C][wifi:364]:   BSSID: B8:BE:F4:B1:0D:53[redacted]
[C][wifi:365]:   Hostname: 'temperature'
[C][wifi:367]:   Signal strength: -38 dB ▂▄▆█
[C][wifi:371]:   Channel: 1
[C][wifi:372]:   Subnet: 255.255.255.0
[C][wifi:373]:   Gateway: 192.168.10.1
[C][wifi:374]:   DNS1: 0.0.0.0
[C][wifi:375]:   DNS2: 0.0.0.0
[C][ota:089]: Over-The-Air Updates:
[C][ota:090]:   Address: 192.168.10.14:3232
[C][ota:093]:   Using Password.
[W][ota:099]: Last Boot was an unhandled reset, will proceed to safe mode in 0 restarts
[I][app:062]: setup() finished successfully!
[I][ota:484]: Waiting for OTA attempt.
[I][app:102]: ESPHome version 2022.9.1 compiled on Sep 25 2022, 23:08:03
[C][wifi:502]: WiFi:
[C][wifi:360]:   Local MAC: 0C:DC:7E:CA:D4:24
[C][wifi:361]:   SSID: 'cheztuinstra'[redacted]
[C][wifi:362]:   IP Address: 192.168.10.14
[C][wifi:364]:   BSSID: B8:BE:F4:B1:0D:53[redacted]
[C][wifi:365]:   Hostname: 'temperature'
[C][wifi:367]:   Signal strength: -40 dB ▂▄▆█
[C][wifi:371]:   Channel: 1
[C][wifi:372]:   Subnet: 255.255.255.0
[C][wifi:373]:   Gateway: 192.168.10.1
[C][wifi:374]:   DNS1: 0.0.0.0
[C][wifi:375]:   DNS2: 0.0.0.0
[C][logger:275]: Logger:
[C][logger:276]:   Level: DEBUG
[C][logger:277]:   Log Baud Rate: 115200
[C][logger:278]:   Hardware UART: UART0
[C][mdns:094]: mDNS:
[C][mdns:095]:   Hostname: temperature
[C][ota:089]: Over-The-Air Updates:
[C][ota:090]:   Address: 192.168.10.14:3232
[C][ota:093]:   Using Password.
[W][ota:099]: Last Boot was an unhandled reset, will proceed to safe mode in 0 restarts

Additional information

Thought it was something similar to this issue: #1605 but this issue went stale.

ssieb commented 1 year ago

Debug exception reason: Stack canary watchpoint triggered (loopTask) It's a stack overflow. You need to either increase the stack size or try https://github.com/esphome/esphome/pull/3577.

JeroenTuinstra commented 1 year ago

Thanks @ssieb. I will try #3577. In the meantime how does one increase the stack size in ESPhome?

ssieb commented 1 year ago
esphome:
  ...
  platformio_options:
    build_flags: 
      - -DCONFIG_ARDUINO_LOOP_STACK_SIZE=16384
0x90ChuckTessela commented 1 year ago

Running into this same issue on a somewhat large config. Using esphome/esphome#3577 and the above compiler flag doesn't fix the issue.

As far as I can tell, using

esphome:
  ...
  platformio_options:
    build_flags: 
      - -DCONFIG_ARDUINO_LOOP_STACK_SIZE=16384

doesn't actually change the stack size. the issue continues to show up, and the generated core.cpp shows the default stack size:

extern "C" void app_main() {
  esp32::setup_preferences();
  xTaskCreate(loop_task, "loopTask", 8192, nullptr, 1, &loop_task_handle);
}

The flag is properly getting set for the platformio options and all, as seen in the platformio.ini file:

build_flags =
    -DCONFIG_ARDUINO_LOOP_STACK_SIZE=16384

The compilation spams warnings due to the fact that the arduino libraries spam #define CONFIG_ARDUINO_LOOP_STACK_SIZE 8192 throughout the entirety of the codebase.

Pointing esphome to use newer versions of the arduino framework breaks with the existing ESPHome ethernet component, so I'm completely at a loss.

ssieb commented 1 year ago

Try the latest release or maybe dev. There have been some version updates and I think that involved ethernet updates as well.