summaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/sig-doors.json
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-10-16 09:36:20 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-11-03 17:23:34 +0000
commit626bf1be5bc8b66d55a0c341ffcc359abb1ae768 (patch)
tree9e3617267936660d8b1f6d81e73a8ca076de8404 /conf.d/project/etc/sig-doors.json
parent5f6ce662b8833b56e603c1cf2b57f4feb5491566 (diff)
Update basic configurations files
Update basic configurations files with the latest controller key used. There were update not followed since a rework a how an action is load from a configuration file which does not use anymore 2 key 'uri' + 'function' but only one 'action'. Change-Id: I455f69064bd91dd3b845e83d0904aca1c11cacb8 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.json35
1 files changed, 13 insertions, 22 deletions
diff --git a/conf.d/project/etc/sig-doors.json b/conf.d/project/etc/sig-doors.json
index 35f617e..6090b09 100644
--- a/conf.d/project/etc/sig-doors.json
+++ b/conf.d/project/etc/sig-doors.json
@@ -5,15 +5,14 @@
"uid": "rear_left_window",
"event": "low-can/messages.windows.rear_left.open",
"onReceived": {
- "uri": "plugin://low-can-callbacks",
- "function": "isOpen"
+ "action": "plugin://low-can-callbacks#isOpen"
}
},
{
"uid": "rear_left_door",
"event": "low-can/messages.doors.rear_left.open",
"onReceived": {
- "uri": "plugin://low-can-callbacks",
+ "action": "plugin://low-can-callbacks#isOpen",
"function": "isOpen"
}
},
@@ -21,7 +20,7 @@
"uid": "rear_right_window",
"event": "low-can/messages.windows.rear_right.open",
"onReceived": {
- "uri": "plugin://low-can-callbacks",
+ "action": "plugin://low-can-callbacks#isOpen",
"function": "isOpen"
}
},
@@ -29,7 +28,7 @@
"uid": "rear_right_door",
"event": "low-can/messages.doors.rear_right.open",
"onReceived": {
- "uri": "plugin://low-can-callbacks",
+ "action": "plugin://low-can-callbacks#isOpen",
"function": "isOpen"
}
},
@@ -37,7 +36,7 @@
"uid": "front_left_window",
"event": "low-can/messages.windows.front_left.open",
"onReceived": {
- "uri": "plugin://low-can-callbacks",
+ "action": "plugin://low-can-callbacks#isOpen",
"function": "isOpen"
}
},
@@ -45,24 +44,21 @@
"uid": "front_left_door",
"event": "low-can/messages.doors.front_left.open",
"onReceived": {
- "uri": "plugin://low-can-callbacks",
- "function": "isOpen"
+ "action": "plugin://low-can-callbacks#isOpen"
}
},
{
"uid": "front_right_window",
"event": "low-can/messages.windows.front_right.open",
"onReceived": {
- "uri": "plugin://low-can-callbacks",
- "function": "isOpen"
+ "action": "plugin://low-can-callbacks#isOpen"
}
},
{
"uid": "front_right_door",
"event": "low-can/messages.doors.front_right.open",
"onReceived": {
- "uri": "plugin://low-can-callbacks",
- "function": "isOpen"
+ "action": "plugin://low-can-callbacks#isOpen"
}
},
{
@@ -72,8 +68,7 @@
"rear_left_door"
],
"onReceived": {
- "uri": "plugin://low-can-callbacks",
- "function": "isOpen"
+ "action": "plugin://low-can-callbacks#isOpen"
}
},
{
@@ -83,8 +78,7 @@
"rear_right_window"
],
"onReceived": {
- "uri": "plugin://low-can-callbacks",
- "function": "isOpen",
+ "action": "plugin://low-can-callbacks#isOpen",
"args": {}
}
},
@@ -95,8 +89,7 @@
"front_left_window"
],
"onReceived": {
- "uri": "plugin://low-can-callbacks",
- "function": "isOpen",
+ "action": "plugin://low-can-callbacks#isOpen",
"args": {}
}
},
@@ -107,8 +100,7 @@
"front_right_window"
],
"onReceived": {
- "uri": "plugin://low-can-callbacks",
- "function": "isOpen",
+ "action": "plugin://low-can-callbacks#isOpen",
"args": {}
}
},
@@ -125,8 +117,7 @@
"rear_right_window"
],
"onReceived": {
- "uri": "plugin://low-can-callbacks",
- "function": "isOpen",
+ "action": "plugin://low-can-callbacks#isOpen",
"args": {
"evtname": "doors.open"
}