Iotwerk
register mapped field decode
Return scaled engineering values from explicitly declared fields in a supplied binary register buffer. Supplied bytes only; no device connection or command.
POST https://iot.halowerk.com/v1/register-mapped-field-decodeInputs
| Field | Type | Required | Description |
|---|---|---|---|
| hex | string | Yes | |
| fields | array | Yes |
Show full input schema
{
"type": "object",
"properties": {
"hex": {
"type": "string",
"pattern": "^(?:[0-9a-fA-F]{2}){1,4096}$"
},
"fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"offset": {
"type": "integer",
"minimum": 0,
"maximum": 4095
},
"bytes": {
"enum": [
1,
2,
4
]
},
"endian": {
"enum": [
"be",
"le"
]
},
"signed": {
"type": "boolean"
},
"scale": {
"type": "number",
"minimum": -10,
"maximum": 10
},
"bias": {
"type": "number",
"minimum": -1000000000,
"maximum": 1000000000
}
},
"required": [
"name",
"offset",
"bytes",
"endian",
"signed",
"scale",
"bias"
],
"additionalProperties": false
},
"maxItems": 30,
"minItems": 1
}
},
"required": [
"hex",
"fields"
],
"additionalProperties": false
}Published input example
{
"hex": "0064fff6",
"fields": [
{
"name": "temperature_c",
"offset": 0,
"bytes": 2,
"endian": "be",
"signed": false,
"scale": 0.1,
"bias": 0
},
{
"name": "offset_c",
"offset": 2,
"bytes": 2,
"endian": "be",
"signed": true,
"scale": 1,
"bias": 0
}
]
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.
More endpoints in this hub
- Iotwerk0.003 USDC
battery degradation
POSThttps://iot.halowerk.com/v1/battery-degradationApplies a transparent heuristic: cycle fade scales with equivalent full cycles and depth-of-discharge exponent; calendar fade scales with square-root time and a temperature factor. Coefficients are caller supplied or declared defaults. This
- Iotwerk0.002 USDC
device auth
POSThttps://iot.halowerk.com/v1/device-authCanonicalizes device_id, nonce and message, computes an HMAC-SHA256 tag with caller-supplied ephemeral key material, and optionally compares a claimed tag in constant time. It does not provision devices, store keys or replace asymmetric dev
- Iotwerk0.004 USDC
digital twin sync
POSThttps://iot.halowerk.com/v1/digital-twin-syncGroups caller-supplied scalar field changes by field name, selects the highest version, and reports a conflict when equal-version values differ. It does not connect to a twin platform, merge nested documents or resolve semantic conflicts.