68 lines
1.2 KiB
YAML
68 lines
1.2 KiB
YAML
esphome:
|
|
name: fermentationstation
|
|
|
|
esp8266:
|
|
board: esp01_1m
|
|
|
|
# Enable logging
|
|
logger:
|
|
|
|
# Enable Home Assistant API
|
|
api:
|
|
encryption:
|
|
key: !secret fermentationstation_api
|
|
|
|
ota:
|
|
password: !secret fermentationstation_ota
|
|
|
|
wifi:
|
|
ssid: !secret wifi_ssid
|
|
password: !secret wifi_password
|
|
|
|
manual_ip:
|
|
static_ip: 192.168.1.136
|
|
gateway: 192.168.1.1
|
|
subnet: 255.255.255.0
|
|
dns1: 192.168.1.1
|
|
|
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
ap:
|
|
ssid: "Fermentationstation"
|
|
password: "6pHbMzDiSBHs"
|
|
|
|
captive_portal:
|
|
|
|
web_server:
|
|
port: 80
|
|
|
|
dallas:
|
|
- pin: GPIO2
|
|
|
|
sensor:
|
|
- platform: dallas
|
|
address: 0x6d0301a279da9728
|
|
name: "temp"
|
|
id: "temp_id"
|
|
|
|
switch:
|
|
- platform: gpio
|
|
name: "heizung"
|
|
id: "heizung"
|
|
pin: GPIO5
|
|
|
|
climate:
|
|
- platform: bang_bang
|
|
name: "Bang Bang Climate Controller"
|
|
sensor: "temp_id"
|
|
default_target_temperature_low: 20 °C
|
|
default_target_temperature_high: 22 °C
|
|
|
|
heat_action:
|
|
- switch.turn_on: heizung
|
|
idle_action:
|
|
- switch.turn_off: heizung
|
|
visual:
|
|
min_temperature: 20 °C
|
|
max_temperature: 35 °C
|
|
temperature_step: 0.5 °C
|