iris light (v1) iris.1
On/off, brightness and color (#rrggbb) of the four RGB LEDs on the iris board. Replaced by iris.2.
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
| Key | Values | Meaning |
|---|---|---|
on | 0 / 1 | 1 when any LED is on |
color | #rrggbb | Overall color #rrggbb |
s1 | 0 / 1 | LED 1 on |
b1 | 0–100% | LED 1 brightness 0–100 |
c1 | #rrggbb | LED 1 color #rrggbb |
s2 | 0 / 1 | LED 2 on |
b2 | 0–100% | LED 2 brightness 0–100 |
c2 | #rrggbb | LED 2 color #rrggbb |
s3 | 0 / 1 | LED 3 on |
b3 | 0–100% | LED 3 brightness 0–100 |
c3 | #rrggbb | LED 3 color #rrggbb |
s4 | 0 / 1 | LED 4 on |
b4 | 0–100% | LED 4 brightness 0–100 |
c4 | #rrggbb | LED 4 color #rrggbb |
Commands <cid>@
| Command | Meaning |
|---|---|
on | Turn all on |
off | Turn all off |
color={v} | Set the color of every LED |
color=#ff0000 | Set the color of every LED |
color=#ff6000 | Set the color of every LED |
color=#ffc000 | Set the color of every LED |
color=#00ff00 | Set the color of every LED |
color=#00c0ff | Set the color of every LED |
color=#0000ff | Set the color of every LED |
color=#a000ff | Set the color of every LED |
color=#ffffff | Set the color of every LED |
s1=1 | Turn LED 1 on |
s1=0 | Turn LED 1 off |
b1={v} | LED 1 brightness |
c1={v} | LED 1 color |
s2=1 | Turn LED 2 on |
s2=0 | Turn LED 2 off |
b2={v} | LED 2 brightness |
c2={v} | LED 2 color |
s3=1 | Turn LED 3 on |
s3=0 | Turn LED 3 off |
b3={v} | LED 3 brightness |
c3={v} | LED 3 color |
s4=1 | Turn LED 4 on |
s4=0 | Turn 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.