summaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/sig-demoboard.json
diff options
context:
space:
mode:
authorForlot Romain [IoT.bzh] <claneys@iot.bzh>2017-09-04 23:37:22 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-12-14 10:59:55 +0100
commit19bc13783a7451c81848ea132614a8df11c7740a (patch)
treeb61995b1af0914559f6de6461bda3dd76f2e724c /conf.d/project/etc/sig-demoboard.json
parent29168eb150eae139685c40c0bec22a5b7485cb66 (diff)
Initial commit
Change-Id: I2bb38bffdd92602659670901b8442201b7c56214 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/project/etc/sig-demoboard.json')
-rw-r--r--conf.d/project/etc/sig-demoboard.json58
1 files changed, 58 insertions, 0 deletions
diff --git a/conf.d/project/etc/sig-demoboard.json b/conf.d/project/etc/sig-demoboard.json
new file mode 100644
index 0000000..4b81989
--- /dev/null
+++ b/conf.d/project/etc/sig-demoboard.json
@@ -0,0 +1,58 @@
+{
+ "resources": [{
+ "name": "/car/demoboard/",
+ "values": [{
+ "name": "vehicleSpeed",
+ "additionnals_infos": {
+ "unit": "km/h",
+ "interval": 1000
+ },
+ "source": "CAN bus",
+ "class": "raw",
+ "type": "double",
+ "source_args": {
+ "event": "diagnostic_messages.vehicle.speed",
+ "filter": {
+ "frequency": "100",
+ "min": 10
+ }
+ }
+ }, {
+ "name": "engineSpeed",
+ "additionnals_infos": {
+ "unit": "rpm",
+ "interval": 1000
+ },
+ "source":"CAN bus",
+ "class": "raw",
+ "type": "double",
+ "source_args": {
+ "event": "diagnostic_messages.engine.speed"
+ }
+ }, {
+ "name": "fuelLevel",
+ "additionnals_infos": {
+ "unit": "litre",
+ "interval": 1000
+ },
+ "class":"raw",
+ "source":"CAN bus",
+ "type": "double",
+ "source_args": {
+ "event": "diagnostic_messages.fuel.level"
+ }
+ }, {
+ "name": "engineLoad",
+ "additionnals_infos": {
+ "unit": "Nm",
+ "interval": 1000
+ },
+ "source":"CAN bus",
+ "type":"double",
+ "class":"raw",
+ "source_args": {
+ "event": "diagnostic_messages.engine.load"
+ }
+ }]
+ }]
+}