-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-default.yml
153 lines (127 loc) · 2.31 KB
/
config-default.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
output:
- serial # send serial command e.g. to arduino
- raspberry # direct control via GPIOS
input:
- dualShock3
#- dualShock4
plugins:
- sixad
- startup-sound
- auto-pair
- webcam
- server:
host: 0.0.0.0
port: 3000
#- dummy-data
devices:
serial:
- type: motor
joystick: right
pin: 9
min: 0
max: 180
buffer: 10
defaultPosition: 0
- type: ruder
joystick: right
pin: 6
min: 20
max: 200
buffer: 0
defaultPosition: 0
# Water Monitor
- pin: 5
name: Monitor-Rotation
type: setMovement
min: 0
max: 180
speed: 30
joystick: left
# Wasser Pumpe
- pin: 2
name: Wasserpumpe
type: press
button: l2
- pin: 13
type: onOff
button: circle
- pin: 13
type: autoOn
button: circle
- pin: 14
type: onOff
button: x
- pin: 2
type: press
button: l2
- pin: 3
type: onOff
button: l1
- pin: 4
type: timer
button: r1
time: 2000
- pin: 10
type: blink
button: r2
time_on: 1000
time_off: 500
- pin: 15
min: 0
max: 180
type: increaseWhenPressed
button: square
- type: speakText
button: r2
text: Test
- type: soundFile
button: r1
file: horn.mp3
- type: macro
macro:
- output d 1 1
- sleep 1
- controller 2
- output d 1 0
button: r1
raspberry:
# Radar Motor
- pin: 4
name: Radar
type: onOff
button: triangle
# Blaulicht
- pin: 17
name: Blaulicht
button: x
type: blink
time_on: 350
time_off: 700
# Licht
- pin: 3
name: Licht
type: onOff
button: circle
default: true
general:
- type: restart
name: Neustart
button: psxButton
# disable events when "select" was pressed
- type: mute
name: Mute
button: button
# Sag "Es brennt"
- type: speakText
name: Sag "Es brennt"
button: r2
text: Es brennt
# play horn.mp3
- type: soundFile
name: Horn-Sound
button: r1
file: horn.mp3
soundExecutable: mplayer
speakExecutable: espeak -s 80 -vde
debug: true
motionDetection: false