aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/sig-txc.json
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-04-23 14:22:26 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-07-05 15:43:07 +0200
commit4e68c9f6d3b303dd326a42e69556b22e0fe88438 (patch)
tree0661fe2e03568d19969127def348ecb2f6368303 /conf.d/project/etc/sig-txc.json
parentfadb09c791fca941cadf39c467a54bf150417c54 (diff)
Make 2 set of configurations
1 for normal multi low level sources 1 for TXC-demo Future goal will be to merge them Also reorganize data resources files Bump app-template: Submodule conf.d/app-templates dd0cec7..30e78a5: > Adding cmake file at the root directory > Adds commit hash to the version. > Change default sample settings. Change-Id: I31838723da58fc33b25bc7cd5f42396a1805e34d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/project/etc/sig-txc.json')
-rw-r--r--conf.d/project/etc/sig-txc.json103
1 files changed, 103 insertions, 0 deletions
diff --git a/conf.d/project/etc/sig-txc.json b/conf.d/project/etc/sig-txc.json
new file mode 100644
index 0000000..275eea6
--- /dev/null
+++ b/conf.d/project/etc/sig-txc.json
@@ -0,0 +1,103 @@
+{
+ "$schema": "http://iot.bzh/download/public/schema/json/signal-composer-schema.json",
+ "signals": [
+ {
+ "uid": "vehicle_speed",
+ "event": "txc/vehicle_speed",
+ "retention": 30,
+ "unit": "km/h",
+ "getSignalsArgs": {
+ "event": "vehicle_speed"
+ }
+ },
+ {
+ "uid": "engine_speed",
+ "event": "txc/engine_speed",
+ "retention": 30,
+ "unit": "rpm",
+ "getSignalsArgs": {
+ "event": "engine_speed"
+ }
+ },
+ {
+ "uid": "fuel_level",
+ "event": "txc/fuel_level",
+ "retention": 30,
+ "unit": "liter",
+ "getSignalsArgs": {
+ "event": "fuel_level"
+ }
+ },
+ {
+ "uid": "accelerator_pedal_position",
+ "event": "txc/accelerator_pedal_position",
+ "retention": 30,
+ "getSignalsArgs": {
+ "event": "accelerator_pedal_position"
+ }
+ },
+ {
+ "uid": "torque_at_transmission",
+ "event": "txc/torque_at_transmission",
+ "retention": 30,
+ "unit": "Nm",
+ "getSignalsArgs": {
+ "event": "torque_at_transmission"
+ }
+ },
+ {
+ "uid": "steering_wheel_angle",
+ "event": "txc/steering_wheel_angle",
+ "retention": 30,
+ "unit": "degrees",
+ "getSignalsArgs": {
+ "event": "steering_wheel_angle"
+ }
+ },
+ {
+ "uid": "fuel_consumed_since_restart",
+ "event": "txc/fuel_consumed_since_restart",
+ "retention": 30,
+ "unit": "liter",
+ "getSignalsArgs": {
+ "event": "fuel_consumed_since_restart"
+ }
+ },
+ {
+ "uid": "odometer",
+ "event": "txc/odometer",
+ "retention": 30,
+ "unit": "km",
+ "getSignalsArgs": {
+ "event": "odometer"
+ }
+ },
+ {
+ "uid": "latitude",
+ "event": "txc/latitude",
+ "retention": 30,
+ "unit": "degrees",
+ "getSignalsArgs": {
+ "event": "latitude"
+ }
+ },
+ {
+ "uid": "longitude",
+ "event": "txc/longitude",
+ "retention": 30,
+ "unit": "degrees",
+ "getSignalsArgs": {
+ "event": "longitude"
+ }
+ },
+ {
+ "uid": "heading",
+ "depends": ["longitude", "latitude"],
+ "retention": 30,
+ "unit": "degrees",
+ "onReceived": {
+ "function": "plugin://gps-callbacks/getHeading"
+ }
+ }
+ ]
+}