Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register
Comfort Automation/ Security System Forums > Support > Questions on Programming Comfort > Program short and long actions on pushbuttons

Program short and long actions on pushbuttons
 Moderated by: slychiu
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Friday Jan 18th, 2013 01:29 pm
   PM  Quote  Reply 
1st Post
cab123
Member
 

Joined: Saturday Oct 3rd, 2009
Location: Coimbra, Portugal
Posts: 25
Status: 
Offline

  back to top

- Button_ON
Do Long_Response After 2 Seconds Using Timer01

- Button_OFF
If Timer Timer01 <> 0 Then
Stop Timer Timer01
Do Short_response
End If


The ideal timer (for me) would be 1,5 seconds.


I use this in two situations:
- entry button:
short press: toggle corridor light
long press:
if any light is on: turn off all lights (exit house)
else turn on the light path to the kitchen

Restroom:
short: toggle light
long: toggle heater


Most KNX modules handle this, so can cytech ... :-)


Cab123



 Posted: Saturday Jan 19th, 2013 01:07 am
   PM  Quote  Reply 
2nd Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

It is good to see that you figured this out. Congratulations



 Current time is 11:03 am
Comfort Automation/ Security System Forums > Support > Questions on Programming Comfort > Program short and long actions on pushbuttons
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems