-
Notifications
You must be signed in to change notification settings - Fork 0
/
dekacontroller.yaml
82 lines (73 loc) · 1.42 KB
/
dekacontroller.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
esphome:
name: dekacontroller
external_components:
# source:
# type: local
# path: ./components
source:
type: git
url: https://github.com/grob6000/dekacontroller-esphome
username: !secret github_username
password: !secret github_token
esp8266:
board: esp01
# Enable logging
logger:
baud_rate: 0
level: DEBUG
# Enable Home Assistant API
api:
encryption:
key: !secret encryption1
ota:
password: !secret otapassword1
wifi:
networks:
- ssid: !secret wifi_ssid
password: !secret wifi_password
hidden: true
domain: !secret domain
fast_connect: true
uart:
id: uart_bus
tx_pin: 1
rx_pin: 3
baud_rate: 9600
dekacontroller:
id: dc1
uart_id: uart_bus
gps:
name: Dekacontroller GPS
sync:
name: Dekacontroller Sync
run:
name: Dekacontroller Run OK
track:
name: Dekacontroller Track
drift:
name: Dekacontroller Drift
zerom0:
name: Dekacontroller Zero M0
zerom00:
name: Dekacontroller Zero M00
zeroh0:
name: Dekacontroller Zero H0
zeroh00:
name: Dekacontroller Zero H00
runin:
name: Dekacontroller Run Input
runout:
name: Dekacontroller Run Output
timezone:
name: Dekacontroller Timezone
switch:
- platform: gpio
pin:
number: 13
inverted: true
id: synccontrol
name: "Dekacontroller Remote Sync"
icon: "mdi:restart"
on_turn_on:
- delay: 150ms
- switch.turn_off: synccontrol