AD2PI with Pi Zero Wireless

General Discussion

AD2PI with Pi Zero Wireless

Postby jeffwu » Fri Mar 17, 2017 6:39 pm

Hi, I've brought a Pi Zero Wireless (I know this is very new) and want to start a home automation project with Home Security system. My house has a Vista 20P security panel with 3 keypads. With AD2PI board, will I be able to connect the security system with Pi and integrate with home automation? I tried to find videos/documents for AD2PI and Pi Zero integration but was so far out of luck. Does anyone in this forum have experience on AD2PI+Pi Zero project and shed some light on this topic? Much appreciated. Jeff.
jeffwu
Senior Nut
Senior Nut
 
Posts: 40
Joined: Fri Mar 17, 2017 6:24 pm

Re: AD2PI with Pi Zero Wireless

Postby kevin » Fri Mar 17, 2017 8:09 pm

The Pi Zero is GPIO compatible, so it should just work once you get the GPIO header sorted out and follow the OS Setup instructions.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: AD2PI with Pi Zero Wireless

Postby jeffwu » Wed Mar 29, 2017 7:09 pm

Hi Kevin, I just place an order for AD2PI. can you point me to some online documents for wiring and connecting? I only see AD2USB and AD2SERIAL pdf. I hope there are step-by-step documents for AD2PI part, I have Vista 20P panel and Pi 3 (or Pi Zero). Much appreciated. hope my investment in this HW will turn my home alarm into into "Smart Things".

I will update the progress here and post details of my project.

Thanks again.
jeffwu
Senior Nut
Senior Nut
 
Posts: 40
Joined: Fri Mar 17, 2017 6:24 pm

Re: AD2PI with Pi Zero Wireless

Postby kevin » Wed Mar 29, 2017 9:07 pm

It just plugs into the GPIO port, on the Pi3 it would cover the HDMI port leaving a few pins unpopulated toward the USB side.

Specific pinouts can be found here https://www.alarmdecoder.com/wiki/index ... bone_Black
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: AD2PI with Pi Zero Wireless

Postby jeffwu » Tue Apr 18, 2017 4:58 pm

Hi Kevin,

I receive AD2PI today. It is about time to wire the board with 20P panel. I can't seem to find any label on AD2PI board indicating which hole is 12V, GND, DI or DO. I don't want to take any guess. is there a document or a picture showing that? I search "Documentation" section, all I find are referring to AD2USB or AD2SERIAL boards. it seems a bit lack of installation guide for AD2PI specific. Can you pls shed some lights here.

Thanks

Jeff
jeffwu
Senior Nut
Senior Nut
 
Posts: 40
Joined: Fri Mar 17, 2017 6:24 pm

Re: AD2PI with Pi Zero Wireless

Postby jeffwu » Tue Apr 18, 2017 7:00 pm

never mind. I found the labels in the bottom of the connectors.

they are GND 12V DI DO in sequence.
jeffwu
Senior Nut
Senior Nut
 
Posts: 40
Joined: Fri Mar 17, 2017 6:24 pm

Re: AD2PI with Pi Zero Wireless

Postby jeffwu » Thu Apr 20, 2017 4:14 pm

I've run into a problem of setting up AD2Pi. This is my situation.

Config:
AD2Pi wires with Vista 20P panel.
RPI 3 is loaded with alarmdecoder-raspbian-2016-04-29.img

Problem:
1) after power on Pi 3, I couldn't get a steady LED heartbeat on AD2PI board. It blinked about every half sec.
2) ssh to pi, run "minicom -s" to setup serial port to /dev/ttyAMA0, then type "=" within minicom console. there was no response

How should I troubleshoot from here?

Much appreciated.
jeffwu
Senior Nut
Senior Nut
 
Posts: 40
Joined: Fri Mar 17, 2017 6:24 pm

Re: AD2PI with Pi Zero Wireless

Postby kevin » Fri Apr 21, 2017 7:45 am

Check your wiring, also check you have the ad2pi hooked correctly to the gpio header. Lastly, make sure you are attaching to the proper device - with the newest pi3 image you should be using /dev/serial0 I believe
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: AD2PI with Pi Zero Wireless

Postby jeffwu » Fri Apr 21, 2017 8:26 pm

thanks Kevin. problem is resolved and the appliance is up and running now.

it turned out the issue was related to keypad address. I used the web app to change the default address to 21 and all is working. Now I can arm and disarm through web interface. AD2PI is a great product!!

In next step, I will integrate it with my Home Automation project. Would be able to give a cmd line example how to use API to retrieve alarm status. I want to use curl cmd line to access the web app via API. I've read your JSON doc. Please can you give me an example of how a URL is constructed to get alarm status (armed or disarmed). Thank you so much!
jeffwu
Senior Nut
Senior Nut
 
Posts: 40
Joined: Fri Mar 17, 2017 6:24 pm

Re: AD2PI with Pi Zero Wireless

Postby kevin » Fri Apr 21, 2017 9:29 pm

http://www.alarmdecoder.com/swagger for api documentation and examples - when you click 'Try it out' it will give you a command line example as well such as: curl -X GET --header 'Accept: application/json' 'http://alarmdecoder.local:5000/api/v1/alarmdecoder?apikey=asdfasdf'

Which home automation system are you using? There might already be an integration.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Next

Return to General

Who is online

Users browsing this forum: No registered users and 42 guests

cron