Open BenPru opened 2 years ago
Having the same issue with some of my sonoff basics as well. I have 2 broken sonoffs basics now.
One sonoff basic was able to upgrade though.
Here is my config:
---
# Device: sonoff basic
# Light for globus lamp
#
substitutions:
devicename: sonoff-basic-03
upper_devicename: Globus
esphome:
name: ${devicename}
platform: ESP8266
board: esp01_1m
wifi:
networks:
- ssid: !secret wifi_ssid
password: !secret wifi_password
reboot_timeout: 15min
# Enable logging
logger:
# Enable Home Assistant API
api:
reboot_timeout: 15min
ota:
sensor:
- platform: wifi_signal
name: ${devicename}_wifi_signal
update_interval: 10s
- platform: uptime
name: ${devicename}_uptime
text_sensor:
- platform: version
name: ${devicename}_esphome_version
# GPIO13 Green LED
status_led:
pin:
number: GPIO13
inverted: yes
# GPIO0 Button inverted
binary_sensor:
- platform: gpio
id: button
pin:
number: GPIO0
mode: INPUT_PULLUP
inverted: True
name: ${devicename}_button
on_press:
- light.toggle: lamp
# GPIO12 Relay
output:
- platform: gpio
id: relay
pin: GPIO12
light:
- platform: binary
id: lamp
name: ${upper_devicename}
output: relay
I have taken apart the sonoff basic and flashed it again via serial USB. Flashing does work, but the device does not come back online.
Please provide logs..
@randybb I do not think this has anything to do with the problem.
I have another sonoff basic with exactly the same config except the name and it is just working fine, even after the update.
@BenPru, See my post here https://github.com/esphome/issues/issues/2964#issuecomment-1019006987 I think this might help you.
The problem
After compiling 2021.12.0 and uploading the firmware the device is offline and the fallback wlan is not available.
Which version of ESPHome has the issue?
2021.12.0
What type of installation are you using?
Docker
Which version of Home Assistant has the issue?
2021.11.5
What platform are you using?
ESP8266
Board
sonoff basic rev1
Component causing the issue
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response