Skip to main content

iris light (v1) iris.1

On/off, brightness and color (#rrggbb) of the four RGB LEDs on the iris board. Replaced by iris.2.

← Device types

Use​

For compatibility with older iris firmware. New devices use iris.2.

On the device​

On connecting, the device announces this type with t= in @$ui and sends @$state whenever its state changes. Apps send commands to <cid>@.

@$name My iris light (v1):Living room
@$ui t=iris.1
@$state on=1;color=#ff8800;s1=1;b1=0;c1=#ff8800;s2=1;b2=0;c2=#ff8800;s3=1;b3=0;c3=#ff8800;s4=1;b4=0;c4=#ff8800

State keys @$state​

KeyValuesMeaning
on0 / 11 when any LED is on
color#rrggbbOverall color #rrggbb
s10 / 1LED 1 on
b10–100%LED 1 brightness 0–100
c1#rrggbbLED 1 color #rrggbb
s20 / 1LED 2 on
b20–100%LED 2 brightness 0–100
c2#rrggbbLED 2 color #rrggbb
s30 / 1LED 3 on
b30–100%LED 3 brightness 0–100
c3#rrggbbLED 3 color #rrggbb
s40 / 1LED 4 on
b40–100%LED 4 brightness 0–100
c4#rrggbbLED 4 color #rrggbb

Commands <cid>@​

CommandMeaning
onTurn all on
offTurn all off
color={v}Set the color of every LED
color=#ff0000Set the color of every LED
color=#ff6000Set the color of every LED
color=#ffc000Set the color of every LED
color=#00ff00Set the color of every LED
color=#00c0ffSet the color of every LED
color=#0000ffSet the color of every LED
color=#a000ffSet the color of every LED
color=#ffffffSet the color of every LED
s1=1Turn LED 1 on
s1=0Turn LED 1 off
b1={v}LED 1 brightness
c1={v}LED 1 color
s2=1Turn LED 2 on
s2=0Turn LED 2 off
b2={v}LED 2 brightness
c2={v}LED 2 color
s3=1Turn LED 3 on
s3=0Turn LED 3 off
b3={v}LED 3 brightness
c3={v}LED 3 color
s4=1Turn LED 4 on
s4=0Turn LED 4 off
b4={v}LED 4 brightness
c4={v}LED 4 color

{v} is the slider or color value. Even for an unknown command the device should send its current state, so the app does not wait.

Implementation notes​

  • The command keys differ from v2 (c for color, s for on), so one device cannot use both versions.

Default picture​

This type has no default picture.

Examples​

No Arduino example uses this type yet.

Type file​

iosignal/devices/types/iris.1.json (rev 2) · CDN

The screen labels in the type file are in Korean; apps show them as written.