Updating Sonoff S31 plugs.

This commit is contained in:
2021-07-30 18:12:32 -04:00
parent 3d9c1022cf
commit 0303819221
2 changed files with 6 additions and 27 deletions

View File

@@ -6,20 +6,10 @@ esphome:
name: ${device_name}
platform: ESP8266
board: esp01_1m
platformio_options:
upload_speed: 115200 #baud, tagging this so grep will find it later
# platformio_options:
# upload_speed: 115200 #baud, tagging this so grep will find it later
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"
<<: !include standard_wifi.yaml
logger:
baud_rate: 0 # (UART logging interferes with cse7766)
@@ -68,4 +58,4 @@ switch:
id: relay
status_led:
pin: GPIO13
pin: GPIO13

View File

@@ -1,6 +1,6 @@
substitutions:
device_name: sonoff_s31b
#device_ip: 192.168.87.72
device_ip: 192.168.87.72
esphome:
name: ${device_name}
@@ -9,18 +9,7 @@ esphome:
# platformio_options:
# upload_speed: 115200 #baud, tagging this so grep will find it later
wifi:
ssid: "Meneely"
password: "punxsutawney1"
# manual_ip:
# use_address: 192.168.87.72
#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"
<<: !include standard_wifi.yaml
logger:
baud_rate: 0 # (UART logging interferes with cse7766)