From 474e63c3958dd7080c0e03d610c36c5ba0ba79b1 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Mon, 26 May 2025 21:40:45 +0200 Subject: [PATCH] fixed documentation. --- avr/apps/ma_light/README | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/avr/apps/ma_light/README b/avr/apps/ma_light/README index 930f315..aad3d56 100644 --- a/avr/apps/ma_light/README +++ b/avr/apps/ma_light/README @@ -21,36 +21,36 @@ This app can watch for up to two node-value pairs. ---------------- RGB Value for activated light: - aqhome-tool setValue -N nodes/XXXXXXXX/MALRGBWVALUE -v GRWB + aqhome-tool setdata -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 + aqhome-tool setdata -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 + aqhome-tool setdata -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 + aqhome-tool setdata -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 + aqhome-tool setdata -N nodes/XXXXXXXX/MALSOURCE1 -v VVNN + aqhome-tool setdata -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 + aqhome-tool setdata -N nodes/12345678/MALSOURCE1 -v 0x0702