FHEM Forum

FHEM - Hausautomations-Systeme => ZWave => Thema gestartet von: davidm am 09 August 2014, 08:56:21

Titel: Duwi 05445 Remote Control
Beitrag von: davidm am 09 August 2014, 08:56:21
Hello,

I am running fhem on Raspberry Pi with a Aeotec zwave dongle.  All works well and I have associated devices to the ZWDongle without issue.   

I have a problem now, I cannot get my remote control (http://www.vesternet.com/downloads/dl/file/id/203/z_wave_duwi_remote_control_manual.pdf) to associate with the dongle. I have tried calling  addNode to 'On'. The state is Initialized.

Thankyou!

Titel: Antw:Duwi 05445 Remote Control
Beitrag von: rudolfkoenig am 09 August 2014, 11:34:23
AFAIK (some?) ZWave remote controls are not simple sensors, in the sense that they are sending the number of a pressed button to the dongle, but are themselves a controller, like the dongle, and they are expected to be paired with the devices themselves. I've never heard of FHEM working with a remote control, nor do I know how the communication should work in the theory.

But I am willing to fix it, if somebody tells me what is needed, or (even better) sends me a patch to integrate.
Titel: Antw:Duwi 05445 Remote Control
Beitrag von: davidm am 25 August 2014, 10:53:22
Rudolf,

Thanks for the speedy reply and apologies for the delay - i have been on vacation.

The instructions suggest it can be set up either as i) a controller  or ii) as a switch. When setting it up in the switch mode, there is a command (press the Incl button three times) which suggests it should associate with controller.  I am a bit of a beginner, but would be keen to provide anything which might get this working.  I am not sure where to start - is it an FHEM problem or a ZW Dongle problem?

Thanks to anyone who can help.
Titel: Antw:Duwi 05445 Remote Control
Beitrag von: rudolfkoenig am 25 August 2014, 21:23:48
It is most probably a FHEM problem. You could try to associate with FHEM global verbose level 5 and post the result here.
Titel: Antw:Duwi 05445 Remote Control
Beitrag von: davidm am 19 Oktober 2014, 18:32:21
Hi,

Initially the remote would not create any response on the fhem log even on verbose level 5. However the 'All Off' and 'All On' commands did create output;

2014.10.19 10:51:49 5: ZWDongle/RAW: /010800040405022704d3
2014.10.19 10:51:49 5: SW: 06
2014.10.19 10:51:49 5: ZWDongle_Read ZWDongle_0: 00040405022704
2014.10.19 10:51:49 5: ZWDongle_0 dispatch 00040405022704
2014.10.19 10:51:49 4: ZWDongle_0 CMD:APPLICATION_COMMAND_HANDLER ID:05 ARG:022704
2014.10.19 10:51:49 3: Unknown ZWave device 0161f8c5 5, please define it

2014.10.19 10:51:52 5: ZWDongle/RAW: /010800040405022705d2
2014.10.19 10:51:52 5: SW: 06
2014.10.19 10:51:52 5: ZWDongle_Read ZWDongle_0: 00040405022705
2014.10.19 10:51:52 5: ZWDongle_0 dispatch 00040405022705
2014.10.19 10:51:52 4: ZWDongle_0 CMD:APPLICATION_COMMAND_HANDLER ID:05 ARG:022705
2014.10.19 10:51:52 3: Unknown ZWave device 0161f8c5 5, please define it

During my testing i have created some association with some other zwave devices. It may be that I need to associate the Group / Scene buttons to devices before I can use them.  This is not really what i had hoped for. I just want to use the remote to trigger FHEM events not necessarily z wave devices.

Thanks for any help.
 
Titel: Antw:Duwi 05445 Remote Control
Beitrag von: rudolfkoenig am 20 Oktober 2014, 07:53:12
I was experimenting with the same device a month ago, and asked in the zwave.de forum for help, and they answered promptly.

Result: this remote was not built for this purpose, so you have to use a workaround by creating virtual ZWave devices in the ZWave controller (== dongle) and pair the remote with them. But there are currently no known ZWave dongles available which support more than one virtual device, as this is part of the bridge functionality of the ZWave stack, which is not compiled into the dongle-firmware.

Configuring the single virtual device is currently not working correctly in FHEM, but I gave up debugging, as a remote with one configurable button is not what I want.
Titel: Antw:Duwi 05445 Remote Control
Beitrag von: davidm am 22 November 2014, 09:40:15
Thankyou for this confirmation. It fits with my understanding. 

if you here news of the Virtual device working in FHEM, then I would be grateful to hear about it.  Any help on the configuration that I can watch for?

Thanks again for your support.
Titel: Antw:Duwi 05445 Remote Control
Beitrag von: davidm am 01 Mai 2015, 00:51:54
Hi,

Just wanted to check if there was any progress in creating virtual devices which could be controlled by a zwave remote. I found some commentary about zvirtualScenes but I am afraid my lack of German does not help.  Thanks in advance.
Titel: Antw:Duwi 05445 Remote Control
Beitrag von: rudolfkoenig am 01 Mai 2015, 10:23:37
I dont expect any progress here. In the meantime I switched to the ZWave.me remote: identical hardware with a reasonable firmware, and is working perfectly with FHEM. If you have problems understanding my HOWTO (http://forum.fhem.de/index.php/topic,35513.0.html) on configuring it, just ask.
Titel: Antw:Duwi 05445 Remote Control
Beitrag von: Webweazle am 25 April 2016, 11:26:43
Ich habe gestern eine dieser DÜWI-FB (5445) bei Amazon für 19€ gekauft. Die Haptik ist sehr gut, die Beleuchtung auch.
Das Pairing mit dem Aeonlabs Z-WAVE-Stick Gen5 und FHEM auf einem Rpi2 ging problemlos (Dongle mit "addNode on" in Paarungslaune versetzen und an der DÜWI den INCLUDE-Button für 2 Sekunden drücken).
Die DÜWI eignet sich in erster Linie für die DIREKTE Steuerung von Geräten. Und das geht ebenfalls problemlos: "Auf"-oder "Ab"-Taste der gewünschten Nr. dreimal inerhalb von 1,5 s drücken und die FB-LED blinkt grün. Beim gewünschten (und auch schon mit fhem gepairten Gerät) drei mal die übliche Taste bei Z-Wave-Geräten drücken und schon lässt sich mit der FB dieses Gerät an- und ausschalten und ggf. dimmen, ohne jedes Zutun von fhem.
Eine detaillierte Anleitung gibt es hier:
http://www.siio.de/duewi-fernbedienung-z-wave-netzwerk-ohne-smart-home-gateway-einrichten/
Und ein seltenes Feature: der aktuelle Schaltzustand eines Gerätes (ein/aus) ist durch Druck auf die jeweilige Gerätenummer abfragbar. Ob meine Steckdosen im Stockwerk darüber an oder aus sind, kann ich so quasi "remote" sehen.

Um mal eben für knappe 20€ bis zu 10 Geräte, Schalter und Dimmer steuern zu können, ist das Gerät durchaus empfehlenswert.
So als (zweite) Sofa-FB geradezu ideal.
Interessanterweise schalten die All-Tasten meine Fibaro-Dimmer an und aus und das, obwohl sie (noch) gar nicht an die FB angelernt wurden. Die angelernten Geräte juckt "All on" (oder off) gar nicht. (Kann man aber auch konfigurieren).  Mit fhem ist die FB aber out-of-the-box nicht konfigurierbar. Wenn man das möchte, nimmt man besser die Nachfolgerin der Firma ZME (Z-WAVE.ME), die DÜWI in 2014 übernommen hat (also ZME hat DÜWI übernommen). Die Hardware ist zwar identisch, aber die Firmware lässt eine Konfiguration via fhem zu. Ok, kostet halt fast doppelt so viel. Da meine Zielsetzung für die Smarthome-Technologie lautet: "was die Geräte alleine können, sollen sie auch alleine tun", reicht mir die 5445 völlig aus.
Nachtrag:
Habe nun auch die "Domitech ZBulb dimmbare LED Leuchte Z-Wave Plus DOMEZBULB" (ca. 34€) direkt mit der FB koppeln können. Die FB dazu durch drei-mal Drücken der "auf oder ab"-Taste innerhalb von 1,5 s in den Anlernmodus versetzen und mit dem Schalter, der bisher die Lampe bzw. Birne an/aus-schaltete, 2 mal den Zyklus "an - aus" durchlaufen. Die LED-Birne blinkt danach zwei mal um die ordentliche Kopplung zu bestätigen. Fertig. Danach lässt sich die Birne direkt mit der FB schalten (wieder komplett ohne Zutun von fhem) und durch längeres Drücken auch dimmen. Und über den normalen 220V-Schalter kann die Lampe immer noch ein und aus geschaltet werden (ja, auch EIN, sogar wenn sie via FB oder fhem aus geschaltet worden ist), was für einen hohen WAF sorgt. Und für die komplizierteren Automatismen muss halt fhem selbst ran. Ich bin von der FB ganz begeistert.

Szenen:
die DÜWI5445 verfügt über drei Szenetasten, die sich genauso einfach wie die Schalttasten konfigurieren lassen. Statt bei den Tasten 1-7 den Anlernmodus zu aktivieren, drückt man drei mal eine der Szenen-auf/ab-Tasten. Dann stellt man z. B. einen Fibaro- oder Aeonlabs-Dimmer auf die gewünschte Helligkeit und drückt dann dreimal die Taste am Dimmer. Das wiederholt man (irgendwann) mit allen Geräten, die Teil der Szene sein sollen. Ein Aktivieren der Szene bringt dann alle verbundenen Geräte in exakt den korrekten Helligkeitszustand. Oder man dimmt alle Geräte gleichzeitig rauf und runter. Funktioniert alles.