From 5881582c4bc00bdcee859dd9dd870d763a3c225f Mon Sep 17 00:00:00 2001
From: Sebastian Rittau <srittau@rittau.biz>
Date: Sat, 25 Jul 2020 19:18:59 +0200
Subject: ir_nec: Add button texts for an unknown LED panel remote

The remote is unmarked and belongs to a 60x60cm LED panel. There is
a total of 8 buttons. It's probably some generic remote control.

Bought here: https://www.lumizil.de/led-deckenleuchte-panel-60x60cm
---
 decoders/ir_nec/lists.py | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

(limited to 'decoders/ir_nec')

diff --git a/decoders/ir_nec/lists.py b/decoders/ir_nec/lists.py
index 7d47a46..1754cd1 100644
--- a/decoders/ir_nec/lists.py
+++ b/decoders/ir_nec/lists.py
@@ -20,6 +20,7 @@
 # Addresses/devices. Items that are not listed are reserved/unknown.
 address = {
     0x40: 'Matsui TV',
+    0xEA41: 'Unknown LED Panel',
 }
 
 digits = {
@@ -47,4 +48,22 @@ command = {
         31: ['Program down', 'P-'],
         68: ['AV', 'AV'],
     }.items())),
+
+    # This is most likely a generic remote control. The PCB
+    # has space for 16 buttons total, of which not all are
+    # connected. The PCB is marked "JSY", "XSK-5462", and
+    # "2014-6-12 JW". It consists of only a single IC, marked
+    # "BJEC107BNE" or similar. The following buttons are
+    # marked for the remote control of a LED panel this was
+    # found in.
+    0xEA41: {
+        0x10: ['Warmer', 'T+'],
+        0x11: ['Colder', 'T-'],
+        0x12: ['Brighter', '+'],
+        0x13: ['Darker', '-'],
+        0x14: ['Off', 'O'],
+        0x15: ['On', 'I'],
+        0x41: ['Min Brightness', 'Min'],
+        0x48: ['Max Brightness', 'Max'],
+    },
 }
-- 
cgit v1.2.3-70-g09d2