aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/sig-demoboard.json
blob: bdd5e4e3d4ffd098fc2cbecc78203c6b4ecb474f (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
{
	"$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
		}
	]
}