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":"2024-04-20T13:58:44.922Z"}]},"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":"2024-04-20T13:58:44.922Z"}]},"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":"2024-04-20T13:58:44.919Z"}]},"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":"2024-04-20T13:58:44.921Z"}]}}},"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"}}}