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":"2017-11-23T21:51:30.428Z"},{"t":38,"timestamp":"2017-11-23T21:51:35.499Z"},{"t":2,"timestamp":"2017-11-23T21:51:40.570Z"},{"t":0,"timestamp":"2017-11-23T21:51:45.577Z"},{"t":16,"timestamp":"2017-11-23T21:51:50.583Z"},{"t":20,"timestamp":"2017-11-23T21:51:55.589Z"},{"t":15,"timestamp":"2017-11-23T21:52:00.596Z"},{"t":8,"timestamp":"2017-11-23T21:52:05.616Z"},{"t":35,"timestamp":"2017-11-23T21:52:10.627Z"},{"t":37,"timestamp":"2017-11-23T21:52:15.632Z"},{"t":2,"timestamp":"2017-11-23T21:52:20.638Z"}]},"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":"2017-11-23T21:51:30.428Z"},{"h":25,"timestamp":"2017-11-23T21:51:35.499Z"},{"h":24,"timestamp":"2017-11-23T21:51:40.570Z"},{"h":77,"timestamp":"2017-11-23T21:51:45.577Z"},{"h":35,"timestamp":"2017-11-23T21:51:50.584Z"},{"h":74,"timestamp":"2017-11-23T21:51:55.589Z"},{"h":44,"timestamp":"2017-11-23T21:52:00.596Z"},{"h":31,"timestamp":"2017-11-23T21:52:05.616Z"},{"h":65,"timestamp":"2017-11-23T21:52:10.627Z"},{"h":76,"timestamp":"2017-11-23T21:52:15.632Z"},{"h":95,"timestamp":"2017-11-23T21:52:20.638Z"}]},"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":"2017-11-23T21:51:30.418Z"},{"presence":false,"timestamp":"2017-11-23T21:51:35.432Z"},{"presence":false,"timestamp":"2017-11-23T21:51:40.569Z"},{"presence":false,"timestamp":"2017-11-23T21:51:45.577Z"},{"presence":false,"timestamp":"2017-11-23T21:51:50.583Z"},{"presence":false,"timestamp":"2017-11-23T21:51:55.588Z"},{"presence":false,"timestamp":"2017-11-23T21:52:00.595Z"},{"presence":false,"timestamp":"2017-11-23T21:52:05.614Z"},{"presence":false,"timestamp":"2017-11-23T21:52:10.627Z"},{"presence":false,"timestamp":"2017-11-23T21:52:15.631Z"},{"presence":false,"timestamp":"2017-11-23T21:52:20.637Z"}]},"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-11-23T21:51:30.424Z"},{"1":false,"2":false,"timestamp":"2017-11-23T21:51:35.498Z"},{"1":false,"2":false,"timestamp":"2017-11-23T21:51:40.570Z"},{"1":false,"2":false,"timestamp":"2017-11-23T21:51:45.577Z"},{"1":false,"2":false,"timestamp":"2017-11-23T21:51:50.583Z"},{"1":false,"2":false,"timestamp":"2017-11-23T21:51:55.589Z"},{"1":false,"2":false,"timestamp":"2017-11-23T21:52:00.596Z"},{"1":false,"2":false,"timestamp":"2017-11-23T21:52:05.614Z"},{"1":false,"2":false,"timestamp":"2017-11-23T21:52:10.627Z"},{"1":false,"2":false,"timestamp":"2017-11-23T21:52:15.632Z"},{"1":false,"2":false,"timestamp":"2017-11-23T21:52:20.638Z"}]}}},"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"}}}