initial commit esphome
This commit is contained in:
71
esphome/og-ku-co-senseo.yaml
Normal file
71
esphome/og-ku-co-senseo.yaml
Normal file
@@ -0,0 +1,71 @@
|
||||
substitutions:
|
||||
devicename: og-ku-co-senseo
|
||||
|
||||
esphome:
|
||||
name: ${devicename}
|
||||
platform: ESP8266
|
||||
board: nodemcuv2
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
|
||||
ota:
|
||||
password: "2e625bc7fcf9ba632a5ff1008538831f"
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_ssid
|
||||
password: !secret wifi_password
|
||||
|
||||
# Optional manual IP
|
||||
manual_ip:
|
||||
static_ip: 192.168.1.139
|
||||
gateway: 192.168.1.1
|
||||
subnet: 255.255.255.0
|
||||
|
||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
ap:
|
||||
ssid: "${devicename}"
|
||||
password: "anO1GGY2nsmz"
|
||||
|
||||
captive_portal:
|
||||
|
||||
switch:
|
||||
- platform: restart
|
||||
name: "${devicename} Neustart"
|
||||
|
||||
- platform: gpio
|
||||
pin: D2
|
||||
id: onecup
|
||||
name: "${devicename} 1cup"
|
||||
icon: "mdi:coffee"
|
||||
on_turn_on:
|
||||
- delay: 500ms
|
||||
- switch.turn_off: onecup
|
||||
- platform: gpio
|
||||
pin: D3
|
||||
id: twocup
|
||||
name: "${devicename} 2cup"
|
||||
icon: "mdi:coffee"
|
||||
on_turn_on:
|
||||
- delay: 500ms
|
||||
- switch.turn_off: twocup
|
||||
- platform: gpio
|
||||
pin: D4
|
||||
id: pot
|
||||
name: "${devicename} pot"
|
||||
icon: "mdi:coffee-maker"
|
||||
on_turn_on:
|
||||
- delay: 500ms
|
||||
- switch.turn_off: pot
|
||||
|
||||
sensor:
|
||||
- platform: wifi_signal
|
||||
name: "${devicename} Wi-Fi Signal"
|
||||
update_interval: 60s
|
||||
|
||||
- platform: uptime
|
||||
name: "${devicename} Uptime"
|
||||
update_interval: 60s
|
||||
Reference in New Issue
Block a user