Compare commits
2 Commits
f5e99a06d1
...
8e62602edc
Author | SHA1 | Date |
---|---|---|
Adrian | 8e62602edc | |
Adrian | e60d017ad1 |
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "BASENAME.dn-hold-ct",
|
"name": "BASENAME.dn-0-hold-ct",
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"address": "/sensors/MEMORY/state/status",
|
"address": "/sensors/MEMORY/state/status",
|
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
"name": "BASENAME.dn-0-short-bri",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"address": "/sensors/MEMORY/state/status",
|
||||||
|
"operator": "lt",
|
||||||
|
"value": "1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"address": "/sensors/DIMMER/state/buttonevent",
|
||||||
|
"operator": "eq",
|
||||||
|
"value": "3002"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"address": "/sensors/DIMMER/state/lastupdated",
|
||||||
|
"operator": "dx"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"actions": [
|
||||||
|
{
|
||||||
|
"address": "/groups/GROUP/action",
|
||||||
|
"method": "PUT",
|
||||||
|
"body": {
|
||||||
|
"transitiontime": 1,
|
||||||
|
"bri_inc": -25
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"name": "BASENAME.dn-hold-hue",
|
"name": "BASENAME.dn-1-hold-hue",
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"address": "/sensors/MEMORY/state/status",
|
"address": "/sensors/MEMORY/state/status",
|
||||||
"operator": "eq",
|
"operator": "gt",
|
||||||
"value": "1"
|
"value": "0"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"address": "/sensors/DIMMER/state/buttonevent",
|
"address": "/sensors/DIMMER/state/buttonevent",
|
|
@ -1,15 +1,15 @@
|
||||||
{
|
{
|
||||||
"name": "BASENAME.dn-hold-sat",
|
"name": "BASENAME.dn-1-short-sat",
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"address": "/sensors/MEMORY/state/status",
|
"address": "/sensors/MEMORY/state/status",
|
||||||
"operator": "gt",
|
"operator": "gt",
|
||||||
"value": "1"
|
"value": "0"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"address": "/sensors/DIMMER/state/buttonevent",
|
"address": "/sensors/DIMMER/state/buttonevent",
|
||||||
"operator": "eq",
|
"operator": "eq",
|
||||||
"value": "3001"
|
"value": "3002"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"address": "/sensors/DIMMER/state/lastupdated",
|
"address": "/sensors/DIMMER/state/lastupdated",
|
|
@ -1,24 +0,0 @@
|
||||||
{
|
|
||||||
"name": "BASENAME.dn-short",
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"address": "/sensors/DIMMER/state/buttonevent",
|
|
||||||
"operator": "eq",
|
|
||||||
"value": "3002"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address": "/sensors/DIMMER/state/lastupdated",
|
|
||||||
"operator": "dx"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"actions": [
|
|
||||||
{
|
|
||||||
"address": "/groups/GROUP/action",
|
|
||||||
"method": "PUT",
|
|
||||||
"body": {
|
|
||||||
"transitiontime": 1,
|
|
||||||
"bri_inc": -25
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "BASENAME.on-long-hue",
|
"name": "BASENAME.on-0-long",
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"address": "/sensors/MEMORY/state/status",
|
"address": "/sensors/MEMORY/state/status",
|
||||||
|
@ -17,15 +17,6 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"actions": [
|
"actions": [
|
||||||
{
|
|
||||||
"address": "/groups/GROUP/action",
|
|
||||||
"method": "PUT",
|
|
||||||
"body": {
|
|
||||||
"transitiontime": 1,
|
|
||||||
"hue_inc": 40000,
|
|
||||||
"sat_inc": 100
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"address": "/sensors/MEMORY/state",
|
"address": "/sensors/MEMORY/state",
|
||||||
"method": "PUT",
|
"method": "PUT",
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"name": "BASENAME.on-long-ct",
|
"name": "BASENAME.on-1-long",
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"address": "/sensors/MEMORY/state/status",
|
"address": "/sensors/MEMORY/state/status",
|
||||||
"operator": "gt",
|
"operator": "gt",
|
||||||
"value": "1"
|
"value": "0"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"address": "/sensors/DIMMER/state/buttonevent",
|
"address": "/sensors/DIMMER/state/buttonevent",
|
||||||
|
@ -17,14 +17,6 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"actions": [
|
"actions": [
|
||||||
{
|
|
||||||
"address": "/groups/GROUP/action",
|
|
||||||
"method": "PUT",
|
|
||||||
"body": {
|
|
||||||
"transitiontime": 1,
|
|
||||||
"ct_inc": 96
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"address": "/sensors/MEMORY/state",
|
"address": "/sensors/MEMORY/state",
|
||||||
"method": "PUT",
|
"method": "PUT",
|
|
@ -1,36 +0,0 @@
|
||||||
{
|
|
||||||
"name": "BASENAME.on-long-sat",
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"address": "/sensors/MEMORY/state/status",
|
|
||||||
"operator": "eq",
|
|
||||||
"value": "1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address": "/sensors/DIMMER/state/buttonevent",
|
|
||||||
"operator": "eq",
|
|
||||||
"value": "1003"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address": "/sensors/DIMMER/state/lastupdated",
|
|
||||||
"operator": "dx"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"actions": [
|
|
||||||
{
|
|
||||||
"address": "/groups/GROUP/action",
|
|
||||||
"method": "PUT",
|
|
||||||
"body": {
|
|
||||||
"transitiontime": 1,
|
|
||||||
"sat_inc": -100
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address": "/sensors/MEMORY/state",
|
|
||||||
"method": "PUT",
|
|
||||||
"body": {
|
|
||||||
"status": 2
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "BASENAME.up-hold-ct",
|
"name": "BASENAME.up-0-hold-ct",
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"address": "/sensors/MEMORY/state/status",
|
"address": "/sensors/MEMORY/state/status",
|
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
"name": "BASENAME.up-0-short-bri",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"address": "/sensors/MEMORY/state/status",
|
||||||
|
"operator": "lt",
|
||||||
|
"value": "1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"address": "/sensors/DIMMER/state/buttonevent",
|
||||||
|
"operator": "eq",
|
||||||
|
"value": "2002"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"address": "/sensors/DIMMER/state/lastupdated",
|
||||||
|
"operator": "dx"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"actions": [
|
||||||
|
{
|
||||||
|
"address": "/groups/GROUP/action",
|
||||||
|
"method": "PUT",
|
||||||
|
"body": {
|
||||||
|
"transitiontime": 1,
|
||||||
|
"bri_inc": 25
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"name": "BASENAME.up-hold-hue",
|
"name": "BASENAME.up-1-hold-hue",
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"address": "/sensors/MEMORY/state/status",
|
"address": "/sensors/MEMORY/state/status",
|
||||||
"operator": "eq",
|
"operator": "gt",
|
||||||
"value": "1"
|
"value": "0"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"address": "/sensors/DIMMER/state/buttonevent",
|
"address": "/sensors/DIMMER/state/buttonevent",
|
|
@ -1,15 +1,15 @@
|
||||||
{
|
{
|
||||||
"name": "BASENAME.up-hold-sat",
|
"name": "BASENAME.up-1-short-sat",
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"address": "/sensors/MEMORY/state/status",
|
"address": "/sensors/MEMORY/state/status",
|
||||||
"operator": "gt",
|
"operator": "gt",
|
||||||
"value": "1"
|
"value": "0"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"address": "/sensors/DIMMER/state/buttonevent",
|
"address": "/sensors/DIMMER/state/buttonevent",
|
||||||
"operator": "eq",
|
"operator": "eq",
|
||||||
"value": "2001"
|
"value": "2002"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"address": "/sensors/DIMMER/state/lastupdated",
|
"address": "/sensors/DIMMER/state/lastupdated",
|
|
@ -1,24 +0,0 @@
|
||||||
{
|
|
||||||
"name": "BASENAME.up-short",
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"address": "/sensors/DIMMER/state/buttonevent",
|
|
||||||
"operator": "eq",
|
|
||||||
"value": "2002"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address": "/sensors/DIMMER/state/lastupdated",
|
|
||||||
"operator": "dx"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"actions": [
|
|
||||||
{
|
|
||||||
"address": "/groups/GROUP/action",
|
|
||||||
"method": "PUT",
|
|
||||||
"body": {
|
|
||||||
"transitiontime": 1,
|
|
||||||
"bri_inc": 25
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
Loading…
Reference in New Issue