Hue/MotionIntelligent/on-dim.rule.json

49 lines
791 B
JSON
Raw Permalink Normal View History

2018-04-17 09:36:09 +02:00
{
"name": "BASENAME.on-dim",
2018-04-17 09:36:09 +02:00
"conditions": [
{
"address": "/sensors/AMBIENT/state/dark",
"operator": "eq",
"value": "true"
},
{
"address": "/groups/GROUP/state/any_on",
"operator": "eq",
"value": "false"
},
{
"address": "/config/localtime",
"operator": "in",
"value": "T01:00:00/T06:00:00"
2018-04-17 09:36:09 +02:00
},
{
"address": "/sensors/MOTION/state/presence",
"operator": "eq",
"value": "true"
},
{
"address": "/sensors/MOTION/state/lastupdated",
"operator": "dx"
}
],
"actions": [
{
"address": "/groups/GROUP/action",
"method": "PUT",
"body": {
"on": true,
"bri": 51,
"ct": 1000,
"transitiontime": 10
2018-04-17 09:36:09 +02:00
}
},
{
"address": "/sensors/MEMORY/state",
2018-04-17 09:36:09 +02:00
"method": "PUT",
"body": {
"status": 2
2018-04-17 09:36:09 +02:00
}
}
]
}