This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Push Button for shutter
#9
(04.10.2018, 10:01)Domoticatorino Wrote:
(01.10.2016, 14:18)Domoticatorino Wrote:
(30.09.2016, 19:41)buuuudzik Wrote:
(30.09.2016, 14:43)Domoticatorino Wrote: Dear All,
I would like to make a pushbutton for shutter. I mean that this button should send "1" or "0" everytime I push it but graphically the state has to come back to the original state.
I hope to be clear.

Thank you very much.

Claudio

This should be 2 buttons: up and down. Every button should has the status object. Like here:
UP main:1/1/1 status:1/1/2
DOWN main:1/1/3 status:1/1/4

Main object should have event script with e.g.
Code:
status = '1/1/2'
time = 1 -- how much seconds to go back to normal image
grp.write(status, true) -- change the image to "clicked"
os.sleep(time) -- wait
grp.write(status, false) -- change the image to "normal"

Ok. Done. Thank you.

Hi,
I am upgrading this function and as you can see KNX movement object is the same (eg. 1/1/1). 0 for the up and 1 for the down.

It mean that graphically especially in phone visualisation we have on button up and the other down. How can we fix the visualisation always down?

Thanks.

Hi Daniel,
have you improved the manage of shutter in visu format? Is there a ready widget like in Mosaic for shutter?

Thank you very much.
Reply


Messages In This Thread
Push Button for shutter - by Domoticatorino - 30.09.2016, 14:43
RE: Push Button for shutter - by buuuudzik - 30.09.2016, 19:41
RE: Push Button for shutter - by Domoticatorino - 13.03.2019, 09:17
RE: Push Button for shutter - by Daniel - 04.10.2018, 10:17
RE: Push Button for shutter - by Daniel - 05.10.2018, 10:08
RE: Push Button for shutter - by Regis - 08.01.2019, 11:50
RE: Push Button for shutter - by Daniel - 13.03.2019, 09:24

Forum Jump: