Added garage1.yaml, including the implementation for the hoermann external components

This commit is contained in:
2024-04-26 21:02:48 +02:00
parent ac345026e7
commit 9719833b47
8 changed files with 924 additions and 1 deletions

56
garage1.yaml Normal file
View File

@@ -0,0 +1,56 @@
substitutions:
garageSide: sy # sy, wo
esphome:
name: garage${garageSide}
platform: ESP32
board: esp32dev
libraries:
- plerup/EspSoftwareSerial
# custom_component:
# - lambda: |-
# auto door = new HoermanDoor();
# App.register_component(door);
# return {door};
# components:
# - id: door_${garageSide}
# - lambda: |-
# auto light = new NbsLightOutput();
# App.register_component(light);
# return {light};
# components:
# - id: door_${garageSide}_lamp
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}
light:
- platform: binary
name: door_${garageSide}_lamp
output: light_out
output:
- id: light_out
platform: hoermann_door
ota:
password: !secret gd_passwd
api:
encryption:
key: !secret gd_key