-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnode.json
200 lines (200 loc) · 6.13 KB
/
node.json
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
{
"name": "Live feed",
"permissions": {
"network": "Needs to fetch HAFAS API data"
},
"options": [{
"title": "OpenData API",
"type": "section"
}, {
"title": "Provider",
"ui_width": 4,
"name": "api_provider",
"type": "select",
"default": "vbb-test",
"options": [
["vbb", "VBB Produktivsystem (Verkehrsverbund Berlin-Brandenburg)"],
["vbb-test", "VBB Testsystem (Verkehrsverbund Berlin-Brandenburg)"],
["rmv", "RMV (Rhein-Main-Verkehrsverbund)"]
]
}, {
"title": "API-Key oder Cache-URL",
"ui_width": 8,
"name": "api_key",
"type": "string",
"default": "",
"placeholder": "5555555-555555-5555-5555-555555"
}, {
"title": "HAFAS stop id(s)",
"ui_width": 8,
"name": "stop_ids",
"type": "string",
"default": "3016471",
"hint": "separate multiple ids by comma"
}, {
"title": "Request Limit",
"ui_width": 4,
"name": "requests_max_per_day",
"type": "integer",
"default": 4900,
"hint": "maximum number of requests done to API (per device and day) - will get ignored if using a caching server"
}, {
"title": "Fonts and colours",
"type": "section"
}, {
"title": "Line Number Font",
"ui_width": 6,
"name": "line_font",
"type": "font",
"default": "silkscreen.ttf",
"ui_spacing": 6
}, {
"title": "Destination/Origin Font",
"ui_width": 6,
"name": "heading_font",
"type": "font",
"default": "silkscreen.ttf"
}, {
"title": "Destination/Origin Colour",
"ui_width": 3,
"name": "heading_colour",
"type": "color",
"default": [1,1,1,1],
"ui_spacing": 3
}, {
"title": "Second Line Font",
"ui_width": 6,
"name": "second_font",
"type": "font",
"default": "silkscreen.ttf"
}, {
"title": "Second Line Colour",
"ui_width": 3,
"name": "second_colour",
"type": "color",
"default": [1,1,1,1],
"ui_spacing": 3
}, {
"title": "Time Font",
"ui_width": 6,
"name": "time_font",
"type": "font",
"default": "silkscreen.ttf"
}, {
"title": "Time Colour",
"ui_width": 3,
"name": "time_colour",
"type": "color",
"default": [1,1,1,1],
"ui_spacing": 3
}, {
"title": "Real-Time Font",
"ui_width": 6,
"name": "realtime_font",
"type": "font",
"default": "silkscreen.ttf",
"hint": "Font to use for times when real-time information is available"
}, {
"title": "Real-Time Colour (on time)",
"ui_width": 3,
"name": "realtime_punctual_colour",
"type": "color",
"default": [1,1,1,1],
"hint": "Colour to use for times where real-time information is available and the service is on-time"
}, {
"title": "Real-Time Colour (delayed)",
"ui_width": 3,
"name": "realtime_delayed_colour",
"type": "color",
"default": [1,1,1,1],
"hint": "Colour to use for times where real-time information is available and the service is delayed"
}, {
"title": "Background Colour",
"ui_width": 4,
"name": "background_colour",
"type": "color",
"default": [0,0,0,1]
}, {
"title": "Display Options",
"type": "section"
}, {
"title": "Data To Show",
"ui_width": 8,
"name": "data_sources",
"type": "select",
"default": "departures",
"options": [
["departures", "Show only departures at each stop"],
["arrivals", "Show only arrivals at each stop"],
["both", "Show departures and terminating arrivals at each stop"]
]
}, {
"title": "Rotation",
"ui_width": 4,
"name": "screen_rotation",
"type": "select",
"default": 0,
"hint": "Rotation of screen (clockwise)",
"options": [
[0, "0°"],
[90, "90°"],
[180, "180°"],
[270, "270°"]
]
}, {
"title": "Remove string from destination",
"ui_width": 12,
"name": "remove_string",
"type": "string",
"default": "",
"hint": "String which is removed from stop names and destinations"
}, {
"title": "Ignored destinations",
"ui_width": 12,
"name": "ignore_destination",
"type": "string",
"default": "",
"hint": "Filter out any transport where destination matches (matched after 'remove string from destination' - regex possible)"
}, {
"title": "Show vehicle type",
"ui_width": 4,
"name": "show_vehicle_type",
"type": "boolean",
"default": true
}, {
"title": "Large Minutes",
"ui_width": 4,
"name": "large_minutes",
"type": "boolean",
"default": true,
"hint": "Show 'in X minutes' in large font on the right, instead of small print in the info line"
}, {
"title": "Coloured Line Numbers",
"ui_width": 4,
"name": "coloured_lines",
"type": "boolean",
"default": true,
"hint": "if deselected, lines will appear as grey box with white text"
}, {
"title": "Hours to request",
"ui_width": 4,
"name": "request_hours",
"type": "integer",
"default": 3,
"hint": "how many hours of fahrplan to show"
}, {
"title": "Time Offset in minutes",
"ui_width": 4,
"name": "offset",
"type": "integer",
"default": 0,
"hint": "offset to use when displaying departures (does „early fadeout“ to account for walking time to stop)"
}, {
"default": 150,
"hint": "Height of one 'departure in less than 10 minutes' line, departures further in the future will use 66% of that",
"name": "line_height",
"title": "Line Height",
"ui_width": 4,
"type": "integer"
}]
}