Esphome
This commit is contained in:
90
bak.yaml
Normal file
90
bak.yaml
Normal file
@@ -0,0 +1,90 @@
|
|||||||
|
esphome:
|
||||||
|
name: relay_auto_bak
|
||||||
|
friendly_name: bak
|
||||||
|
|
||||||
|
esp8266:
|
||||||
|
board: esp12e
|
||||||
|
|
||||||
|
# Enable logging
|
||||||
|
logger:
|
||||||
|
|
||||||
|
# Enable Home Assistant API
|
||||||
|
api:
|
||||||
|
encryption:
|
||||||
|
key: "DLO/jlbPutpVyTwKB5fP7oO36K58yiLzU0Fpw0ZN/hM="
|
||||||
|
|
||||||
|
ota:
|
||||||
|
- platform: esphome
|
||||||
|
password: "f98db3b86ae6f19b2d1aec85ee5f5bcd"
|
||||||
|
|
||||||
|
wifi:
|
||||||
|
ssid: 'SmartHome'
|
||||||
|
password: ''
|
||||||
|
use_address: 192.168.88.39
|
||||||
|
|
||||||
|
manual_ip:
|
||||||
|
static_ip: 192.168.88.39
|
||||||
|
gateway: 192.168.88.1
|
||||||
|
subnet: 255.255.255.0
|
||||||
|
power_save_mode: none
|
||||||
|
|
||||||
|
captive_portal:
|
||||||
|
|
||||||
|
status_led:
|
||||||
|
pin:
|
||||||
|
number: GPIO16
|
||||||
|
inverted: True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# switch:
|
||||||
|
# - platform: gpio
|
||||||
|
# pin:
|
||||||
|
# number: GPIO5
|
||||||
|
# inverted: true
|
||||||
|
# name: Relay_komp
|
||||||
|
# id: relay
|
||||||
|
# on_turn_off:
|
||||||
|
# then:
|
||||||
|
# - wait_until:
|
||||||
|
# condition:
|
||||||
|
# for:
|
||||||
|
# time: 5s
|
||||||
|
# condition:
|
||||||
|
# lambda: |-
|
||||||
|
# return id(relay).state == true;
|
||||||
|
# - lambda: |-
|
||||||
|
# id(relay).turn_off();
|
||||||
|
|
||||||
|
# one_wire:
|
||||||
|
# - platform: gpio
|
||||||
|
# pin: GPIO14
|
||||||
|
# id: bus14
|
||||||
|
|
||||||
|
# sensor:
|
||||||
|
# - platform: dallas_temp
|
||||||
|
# one_wire_id: bus14
|
||||||
|
# name: "DS18B20_kontroller"
|
||||||
|
# update_interval: 2s
|
||||||
|
|
||||||
|
binary_sensor:
|
||||||
|
- platform: gpio
|
||||||
|
pin:
|
||||||
|
number: GPIO12
|
||||||
|
mode:
|
||||||
|
input: true
|
||||||
|
device_class: moisture
|
||||||
|
name: Liquid_sensor_upper
|
||||||
|
|
||||||
|
# mqtt:
|
||||||
|
# broker: 192.168.88.4
|
||||||
|
# username: 'miroca'
|
||||||
|
# password: 'cbvgcjy0'
|
||||||
|
# discovery: False # disable entity discovery
|
||||||
|
# discover_ip: True # enable device discovery
|
||||||
|
|
||||||
|
web_server:
|
||||||
|
port: 80
|
||||||
|
auth:
|
||||||
|
username: "silver"
|
||||||
|
password: "cbvgcjy0"
|
||||||
Reference in New Issue
Block a user