Signaling
Feature containing basic signaling properties.
Properties
Name | Type | Required | Description |
---|---|---|---|
signal | Signal | ❌ | - no_signal : No signal is active. Write “no_signal” to stop active signal. - on_off : Toggles between max brightness and Off in fixed color. - on_off_color : Toggles between off and max brightness with color provided. - alternating : Alternates between 2 provided colors. |
duration | int | ❌ | Duration has a max of 65534000 ms and a stepsize of 1 second. Values inbetween steps will be rounded. Duration is ignored for no_signal . |
color | List[Color] | ❌ | List of colors to apply to the signal (not supported by all signals) |
Signal
no_signal
: No signal is active. Write “no_signal” to stop active signal.on_off
: Toggles between max brightness and Off in fixed color.on_off_color
: Toggles between off and max brightness with color provided.alternating
: Alternates between 2 provided colors.
Properties
Name | Type | Required | Description |
---|---|---|---|
NO_SIGNAL | str | ✅ | "no_signal" |
ON_OFF | str | ✅ | "on_off" |
ON_OFF_COLOR | str | ✅ | "on_off_color" |
ALTERNATING | str | ✅ | "alternating" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs