diff --git a/MotionAllOff/all-off.rule.json b/MotionAllOff/all-off.rule.json index 3650665..d738a3f 100644 --- a/MotionAllOff/all-off.rule.json +++ b/MotionAllOff/all-off.rule.json @@ -8,7 +8,7 @@ }, { "address": "/sensors/MOTION/state/lastupdated", - "operator": "stable", + "operator": "ddx", "value": "PT02:00:00" } ], diff --git a/MotionIntelligent/off.rule.json b/MotionIntelligent/off.rule.json index 02567fe..4ef3379 100644 --- a/MotionIntelligent/off.rule.json +++ b/MotionIntelligent/off.rule.json @@ -22,7 +22,8 @@ "address": "/groups/GROUP/action", "method": "PUT", "body": { - "on": false + "on": false, + "transitiontime": 200 } }, { diff --git a/MotionIntelligent/on-bright.rule.json b/MotionIntelligent/on-bright.rule.json index 8630bdc..bace129 100644 --- a/MotionIntelligent/on-bright.rule.json +++ b/MotionIntelligent/on-bright.rule.json @@ -33,7 +33,8 @@ "body": { "on": true, "bri": 240, - "ct": 357 + "ct": 357, + "transitiontime": 2 } }, { diff --git a/MotionIntelligent/on-dim.rule.json b/MotionIntelligent/on-dim.rule.json index 840a0fa..1911d0e 100644 --- a/MotionIntelligent/on-dim.rule.json +++ b/MotionIntelligent/on-dim.rule.json @@ -33,7 +33,8 @@ "body": { "on": true, "bri": 13, - "ct": 1000 + "ct": 1000, + "transitiontime": 50 } }, {