Changing IP of sonoff S31c

This commit is contained in:
2021-11-29 07:33:29 -05:00
parent 27150a1d68
commit f3938bd664
3 changed files with 5 additions and 3 deletions

View File

@@ -11,4 +11,5 @@ lr_bright_87_49 192.168.87.49 ESP32/wemos_d1_mini32
rf_bridge_87_60 192.168.87.60 esp01_1m Sonoff RF bridge
sonoff_s31a 192.168.87.71 esp01_1m Sonoff S31 power monitoring plug
sonoff_s31b 87.72 now DHCP esp01_1m Sonoff S31 power monitoring plug
sonoff-s31christmas 87.74 esp01_1m Sonoff S31 power monitoring plug
ifan04_a 192.168.87.73

View File

@@ -29,8 +29,9 @@ esphome:
on_boot:
priority: 225
# turn off the light as early as possible
# no, turn it on - if somebody flips the switch, turn the light on
then:
- light.turn_off: ${device_name}_light
- light.turn_on: ${device_name}_light
remote_receiver:
pin: GPIO3

View File

@@ -1,6 +1,6 @@
substitutions:
device_name: sonoff_s31c
device_ip: 192.168.87.73
device_name: sonoff-s31christmas
device_ip: 192.168.87.74
esphome:
name: ${device_name}