-
Notifications
You must be signed in to change notification settings - Fork 8
/
Freeboard-RPM-Throttle-example.json
106 lines (106 loc) · 1.66 KB
/
Freeboard-RPM-Throttle-example.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
{
"version": 1,
"allow_edit": true,
"plugins": [],
"panes": [
{
"width": 1,
"row": {
"3": 1,
"4": 1,
"5": 9
},
"col": {
"3": 1,
"4": 3,
"5": 1
},
"col_width": 5,
"widgets": [
{
"type": "sparkline",
"settings": {
"title": "",
"value": [
"datasources[\"OBD2\"][\"parameters\"][\"RPM\"]",
"datasources[\"OBD2\"][\"parameters\"][\"ThrottlePosition\"]*100"
],
"include_legend": true,
"legend": "RPM, ThrottlePosition (x100)"
}
}
]
},
{
"width": 1,
"row": {
"3": 8,
"4": 1,
"5": 1
},
"col": {
"3": 1,
"4": 2,
"5": 2
},
"col_width": 1,
"widgets": [
{
"type": "gauge",
"settings": {
"title": "RPM",
"value": "datasources[\"OBD2\"][\"parameters\"][\"RPM\"]",
"units": "rpm",
"min_value": 0,
"max_value": "10000"
}
}
]
},
{
"width": 1,
"row": {
"4": 1,
"5": 1
},
"col": {
"4": 4,
"5": 4
},
"col_width": 1,
"widgets": [
{
"type": "gauge",
"settings": {
"title": "ThrottlePosition",
"value": "datasources[\"OBD2\"][\"parameters\"][\"ThrottlePosition\"]",
"units": "%",
"min_value": 0,
"max_value": 100
}
}
]
}
],
"datasources": [
{
"name": "OBD2",
"type": "DeviceHive",
"settings": {
"server": "http://playground.devicehive.com/api/rest",
"accessKey": "AccessKeyExampleAccessKeyExampleAccessKeyEx=",
"deviceIds": [
{
"value": "devicehive_obd2_andoid"
}
],
"names": [
{
"value": "obd2"
}
]
}
}
],
"columns": 5
}