Path
http://merlin.local:55552/v0/frenzel_state
Body
{ "state": "run", "duration_set": 20000, "duration_done": 0 }
MQTT response
none
Notes
This endpoint controls and reports the state of recording in Frenzel mode.
State
“start” - resets the recording file and starts a new recording
“run” - continue the recording without reset after “stop”
“stop” - stop the recording of values
“reset” - reset any stored data and stop the recording if running
See Frenzel Mode for possible state transitions.
duration_set
This integer value represents the requested duration in ms for the recording. It can be set in “reset” state only. The value must not exceed the number returned by GET frenzel_maximum_duration.
duration_done
This integer value represents the currently recorded duration of recording. The value is ignored in PUT requests but musst be contained in the struct.