---
# System prepended metadata

title: The Data Definition of Support Sensors/Actuator

---

The Data Definition of Support Sensors/Actuator
===

[TOC]

Temperature and Humidity Sensor
---
```json
{
   "metrics":
   [ 
         {
              "name": "Temperature",
              "alias": 20001,
              "timestamp": timestamp,
              "dataType": "Float",
              "value": myTemp
         },
         {
             "name": "Temperature/Alert",
             "alias": 20002,
             "timestamp": timestamp,
             "dataType": "Float",
             "value": rule2
        },
        {
             "name": "Humidity",
             "alias": 20011,
             "timestamp": timestamp,
             "dataType": "Float",
             "value": myHumd
        } 
    ]
}
```

Temperature, Humidity and Light Sensor
---
```json
{
   "metrics":
   [ 
         {
              "name": "Temperature",
              "alias": 20001,
              "timestamp": timestamp,
              "dataType": "Float",
              "value": myTemp
         },
         {
             "name": "Temperature/Alert",
             "alias": 20002,
             "timestamp": timestamp,
             "dataType": "Float",
             "value": rule2
        },
        {
             "name": "Humidity",
             "alias": 20011,
             "timestamp": timestamp,
             "dataType": "Float",
             "value": myHumd
        }, 
        {
            "name": "Luminosity",
           "alias": 20021,
           "timestamp": timestamp,
           "dataType": "Float",
           "value": myLight
        }
    ]
}
```

Voltage Current Sensor
---
```json
{
    "metrics": 
     [
        {
          "name": "Current",
          "alias": 20031,
          "timestamp": timestamp,
          "dataType": "Float",
          "value": mycurrnet
        },
       {
         "name": "Voltage",
         "alias": 20032,
         "timestamp": timestamp,
         "dataType": "Float",
         "value": myVol 
       }
    ]
}
```

Relay Actuator
---
```json
{
    "metrics": 
     [
        {
          "name": "Relay/1",
          "alias": 20101,
          "timestamp": timestamp,
          "dataType": "Boolean",
          "value": myrely1
        },
        {
          "name": "Relay/2",
          "alias": 20102,
          "timestamp": timestamp,
          "dataType": "Boolean",
          "value": myrely2
        },
        {
          "name": "Relay/3",
          "alias": 20103,
          "timestamp": timestamp,
          "dataType": "Boolean",
          "value": myrely3
        },
        {
          "name": "Relay/4",
          "alias": 20104,
          "timestamp": timestamp,
          "dataType": "Boolean",
          "value": myrely4
        }
    ]
}
```
Unit of Measurement
---
- Temperature Unit: (DC) Degrees Celsius
- Humidity Unit: (RH) Relative Humidity
- Luminance Unit: (LM) Lumen
- Current Unit: (A) Ampere
- Voltage Unit: (V) Volt