Files
aqhomecontrol/avr/apps/ma_light/README
2025-05-05 21:03:13 +02:00

47 lines
1.0 KiB
Plaintext

App for Motion Activated Light
==============================
==============================
1. Values
======
1.1 MALRGBWVALUE
----------------
RGB Value for activated light:
aqhome-tool setValue -N nodes/XXXXXXXX/MALRGBWVALUE -v GRWB
Example:
Set color of LED strip to blue (half intensity)
aqhome-tool setValue -N nodes/12345678/MALRGBWVALUE -v 0x80
1.2 MALONTIME
-------------
On-Time after activation:
aqhome-tool setValue -N nodes/XXXXXXXX/MALONTIME TIME_IN_1/10_SECS
Example:
Keep light on after activation for 20 seconds
aqhome-tool setValue -N nodes/12345678/MALONTIME -v 200
1.3. MALSOURCE1, MALSOURCE2
---------------------------
Sources for Motion Messages:
aqhome-tool setValue -N nodes/XXXXXXXX/MALSOURCE1 -v VVNN
aqhome-tool setValue -N nodes/XXXXXXXX/MALSOURCE2 -v VVNN
VVNN is a 16-bit value, lower 8 bit contain the source node address, higher 8 bit contain the
value id to react to.
Example:
React to value report messages with value id 7 from node with address 2
aqhome-tool setValue -N nodes/12345678/MALSOURCE1 -v 0x0702