Files
espHome-NBS-files/garage1.yaml
Nicolas Bachschwell 1f7c437c3e This adds:
- A general folder for documantation configs
- A documantation for general esphome devices with functionallity too small for it's own file.
- Removed the powersave mode NONE on garage doors.
2025-10-08 10:13:10 +02:00

78 lines
1.5 KiB
YAML

substitutions:
garageSide: sy # sy, wo
version: "2.1.3"
esphome:
name: garage${garageSide}
esp32:
board: wemos_d1_mini32
framework:
type: esp-idf
ota:
- platform: esphome
password: !secret gd_passwd
on_begin:
then:
- hoermann_door.stop_polling: door_controll_internal
- logger.log: "OTA-Update started, stopped polling"
on_error:
then:
- hoermann_door.start_polling: door_controll_internal
- logger.log: "OTA-Update failed, restarted polling"
api:
encryption:
key: !secret gd_key
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
fast_connect: true
logger:
#level: VERY_VERBOSE
external_components:
- source:
type: local
path: external_components/
components: [ hoermann_door ]
cover:
- platform: hoermann_door
name: door_${garageSide}
hoermann_controller: door_controll_internal
uart:
rx_pin: 16
tx_pin: 17
baud_rate: 57600
id: hm_connection
data_bits: 8 # Standard, just defined for clarity
parity: EVEN # The chip uses even parity
stop_bits: 1 # Standard, just defined for clarity
hoermann_door:
id: door_controll_internal
uart_connection: hm_connection
log_level: INFO
tx_pin:
number: 25
inverted: false # Just for clarity, false is standard
light:
- platform: binary
name: door_${garageSide}_lamp
id: lamp_id_${garageSide}
output: light_out
output:
- id: light_out
platform: hoermann_door
state_callback: lamp_id_${garageSide}
hoermann_controller: door_controll_internal