From 7557040af5fafca96959b32791e298a754c4cb89 Mon Sep 17 00:00:00 2001 From: Tim Meneely Date: Tue, 2 Mar 2021 14:20:31 -0500 Subject: [PATCH] Naming buttons. --- shelly_i3_1.yaml | 68 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 shelly_i3_1.yaml diff --git a/shelly_i3_1.yaml b/shelly_i3_1.yaml new file mode 100644 index 0000000..1e15f31 --- /dev/null +++ b/shelly_i3_1.yaml @@ -0,0 +1,68 @@ +substitutions: + device_name: shelly_i3_87_61 + device_ip: 192.168.87.61 + +esphome: + name: ${device_name} + platform: ESP8266 + board: esp01_1m + board_flash_mode: dout + platformio_options: + upload_speed: 115200 + +wifi: + ssid: "Meneely" + password: "punxsutawney1" + manual_ip: + static_ip: ${device_ip} + gateway: 192.168.86.1 + subnet: 255.255.255.0 + # Enable fallback hotspot (captive portal) in case wifi connection fails + ap: + ssid: "ESPHOME" + password: "12345678" + +logger: + +api: + reboot_timeout: 15min + +ota: + +# the web_server & sensor components can be removed without affecting core functionaility. + +web_server: + port: 80 + +sensor: + - platform: wifi_signal + name: ${device_name} Wifi Signal Strength + update_interval: 60s + - platform: uptime + name: ${device_name} Uptime + +binary_sensor: + - platform: gpio + pin: + number: GPIO12 + mode: INPUT + name: 'Switch Middle' + id: sensoridM + filters: + - delayed_on_off: 50ms + - platform: gpio + pin: + number: GPIO13 + mode: INPUT + name: 'Switch L' + id: sensoridL + filters: + - delayed_on_off: 50ms + - platform: gpio + pin: + number: GPIO14 + mode: INPUT + name: 'Switch T' + id: sensoridT + filters: + - delayed_on_off: 50ms