This allows for better control over the LED strip. We can now trigger the LED strip externally (e.g. by setting a new RGBW value).
30 lines
679 B
Plaintext
30 lines
679 B
Plaintext
|
|
Module for SK6812 RGBW LED Strips
|
|
=================================
|
|
=================================
|
|
|
|
|
|
1. Values
|
|
=========
|
|
|
|
1.1 RGBWVALUE
|
|
-------------
|
|
|
|
RGB Value for activated light:
|
|
aqhome-tool setdata -N nodes/XXXXXXXX/RGBWVALUE -v GRWB
|
|
|
|
Example:
|
|
Set color of LED strip to blue (half intensity)
|
|
aqhome-tool setdata -N nodes/12345678/RGBWVALUE -v 0x80
|
|
or in modern format:
|
|
aqhome-tool setdata -N nodes/12345678/RGBWVALUE -v GREEN:RED:WHITE:BLUE
|
|
|
|
|
|
1.2. RGBWSTATE
|
|
--------------
|
|
|
|
Turn LED strip on or off using the color set with RGBWVALUE
|
|
aqhome-tool setdata -N nodes/XXXXXXXX/RGBWSTATE -v 1 # on
|
|
aqhome-tool setdata -N nodes/XXXXXXXX/RGBWSTATE -v 0 # off
|
|
|