I have 2 Sonoff T1 US switches running on ESPHome software that randomly turn themselves on. Switches are remotely located in my garage so they are connected via a WiFi extender. Lights randomly switch on but typically early morning hours between 12 and 2am.
Any way to figure out what is switching them on?
esphome:
name: garage
platform: ESP8266
board: esp01_1m
# Automation turning on the blue status LED once T1 is booted up
on_boot:
priority: -10
then:
- light.turn_on: led
wifi:
ssid: "xxxx_EXT"
password: "xxxxxxxx"
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
binary_sensor:
- platform: gpio
pin:
number: GPIO0
mode: INPUT_PULLUP
inverted: True
name: "Garage Lights"
on_press:
- switch.toggle: relay
- platform: status
name: "Sonoff T1 UK 3 Gang Status"
switch:
- platform: gpio
name: "Garage Lights"
pin: GPIO12
id: relay
output:
# Register the blue LED as a dimmable output ....
- platform: esp8266_pwm
id: basic_blue_led
pin: GPIO13
inverted: True
light:
# ... and then make a light out of it.
- platform: monochromatic
name: "Garage Lights Blue LED"
output: basic_blue_led
internal: true
id: led