Button push resulting in blind up or down


#1

Give a description of the problem**
I have a Ikea button which came with my Ikea Blind which has a push up and down function. And the Ikea blind which i currently have set to open close via webcore.

What is the expected behaviour?**
what i want to do to is when the button is held either up or down the blind to open or closes.


#2

Just for the record, with most buttons, a long press only sends one signal (once the button has been held long enough). It does not send a constant signal during the time it is held.

From webCoRE’s perspective, this means each “held” can only act as a single trigger.
(we cannot use the command “continue opening blinds until I let go of the button”)


#3

You may need to use a specific controller for the blind. Fibaro make one which has a number of operating modes. I’m not sure how easy it would be to integrate into an Ikea blind.


#4

Not sure if this is of any use but my button outputs the following and in WC can see bottom button , release and top.


current%20status


#5

So I’ve managed to get the button to adjust the blind up by 25% per Push however I can’t get it to go down by 25%


#6

Shot in the dark here since I don’t have one of these but can you make that line 27 a negative value? “Adjust level by -25%”?


#7

In addition to @SergL’s suggestion, I would also move the last IF (lines 21-29) totally outside of the first IF.


#8

Perfect using the - worked , don’t know what I didn’t see that :slight_smile: thanks