Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Description

The Smartcolor Message Type is STRING based. A combination of Hex Triplets (Wikipedia - Hex Triplet) that can be used to control a Smart Light like a smart LED stripe (eg. WS2812)


Example Data

  • #FF0000#FF0000#FF0000#FF000 (4 red LEDs)

  • #000080(All LEDs are Navy)

  • #000080#000080 (First 2 LEDs are Navy)


Converts to

Message Type

Data

Trigger

Always triggers

String

Directly converts to color string

Light

If first hex string is set to #000000 (black) Light is tuned off. Otherwise it uses the first Color of the combination to define the Color of a RGB Light and turns on the Light.

*Any Signal that is not mentioned on the table above should not be able to convert

Debug View

In the Debug View values can be written to or read from the drivers on the Builder Base directly

Write

The smartlight can be tested by sending it the three bytes that it will apply to the amount of lights configured in the driver. For example “FFFF00“ for yellow.

  • No labels