diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-10-23 23:06:50 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-12-14 11:00:25 +0100 |
commit | 25bef6ee737652ff62789f4af9db2373f93afb00 (patch) | |
tree | aab5d4fc82e07fad452b27e1dcf2f74382fd400d /conf.d/project/etc/sig-doors.json | |
parent | 01650b71c92a67807e346bfff655c59df58f2bfd (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-doors.json')
-rw-r--r-- | conf.d/project/etc/sig-doors.json | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/conf.d/project/etc/sig-doors.json b/conf.d/project/etc/sig-doors.json index 1d23f9a..427269a 100644 --- a/conf.d/project/etc/sig-doors.json +++ b/conf.d/project/etc/sig-doors.json @@ -1,7 +1,8 @@ { + "$schema": "http://iot.bzh/download/public/schema/json/signal-composer-schema.json", "signals": [ { - "id": "rear_left_window", + "uid": "rear_left_window", "event": "low-can/messages.windows.rear_left.open", "onReceived": { "function": "plugin://low-can-callbacks/isOpen", @@ -11,7 +12,7 @@ } }, { - "id": "rear_left_door", + "uid": "rear_left_door", "event": "low-can/messages.doors.rear_left.open", "onReceived": { "function": "plugin://low-can-callbacks/isOpen", @@ -21,7 +22,7 @@ } }, { - "id": "rear_right_window", + "uid": "rear_right_window", "event": "low-can/messages.windows.rear_right.open", "onReceived": { "function": "plugin://low-can-callbacks/isOpen", @@ -31,7 +32,7 @@ } }, { - "id": "rear_right_door", + "uid": "rear_right_door", "event": "low-can/messages.doors.rear_right.open", "onReceived": { "function": "plugin://low-can-callbacks/isOpen", @@ -41,7 +42,7 @@ } }, { - "id": "front_left_window", + "uid": "front_left_window", "event": "low-can/messages.windows.front_left.open", "onReceived": { "function": "plugin://low-can-callbacks/isOpen", @@ -51,7 +52,7 @@ } }, { - "id": "front_left_door", + "uid": "front_left_door", "event": "low-can/messages.doors.front_left.open", "onReceived": { "function": "plugin://low-can-callbacks/isOpen", @@ -61,7 +62,7 @@ } }, { - "id": "front_right_window", + "uid": "front_right_window", "event": "low-can/messages.windows.front_right.open", "onReceived": { "function": "plugin://low-can-callbacks/isOpen", @@ -71,7 +72,7 @@ } }, { - "id": "front_right_door", + "uid": "front_right_door", "event": "low-can/messages.doors.front_right.open", "onReceived": { "function": "plugin://low-can-callbacks/isOpen", @@ -81,7 +82,7 @@ } }, { - "id": "rear_left", + "uid": "rear_left", "depends": [ "rear_left_window", "rear_left_door" @@ -94,7 +95,7 @@ } }, { - "id": "rear_right", + "uid": "rear_right", "depends": [ "rear_right_door", "rear_right_window" @@ -105,7 +106,7 @@ } }, { - "id": "front_left", + "uid": "front_left", "depends": [ "front_left_door", "front_left_window" @@ -116,7 +117,7 @@ } }, { - "id": "front_right", + "uid": "front_right", "depends": [ "front_right_door", "front_right_window" @@ -127,7 +128,7 @@ } }, { - "id": "all_doors", + "uid": "all_doors", "depends": [ "front_left_door", "front_left_window", |