Hi there,
Since quit some time I have a problem with one of my ESP8266 D1 mini.
It worked well for over one year but now it becomes unavailable during the day.
The project I use is: https://github.com/Scriptman/ESPHome_ITHO_Eco_Fan_CC1101
My yaml code:
esphome:
name: itho_eco_fan
platform: ESP8266
board: d1_mini
includes:
- itho_eco_fan/itho/cc1101.h
libraries:
- SPI
- Ticker
- https://github.com/Scriptman/ESPHome_ITHO_Eco_Fan_CC1101.git
wifi:
networks:
- ssid: "XXXXX"
password: "XXXXXX"
manual_ip:
static_ip: 192.168.xxx.xx
gateway: 192.168.xxx.xx
subnet: 255.255.255.0
dns1: 8.8.8.8
dns2: 8.8.4.4
ap:
ssid: "Itho Eco Fan Fallback Hotspot"
password: "xxxxxxxxxxxx"
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
password: "xxxx"
ota:
password: "xxxx"
switch:
- platform: custom
lambda: |-
auto fansendlow = new FanSendLow();
App.register_component(fansendlow);
return {fansendlow};
switches:
name: "FanSendLow"
icon: mdi:fan
- platform: custom
lambda: |-
auto fansendmedium = new FanSendMedium();
App.register_component(fansendmedium);
return {fansendmedium};
switches:
name: "FanSendMedium"
icon: mdi:fan
- platform: custom
lambda: |-
auto fansendhigh = new FanSendHigh();
App.register_component(fansendhigh);
return {fansendhigh};
switches:
name: "FanSendHigh"
icon: mdi:fan
- platform: custom
lambda: |-
auto fansendt1 = new FanSendIthoTimer1();
App.register_component(fansendt1);
return {fansendt1};
switches:
name: "FanSendTimer1"
- platform: custom
lambda: |-
auto fansendt2 = new FanSendIthoTimer2();
App.register_component(fansendt2);
return {fansendt2};
switches:
name: "FanSendTimer2"
- platform: custom
lambda: |-
auto fansendt3 = new FanSendIthoTimer3();
App.register_component(fansendt3);
return {fansendt3};
switches:
name: "FanSendTimer3"
- platform: custom
lambda: |-
auto fansendjoin = new FanSendIthoJoin();
App.register_component(fansendjoin);
return {fansendjoin};
switches:
name: "FanSendJoin"
# Rinse/repeat for the timers
# see outstanding question in cc1101.h
# on multiple switches handling
text_sensor:
- platform: custom
lambda: |-
auto fanrecv = new FanRecv();
App.register_component(fanrecv);
return {fanrecv->fanspeed,fanrecv->fantimer};
text_sensors:
- name: "FanSpeed"
- name: "FanTimer"
A snapshot from my logs:
Does anyone have a solution for me? I have searched but couldnât find one.
Thanks in advance
Bastiaan