Closed romanpeters closed 5 years ago
Hello,
First of all, congratulations for this amazing project!
I've experienced almost the same issue after upgrading to 1.10 version. After the last failed firmware update, the sonoff basic is showed as always offline on the dashboard and it has also disappeared from the network (no ping available). During the firmware upload I can see an error message similar to: Failed to upload firmware using OTA v2. Trying with legacy method , but both of them failed.
In my case the most extrange thing is that it has just happened with 3 sonoff basic, but there is no issue with a sonoff pow and a sonoff S20, which I've been able to change to api connection.
I guess the only way for this 3 sonoff basic is connect them by USB and try to upload the firmware again.
I've been experiencing this with the device I'm testing esphomeyaml on as well. Config validates without issue but it doesn't connect. I checked the serial logger and I could see it was crashing and rebooting continually.
I checked the serial logger and I could see it was crashing and rebooting continually.
Yes that would lead to no connection. Please post logs or I won't be able to help
I reflashed my Sonoff Basic over USB and now it works perfectly again.
Exact same thing happened to me. My configuration stayed exactly the same, I just removed the MQTT configuration (I had api and mqtt running at the same time, was causing issues) and did OTA upload. I didn't check exactly what the output was when I uploaded, but it succeeded. Sonoff went offline and never came back, according to my router it's not even connecting to wifi
Closing due to inactivity
Operating environment (Hass.io/Docker/pip/etc.): Hass.io, ESPHome add-on v1.10.0
**ESP (ESP32/ESP8266/Board/Sonoff):** Sonoff BasicDescription of problem: I decided to replace MQTT with the new Native API for Home Assistant, on a Sonoff I've had up and running for a while. I removed the MQTT configuration and added
api:
(without a password), through the Hass.io add-on. Validation went through and the Sonoff was online. After compiling and uploading, I got a warning that it used the Legacy OTA method as a fallback (I hadn't updated this Sonoff in a while, so expected behaviour I guess). After that, the logs said the upload was a success, however it would repeatedly warn me that it couldn't connect to the API. Closing the upload screen, showed the Sonoff now being offline in the Hass.io add-on. I tried restarting the Sonoff, by unplugging it from the socket and back in, but to no avail. Once plugged in, the green LED on the Sonoff turns on for a fraction of a second, then turns off. I tried to connect to the Sonoff through Home Assistant, but got a connection error. I tried to ping the Sonoff, but got request timeout and host is down.It looks like the Sonoff has become completely unresponsive.
Problem-relevant YAML-configuration entries:
Traceback (if applicable): Running "Show Logs" in the Hass.io add-on repeats this warning:
Additional information: