Mit den Sonoff DW2 wird das hier wohl keine Liebesbeziehung mehr.
Die WLAN-Variante lässt sich nur mit Netzen verbinden, die 802.11b unterstützen - trotz einigen Gebastels bekam ich das vorhandene Exemplar aber nicht gekoppelt. Eigentlich möchte ich allerdings sowieso nicht nur für diese eine Gerätegattung das uralte Protokoll wieder dauerhaft aktivieren.
Beim Sonoff DW2-RF hingegen lief die Kontaktaufnahme überraschend gut - rtl_433 ließ sich mit einem passend konfigurierten Flex-Decoder schnell zum Paketempfang überreden. Die Daten landeten dann ohne weitere Konfigurationserfordernis brav beim Mosquitto-Server.
Allerdings senden beide Geräte nur Datenpakete, wenn der Kontakt geöffnet wird, nicht beim Schließen. Das reicht ggf. für Alarmzwecke, jedoch nicht, um den aktuellen Zustand von Fenstern/Türen anzuzeigen. Es gibt zwar einen gar nicht mal so aufwendigen Umbau , aber ob ich darauf irgendwann mal Lust habe …
#Sonoff #SonoffDW2 #Hausautomation #Türsensor #Fenstersensor

HACK: Adding a Close signal to the Sonoff DW2-RF
Hi, thank you for this hack, it works and I used the same resistance values as you 300ohm and 470ohm. Even if there is a delay of 6 seconds when closing before the “closed” command is sent it is not a big deal because the “open” command is instantaneous. Note that the closed command won’t be sent if you open it again within that 6 seconds delay and you will basically receive 2 open commands in a row. Now i can actually use this sensor for something not very critical (because it doesn’t rep...
