new sequencer model parsing
This commit is contained in:
77
sequences.json
Normal file
77
sequences.json
Normal file
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"sequences": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "arrosage",
|
||||
"timer": {
|
||||
"active": true,
|
||||
"start_time": "17:30",
|
||||
"recurrence": 1
|
||||
},
|
||||
"actions": [
|
||||
{
|
||||
"device_id": "sprinkler\/7",
|
||||
"active": false,
|
||||
"duration": 2
|
||||
},
|
||||
{
|
||||
"device_id": "sprinkler\/8",
|
||||
"active": false,
|
||||
"duration": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "sapin",
|
||||
"timer": {
|
||||
"active": false,
|
||||
"start_time": "21:48",
|
||||
"recurrence": 0
|
||||
},
|
||||
"actions": [
|
||||
{
|
||||
"device_id": "light\/7",
|
||||
"active": false,
|
||||
"duration": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "volet",
|
||||
"timer": {
|
||||
"active": false,
|
||||
"start_time": "9:0",
|
||||
"recurrence": 0
|
||||
},
|
||||
"actions": [
|
||||
{
|
||||
"device_id": "\/0",
|
||||
"active": false,
|
||||
"duration": 0
|
||||
},
|
||||
{
|
||||
"device_id": "\/0",
|
||||
"active": false,
|
||||
"duration": 60
|
||||
},
|
||||
{
|
||||
"device_id": "\/0",
|
||||
"active": false,
|
||||
"duration": 0
|
||||
},
|
||||
{
|
||||
"device_id": "shutters\/1",
|
||||
"active": false,
|
||||
"duration": 60
|
||||
},
|
||||
{
|
||||
"device_id": "shutters\/1",
|
||||
"active": false,
|
||||
"duration": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user