After upgrade to v1.16.0 Sonoff basic in reboot loop

I’ve updated my ESPHome integration to v1.16.0 yesterday and updated one of my Sonoff basic devices.
Update went fine until it rebooted.

Since then the sonoff is constantly rebooting and connecting to my Wifi for about 5 seconds and then jump into the fallback AP mode. And then, reboot once again.

I’ve tried connecting to it, but it’s not online long enough to do anything :frowning:
When it ran on 1.15.3 it functioned perfectly and my OCD has caused me to fall down the rabbit hole of unverified updates :smiley:

My config:

substitutions:
  devicename: achtertuin_licht
  upper_devicename: Achtertuin Licht

esphome:
  name: $devicename
  platform: ESP8266
  board: esp01_1m

wifi:
  ssid: 'Domotica'
  password: 'xxxx'

  ap:
    ssid: "Achtertuin Licht Fallback"
    password: "xxxx"

captive_portal:


# Enable logging
logger:

# Enable Home Assistant API
api:
  password: xxx

ota:
  password: xxx

sensor:
  # Uptime sensor used in following formatted uptime sensor
  - platform: uptime
    name: "Achtertuin Licht Do Not Use"
    id: achtertuin_licht_do_not_use
    internal: true
    update_interval: 600s

  # WiFi Signal sensor.
  - platform: wifi_signal
    name: Achtertuin Licht WiFi Signal
    update_interval: 600s

# Text sensors with general information.
text_sensor:
  # Expose ESPHome version as sensor.
  - platform: version
    name: Achtertuin Licht ESPHome Version

# Sensor to display uptime in Days/hours/minutes      
  - platform: template
    name: "Achtertuin Licht Uptime"
    lambda: |-
      uint32_t dur = id(achtertuin_licht_do_not_use).state;
      int dys = 0;
      int hrs = 0;
      int mnts = 0;
      if (dur > 86399) {
        dys = trunc(dur / 86400);
        dur = dur - (dys * 86400);
      }
      if (dur > 3599) {
        hrs = trunc(dur / 3600);
        dur = dur - (hrs * 3600);
      }
      if (dur > 59) {
        mnts = trunc(dur / 60);
        dur = dur - (mnts * 60);
      }
      char buffer[17];
      sprintf(buffer, "%ud %02uh %02um %02us", dys, hrs, mnts, dur);
      return {buffer};
    icon: mdi:clock-start
    update_interval: 600s

status_led:
  pin:
    number: GPIO13
    inverted: yes

binary_sensor:
  - platform: gpio
    id: button
    pin:
      number: GPIO0
      mode: INPUT_PULLUP
      inverted: True
    on_press:
      - light.toggle: achtertuinlicht

output:
  - platform: gpio
    id: relay
    pin: GPIO12

light:
  - platform: binary
    id: achtertuinlicht
    name: $upper_devicename
    output: relay
switch:
  # Switch to restart the Sonoff.
  - platform: restart
    name: Achtertuin Licht Switch Restart
web_server:
  port: 80

Is this newer firmware heavier than the previous one and it’s crashing due to too much being enabled? Or is there a bug somewhere?

By chance you can get serial logs while the device is carshing/boot looping?

I updated already a bunch of my devices to 1.16 including some with much more complex configs and have no problems what so ever.

Sadly, no.
I’m going to remove it tomorrow and rebuild it manually.
Let’s see if that works.

I’ve tried to flash it again with a newly compiled binary. No dice.
Flashed Tasmota on it, working perfectly.

It’s going to stay Tasmotized :joy: