Compare commits

..

2 Commits

2 changed files with 76 additions and 2 deletions

50
light_switch.yaml Normal file
View File

@ -0,0 +1,50 @@
esphome:
name: nbs-mainlight
esp8266:
board: esp01_1m
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
api:
encryption:
key: !secret ml_key
ota:
password: !secret ml_password
logger:
binary_sensor:
- platform: gpio
pin:
number: GPIO0
mode:
input: true
pullup: true
inverted: true
id: button_1
on_press:
then:
- light.toggle: light_1
- platform: status
name: "T1 Status"
output:
- platform: gpio
pin: GPIO12
id: relay_1
light:
- platform: binary
name: Main Light
id: light_1
output: relay_1
status_led:
pin:
number: GPIO13
inverted: no

View File

@ -15,7 +15,7 @@ a3poolpasswd: # A3Pool OTA and native API password
a3poolkey: # Native API encryption KEY
# Table Tennis Footswitches (No ttf encryption but may be added)
ttfpassword: # TableTennisFootswitch OTA password
ttf_password: # TableTennisFootswitch OTA password
# ttfkey: # Native API encryption KEY
# Table Tennis ledstrip display
@ -28,4 +28,28 @@ ss1key: # Native API encryption KEY
# Ledstrip Simple
ledsimplepassword: # Ledstrip Simple OTA and native API password
ledsimplekey: # Native API encryption KEY
ledsimplekey: # Native API encryption KEY
# Bluetooth Low Energy Global Vars test
ble_password: <INSERT>
ble_key: <INSERT>
# streamsign
streamsign_password: <INSERT>
streamsign_key: <INSERT>
# Clor Pump
cp_key: <INSERT>
cp_password: <INSERT>
# Gong
gong_key: <INSERT>
gong_password: <INSERT>
# Garage Doors
gd_key: <INSERT>
gd_passwd: <INSERT>
# T1 Sonoff touch switch
ml_key: <INSERT>
ml_password: <INSERT>