/
config.yml
64 lines (63 loc) · 1.26 KB
/
config.yml
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
input:
module: TornadoRest
module_parameters:
port: 8888
api:
virtual_path: /api
static:
physical_path: static
directory_index: index.html
output:
- module: GenericRelayBoard
relays:
2: window_switch_bypass
3: window_down
4: window_up
5: lamp
6: uv_lamp
module_parameters:
serial:
port: /dev/ttyS0
baudrate: 9600
board_size: 8
- module: DummyOutput
relays:
0: DummyOutput0_0
1: DummyOutput0_1
2: DummyOutput0_2
3: DummyOutput0_3
- module: DummyOutput
relays:
4: DummyOutput1_4
5: DummyOutput1_5
6: DummyOutput1_6
7: DummyOutput1_7
- module: FirmataOutput
relays:
2: relay_1
3: relay_2
4: relay_3
5: relay_4
6: relay_5
7: relay_6
8: relay_7
9: relay_8
10: relay_9
11: relay_10
12: relay_11
13: relay_12
A0: relay_13
A1: relay_14
A2: relay_15
A3: relay_16
module_parameters:
reverse: true
board_type: 'arduino_mega'
port: /dev/ttyACM0
baud_rate: 57600
# future modules
# - module: RaspberryPiGpio
# relays:
# # RPi GPIO number to relay id mapping
# 17: rpi_alarm
# 18: rpi_garage_door