Closed hardtacker closed 5 years ago
Habe gerade folgendes herausgefunden
duino/msg READ: MS;P0=-917;P1=251;P2=842;P3=-333;P4=-9120;D=14102323231010232310101010101010101023231023232310;CP=1;SP=4;O; 2017.02.07 23:42:44 4: sduino: Matched MS Protocol id 3 -> itv1 2017.02.07 23:42:44 5: sduino: Starting demodulation at Position 2 2017.02.07 23:42:44 4: sduino: Decoded MS Protocol id 3 dmsg i73006E length 24 2017.02.07 23:42:44 5: sduino: converted Data to (i73006E) 2017.02.07 23:42:44 5: sduino: dispatch i73006E 2017.02.07 23:42:44 4: sduino IT: message "i73006E" (7) 2017.02.07 23:42:44 4: sduino IT: msgcode "" (0) bin = 011100110000000001101110 2017.02.07 23:42:44 5: sduino IT: EV1527 housecode = 1527x73006 onoffcode = 1110 2017.02.07 23:42:44 4: sduino IT: 1527x73006 not defined (Switch code: 1110) 2017.02.07 23:42:44 5: Starting notify loop for global, 1 event(s), first is UNDEFINED IT_1527x73006 IT 1527x73006 1110 0000 2017.02.07 23:42:44 4: autocreate: received 1 event(s) for 'IT 1527x73006 1110 0000' during the last 30 seconds 2017.02.07 23:42:44 4: autocreate: ignoring event for 'IT 1527x73006 1110 0000': at least 2 needed 2017.02.07 23:42:44 5: End notify loop for global
Laut dem Hersteller vom Modul KERUI D025
Eigenschaften
Funk- Sensor (keine Verkabelung erforderlich)
Tür- / Fensterkontakt
innen liegende Antenne
LED- Statusanzeige
Funkfrequenz 433 MHz
Reichweite bis zu 80 m im Freien (im Gebäude kleinere Abstände)
Code- Format EV1527
Oszillator- Widerstand 4,7 MΩ (nicht geeignet für Heimautomatisierung RFXtrx 433)
Batteriebetrieb 12 V (Batterietyp: MN21 (23A))
standby- Stromverbrauch < 25 μA
einfache Befestigung durch doppelseitige Klebestreifen
Arbeitstemperatur - 10 °C - 40 °C
Maße Sender (L x B x H) 70 x 36 x 15 mm
Maße Magnet (L x B x H) 55 x 13 x 13mm
Gewicht (Sender + Magnet + Batterie) ca. 38 g
Code-Format ist EV1527. Dies wurde ab und an auch vom FHEM erkannt.
Liegt es eventuell am Empfänger das ein besser benötigt wird?
Würde dieser Fensterkontakt überhaupt funktionieren?
Laut Hersteller-Kommentar: Oszillator- Widerstand 4,7 MΩ (nicht geeignet für Heimautomatisierung RFXtrx 433)??
433MHZ Empfänger XD-RF-5V
Mit diesem unbrauchbaren Empfänger wirst Du keinen stabilen und zuverlässigen Empfang bekommen.
Mit etwas Glück hast Du evtl im Umkreis von ca 1-2m einen brauchbaren Empfang.
Ein Superheterodyne Empfänger ist da sehr deutlich besser. z.B. ein RXB6
http://www.ebay.de/itm/RXB6-433-Mhz-Superheterodyne-Funkempfanger-/172297596527?hash=item281dbcae6f:g:65gAAOSwpLNX92xb
2017.02.07 23:42:44 4: sduino IT: 1527x73006 not defined (Switch code: 1110)
2017.02.07 23:42:44 5: Starting notify loop for global, 1 event(s), first is UNDEFINED IT_1527x73006 IT 1527x73006 1110 0000
2017.02.07 23:42:44 4: autocreate: received 1 event(s) for 'IT 1527x73006 1110 0000' during the last 30 seconds
2017.02.07 23:42:44 4: autocreate: ignoring event for 'IT 1527x73006 1110 0000': at least 2 needed
Hier steht, warum das autocreate nicht geklappt hat. Es sind innerhalb 30 Sek 2 events notwendig.
Hallo,
habe mir schon einen besseren Empfänger bestellt. Sollte zum Wochenende ankommen.
Aber die Türkontakte sollten dann mit dem IT-Protokoll funktionieren?
Wie kann ich später denn auf das Signal reagieren? Würde gerne im Fhem eine Lampe darstellen, die leuchtet wenn das Fenster auf ist.
Ob sich der Fensterkontakt sauber in fhem darstellen lässt hängt davon ab ob dies ein richtiger Fensterkontakt ist der auch beim Schließen was sendet. Es gibt auch Fensterkontakte die nur beim Öffnen was senden.
So mit dem neuen und besseren Empfänger wird, der Fensterkontakt dirket erkannt und auch in FHEM angelegt. Funktioniert einwandfrei. Nachteil am Fensterkontakt ist, dass er nur den Status offen schickt und nicht ob das Fenster wieder zu ist
da das ja wahrscheinlich ein Alarmkontakt ist wird nur das öffnen signalisiert (Einbruch). Das schließen bzw. zurückstellen erfolgt ja dann von Hand. MAX! und Homatic-Fensterkontakte (Heizungskontakte) signalisieren beide Zustände sowie den BAT-Stand.
Hier hat sich schon lange nichts mehr getan. Ich schließe das Issue. Bitte wieder öffnen, wenn es noch benötigt wird.
Arduino Uno dirket per USB Kabel am Raspberry Pi angebunden.
433MHZ Empfänger XD-RF-5V
Empfangspin ist am Pin 2 (D2) des Arduino Uno angeschlossen.
Automatisches Device wurde in Fhem angelegt.
Anbei das Log-File.
Es wurden im Endeffekt 2 Code decodiert,
sBD802A97D800 BD802997D000
Aber welcher nun richtig ist, keine Ahnung.