Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

Response On Security Off - Keypadid
 Moderated by: slychiu
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Thursday Nov 2nd, 2017 08:17 pm
   PM  Quote  Reply 
1st Post
marcobeleza
Member
 

Joined: Sunday Mar 13th, 2016
Location:  
Posts: 12
Status: 
Offline

  back to top

Hello, I have a problem on a response when i disarm the alarm.

I want to make a different action depending on which keypad i use to disarm the alarm.

Something like this.

If KeypadId = 1 Then
Set Flag Flag001
End If
If KeypadId = 2 Then
Set Flag Flag002
End If

Can anyone help me ?
Thanks,



 Posted: Friday Nov 3rd, 2017 05:45 am
   PM  Quote  Reply 
2nd Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5853
Status: 
Offline

  back to top

What is the problem with the response that you have written? Does it not work?

what are you trying to achieve?



 Posted: Sunday Nov 5th, 2017 04:08 am
   PM  Quote  Reply 
3rd Post
marcobeleza
Member
 

Joined: Sunday Mar 13th, 2016
Location:  
Posts: 12
Status: 
Offline

  back to top

Hi, Thanks for the quick replay.
The response is not working.
I want to execute different actions depending on which keypad I disarm the alarm.
The code I sent in my question was just an example. The real code of the response is the one bellow.
I want one action when i disarm the alarm on keypad 3 (the garage) and one action when I disarm the alarm on keypad 1 during daytime.

If KeypadId = 3 Then
Clear Flag Estor_Cozinha
End If
If KeypadId = 1 And Flag SunRise <> 0 Then
Knx2 Off KNX2 6405
Knx2 DimAbs KNX2 6403 100
Knx2 Off KNX2 6411
Knx2 Off KNX2 6421
End If


What could be wrong ? 

Thanks

Last edited on Sunday Nov 5th, 2017 04:21 am by marcobeleza



 Posted: Sunday Nov 5th, 2017 08:37 am
   PM  Quote  Reply 
4th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5853
Status: 
Offline

  back to top

It looks like you are correct


We have confirmed that keypadID does not give the last keypad used. We will fix this in the next firmware release

Thanks for the feedback



 Posted: Tuesday Nov 7th, 2017 06:42 am
   PM  Quote  Reply 
5th Post
marcobeleza
Member
 

Joined: Sunday Mar 13th, 2016
Location:  
Posts: 12
Status: 
Offline

  back to top

Hi, Thanks for the reply,

Any expected release date for the next firmware ?

Thanks.

Last edited on Tuesday Nov 7th, 2017 06:43 am by marcobeleza



 Posted: Tuesday Nov 7th, 2017 04:19 pm
   PM  Quote  Reply 
6th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5853
Status: 
Offline

  back to top

We will release a beta version soon



 Posted: Thursday Nov 9th, 2017 04:03 pm
   PM  Quote  Reply 
7th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5853
Status: 
Offline

  back to top

ULT 7.130 beta fixes the problem with teh Keypad ID
See http://www.comfortforums.com/view_topic.php?id=4789&forum_id=79



 Posted: Saturday Nov 11th, 2017 05:56 pm
   PM  Quote  Reply 
8th Post
marcobeleza
Member
 

Joined: Sunday Mar 13th, 2016
Location:  
Posts: 12
Status: 
Offline

  back to top

Hi,
I´m sorry to say... but after the update of the beta firmware the problem still remain.
Kind Regards,





 Posted: Sunday Nov 12th, 2017 06:48 am
   PM  Quote  Reply 
9th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5853
Status: 
Offline

  back to top

Are you sure you upgraded to 7.130?

In the file alarme 1_1_2017 that you sent, the Controler firmware shows 7.117
Did you do a scan for modules after you upgraded?

After you have made sure that you have  upgraded to 7.130 please try the following


Open UCM I/O Monitor by clicking "Show"
Click Login and use your use code to log in if you are not yet logged in

In the Command window enter DA4910. This is the action code for Get Keypad ID
The reply should be
RA4100   for Keypad ID =1
RA4200   for Keypad ID=2
RA4300   for keypad ID=3
etc
Go to each keypad and log in
Then enter DA4910 and check what is the reply, and if the keypad ID reported is the expected one.

eg the screenshot below shows keypad id =1
This shows that the action If keypad ID is working, and the problem may be in the Response or you may be looking at the wring effects

Last edited on Thursday Nov 16th, 2017 07:13 am by slychiu



 Posted: Sunday Nov 12th, 2017 12:11 pm
   PM  Quote  Reply 
10th Post
marcobeleza
Member
 

Joined: Sunday Mar 13th, 2016
Location:  
Posts: 12
Status: 
Offline

  back to top

Hi,
The file i sent to you was not upgraded one yet. But the test were done on a upgraded version. I will send by email the last upgraded file.
I did a scan for all modules after the upgrade.
When i do the RA4910 code the response is:
> RA4910
< NA
When i log on keypad 1 and then do DA4910 the response seams correct:
> DA4910 
< RA0100
Thanks




 Posted: Sunday Nov 12th, 2017 05:08 pm
   PM  Quote  Reply 
11th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5853
Status: 
Offline

  back to top

Sorry, typing mistake
The command should be DA4910 not RA4910
DA means Do action
RA is the reply


The problem could be the interpretation of the response

Log in on a keypad 1 to 3
Go to the Response and Execute Reponse directly
The Response should execute based on the last keypad used


Last edited on Thursday Nov 16th, 2017 07:14 am by slychiu



 Posted: Sunday Nov 12th, 2017 09:08 pm
   PM  Quote  Reply 
12th Post
marcobeleza
Member
 

Joined: Sunday Mar 13th, 2016
Location:  
Posts: 12
Status: 
Offline

  back to top

Hi,
I have done the following test:
1 - Login to the first keyboard
2 - Make the command DA4910 and obtain this reply:
> DA4910
< RA0100
3 - Make a simple response: like this
If KeypadId = 1 Then
Clear Flag Estor_Cozinha
End If
4 - Directly execute the response and nothing happens. 
5 - Change the response to KeypadId > 1
  If KeypadId > 1 Then
Clear Flag Estor_Cozinha
End If
6 - Directly execute the response and nothing happens again.
7 - Change the response to KeypadId < 1
  If KeypadId < 1 Then
Clear Flag Estor_Cozinha
End If
6 - Directly execute the response and now it worked well...


It seems the keypadid variable is below 1 for keypad 1.
Thanks,






 Posted: Monday Nov 13th, 2017 04:42 pm
   PM  Quote  Reply 
13th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5853
Status: 
Offline

  back to top

You are correct. There was stil a problem with the action
Please upgrade to ULT 7.131 (Beta) This has fixed the problem. Your original response should work



 Posted: Thursday Nov 16th, 2017 01:59 am
   PM  Quote  Reply 
14th Post
marcobeleza
Member
 

Joined: Sunday Mar 13th, 2016
Location:  
Posts: 12
Status: 
Offline

  back to top

Hi,
The problem has been fixed. The response is now working well.
Thanks,



 Posted: Thursday Nov 16th, 2017 07:12 am
   PM  Quote  Reply 
15th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5853
Status: 
Offline

  back to top

The correct action and reply with ULTY 7.131
is
DA4910        Get last keypad

reply:
RA4100    Keypad ID1

RA4200   Keypad ID2

RA4300   Keypad ID3

and so on



 Current time is 08:21 am
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems