From 67b5888c28fc5e0250fb227fff159829f33b73c1 Mon Sep 17 00:00:00 2001 From: "Christian W. Zuckschwerdt" <christian@zuckschwerdt.org> Date: Wed, 8 Jan 2020 13:01:11 +0100 Subject: [PATCH] Update LED-Light-Remote conf --- conf/21_key_remote.conf | 18 ------------------ conf/led-light-remote.conf | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 18 deletions(-) delete mode 100644 conf/21_key_remote.conf create mode 100644 conf/led-light-remote.conf diff --git a/conf/21_key_remote.conf b/conf/21_key_remote.conf deleted file mode 100644 index 7291af39..00000000 --- a/conf/21_key_remote.conf +++ /dev/null @@ -1,18 +0,0 @@ -# Remote decoder from issue #1112 -# syntax by chaos511 - -decoder { - name=Generic-21-key-Remote, - m=OOK_PWM, - s=264, - l=1060, - r=2000, - g=0, - t=316, - y=0, - bits=25, - invert, - get=@8:{8}:id, - get=@16:{8}:button -} - diff --git a/conf/led-light-remote.conf b/conf/led-light-remote.conf new file mode 100644 index 00000000..0a4b0838 --- /dev/null +++ b/conf/led-light-remote.conf @@ -0,0 +1,28 @@ +# Generic Remote Controller for LED Strip Lights +# Remote decoder from issue #1112 by chaos511 + +# first 16 bit seem to be a fixed remote id +# last 8 bit encode the button press: +# (the keypad has up to 7 rows of 3 columns, +# usually some keys are missing) +# 1 2 3 +# 4 5 6 +# 7 8 9 +# 10 11 12 +# 13 14 15 +# 16 17 18 +# 19 20 21 + +decoder { + name=LED-Light-Remote, + modulation=OOK_PWM, + short=264, + long=1060, + reset=2000, + gap=0, + tolerance=316, + bits=25, + invert, + get=@0:{16}:id, + get=@16:{8}:button +}