2019-07-27 22:04:08 +00:00
|
|
|
{
|
|
|
|
"on": [
|
|
|
|
{
|
|
|
|
"device": "Basement",
|
|
|
|
"comment": "Basement lights will turn off",
|
|
|
|
"action": "\"urn:Belkin:service:basicevent:1#SetBinaryState\"",
|
|
|
|
"content": "<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><s:Body><u:SetBinaryState xmlns:u=\"urn:Belkin:service:basicevent:1\"><BinaryState>1</BinaryState><brightness>${val}</brightness></u:SetBinaryState></s:Body></s:Envelope>",
|
|
|
|
"steps": 15,
|
|
|
|
"seconds": 5,
|
2020-01-29 01:03:45 +00:00
|
|
|
"start": -1,
|
2019-07-27 22:04:08 +00:00
|
|
|
"end": 20,
|
2020-01-29 01:03:45 +00:00
|
|
|
"endOff": true,
|
|
|
|
"startAction": "\"urn:Belkin:service:basicevent:1#GetBinaryState\"",
|
|
|
|
"startContent": "<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><s:Body><u:GetBinaryState xmlns:u=\"urn:Belkin:service:basicevent:1\"></u:GetBinaryState></s:Body></s:Envelope>",
|
|
|
|
"startField": "brightness"
|
2019-07-27 22:04:08 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"device": "Bar",
|
2020-01-29 01:03:45 +00:00
|
|
|
"comment": "Bar lights down to 10%, then off",
|
2019-07-27 22:04:08 +00:00
|
|
|
"action": "\"urn:Belkin:service:basicevent:1#SetBinaryState\"",
|
|
|
|
"content": "<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><s:Body><u:SetBinaryState xmlns:u=\"urn:Belkin:service:basicevent:1\"><BinaryState>1</BinaryState><brightness>${val}</brightness></u:SetBinaryState></s:Body></s:Envelope>",
|
|
|
|
"steps": 15,
|
|
|
|
"seconds": 5,
|
2020-01-29 01:03:45 +00:00
|
|
|
"start": -1,
|
|
|
|
"end": 0,
|
|
|
|
"endOff": true,
|
|
|
|
"startAction": "\"urn:Belkin:service:basicevent:1#GetBinaryState\"",
|
|
|
|
"startContent": "<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><s:Body><u:GetBinaryState xmlns:u=\"urn:Belkin:service:basicevent:1\"></u:GetBinaryState></s:Body></s:Envelope>",
|
|
|
|
"startField": "brightness"
|
2019-07-27 22:04:08 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"off": [
|
|
|
|
{
|
|
|
|
"device": "Basement",
|
|
|
|
"comment": "Basement lights will turn on",
|
|
|
|
"action": "\"urn:Belkin:service:basicevent:1#SetBinaryState\"",
|
|
|
|
"content": "<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><s:Body><u:SetBinaryState xmlns:u=\"urn:Belkin:service:basicevent:1\"><BinaryState>1</BinaryState><brightness>${val}</brightness></u:SetBinaryState></s:Body></s:Envelope>",
|
|
|
|
"steps": 15,
|
|
|
|
"seconds": 5,
|
|
|
|
"start": 20,
|
2020-01-29 01:03:45 +00:00
|
|
|
"end": 60
|
2019-07-27 22:04:08 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"device": "Bar",
|
|
|
|
"comment": "Bar lights up to 100%",
|
|
|
|
"action": "\"urn:Belkin:service:basicevent:1#SetBinaryState\"",
|
|
|
|
"content": "<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><s:Body><u:SetBinaryState xmlns:u=\"urn:Belkin:service:basicevent:1\"><BinaryState>1</BinaryState><brightness>${val}</brightness></u:SetBinaryState></s:Body></s:Envelope>",
|
|
|
|
"steps": 15,
|
|
|
|
"seconds": 5,
|
|
|
|
"start": 10,
|
|
|
|
"end": 100
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|