Skip to main content
Version: 0.91.0

State Buffer


Description

Buffers values of a sensor, while state does not change. Select a state field in the event. Events are buffered as long as state field does not change. When it changes result event is emitted.


Required input

Define the state and sensor value field

Timestamp

A mapping property for a timestamp field

State

Select the field representing the state

Sensor value to cache

Select the field with the numerical values to buffer

Output

Emits a new event on state change, with the fields timestamp, state, and a list containing all sensor values.