{
  "name": "com.acme.tank.level",
  "kind": "property",
  "title": "Tank level",
  "description": "Water level in the main tank.",
  "valueSchema": {
    "type": "number"
  },
  "unit": "cm",
  "writable": false,
  "privacy": "internal",
  "native": {
    "protocol": "modbus-tcp",
    "target": "unit:3",
    "request": {
      "function": 3,
      "register": 0,
      "count": 1
    },
    "response": {
      "extract": {
        "value": {
          "from": "registers[0]",
          "scale": 0.1
        }
      }
    },
    "timeoutMs": 1000
  }
}
