Iotwerk
register modular counter events
Return modular counter increments and wrap candidates under a caller-specified maximum forward step. Supplied bytes only; no device connection or command.
POST https://iot.halowerk.com/v1/register-modular-counter-eventsInputs
| Field | Type | Required | Description |
|---|---|---|---|
| values | array | Yes | |
| bits | See schema | Yes | |
| max_step | integer | Yes |
Show full input schema
{
"type": "object",
"properties": {
"values": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 4294967295
},
"maxItems": 200,
"minItems": 2
},
"bits": {
"enum": [
8,
16,
32
]
},
"max_step": {
"type": "integer",
"minimum": 1,
"maximum": 4294967295
}
},
"required": [
"values",
"bits",
"max_step"
],
"additionalProperties": false
}Published input example
{
"values": [
250,
254,
2,
2,
200
],
"bits": 8,
"max_step": 10
}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.