Entwicklung SIGNALDuino Empfänger Firm- und Hardware V4 für Maple Mini und ESP32

Begonnen von Ralf9, 13 Dezember 2019, 12:48:26

Vorheriges Thema - Nächstes Thema

elektron-bbs

Ist die Lichterkette bzw. die Fernbedienung wirklich von Meikee, oder hast du den Namen nur gewählt, weil das Protokoll zufällig passte?
Intel(R) Atom(TM) CPU N270 mit 2 SIGNALduino nanoCC1101 + ESPEasy 2x serial server SIGNALduino nanoCC1101, Raspberry Pi 2 mit 2 CUL Stackable CC1101, Raspberry Pi 3 mit SIGNALduino radino + nano328 + 2 x SIGNAL-ESP CC1101 + 1 x rf_Gateway + 1 x SIGNAL-STM

berniie

Weil das Protokol passte und die Fernbedienung 12 Tasten hat, habe ich den Namen gewählt. Auf der Fernbedienung selber steht nichts. Die Lichterkette ist eine Hopexy bzw. HeiPard G40 aus dem großen Fluss.

elektron-bbs

Intel(R) Atom(TM) CPU N270 mit 2 SIGNALduino nanoCC1101 + ESPEasy 2x serial server SIGNALduino nanoCC1101, Raspberry Pi 2 mit 2 CUL Stackable CC1101, Raspberry Pi 3 mit SIGNALduino radino + nano328 + 2 x SIGNAL-ESP CC1101 + 1 x rf_Gateway + 1 x SIGNAL-STM

berniie


elektron-bbs

Mir fällt auf, das es zweimal "brightness_down" gibt:
+                   '00000010' => 'brightness_down_',      # 0x02
+                   '00001001' => 'brightness_down',       # 0x09

Postest du bitte mal ein Bild von der Fernbedienung. Die Bilder, die ich im Internet finde, wenn ich nach "HeiPard G40" suche, passen alle nicht zu deinen Buttoncodes. Am Besten noch einen Link auf dein Produkt.

Die Timings von Protokoll 118 passen eigentlich auch nicht so richtig:
MU;P0=-32001;P1=1199;P2=-409;P3=411;P4=-11974;P5=-1197;D=01212341212121212121212112 ist 1199,-409 - clockabs => 400, one => [3,-1],
Protokoll 118:
                   clockabs => 508, one => [2,-1], # 1016,-508Das mag zwar funktionieren, aber optimal ist das nicht.
Intel(R) Atom(TM) CPU N270 mit 2 SIGNALduino nanoCC1101 + ESPEasy 2x serial server SIGNALduino nanoCC1101, Raspberry Pi 2 mit 2 CUL Stackable CC1101, Raspberry Pi 3 mit SIGNALduino radino + nano328 + 2 x SIGNAL-ESP CC1101 + 1 x rf_Gateway + 1 x SIGNAL-STM

berniie

Den '00000010' => 'brightness_down_' habe ich vergessen zu löschen. 00000010 ist der code von der Meikee. Hier der Link zur Lichterkette

elektron-bbs

Dann vermute ich mal, das der Eintrag '00000000' => 'learn',                 # 0x00 auch noch von Meikee ist.

Da die Timings nicht so richtig passen, müssten wir bei Protokoll 118 zwei neue Definitionen erstellen, einmal für Nachrichtenformat MU und einmal für MS.

Ich vermute mal, das bei deinen Tests auch Nachrichten mit Protokoll 130, beginnend mit MS in der Form P130#0000xx dekodiert wurden. Protokoll 130 passt nämlich 100%ig zu der Nachricht deiner Fernbedienung.

Wir müssten dafür nur eine Definition neu anlegen:
    "130.1" => ## Remote control HeiPard, 12 buttons, e.g. for LED Light Strip
               # https://forum.fhem.de/index.php?msg=1370107 @ berniie 2026-10-11
               # HeiPard_12_FFFF off    MU;P0=-32001;P1=1199;P2=-409;P3=411;P4=-11974;P5=-1197;D=01212341212121212121212121212121212121235353535353512123412121212121212121212121212121212353535353535121234121212121212121212121212121212123535353535351212341212121212121212121212121212121235353535353512123;CP=1;R=33;
      {
        name            => 'HeiPard',
        comment         => 'Remote control for HeiPard LED Strip',
        id              => '118',
        one             => [1,-3],  # 400,-1200
        zero            => [3,-1],  # -1200,400
        start           => [1,-30], # 400,-12000, message provided as MU
        end             => [1],     # 400
        clockabs        => 400,
        format          => 'twostate',
        clientmodule    => 'SD_UT',
        modulematch     => '^P130#',
        preamble        => 'P130#',
        length_min      => '24',
        length_max      => '25',
      },
Intel(R) Atom(TM) CPU N270 mit 2 SIGNALduino nanoCC1101 + ESPEasy 2x serial server SIGNALduino nanoCC1101, Raspberry Pi 2 mit 2 CUL Stackable CC1101, Raspberry Pi 3 mit SIGNALduino radino + nano328 + 2 x SIGNAL-ESP CC1101 + 1 x rf_Gateway + 1 x SIGNAL-STM