Zum Hauptinhalt springen

Set how the values of a signal's MQTT metric are compressed

PUT 

/signals/:signalId/metric-compression

Sets the compression the mqtt-client applies to the metric of the signal (HET-2188). The compression belongs to the metric, so it applies to every signal reading the metric. Takes effect with the mqtt-client's next reconciliation (30 s); stored values stay as they are. Needs the write right on every live signal reading the metric, not only on this one; 403 without naming the others, which the caller may not be allowed to read. 400 when the metric is not MQTT or the compression is not one the platform offers (interval, deadband).

Request​

Responses​

The compression as stored.