-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathexample_hcpbridge.yaml
58 lines (47 loc) · 1016 Bytes
/
example_hcpbridge.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
esphome:
name: hcpbridge
libraries:
- emelianov/modbus-esp8266
platformio_options:
board_build.f_cpu: 240000000L
board_build.flash_mode: qio
monitor_speed: 9600
monitor_filters: esp32_exception_decoder
lib_ldf_mode: deep+
# board_build.f_flash: 40000000L
external_components:
source: github://mapero/esphome-hcpbridge
refresh: 0s
esp32:
board: adafruit_feather_esp32s3
framework:
type: arduino
hcpbridge:
is_connected:
name: "HCPBridge Connected"
rx_pin: 18 # optional, default=18
tx_pin: 17 # optional, default=17
cover:
- platform: hcpbridge
name: Garage Door
switch:
- platform: hcpbridge
name: Garage Light
api:
encryption:
key: !secret api_key
web_server:
port: 80
auth:
username: !secret web_username
password: !secret web_password
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable logging
logger:
level: DEBUG
baud_rate: 9600
# Example configuration entry
ota:
safe_mode: true