Marijn78

Untitled

Mar 5th, 2021
207
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.     "name": "MotionSensor 27.dim_night",
  3.     "owner": "XYZ",
  4.     "created": "2021-02-14T15:55:03",
  5.     "lasttriggered": "2021-03-05T07:12:39",
  6.     "timestriggered": 128,
  7.     "status": "enabled",
  8.     "recycle": false,
  9.     "conditions": [
  10.         {
  11.             "address": "/sensors/27/state/presence",
  12.             "operator": "eq",
  13.             "value": "false"
  14.         },
  15.         {
  16.             "address": "/sensors/32/state/presence",
  17.             "operator": "eq",
  18.             "value": "true"
  19.         },
  20.         {
  21.             "address": "/sensors/27/state/presence",
  22.             "operator": "ddx",
  23.             "value": "PT00:01:45"
  24.         },
  25.         {
  26.             "address": "/groups/1/state/any_on",
  27.             "operator": "eq",
  28.             "value": "true"
  29.         }
  30.     ],
  31.     "actions": [
  32.         {
  33.             "address": "/groups/1/action",
  34.             "method": "PUT",
  35.             "body": {
  36.                 "bri_inc": -128
  37.             }
  38.         },
  39.         {
  40.             "address": "/sensors/30/state",
  41.             "method": "PUT",
  42.             "body": {
  43.                 "status": 2
  44.             }
  45.         }
  46.     ]
  47. }
RAW Paste Data