Hi
Running latest version of ESPHome plugin (1.19.4) in hassio (up to date too), I encounter a very confusing issue. I have been using ESPHome with some ESP since quite a while but never got such problem !
I wanted to add some Sonoff Basic in my system. I pulled two of them of my stock and plugged them on power hoping I would have setup a backup AP in it. Got luck with first one, setup it to connect at my current wifi and then use web interface to do OTA update with new wifi credentials. Update successful and then never saw back that ESP either in backup AP mode or connected at my Wifi !
I connect then to it in serial mode and then discover that:
sing '/dev/ttyUSB4' as serial port.
Showing logs:
[15:13:37][D][wifi:380]: Found networks:
[15:13:37][D][wifi:382]: No network found!
[15:13:42][D][wifi:365]: Starting scan...
[15:13:48][D][wifi:380]: Found networks:
[15:13:48][D][wifi:382]: No network found!
[15:13:50][D][sensor:117]: 'chambre_lumiere_lit Uptime': Sending state 0.50773 minutes with 0 decimals of accuracy
[15:13:53][D][wifi:365]: Starting scan...
Looks like the ESP wifi part is dead no ? (I have quite a few wifi around plus my own so it can’t say: No Network found…
Ok it happens, electronic can die so do same process on second Sonoff Basic to get exactly same result ! Two ESP devices that have no more Wifi !
For info but nothing special in sketch I use:
substitutions:
friendly_name: chambre_lumiere_lit
esphome:
name: $friendly_name
platform: ESP8266
board: esp01_1m
wifi:
networks:
- ssid: !secret wifi
password: !secret wifi_passwd
- ssid: !secret wifi_puppy
password: !secret wifi_puppy_passwd
ap:
ssid: $friendly_name
api:
logger:
ota:
captive_portal:
web_server:
binary_sensor:
- platform: gpio
pin:
number: GPIO0
mode: INPUT_PULLUP
inverted: True
id: "Button"
on_press:
- switch.toggle: relay
switch:
- platform: gpio
name: $friendly_name "Relay"
pin: GPIO12
id: relay
status_led:
pin:
number: GPIO13
inverted: yes
sensor:
- platform: wifi_signal
name: ${friendly_name} WiFi Signal
update_interval: 60s
- platform: uptime
name: ${friendly_name} Uptime
filters:
- lambda: return x / 60.0;
unit_of_measurement: minutes
Someone else with same issue ? that is a little annoying
Vincèn