HoermannDoor: Now uses GPIOInternalPin and UARTComponent to communicate.
This commit is contained in:
21
garage1.yaml
21
garage1.yaml
@@ -3,8 +3,11 @@ substitutions:
|
||||
|
||||
esphome:
|
||||
name: garage${garageSide}
|
||||
platform: ESP32
|
||||
board: esp32dev
|
||||
|
||||
esp32:
|
||||
board: wemos_d1_mini32
|
||||
framework:
|
||||
type: arduino
|
||||
|
||||
ota:
|
||||
- platform: esphome
|
||||
@@ -31,6 +34,18 @@ external_components:
|
||||
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
|
||||
|
||||
hoermann_door:
|
||||
id: door_controll_internal
|
||||
uart_connection: hm_connection
|
||||
tx_pin: 25
|
||||
|
||||
light:
|
||||
- platform: binary
|
||||
@@ -42,5 +57,7 @@ output:
|
||||
- id: light_out
|
||||
platform: hoermann_door
|
||||
state_callback: lamp_id_${garageSide}
|
||||
hoermann_controller: door_controll_internal
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user