Hello ... how can I set a remote control so that it switches a lamp on and off.
I have an Eltako FTTB.
Press once to turn on the light.
and pressing again should turn the light off.
Oh sorry...
i mean i try this profile (A5-07-01) but if i press the button and hold, the lamp switch on....when i release the button, the lamp switch off.
is it possible to make: one normal press the button = lamp on
and second time normal press the button = lamp off
We can't change how the device works but you can make a script. Map the switch to a virtual object and create event script. Each time you receive off send opposite value to your control object.
21.01.2020, 18:17 (This post was last modified: 21.01.2020, 18:27 by Tee_Trinker.)
i create it, but its the same...
when i press the button the lamp comes on and when i let go it goes out.
but it should stay on. the lamp should only be off when I press again
like a changeover switch
sorry for my Englisch
(22.01.2020, 14:47)Erwin van der Zwart Wrote: Hi Daniel,
Probably not as he is using the profile combined with the script.
He needs to use a raw 4 byte profile and see the value on release, probably 76 or something.
Then the script must be if event.getvalue() == 76 then ...
This way you bypass the “doorbell button” function that the A5 profile is doing.
BR,
Erwin
It is the same only you save one object. With profile on release must be off.
Log the virtual object and let me know what you get when pressed and released.
22.01.2020, 15:26 (This post was last modified: 22.01.2020, 15:28 by Tee_Trinker.)
(22.01.2020, 14:54)Daniel. Wrote:
(22.01.2020, 14:47)Erwin van der Zwart Wrote: Hi Daniel,
Probably not as he is using the profile combined with the script.
He needs to use a raw 4 byte profile and see the value on release, probably 76 or something.
Then the script must be if event.getvalue() == 76 then ...
This way you bypass the “doorbell button” function that the A5 profile is doing.
BR,
Erwin
It is the same only you save one object. With profile on release must be off.
Log the virtual object and let me know what you get when pressed and released.
it looks he remote send alltime a off...
at this pic i press the button and hold.. and after 5seconds i release the button