RFD-FHEM / RFFHEM

Counterpart of SIGNALDuino, it's the code for FHEM to work with the data received from the uC
GNU General Public License v3.0
44 stars 33 forks source link

Support for Novy 80049 remote to control Novy Cloud 230 #1244

Open nhjschulz opened 3 months ago

nhjschulz commented 3 months ago

Specifications for new sensor / switch / or other device ...

Want to control a Novy Cloud 230 exhaust hood that came with a 840049 remote. But codes are not detected. THe FHEM module talks only about 840029 and 80039 remote types. Codes are logged below. Let me know if I need to provide other information to support this remote.

80049

Specifications

defmod SignalduinoWLAN SIGNALduino 192.168.1.106:23 attr SignalduinoWLAN whitelist_IDs 86

setstate SignalduinoWLAN opened setstate SignalduinoWLAN 2024-03-19 19:50:41 cc1101_config Freq: 433.920 MHz, Bandwidth: 325 kHz, rAmpl: 42 dB, sens: 8 dB, DataRate: 5.60 kBaud setstate SignalduinoWLAN 2024-03-19 19:50:41 cc1101_config_ext Modulation: ASK/OOK setstate SignalduinoWLAN 2024-03-19 19:50:41 cc1101_patable C3E = 00 84 00 00 00 00 00 00 => 5_dBm setstate SignalduinoWLAN 2024-03-19 19:52:10 ping OK setstate SignalduinoWLAN 2024-03-19 19:50:40 state opened

Logs from file unknown_please_select_model-2024.log

"Novy Key" (Unten): 2024-03-19_19:37:43 unknown_please_select_model ??? 2024-03-19_19:37:43 unknown_please_select_model unknownMSG: 010101010100 (protocol: 86) 2024-03-19_19:37:46 unknown_please_select_model ??? 2024-03-19_19:37:46 unknown_please_select_model unknownMSG: 010101010100 (protocol: 86) 2024-03-19_19:37:50 unknown_please_select_model ??? 2024-03-19_19:37:50 unknown_please_select_model unknownMSG: 010101010100 (protocol: 86)

(') Power (2te von unten): 2024-03-19_19:38:12 unknown_please_select_model ??? 2024-03-19_19:38:12 unknown_please_select_model unknownMSG: 01010101011101001100 (protocol: 86) 2024-03-19_19:38:15 unknown_please_select_model ??? 2024-03-19_19:38:15 unknown_please_select_model unknownMSG: 01010101011101001100 (protocol: 86) 2024-03-19_19:38:17 unknown_please_select_model ??? 2024-03-19_19:38:17 unknown_please_select_model unknownMSG: 01010101011101001100 (protocol: 86)

"-" Key (Mitte) 2024-03-19_19:38:22 unknown_please_select_model ??? 2024-03-19_19:38:22 unknown_please_select_model unknownMSG: 010101010110 (protocol: 86) 2024-03-19_19:38:28 unknown_please_select_model ??? 2024-03-19_19:38:28 unknown_please_select_model unknownMSG: 010101010110 (protocol: 86) 2024-03-19_19:38:30 unknown_please_select_model ??? 2024-03-19_19:38:30 unknown_please_select_model unknownMSG: 010101010110 (protocol: 86)

"+" Key (2te von open) 2024-03-19_19:38:35 unknown_please_select_model ??? 2024-03-19_19:38:35 unknown_please_select_model unknownMSG: 010101010101 (protocol: 86) 2024-03-19_19:38:38 unknown_please_select_model ??? 2024-03-19_19:38:38 unknown_please_select_model unknownMSG: 010101010101 (protocol: 86) 2024-03-19_19:38:40 unknown_please_select_model ??? 2024-03-19_19:38:40 unknown_please_select_model unknownMSG: 010101010101 (protocol: 86) 2024-03-19_19:38:42 unknown_please_select_model ??? 2024-03-19_19:38:42 unknown_please_select_model unknownMSG: 010101010101 (protocol: 86)

"Sonne" (oben) Licht an/aus/Farbe 2024-03-19_19:38:47 unknown_please_select_model ??? 2024-03-19_19:38:47 unknown_please_select_model unknownMSG: 01010101011101000100 (protocol: 86) 2024-03-19_19:38:50 unknown_please_select_model ??? 2024-03-19_19:38:50 unknown_please_select_model unknownMSG: 01010101011101000100 (protocol: 86) 2024-03-19_19:38:55 unknown_please_select_model ??? 2024-03-19_19:38:55 unknown_please_select_model unknownMSG: 01010101011101000100 (protocol: 86)

elektron-bbs commented 3 months ago

Ich habe es jetzt noch nicht getestet, aber auf den ersten Blick sollte das Model "Novy_840029" passen. Du müsstest dazu nur das Attribut "model" auf diesen Wert setzen. Nach Empfang einiger gültiger Nachrichten von deiner Fernbedienung sollte es dir ein neues Gerät mit diesem Namen anlegen.

Falls das so funktioniert, müssen wir nur die Doku um diese Modellnummer erweitern. Falls nicht, bräuchten wir RAW-MSG von allen Tasten der Fernbedienung. Diese sehen in etwa so aus:

MU;P0=710;P1=353;P2=-403;P4=-761;P6=-16071;D=20204161204120412041204120414141204120202041612041204120412041204141412041202020416120412041204120412041414120412020204161204120412041204120414141204120202041;CP=1;R=40;

Diese werden ins Log geschrieben, wenn du bei deinem SIGNALduino das Attribut "verbose" auf den Wert 4 setzt.

nhjschulz commented 3 months ago

Ja mit "Novy_840029" klappt es tatsächlich. Alle 5 Tasten verhalten sich richtig. War natürlich wieder Murphy. Ich hatte es mit dem "Novy_840039" Model probiert, weil im FHEM Forum die 80039 für die Novy Cloud genannt wurde.

Ich habe trotzdem mal mit VERBOSE 4 einen Log mitgeschnitten und angehängt.
80049log.txt

Danke für deine schnelle Analyse! Ich werd nun eine Platine /Gehäuse für einen 8266 Signaldunio basteln. Denke aber die SW ist OK mit Hinweis das die Novy 80049 Remote compatibel zur 80029 ist.

nhjschulz commented 3 months ago

Addon: Ich habe nochmal mit dem Model Novy_80039 getestet und da reagiert die Abszugshaube nun doch auch. Man kann also beide existierenden Modelle verwenden. Nun frage ich mich warum es vorgestern damit nicht geklappt hat.

elektron-bbs commented 3 months ago

Es dürften aber wahrscheinlich mit der Definition Novy_840039 nicht alle Funktionen bedienbar sein und einige Tastencodes fehlen bzw. sind anders:

  'Novy_840029' =>  { '0100'       => 'novy',
                      '0101'       => 'speed_plus',
                      '0110'       => 'speed_minus',
                      '0111010001' => 'light_on_off',  # 0111010000
                      '0111010011' => 'power_on_off',  # 0111010010
                      hex_length   => [3,5],           # 3 or 5, not 3.5
                      Protocol     => 'P86',
                      Typ          => 'remote'
                    },
  'Novy_840039' =>  { '0101'       => 'fan_plus',                # Novy_840029 same code!
                      '0110'       => 'fan_minus',               # Novy_840029 same code!
                      '0110011010' => 'fan_right',
                      '0110011101' => 'fan_left',
                      '0110110011' => 'cooking_light_dim_minus',
                      '0110110100' => 'cooking_light_off',
                      '0110110101' => 'cooking_light_dim_plus',
                      '0110110110' => 'cooking_light_on',
                      '0110111011' => 'ambient_light_dim_minus',
                      '0110111100' => 'ambient_light_off',
                      '0110111101' => 'ambient_light_dim_plus',
                      '0110111110' => 'ambient_light_on',
                      '0111001000' => 'reset_clean_led',
                      '0111001011' => 'cooking_light_warm',
                      '0111001101' => 'ambient_light_warm',
                      '0111001110' => 'cooking_light_cold',
                      '0111010011' => 'power_on_off',            # Novy_840029 same code!
                      '0111010110' => 'ambient_light_cold',
                      hex_length   => [3,5],                     # 3 or 5, not 3.5
                      Protocol     => 'P86',
                      Typ          => 'remote'
                    },
nhjschulz commented 3 months ago

Tatsächlich reagiert die NovyCloud auf fast alle Codes der 840039. Man hat also mehr Möglichkeiten als mit der 840029 oder 840049. Hier eine genauere Analyse:

Taste Ergebins
fan_plus OK
fan_minus OK
fan_right Ständiger Wechsel zwischen Lichtfarbe ambient und weiß - Test-Funktion ?
fan_left keine Reaction
cooking_light_dim_minus OK
cooking_light_off OK
cooking_light_dim_plus OK
cooking_light_on OK
ambient_light_dim_minus OK
ambient_light_off OK
ambient_light_dim_plus OK
ambient_light_on OK
reset_clean_led Konnte nicht getestet werden da aktuell nicht aktiv
cooking_light_warm Gleich wie cooking_light_cold
ambient_light_warm OK
cooking_light_cold OK
power_on_off OK
ambient_light_cold Gleich wie ambient_light_warm