{
  "kind": "hibean.modbus.rtu.profile",
  "profileVersion": 1,
  "config": {
    "schemaVersion": 2,
    "transport": {
      "kind": "rtu",
      "serial": {
        "portName": "SELECT_LOCAL_PORT",
        "baudRate": 9600,
        "dataBits": 8,
        "parity": "none",
        "stopBits": 1,
        "flowControl": "none"
      }
    },
    "polling": {
      "intervalMs": 1000,
      "responseTimeoutMs": 500,
      "readRetries": 1
    },
    "readMappings": [
      {
        "id": "bean-temperature",
        "signal": "beanTemperature",
        "unitId": 1,
        "functionCode": 3,
        "pduAddress": 0,
        "valueType": "int16",
        "byteOrder": "ab",
        "scale": 0.1,
        "offset": 0.0,
        "rawTemperatureUnit": "celsius",
        "minimum": null,
        "maximum": null,
        "enabled": true
      },
      {
        "id": "environment-temperature",
        "signal": "environmentTemperature",
        "unitId": 1,
        "functionCode": 3,
        "pduAddress": 1,
        "valueType": "int16",
        "byteOrder": "ab",
        "scale": 0.1,
        "offset": 0.0,
        "rawTemperatureUnit": "celsius",
        "minimum": null,
        "maximum": null,
        "enabled": true
      }
    ],
    "controlMappings": []
  }
}
