html
This commit is contained in:
92
archive/icebox.yaml
Normal file
92
archive/icebox.yaml
Normal file
@@ -0,0 +1,92 @@
|
||||
substitutions:
|
||||
device_name: icebox
|
||||
|
||||
esphome:
|
||||
name: ${device_name}
|
||||
friendly_name: ${device_name}
|
||||
|
||||
bk72xx:
|
||||
board: cbu
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
encryption:
|
||||
key: "TJrP8SvFc28OkOZXBpEdrzwmsDBVNLzyNTQHOnwcMwA="
|
||||
|
||||
ota:
|
||||
- platform: esphome
|
||||
password: "7ca52a2f120b01d35476a7df8597199a"
|
||||
|
||||
wifi:
|
||||
ssid: SmartHome
|
||||
password: ""
|
||||
use_address: 192.168.88.50
|
||||
|
||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
# ap:
|
||||
# ssid: "Icebox Fallback Hotspot"
|
||||
# password: "zGa3diAiL6T7"
|
||||
manual_ip:
|
||||
static_ip: 192.168.88.50
|
||||
gateway: 192.168.88.1
|
||||
subnet: 255.255.255.0
|
||||
|
||||
captive_portal:
|
||||
|
||||
# status_led:
|
||||
# pin:
|
||||
# number: GPIO9
|
||||
# inverted: true
|
||||
|
||||
|
||||
switch:
|
||||
- platform: gpio
|
||||
pin: P7
|
||||
id: relay1
|
||||
- platform: gpio
|
||||
pin: P8
|
||||
id: relay2
|
||||
- platform: gpio
|
||||
pin: P9
|
||||
id: relay3
|
||||
|
||||
# binary_sensor:
|
||||
# - platform: gpio
|
||||
# pin:
|
||||
# number: P6
|
||||
# mode: INPUT_PULLUP
|
||||
# inverted: True
|
||||
# name: ${device_name} switch 1
|
||||
# on_press:
|
||||
# - light.toggle: relay1
|
||||
# on_release:
|
||||
# - light.toggle: relay1
|
||||
# - platform: gpio
|
||||
# pin:
|
||||
# number: P24
|
||||
# mode: INPUT_PULLUP
|
||||
# inverted: True
|
||||
# name: ${device_name} switch 2
|
||||
# on_press:
|
||||
# - light.toggle: relay2
|
||||
# on_release:
|
||||
# - light.toggle: relay2
|
||||
# - platform: gpio
|
||||
# pin:
|
||||
# number: P26
|
||||
# mode: INPUT_PULLUP
|
||||
# inverted: True
|
||||
# name: ${device_name} switch 3
|
||||
# on_press:
|
||||
# - light.toggle: relay3
|
||||
# on_release:
|
||||
# - light.toggle: relay3
|
||||
|
||||
web_server:
|
||||
port: 80
|
||||
auth:
|
||||
username: "silver"
|
||||
password: "cbvgcjy0"
|
||||
Reference in New Issue
Block a user