Iotwerk
sensor pwm edge duty jitter
Return cycle periods, high-time duties and peak-to-peak period jitter from supplied PWM edges.
POST https://iot.halowerk.com/v1/sensor-pwm-edge-duty-jitterInputs
| Field | Type | Required | Description |
|---|---|---|---|
| edges | array | Yes |
Show full input schema
{
"type": "object",
"properties": {
"edges": {
"type": "array",
"items": {
"type": "object",
"properties": {
"time_s": {
"type": "number",
"minimum": 0,
"maximum": 1000000000
},
"level": {
"enum": [
0,
1
]
}
},
"required": [
"time_s",
"level"
],
"additionalProperties": false
},
"maxItems": 1000,
"minItems": 3
}
},
"required": [
"edges"
],
"additionalProperties": false
}Published input example
{
"edges": [
{
"time_s": 0,
"level": 1
},
{
"time_s": 0.25,
"level": 0
},
{
"time_s": 1,
"level": 1
},
{
"time_s": 1.5,
"level": 0
},
{
"time_s": 2,
"level": 1
}
]
}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.