Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.73 KB | None | 0 0
  1. {
  2.     "adapter-id": "LampService",
  3.     "thing-descriptions":
  4.     [
  5.         {
  6.             "name":"motion_1",
  7.             "type":"PIR",
  8.             "version":"1.0",
  9.             "oid":"motion_1",
  10.             "properties":
  11.             [
  12.                 {
  13.                     "pid":"motion_1_detection_state",
  14.                     "monitors":"????????",
  15.                     "read_link":
  16.                     {
  17.                         "href":"/objects/motion_1/properties/motion_1_detection_state",
  18.                         "output":
  19.                         {
  20.                             "field":
  21.                             [
  22.                                 {
  23.                                     "name":"detection_state",
  24.                                     "schema":
  25.                                     {
  26.                                         "type":"boolean"
  27.                                     }
  28.                                 }
  29.                             ],
  30.                             "type":"object"
  31.                         }
  32.                     }
  33.  
  34.                 },
  35.                 {
  36.                     "pid":"motion_1_relay_state",
  37.                     "monitors":"????????",
  38.                     "read_link":
  39.                     {
  40.                         "href":"/objects/motion_1/properties/motion_1_relay_state",
  41.                         "output":
  42.                         {
  43.                             "field":
  44.                             [
  45.                                 {
  46.                                     "name":"relay_state",
  47.                                     "schema":
  48.                                     {
  49.                                         "type":"boolean"    
  50.                                     }
  51.                                 }    
  52.                             ],
  53.                             "type":"object"    
  54.                         }    
  55.                     },
  56.                     "write_link":
  57.                     {
  58.                         "href":"/objects/motion_1/properties/motion_1_relay_state",
  59.                         "input":
  60.                         {
  61.                             "field":
  62.                             [
  63.                                 {
  64.                                     "name":"relay_state",
  65.                                     "schema":
  66.                                     {
  67.                                         "type":"boolean"    
  68.                                     }
  69.                                 }
  70.                             ],
  71.                             "type":"object"
  72.                         }
  73.                     }
  74.                    
  75.                 }
  76.             ],
  77.             "actions": [],
  78.             "events": []
  79.         }
  80.     ]
  81. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement