Hello everyone,
This is my first post into the Fhem Forum. I use Fhem for quite some time now. I bought recently some Aqara stuff on Aliexpress and I love them.
The smart wireless switch is one of my favorites accessories. The WXKG12LM has the following readings:
- click: single
- click: double
- action: hold
- action: release (after the hold command)
- action: shake
Of course the linkquality, battery and voltage, but those are not that interesting
I use a DOIF command for for a dimming light, but I could use some help with the hold and release command. I want that tot either brighten of dimming the light.
Who can help me with that?
Zitat(
[schakelaar_bed_Linde:click] eq "single" and
[Scene_bed_Linde] eq "off"
)
(
(set EnO_FFB7C70E dim 25) (set Scene_bed_Linde value 25 ) (set Scene_bed_Linde on)
)
DOELSEIF
(
[schakelaar_bed_Linde:click] eq "single" and
[Scene_bed_Linde] eq "on"
)
(
(set EnO_FFB7C70E off) (set Scene_bed_Linde off )
)
DOELSEIF
(
[schakelaar_bed_Linde:click] eq "double" and
[Scene_bed_Linde] eq "off"
)
(
(set EnO_FFB7C70E dim 50) (set Scene_bed_Linde value 50 ) (set Scene_bed_Linde on)
)
DOELSEIF
(
[schakelaar_bed_Linde:click] eq "double"
)
(
(set EnO_FFB7C70E off) (set Scene_bed_Linde off )
)
I can't send a dimUp or dimDown command to the Eltako FUD14, so do I need to use Notify or a Dummy?
As far as I see, your problem is not Zigbee but DOIF related, and if I'm right, then you problem belongs to the Automatisierung/DOIF part of the Forum. You can move the thread yourself with the button in the lower left corner (Thema Verschieben in German).
I assume that the support guys there will need a more detailed explanation of the statement "I can't send a dimUp or dimDown command to the Eltako FUD14".
You can try the Each command:
... DOELSEIF ([schakelaar_bed_Linde:action] eq "hold")
{fhem "set EnO_FFB7C70E dim ".Each("dim", "10,20,30,40,50,60,70,80,90,100")}