aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/sig-demoboard.json
blob: bb64fe92b3f079861f7093973fa41a42b3353f4a (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
{
	"$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": {
				"function": "lua://_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,
			"onReceived": {
				"function": "builtin://defaultOnReceived"
			}
		},
		{
			"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
		}
	]
}