rename json file.
This commit is contained in:
@@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
"timers" : [
|
|
||||||
{
|
|
||||||
"id": 1,
|
|
||||||
"active":false,
|
|
||||||
"device_id": "Sprinklers/7",
|
|
||||||
"start_time": "17:30",
|
|
||||||
"recurrence": 1,
|
|
||||||
"duration": 30,
|
|
||||||
"action": "start"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 2,
|
|
||||||
"active": true,
|
|
||||||
"device_id": "Sprinklers/7",
|
|
||||||
"start_time": "21:48",
|
|
||||||
"recurrence": 0,
|
|
||||||
"duration": 1,
|
|
||||||
"action": "stop"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"Lights" : {
|
"lights" : {
|
||||||
"speach_name": "lumière",
|
"speach_name": "lumière",
|
||||||
"data": [
|
"devices": [
|
||||||
{
|
{
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"name": "Bureau JB",
|
"name": "Bureau JB",
|
||||||
@@ -31,9 +31,9 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Shutters" : {
|
"shutters" : {
|
||||||
"speach_name": "volet",
|
"speach_name": "volet",
|
||||||
"data": [
|
"devices": [
|
||||||
{
|
{
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"name": "Chambre de JB",
|
"name": "Chambre de JB",
|
||||||
@@ -46,9 +46,9 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Sprinklers" : {
|
"sprinklers" : {
|
||||||
"speach_name": "station",
|
"speach_name": "station",
|
||||||
"data": [
|
"devices": [
|
||||||
{
|
{
|
||||||
"id": 7,
|
"id": 7,
|
||||||
"name": "Zone A",
|
"name": "Zone A",
|
||||||
33
bsp/board/domo/ovl/usr/local/share/domo/timers.json
Normal file
33
bsp/board/domo/ovl/usr/local/share/domo/timers.json
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
{
|
||||||
|
"timers" : [
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"active":true,
|
||||||
|
"start_time": "17:30",
|
||||||
|
"recurrence": 1,
|
||||||
|
"type": "sprinker",
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"device_id": 7,
|
||||||
|
"duration": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"device_id": 8,
|
||||||
|
"duration": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 2,
|
||||||
|
"active": false,
|
||||||
|
"start_time": "21:48",
|
||||||
|
"recurrence": 0,
|
||||||
|
"type": "switch",
|
||||||
|
"device": {
|
||||||
|
"device_id": "light/7",
|
||||||
|
"switch": true,
|
||||||
|
"duration": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user