Result

{"id":"http://gateway.webofthings.io","name":"My WoT Raspberry PI","description":"A simple WoT-connected Raspberry Pi for the WoT book.","tags":["raspberry","pi","WoT"],"customFields":{"hostname":"gateway.webofthings.io","port":8484,"secure":false,"dataArraySize":30},"links":{"product":{"link":"https://www.raspberrypi.org/products/raspberry-pi-2-model-b/","title":"Product this Web Thing is based on"},"properties":{"link":"/properties","title":"List of Properties","resources":{"temperature":{"name":"Temperature Sensor","description":"An ambient temperature sensor.","values":{"t":{"name":"Temperature sensor","description":"The temperature in celsius","unit":"celsius","customFields":{"gpio":12}}},"tags":["sensor","public","indoors"],"data":[{"t":29,"timestamp":"2017-10-18T01:38:50.487Z"},{"t":13,"timestamp":"2017-10-18T01:38:55.491Z"},{"t":38,"timestamp":"2017-10-18T01:39:00.496Z"},{"t":19,"timestamp":"2017-10-18T01:39:05.499Z"},{"t":28,"timestamp":"2017-10-18T01:39:10.507Z"},{"t":20,"timestamp":"2017-10-18T01:39:15.512Z"},{"t":29,"timestamp":"2017-10-18T01:39:20.523Z"},{"t":16,"timestamp":"2017-10-18T01:39:25.528Z"},{"t":8,"timestamp":"2017-10-18T01:39:30.531Z"},{"t":20,"timestamp":"2017-10-18T01:39:35.533Z"},{"t":9,"timestamp":"2017-10-18T01:39:40.559Z"},{"t":14,"timestamp":"2017-10-18T01:39:45.563Z"},{"t":20,"timestamp":"2017-10-18T01:39:50.567Z"},{"t":2,"timestamp":"2017-10-18T01:39:55.568Z"},{"t":10,"timestamp":"2017-10-18T01:40:00.571Z"},{"t":10,"timestamp":"2017-10-18T01:40:05.577Z"},{"t":6,"timestamp":"2017-10-18T01:40:10.579Z"},{"t":5,"timestamp":"2017-10-18T01:40:15.583Z"},{"t":0,"timestamp":"2017-10-18T01:40:20.587Z"},{"t":24,"timestamp":"2017-10-18T01:40:25.592Z"},{"t":40,"timestamp":"2017-10-18T01:40:30.595Z"},{"t":29,"timestamp":"2017-10-18T01:40:35.598Z"},{"t":28,"timestamp":"2017-10-18T01:40:40.603Z"},{"t":15,"timestamp":"2017-10-18T01:40:45.608Z"},{"t":33,"timestamp":"2017-10-18T01:40:50.618Z"},{"t":33,"timestamp":"2017-10-18T01:40:55.635Z"},{"t":13,"timestamp":"2017-10-18T01:41:00.640Z"},{"t":32,"timestamp":"2017-10-18T01:41:05.643Z"},{"t":28,"timestamp":"2017-10-18T01:41:10.648Z"},{"t":3,"timestamp":"2017-10-18T01:41:15.655Z"}]},"humidity":{"name":"Humidity Sensor","description":"An ambient humidity sensor.","values":{"h":{"name":"Humidity","description":"Percentage of Humidity","unit":"%","customFields":{"gpio":12}}},"tags":["sensor","public"],"data":[{"h":71,"timestamp":"2017-10-18T01:38:50.487Z"},{"h":78,"timestamp":"2017-10-18T01:38:55.491Z"},{"h":65,"timestamp":"2017-10-18T01:39:00.496Z"},{"h":21,"timestamp":"2017-10-18T01:39:05.499Z"},{"h":42,"timestamp":"2017-10-18T01:39:10.507Z"},{"h":47,"timestamp":"2017-10-18T01:39:15.513Z"},{"h":21,"timestamp":"2017-10-18T01:39:20.523Z"},{"h":42,"timestamp":"2017-10-18T01:39:25.528Z"},{"h":23,"timestamp":"2017-10-18T01:39:30.531Z"},{"h":86,"timestamp":"2017-10-18T01:39:35.533Z"},{"h":93,"timestamp":"2017-10-18T01:39:40.559Z"},{"h":65,"timestamp":"2017-10-18T01:39:45.563Z"},{"h":25,"timestamp":"2017-10-18T01:39:50.567Z"},{"h":73,"timestamp":"2017-10-18T01:39:55.568Z"},{"h":46,"timestamp":"2017-10-18T01:40:00.571Z"},{"h":66,"timestamp":"2017-10-18T01:40:05.577Z"},{"h":37,"timestamp":"2017-10-18T01:40:10.579Z"},{"h":28,"timestamp":"2017-10-18T01:40:15.583Z"},{"h":54,"timestamp":"2017-10-18T01:40:20.587Z"},{"h":72,"timestamp":"2017-10-18T01:40:25.592Z"},{"h":75,"timestamp":"2017-10-18T01:40:30.595Z"},{"h":94,"timestamp":"2017-10-18T01:40:35.598Z"},{"h":30,"timestamp":"2017-10-18T01:40:40.603Z"},{"h":37,"timestamp":"2017-10-18T01:40:45.608Z"},{"h":84,"timestamp":"2017-10-18T01:40:50.618Z"},{"h":45,"timestamp":"2017-10-18T01:40:55.635Z"},{"h":73,"timestamp":"2017-10-18T01:41:00.640Z"},{"h":97,"timestamp":"2017-10-18T01:41:05.643Z"},{"h":40,"timestamp":"2017-10-18T01:41:10.648Z"},{"h":86,"timestamp":"2017-10-18T01:41:15.655Z"}]},"pir":{"name":"Passive Infrared","description":"A passive infrared sensor.","values":{"presence":{"name":"Presence","description":"Current sensor value (true=motion detected)","type":"boolean","customFields":{"gpio":17}}},"tags":["sensor","public"],"data":[{"presence":false,"timestamp":"2017-10-18T01:38:50.486Z"},{"presence":false,"timestamp":"2017-10-18T01:38:55.490Z"},{"presence":false,"timestamp":"2017-10-18T01:39:00.495Z"},{"presence":false,"timestamp":"2017-10-18T01:39:05.498Z"},{"presence":false,"timestamp":"2017-10-18T01:39:10.506Z"},{"presence":false,"timestamp":"2017-10-18T01:39:15.512Z"},{"presence":false,"timestamp":"2017-10-18T01:39:20.522Z"},{"presence":false,"timestamp":"2017-10-18T01:39:25.527Z"},{"presence":false,"timestamp":"2017-10-18T01:39:30.530Z"},{"presence":false,"timestamp":"2017-10-18T01:39:35.532Z"},{"presence":false,"timestamp":"2017-10-18T01:39:40.558Z"},{"presence":false,"timestamp":"2017-10-18T01:39:45.562Z"},{"presence":false,"timestamp":"2017-10-18T01:39:50.566Z"},{"presence":false,"timestamp":"2017-10-18T01:39:55.568Z"},{"presence":false,"timestamp":"2017-10-18T01:40:00.571Z"},{"presence":false,"timestamp":"2017-10-18T01:40:05.576Z"},{"presence":false,"timestamp":"2017-10-18T01:40:10.578Z"},{"presence":false,"timestamp":"2017-10-18T01:40:15.582Z"},{"presence":false,"timestamp":"2017-10-18T01:40:20.587Z"},{"presence":false,"timestamp":"2017-10-18T01:40:25.591Z"},{"presence":false,"timestamp":"2017-10-18T01:40:30.594Z"},{"presence":false,"timestamp":"2017-10-18T01:40:35.597Z"},{"presence":false,"timestamp":"2017-10-18T01:40:40.602Z"},{"presence":false,"timestamp":"2017-10-18T01:40:45.608Z"},{"presence":false,"timestamp":"2017-10-18T01:40:50.617Z"},{"presence":false,"timestamp":"2017-10-18T01:40:55.634Z"},{"presence":false,"timestamp":"2017-10-18T01:41:00.640Z"},{"presence":false,"timestamp":"2017-10-18T01:41:05.642Z"},{"presence":false,"timestamp":"2017-10-18T01:41:10.648Z"},{"presence":false,"timestamp":"2017-10-18T01:41:15.654Z"}]},"leds":{"name":"LEDs","description":"The LEDs of this device.","values":{"1":{"name":"LED 1","customFields":{"gpio":4}},"2":{"name":"LED 2","customFields":{"gpio":9}}},"tags":["sensor","public"],"data":[{"1":false,"2":false,"timestamp":"2017-10-18T01:38:50.487Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:38:55.491Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:39:00.495Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:39:05.499Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:39:10.507Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:39:15.512Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:39:20.523Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:39:25.527Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:39:30.531Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:39:35.533Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:39:40.558Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:39:45.563Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:39:50.567Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:39:55.568Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:40:00.571Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:40:05.577Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:40:10.579Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:40:15.583Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:40:20.587Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:40:25.592Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:40:30.595Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:40:35.598Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:40:40.603Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:40:45.608Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:40:50.617Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:40:55.634Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:41:00.640Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:41:05.643Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:41:10.648Z"},{"1":false,"2":false,"timestamp":"2017-10-18T01:41:15.655Z"}]}}},"actions":{"link":"/actions","title":"Actions of this Web Thing","resources":{"ledState":{"name":"Change LED state","description":"Change the state of an LED","values":{"ledId":{"type":"enum","enum":{"1":"LED 1","2":"LED 2","ALL":"All LEDs"},"required":true},"state":{"type":"boolean","required":true}},"data":[]}}},"type":{"link":"http://model.webofthings.io/","title":"Instance type of the Pi"},"help":{"link":"http://webofthings.org/docs/pi/","title":"Documentation"},"ui":{"link":"/","title":"User Interface"}}}