Skip to content

API Descriptions: SEMIOT TH S

Maxim Kolchin edited this page Nov 2, 2016 · 2 revisions

API descriptions for SEMIOT TH-S device.

{
  "@context": "https://w3id.org/semiot/device/commoncontext#",
  "@id": "http://external/doc#",
  "@type": "ApiDocumentation",
  "supportedClass": [
    {
      "@id": "doc:SEMIOTTHSDevice",
      "subClassOf": "Device",
    }
  ]
}
{
  "@context": "http://external/doc#",
  "@type": "doc:TemperatureValue",
  "value": "15.6",
  "unitCode": "CEL",
  "systemInfo": {
    "@type": "doc:SEMIOTTHSDevice",
    "identifier": "1231",
    "label": "Label",
    "location": {
      "@type": "Place",
      "label": "1010"
    }
  }
}
{
  "@context": "http://external/doc#",
  "@type": "doc:HumidityValue",
  "value": "85.6",
  "unitCode": "P1",
  "systemInfo": {
    "@type": "doc:SEMIOTTHSDevice",
    "identifier": "1231",
    "label": "Label",
    "location": {
      "@type": "Place",
      "label": "1010"
    }
  }
}

reconfiguration possible via switching to config (non-sleeping mode)

Clone this wiki locally