---
esphome:
name: outdoor_ss33
platform: ESP8266
board: esp01_1m
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
manual_ip:
static_ip: !secret outdoor_ss33_ip
gateway: !secret house_gateway
subnet: 255.255.255.0
logger:
api:
encryption:
key: !secret api_encryption_key
ota:
password: !secret outdoor_ss33_ota
sensor:
- platform: wifi_signal
name: "Outdoor SS33 WiFi signal"
update_interval: 60s
- platform: uptime
name: "Outdoor SS33 uptime"
text_sensor:
- platform: version
name: "Outdoor SS33 ESPHome version"
switch:
- platform: gpio
name: "Outdoor SS33 relay 1"
pin: GPIO12
id: relay1
- platform: gpio
name: "Outdoor SS33 relay 2"
pin: GPIO14
id: relay2
- platform: gpio
name: "Outdoor SS33 relay 3"
pin: GPIO03
id: relay3
binary_sensor:
- platform: gpio
pin:
number: GPIO13
mode: INPUT_PULLUP
inverted: False
name: "Outdoor SS33 button"
on_press:
- switch.turn_off: relay1
- switch.turn_off: relay2
- switch.turn_off: relay3
- platform: status
name: "Outdoor SS33 Status"
status_led:
pin:
number: GPIO04