Compare commits

...

No commits in common. "a17dfb12c6767134d5a95f4d886a14887030eb99" and "d4c606f619d60b49a6f27251ad809057b49cd5d2" have entirely different histories.

16 changed files with 82 additions and 82 deletions

View File

@ -1,20 +1,20 @@
{
"name": "%basename%.off",
"name": "BASENAME.off",
"conditions": [
{
"address": "/sensors/%motion%/state/presence",
"address": "/sensors/MOTION/state/presence",
"operator": "eq",
"value": "false"
},
{
"address": "/sensors/%motion%/state/lastupdated",
"address": "/sensors/MOTION/state/lastupdated",
"operator": "ddx",
"value": "PT00:03:00"
}
],
"actions": [
{
"address": "/groups/%group%/action",
"address": "/groups/GROUP/action",
"method": "PUT",
"body": {
"on": false

View File

@ -1,13 +1,13 @@
{
"name": "%basename%.on-bright",
"name": "BASENAME.on-bright",
"conditions": [
{
"address": "/sensors/%ambient%/state/daylight",
"address": "/sensors/AMBIENT/state/daylight",
"operator": "eq",
"value": "false"
},
{
"address": "/groups/%group%/state/any_on",
"address": "/groups/GROUP/state/any_on",
"operator": "eq",
"value": "false"
},
@ -17,18 +17,18 @@
"value": "T07:00:00/T00:00:00"
},
{
"address": "/sensors/%motion%/state/presence",
"address": "/sensors/MOTION/state/presence",
"operator": "eq",
"value": "true"
},
{
"address": "/sensors/%motion%/state/lastupdated",
"address": "/sensors/MOTION/state/lastupdated",
"operator": "dx"
}
],
"actions": [
{
"address": "/groups/%group%/action",
"address": "/groups/GROUP/action",
"method": "PUT",
"body": {
"on": true,

View File

@ -1,13 +1,13 @@
{
"name": "%basename%.on-dim",
"name": "BASENAME.on-dim",
"conditions": [
{
"address": "/sensors/%ambient%/state/daylight",
"address": "/sensors/AMBIENT/state/daylight",
"operator": "eq",
"value": "false"
},
{
"address": "/groups/%group%/state/any_on",
"address": "/groups/GROUP/state/any_on",
"operator": "eq",
"value": "false"
},
@ -17,18 +17,18 @@
"value": "T00:00:00/T07:00:00"
},
{
"address": "/sensors/%motion%/state/presence",
"address": "/sensors/MOTION/state/presence",
"operator": "eq",
"value": "true"
},
{
"address": "/sensors/%motion%/state/lastupdated",
"address": "/sensors/MOTION/state/lastupdated",
"operator": "dx"
}
],
"actions": [
{
"address": "/groups/%group%/action",
"address": "/groups/GROUP/action",
"method": "PUT",
"body": {
"on": true,
@ -36,7 +36,7 @@
}
},
{
"address": "/groups/%group%/action",
"address": "/groups/GROUP/action",
"method": "PUT",
"body": {
}

View File

@ -1,26 +1,26 @@
{
"name": "%basename%.dn-hold",
"name": "BASENAME.dn-hold",
"conditions": [
{
"address": "/sensors/%dimmer%/state/buttonevent",
"address": "/sensors/DIMMER/state/buttonevent",
"operator": "eq",
"value": "3001"
},
{
"address": "/sensors/%dimmer%/state/lastupdated",
"address": "/sensors/DIMMER/state/lastupdated",
"operator": "dx"
}
],
"actions": [
{
"address": "/groups/%group1%/action",
"address": "/groups/GROUP1/action",
"method": "PUT",
"body": {
"ct_inc": 100
}
},
{
"address": "/groups/%group2%/action",
"address": "/groups/GROUP2/action",
"method": "PUT",
"body": {
"ct_inc": 100

View File

@ -1,26 +1,26 @@
{
"name": "%basename%.dn-short",
"name": "BASENAME.dn-short",
"conditions": [
{
"address": "/sensors/%dimmer%/state/buttonevent",
"address": "/sensors/DIMMER/state/buttonevent",
"operator": "eq",
"value": "3002"
},
{
"address": "/sensors/%dimmer%/state/lastupdated",
"address": "/sensors/DIMMER/state/lastupdated",
"operator": "dx"
}
],
"actions": [
{
"address": "/groups/%group1%/action",
"address": "/groups/GROUP1/action",
"method": "PUT",
"body": {
"bri_inc": -16
}
},
{
"address": "/groups/%group2%/action",
"address": "/groups/GROUP2/action",
"method": "PUT",
"body": {
"bri_inc": -14

View File

@ -1,31 +1,31 @@
{
"name": "%basename%.off-short.1",
"name": "BASENAME.off-short.1",
"conditions": [
{
"address": "/sensors/%dimmer%/state/buttonevent",
"address": "/sensors/DIMMER/state/buttonevent",
"operator": "eq",
"value": "4002"
},
{
"address": "/sensors/%mem%/state/status",
"address": "/sensors/MEM/state/status",
"operator": "eq",
"value": "1"
},
{
"address": "/sensors/%dimmer%/state/lastupdated",
"address": "/sensors/DIMMER/state/lastupdated",
"operator": "dx"
}
],
"actions": [
{
"address": "/sensors/%mem%/state",
"address": "/sensors/MEM/state",
"method": "PUT",
"body": {
"status": 0
}
},
{
"address": "/groups/%group1%/action",
"address": "/groups/GROUP1/action",
"method": "PUT",
"body": {
"on": false

View File

@ -1,31 +1,31 @@
{
"name": "%basename%.off-short.2",
"name": "BASENAME.off-short.2",
"conditions": [
{
"address": "/sensors/%dimmer%/state/buttonevent",
"address": "/sensors/DIMMER/state/buttonevent",
"operator": "eq",
"value": "4002"
},
{
"address": "/sensors/%dimmer%/state/lastupdated",
"address": "/sensors/DIMMER/state/lastupdated",
"operator": "dx"
},
{
"address": "/sensors/%mem%/state/status",
"address": "/sensors/MEM/state/status",
"operator": "gt",
"value": "1"
}
],
"actions": [
{
"address": "/groups/%group2%/action",
"address": "/groups/GROUP2/action",
"method": "PUT",
"body": {
"on": false
}
},
{
"address": "/sensors/%mem%/state",
"address": "/sensors/MEM/state",
"method": "PUT",
"body": {
"status": 1

View File

@ -1,19 +1,19 @@
{
"name": "%basename%.on-long",
"name": "BASENAME.on-long",
"conditions": [
{
"address": "/sensors/%dimmer%/state/buttonevent",
"address": "/sensors/DIMMER/state/buttonevent",
"operator": "eq",
"value": "1001"
},
{
"address": "/sensors/%dimmer%/state/lastupdated",
"address": "/sensors/DIMMER/state/lastupdated",
"operator": "dx"
}
],
"actions": [
{
"address": "/groups/%group1%/action",
"address": "/groups/GROUP1/action",
"method": "PUT",
"body": {
"bri": 203,
@ -21,7 +21,7 @@
}
},
{
"address": "/groups/%group2%/action",
"address": "/groups/GROUP2/action",
"method": "PUT",
"body": {
"bri": 203,

View File

@ -1,31 +1,31 @@
{
"name": "%basename%.on-short.1",
"name": "BASENAME.on-short.1",
"conditions": [
{
"address": "/sensors/%dimmer%/state/buttonevent",
"address": "/sensors/DIMMER/state/buttonevent",
"operator": "eq",
"value": "1002"
},
{
"address": "/sensors/%dimmer%/state/lastupdated",
"address": "/sensors/DIMMER/state/lastupdated",
"operator": "dx"
},
{
"address": "/sensors/%mem%/state/status",
"address": "/sensors/MEM/state/status",
"operator": "lt",
"value": "1"
}
],
"actions": [
{
"address": "/groups/%group1%/action",
"address": "/groups/GROUP1/action",
"method": "PUT",
"body": {
"on": true
}
},
{
"address": "/sensors/%mem%/state",
"address": "/sensors/MEM/state",
"method": "PUT",
"body": {
"status": 1

View File

@ -1,31 +1,31 @@
{
"name": "%basename%.on-short.2",
"name": "BASENAME.on-short.2",
"conditions": [
{
"address": "/sensors/%dimmer%/state/buttonevent",
"address": "/sensors/DIMMER/state/buttonevent",
"operator": "eq",
"value": "1002"
},
{
"address": "/sensors/%dimmer%/state/lastupdated",
"address": "/sensors/DIMMER/state/lastupdated",
"operator": "dx"
},
{
"address": "/sensors/%mem%/state/status",
"address": "/sensors/MEM/state/status",
"operator": "eq",
"value": "1"
}
],
"actions": [
{
"address": "/groups/%group2%/action",
"address": "/groups/GROUP2/action",
"method": "PUT",
"body": {
"on": true
}
},
{
"address": "/sensors/%mem%/state",
"address": "/sensors/MEM/state",
"method": "PUT",
"body": {
"status": 2

View File

@ -1,26 +1,26 @@
{
"name": "%basename%.up-hold",
"name": "BASENAME.up-hold",
"conditions": [
{
"address": "/sensors/%dimmer%/state/buttonevent",
"address": "/sensors/DIMMER/state/buttonevent",
"operator": "eq",
"value": "2001"
},
{
"address": "/sensors/%dimmer%/state/lastupdated",
"address": "/sensors/DIMMER/state/lastupdated",
"operator": "dx"
}
],
"actions": [
{
"address": "/groups/%group1%/action",
"address": "/groups/GROUP1/action",
"method": "PUT",
"body": {
"ct_inc": -100
}
},
{
"address": "/groups/%group2%/action",
"address": "/groups/GROUP2/action",
"method": "PUT",
"body": {
"ct_inc": -100

View File

@ -1,26 +1,26 @@
{
"name": "%basename%.up-short",
"name": "BASENAME.up-short",
"conditions": [
{
"address": "/sensors/%dimmer%/state/buttonevent",
"address": "/sensors/DIMMER/state/buttonevent",
"operator": "eq",
"value": "2002"
},
{
"address": "/sensors/%dimmer%/state/lastupdated",
"address": "/sensors/DIMMER/state/lastupdated",
"operator": "dx"
}
],
"actions": [
{
"address": "/groups/%group1%/action",
"address": "/groups/GROUP1/action",
"method": "PUT",
"body": {
"bri_inc": 16
}
},
{
"address": "/groups/%group2%/action",
"address": "/groups/GROUP2/action",
"method": "PUT",
"body": {
"bri_inc": 15

View File

@ -1,19 +1,19 @@
{
"name": "%basename%.1",
"name": "BASENAME.1",
"conditions": [
{
"address": "/sensors/%tap%/state/buttonevent",
"address": "/sensors/TAP/state/buttonevent",
"operator": "eq",
"value": "34"
},
{
"address": "/sensors/%tap%/state/lastupdated",
"address": "/sensors/TAP/state/lastupdated",
"operator": "dx"
}
],
"actions": [
{
"address": "/groups/%group%/action",
"address": "/groups/GROUP/action",
"method": "PUT",
"body": {
"on": false

View File

@ -1,19 +1,19 @@
{
"name": "%basename%.2",
"name": "BASENAME.2",
"conditions": [
{
"address": "/sensors/%tap%/state/buttonevent",
"address": "/sensors/TAP/state/buttonevent",
"operator": "eq",
"value": "16"
},
{
"address": "/sensors/%tap%/state/lastupdated",
"address": "/sensors/TAP/state/lastupdated",
"operator": "dx"
}
],
"actions": [
{
"address": "/groups/%group%/action",
"address": "/groups/GROUP/action",
"method": "PUT",
"body": {
"on": true,

View File

@ -1,19 +1,19 @@
{
"name": "%basename%.3",
"name": "BASENAME.3",
"conditions": [
{
"address": "/sensors/%tap%/state/buttonevent",
"address": "/sensors/TAP/state/buttonevent",
"operator": "eq",
"value": "17"
},
{
"address": "/sensors/%tap%/state/lastupdated",
"address": "/sensors/TAP/state/lastupdated",
"operator": "dx"
}
],
"actions": [
{
"address": "/groups/%group%/action",
"address": "/groups/GROUP/action",
"method": "PUT",
"body": {
"on": true,

View File

@ -1,19 +1,19 @@
{
"name": "%basename%.4",
"name": "BASENAME.4",
"conditions": [
{
"address": "/sensors/%tap%/state/lastupdated",
"address": "/sensors/TAP/state/lastupdated",
"operator": "dx"
},
{
"address": "/sensors/%tap%/state/buttonevent",
"address": "/sensors/TAP/state/buttonevent",
"operator": "eq",
"value": "18"
}
],
"actions": [
{
"address": "/groups/%group%/action",
"address": "/groups/GROUP/action",
"method": "PUT",
"body": {
"on": true,