Page 1 of 3

NOOB Question: Webapp customization

PostPosted: Wed Aug 27, 2014 2:50 am
by ando1
Sorry if this has been answered or documented somewhere but I have searched and cannot find it.

I am new to the forum as I just got my ad2usb up and running last night (thanks for the excellent help Kevin). I have the device connected to a raspberrypi running the beta image and wondering if ten webapp can be customized to add buttons to the keypad. For instance I control my garage doors with my Vista 20P panel via the C and D buttons. I would like to customize the name of the button to display "garage door x" Also would like to be able to add buttons below the keypad to add these buttons.

Thanks,
Andy

Re: NOOB Question: Webapp customization

PostPosted: Wed Aug 27, 2014 9:03 am
by kevin
Modifying files directly will make it so you can't easily do an update from our git server - adds a few extra steps when you decide to update, not a huge deal.

You can find the template for this in /opt/alarmdecoder-webapp/ad2web/templates/keypad if you are using our image. Images are in the static folder in the ad2web

Thanks,
Kevin

Re: NOOB Question: Webapp customization

PostPosted: Mon Sep 01, 2014 9:20 am
by ando1
Thanks Kevin,

As I have no developer experience I am not sure where to start. Is there a "Dummy" version of how to do this? What I would like is to add 2 buttons to the keypad interface that would say "Left Garage" and "Right Garage". They would perform the functions of the C and D keys on my 6150 keypad as I have these keys programed to activate the garage doors. Alternatively the buttons could perform the keypad sequence <user code> + # + 7 +01 (Garage 1) and <user code> + # + 7 +02 (Garage 2).

For reference I found this post by a guy that created his own interface for the VISTAICM: http://www.geekytidbits.com/iphone-control-house-alarm-and-garage-doors/

Here is a screen shot of his keypad app: Image


Any help on this would be greatly appreiated.

Re: NOOB Question: Webapp customization

PostPosted: Mon Sep 01, 2014 11:29 am
by kevin
I will add a todo to the project for an interface of customizable buttons that get added to the keypad - this will take some time to implement but it will be robust enough to suit your needs I think. I hope it is ok to wait on this feature for a little bit. Thanks for the suggestion.

Re: NOOB Question: Webapp customization

PostPosted: Mon Sep 01, 2014 12:06 pm
by ando1
That would be fantastic! Thanks again for a great product and excellent support!


Andy

Re: NOOB Question: Webapp customization

PostPosted: Thu Sep 04, 2014 2:09 pm
by kevin
Just an update - this has been implemented and pushed to our local git server - as soon as Scott does testing and merging, this feature should be available from our github.

In the settings there is now a keypad tab where each user can define their own custom buttons with a label and a code to send. Once custom buttons are defined they become available on the keypad via a button which brings up a window with your customized buttons ready to use.

Re: NOOB Question: Webapp customization

PostPosted: Thu Sep 04, 2014 4:33 pm
by ando1
Great news Kevin!

Thank you to you and Scott for the hard work and the quick turn around on this! I look forward to seeing the new release.


Andy

Re: NOOB Question: Webapp customization

PostPosted: Sun Sep 14, 2014 6:24 am
by ando1
HI Kevin,

I wanted to check in to see if there is any update to this being released?


Thanks,
Andy

Re: NOOB Question: Webapp customization

PostPosted: Sun Sep 14, 2014 12:19 pm
by kevin
New release coming is a big one and things are still being tested before being pushed out of our local repo to github - sorry for delays.

Re: NOOB Question: Webapp customization

PostPosted: Mon Nov 03, 2014 8:22 am
by ando1
Hey Kevin,

I updated to the new dev version using the git command and now have the custom button feature. Thanks so much for adding this! I was able to create 2 buttons to open and close both my garage doors!

A few observations and issues that I have seen:

1. The "Custom Buttons" icon is a bit too small on the iPhone 5 and also a bit too close to the bottom row of keys (see screen shot). Can you make it a little bigger and maybe in a different position?
2. I cannot get the custom buttons button to work on the iPhone5 (when pressed nothing happens). iPad and computer web browsers work fine
3. The icon to close the custom buttons is a bit hard to activate on the iPad. Would it be possible to make it bigger? Also when I am able to get it a confirmation dialog window opens asking me if I am sure, is that the way it is supposed to work?

I am still doing some testing with it but overall I love the ability to create these buttons. Thanks again for all the hard work and great communications!


Andy