产品

光照温湿度传感器

产品编解码协议

选择官方标准协议

产品物模型定义

  • 物模型TSL
{
  "events": [],
  "properties": [
    {
      "id": "Illuminance",
      "name": "光照度",
      "valueType": {
        "type": "long",
        "unit": "百Lux"
      },
      "expands": {
        "readOnly": "true",
        "source": "device",
        "storageType": "direct"
      }
    },
    {
      "id": "humidity",
      "name": "湿度",
      "valueType": {
        "type": "float",
        "scale": 1,
        "unit": "RH"
      },
      "expands": {
        "readOnly": "true",
        "source": "device",
        "storageType": "direct"
      }
    },
    {
      "id": "temperature",
      "name": "温度",
      "valueType": {
        "type": "float",
        "scale": 1,
        "unit": "celsiusDegrees"
      },
      "expands": {
        "readOnly": "true",
        "source": "device",
        "storageType": "direct"
      }
    }
  ],
  "functions": [],
  "tags": [
    {
      "id": "geoPoint",
      "name": "地理位置",
      "valueType": {
        "type": "geoPoint"
      },
      "expands": {
        "readOnly": "false",
        "storageType": "direct"
      }
    }
  ]
}

产品网关协议

不使用网关协议进行终端对接

流文件

参考产品开发示例

文档更新时间: 2023-06-12 11:11   作者:管理员