aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/sig-demoboard.json
blob: bf6714416f08f14f81ea0797bf09d00cb5f17c20 (plain)
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
{
	"$schema": "http://iot.bzh/download/public/schema/json/signal-composer-schema.json",
	"signals": [
		{
			"uid": "vehicle_speed",
			"event": "low-can/diagnostic_messages.vehicle.speed",
			"retention": 30,
			"unit": "km/h",
			"frequency": 1,
			"getSignalsArgs": {
				"frequency": 5,
				"min": 10
			},
			"onReceived": {
				"action": "lua://convert#_Unit_Converter",
				"args": {
					"from": "km/h",
					"to": "mi/h"
				}
			}
		},
		{
			"uid": "engine_speed",
			"event": "low-can/diagnostic_messages.engine.speed",
			"retention": 30,
			"unit": "rpm",
			"frequency": 1
		},
		{
			"uid": "fuel_level",
			"event": "low-can/diagnostic_messages.fuel.level",
			"retention":30,
			"unit": "liter",
			"frequency": 1
		},
		{
			"uid": "engine_load",
			"event": "low-can/diagnostic_messages.engine.load",
			"retention":30,
			"unit": "Nm",
			"frequency": 1
		},
		{
			"uid": "event.vehicle.speed",
			"event": "low-can/messages.vehicle.average.speed",
			"unit": "km/h"
		},
		{
			"uid": "event.engine.speed",
			"event": "low-can/messages.engine.speed",
			"unit": "rpm"
		},
		{
			"uid": "event.fuel.level",
			"event": "low-can/messages.fuel.level",
			"unit": "liters"
		},
		{
			"uid": "event.fuel.level.low",
			"event": "low-can/messages.fuel.level.low",
		}
	]
}