Emit Enocean long press from a domoticz switch device

Post Reply
lolle
Posts: 1
Joined: Saturday 11 November 2017 23:37
Target OS: Raspberry Pi
Domoticz version:
Contact:

Emit Enocean long press from a domoticz switch device

Post by lolle » Sunday 12 November 2017 11:27

I am wondering if there is a way to emit an Enocean long press from a domoticz switch device.

In my case I would like it to implement the full open/close feature for a blinds actor. Per default this actor (PEHA 452 FU-EBI JR o.T) behaves as follows when connected to a switch:
- short press on/off -> move blinds up/down while the button is pressed
- long press on/off -> fully open/close blinds (to the open/close end position)
In domoticz I didn't find a way to make a switch type "Blinds" (or any other switch type) to emit a long press. Can anyone point me to the solution how to achieve this?
(The actor has many other EEPs (Enocean equipment profiles) but none of the seems to implement the "fully open/close" on short press.)

AFAIK, the Enocean switch information is always transmitted via two Enocean messages, one on button down ("press") and one on button up ("release"). Thus for a long press the time distance between these messages is more than a certain "long press threshold". It would be very nice if this time distance could be configured for a domoticz switch, but I didn't figure out how to do it.

Maybe there is a way to do that with some complicated scripting (which I didn't take a look at yet), but the "long press" seems quite essential to me and might be usefull for other devices as well, so I fell like I miss something here, right?

Thanks a lot in advance for any help!

Lorenz

lazaruss72
Posts: 2
Joined: Friday 15 December 2017 0:13
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Emit Enocean long press from a domoticz switch device

Post by lazaruss72 » Sunday 17 December 2017 16:50

Hello,

i have the same problem with my blinds.
i also need the feature of a "long" press.

Is there anyone who know the right way or a workaround?

thanks a lot
best regards

marco

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests