summaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/sig-geoloc.json
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-10-23 23:06:50 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-12-14 11:00:25 +0100
commit25bef6ee737652ff62789f4af9db2373f93afb00 (patch)
treeaab5d4fc82e07fad452b27e1dcf2f74382fd400d /conf.d/project/etc/sig-geoloc.json
parent01650b71c92a67807e346bfff655c59df58f2bfd (diff)
Update app-template & use new JSON schema for conf
Change-Id: I6e920ee08ea38f53f5dcc58d58f89cf1ace22f42 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/project/etc/sig-geoloc.json')
-rw-r--r--conf.d/project/etc/sig-geoloc.json51
1 files changed, 26 insertions, 25 deletions
diff --git a/conf.d/project/etc/sig-geoloc.json b/conf.d/project/etc/sig-geoloc.json
index 6bd18b6..02859a4 100644
--- a/conf.d/project/etc/sig-geoloc.json
+++ b/conf.d/project/etc/sig-geoloc.json
@@ -1,7 +1,8 @@
{
+ "$schema": "http://iot.bzh/download/public/schema/json/signal-composer-schema.json",
"signals": [
{
- "id": "latitude",
+ "uid": "latitude",
"event": "gps/location",
"unit": "degree",
"frequency": 1,
@@ -10,7 +11,7 @@
}
},
{
- "id": "longitude",
+ "uid": "longitude",
"event": "gps/location",
"unit": "degree",
"frequency": 1,
@@ -22,13 +23,13 @@
}
},
{
- "id": "altitude",
+ "uid": "altitude",
"event": "gps/location",
"unit": "meter",
"frequency": 1
},
{
- "id": "heading",
+ "uid": "heading",
"depends": [
"latitude",
"longitude"
@@ -37,116 +38,116 @@
"unit": "degree",
"frequency": 1,
"actions": {
- "id": "Heading calculation",
- "lua": "_Heading",
+ "uid": "Heading calculation",
+ "function": "lua://_Heading",
"args": {}
}
},
{
- "id": "speed",
+ "uid": "speed",
"event": "gps/location",
"retention": 30,
"unit": "m/s",
"frequency": 1
},
{
- "id": "climb",
+ "uid": "climb",
"event": "mraa/getclimb",
"unit": "degree",
"frequency": 1
},
{
- "id": "roll_rate",
+ "uid": "roll_rate",
"event": "mraa/gyroscope",
"unit": "degree/s",
"frequency": 1
},
{
- "id": "pitch_rate",
+ "uid": "pitch_rate",
"event": "mraa/gyroscope",
"unit": "degree/s",
"frequency": 1
},
{
- "id": "yaw_rate",
+ "uid": "yaw_rate",
"event": "gps/gyroscope",
"unit": "degree/s",
"frequency": 1
},
{
- "id": "pdop",
+ "uid": "pdop",
"event": "gps/location",
"frequency": 1
},
{
- "id": "hdop",
+ "uid": "hdop",
"event": "gps/location",
"frequency": 1
},
{
- "id": "vdop",
+ "uid": "vdop",
"event": "gps/location",
"frequency": 1
},
{
- "id": "used_satellites",
+ "uid": "used_satellites",
"event": "gps/location",
"frequency": 1
},
{
- "id": "tracked_satellites",
+ "uid": "tracked_satellites",
"event": "gps/location",
"frequency": 1
},
{
- "id": "visible_satellites",
+ "uid": "visible_satellites",
"event": "gps/location",
"frequency": 1
},
{
- "id": "sigma_hposition",
+ "uid": "sigma_hposition",
"event": "gps/location",
"unit": "meter",
"frequency": 1
},
{
- "id": "sigma_altitude",
+ "uid": "sigma_altitude",
"event": "gps/location",
"unit": "meter",
"frequency": 1
},
{
- "id": "sigma_heading",
+ "uid": "sigma_heading",
"event": "gps/location",
"unit": "degree",
"frequency": 1
},
{
- "id": "sigma_speed",
+ "uid": "sigma_speed",
"event": "gps/location",
"retention": 30,
"unit": "m/s",
"frequency": 1
},
{
- "id": "sigma_climb",
+ "uid": "sigma_climb",
"event": "gps/location",
"unit": "degree",
"frequency": 1
},
{
- "id": "gnss_fix_status",
+ "uid": "gnss_fix_status",
"event": "gps/location",
"frequency": 1
},
{
- "id": "dr_status",
+ "uid": "dr_status",
"event": "gps/location",
"retention": 30,
"frequency": 1
},
{
- "id": "reliabilty_index",
+ "uid": "reliabilty_index",
"event": "gps/location",
"retention": 30,
"frequency": 1