Closed aartokke closed 4 years ago
Hello @aartokke thank you!!
Your solution has resolved also my issue with my Sonoff TH16, it was very unstable also I was thinking to a bug with the wifi problem, I have another TH16 close to the AP which work fine.
same issue #931 is closed en i see it's mentioned in the esphome sonoff docs now to use arduino_version: 2.4.2 therefore closing issue
Operating environment/Installation (Hass.io/Docker/pip/etc.):
hass.io 0.102.3 ESP (ESP32/ESP8266, Board/Sonoff):
ESPHOME 1.14.3 Sonoff TH10 with temperature and humidity sensor
Affected component:
https://esphome.io/devices/sonoff.html
Description of problem: 3x Sonoff's TH10 with firmware esp 1.14.3 are sometimes during the day unavailable in homeassistant. Uptime is also reset. It looks like it's resetting. Reading the logs from USB: i'm getting at those times in the log a line with "abort called".
btw: sonoff is used for activating a sirene for 3 seconds
Found a solution in issue #931 which has the exact same problem. So my problem is solved https://github.com/esphome/issues/issues/931
i also changed the board type from esp01_1m to esp8285 and adding arduino_version: 2.4.2
esphome: name: ${plug_name} platform: ESP8266 board: esp01_1m
esphome: name: ${plug_name} platform: ESP8266 board: esp8285 arduino_version: 2.4.2
In yaml configuration below i have added fastconnect en reboot_timeout: 0s : We had some wifi connection issues in the beginning, and because of the time actions (and time-sync) i didn't want a reboot if during the day there was no connection with wifi. (i'm rebooting the sonoff's at night) but those issues are resolved.
Problem-relevant YAML-configuration entries:
Logs (if applicable):
Additional information and things you've tried: i solved it with the solution of https://github.com/esphome/issues/issues/931