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":0,"timestamp":"2018-06-25T01:56:29.945Z"},{"t":15,"timestamp":"2018-06-25T01:56:34.995Z"},{"t":25,"timestamp":"2018-06-25T01:56:39.996Z"},{"t":3,"timestamp":"2018-06-25T01:56:45.001Z"},{"t":5,"timestamp":"2018-06-25T01:56:50.009Z"},{"t":21,"timestamp":"2018-06-25T01:56:55.012Z"},{"t":21,"timestamp":"2018-06-25T01:57:00.019Z"},{"t":6,"timestamp":"2018-06-25T01:57:05.023Z"},{"t":25,"timestamp":"2018-06-25T01:57:10.026Z"},{"t":40,"timestamp":"2018-06-25T01:57:15.030Z"},{"t":3,"timestamp":"2018-06-25T01:57:20.034Z"},{"t":32,"timestamp":"2018-06-25T01:57:25.038Z"},{"t":12,"timestamp":"2018-06-25T01:57:30.039Z"},{"t":28,"timestamp":"2018-06-25T01:57:35.041Z"},{"t":6,"timestamp":"2018-06-25T01:57:40.047Z"},{"t":17,"timestamp":"2018-06-25T01:57:45.053Z"},{"t":39,"timestamp":"2018-06-25T01:57:50.055Z"},{"t":28,"timestamp":"2018-06-25T01:57:55.059Z"},{"t":20,"timestamp":"2018-06-25T01:58:00.063Z"}]},"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":0,"timestamp":"2018-06-25T01:56:29.945Z"},{"h":44,"timestamp":"2018-06-25T01:56:34.995Z"},{"h":34,"timestamp":"2018-06-25T01:56:39.996Z"},{"h":21,"timestamp":"2018-06-25T01:56:45.001Z"},{"h":70,"timestamp":"2018-06-25T01:56:50.009Z"},{"h":30,"timestamp":"2018-06-25T01:56:55.012Z"},{"h":30,"timestamp":"2018-06-25T01:57:00.019Z"},{"h":69,"timestamp":"2018-06-25T01:57:05.023Z"},{"h":75,"timestamp":"2018-06-25T01:57:10.026Z"},{"h":32,"timestamp":"2018-06-25T01:57:15.030Z"},{"h":20,"timestamp":"2018-06-25T01:57:20.034Z"},{"h":73,"timestamp":"2018-06-25T01:57:25.038Z"},{"h":52,"timestamp":"2018-06-25T01:57:30.039Z"},{"h":23,"timestamp":"2018-06-25T01:57:35.041Z"},{"h":21,"timestamp":"2018-06-25T01:57:40.047Z"},{"h":93,"timestamp":"2018-06-25T01:57:45.053Z"},{"h":21,"timestamp":"2018-06-25T01:57:50.055Z"},{"h":88,"timestamp":"2018-06-25T01:57:55.059Z"},{"h":46,"timestamp":"2018-06-25T01:58:00.063Z"}]},"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":true,"timestamp":"2018-06-25T01:56:29.928Z"},{"presence":false,"timestamp":"2018-06-25T01:56:34.934Z"},{"presence":false,"timestamp":"2018-06-25T01:56:39.994Z"},{"presence":false,"timestamp":"2018-06-25T01:56:45.000Z"},{"presence":false,"timestamp":"2018-06-25T01:56:50.008Z"},{"presence":false,"timestamp":"2018-06-25T01:56:55.011Z"},{"presence":false,"timestamp":"2018-06-25T01:57:00.018Z"},{"presence":false,"timestamp":"2018-06-25T01:57:05.022Z"},{"presence":false,"timestamp":"2018-06-25T01:57:10.026Z"},{"presence":false,"timestamp":"2018-06-25T01:57:15.030Z"},{"presence":false,"timestamp":"2018-06-25T01:57:20.034Z"},{"presence":false,"timestamp":"2018-06-25T01:57:25.038Z"},{"presence":false,"timestamp":"2018-06-25T01:57:30.038Z"},{"presence":false,"timestamp":"2018-06-25T01:57:35.040Z"},{"presence":false,"timestamp":"2018-06-25T01:57:40.046Z"},{"presence":false,"timestamp":"2018-06-25T01:57:45.052Z"},{"presence":false,"timestamp":"2018-06-25T01:57:50.054Z"},{"presence":false,"timestamp":"2018-06-25T01:57:55.058Z"},{"presence":false,"timestamp":"2018-06-25T01:58:00.062Z"}]},"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":"2018-06-25T01:56:29.937Z"},{"1":false,"2":false,"timestamp":"2018-06-25T01:56:34.994Z"},{"1":false,"2":false,"timestamp":"2018-06-25T01:56:39.995Z"},{"1":false,"2":false,"timestamp":"2018-06-25T01:56:45.001Z"},{"1":false,"2":false,"timestamp":"2018-06-25T01:56:50.009Z"},{"1":false,"2":false,"timestamp":"2018-06-25T01:56:55.012Z"},{"1":false,"2":false,"timestamp":"2018-06-25T01:57:00.019Z"},{"1":false,"2":false,"timestamp":"2018-06-25T01:57:05.022Z"},{"1":false,"2":false,"timestamp":"2018-06-25T01:57:10.026Z"},{"1":false,"2":false,"timestamp":"2018-06-25T01:57:15.030Z"},{"1":false,"2":false,"timestamp":"2018-06-25T01:57:20.034Z"},{"1":false,"2":false,"timestamp":"2018-06-25T01:57:25.038Z"},{"1":false,"2":false,"timestamp":"2018-06-25T01:57:30.039Z"},{"1":false,"2":false,"timestamp":"2018-06-25T01:57:35.041Z"},{"1":false,"2":false,"timestamp":"2018-06-25T01:57:40.047Z"},{"1":false,"2":false,"timestamp":"2018-06-25T01:57:45.052Z"},{"1":false,"2":false,"timestamp":"2018-06-25T01:57:50.055Z"},{"1":false,"2":false,"timestamp":"2018-06-25T01:57:55.059Z"},{"1":false,"2":false,"timestamp":"2018-06-25T01:58:00.063Z"}]}}},"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"}}}