B69CA wrote:Hi Guys,
I am in need of a little help and advice here if I may? I recently purchased the AD2PI module, and have added it to a PI and connected it to my Vista20p panel. I can communicate with the module over serial, both locally and using the ser2sock software.
Problem 1 - the device seems to 'lose' its address setting, is this normal?
When I first connected the device to my Pi and connected to the device, I noticed that the address reported was 00. I changed this to 18 however I notice that whenever I disconnect power to the module, for example powering down and powering up the alarm panel, the configuration is lost and the address reverts back to 00. Is this normal? Can I do anything to have this setting save.
Problem 2 - I don't seem to get any messages from the alarm, am I missing something?
I have checked and double-checked my wiring, and I can connect AD2PI device however I don't seem to get anything back from the alarm. If I use the keypad application (over ser2sock), I get the 'waiting first message' response.
I have enabled the 3rd keypad using *191 01 in installer mode using one of the other keypads which according to the manual (if I am reading it correctly) says that keypad has address 18. I have powered everything down and back up again after doing this however I still don't get anything.
Now I admit I am very new and may be missing something entirely.
Please can anyone offer any advice?
Many Thanks!
Jon
Ok, so you added this to your own pi - did you happen to disable the built-in serial console in our instructions? It sounds like maybe this is spitting garbage to the ad2pi at boot and nuking it's configuration
- Code: Select all
Remove the following entries from /boot/cmdline.txt:
console=ttyAMA0,115200
kgdboc=ttyAMA0,115200
Remove the following line from /etc/inittab:
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
After that, you will reboot then want to check your address filter mask and ensure it is FFFFFFFF as default
Here is a default configuration:
- Code: Select all
!>Keypad Address (18) :>
!WARNING. Do not enable a module if the physical module exists on the system.
!Zone Expanders Y/N Max allowed: 02
!>expander module #01 ZN 09-16 (N) :>
!>expander module #02 ZN 17-24 (N) :>
!>expander module #03 ZN 25-32 (N) :>
!>expander module #04 ZN 33-40 (N) :>
!>expander module #05 ZN 41-48 (N) :>
!Relay Modules Y/N Max allowed: 04
!>relay module #01 (N) :>
!>relay module #02 (N) :>
!>relay module #03 (N) :>
!>relay module #04 (N) :>
!>Emulate Long Range Radio Y/N: (N) :>
!>ZoneTracker track zone restore Y/N: (N) :>
!>Address Filter Mask (ffffffff) :>
!>Deduplicate (N) :>
!>Config Bits (ff00) :>
It sounds like once you get the device configuration sorted (you can send the device a '!' over ser2sock or serial) you should be fine as long as the address you are using is enabled on the panel
Also do make sure your DI and DO are not backwards

I also believe that it is *191 10 for address 18 enable and disable sound, you can verify by checking your programming manual and sending a #191 to view the fields - we have a video of this here:
http://www.alarmdecoder.com/wiki/index. ... figuration
Not an employee of the company. Just here to help and keep things clean.