by xuniman » Fri May 15, 2015 12:52 pm
The Vera AD2USB plugin has been updated to fully support the AD2USB/Raspbarry Pi combination over Ethernet. It should also fully support the AD2Pi version as well but I don't have one to test. mcv.andrei updated the plugin to accept IP addresses for communications to the Alarm Panel and I have tested it with excellent results. The instructions are in reply #15 to the thread I posted above.
In short you need to connect a AD2USB similar to this
[Vista 20P] <---Alarm Bus---> [AD2USB] <---USB---> [Raspberry Pi ] <---Ethernet---> [Vera]
You can then follow the AlarmDecoder instructions to get the Raspberry PI working with the Alarm Decoder Web App. You will need to set the Ethernet access and ser2sock port during the configuration.
Then install the newest version of the plugin for Vera; follow it's directions for setting up the Alarm Panel Device and the Alarm Partition device (enter keypad addresses and fill out the cheat sheet, at minimum). You will also have to find the variable "overNetwork" (it is located on the advanced - variables screen of the Alarm Panel Device for UI7) and set it to 1 to enable IP communications. Then input the IP address in the appropriate filed in the advanced tab of the Alarm panel device with the ser2sock port you defined in the AD2USB setup portion of the AlarmDecoder web app (it should look something like 192.168.1.100:10000 which is the IP address of the Raspberry Pi with a colon and then the port address of ser2sock).
Once you do that you should be good to go. Vera will need a couple of LUUP reloads as the changes are saved and the new devices corresponding the Zones you entered in the cheat sheet are created. You can do LUUP reloads by going to APPS-Develop APPS-Serial Port Configuration-Reload LUUP.
Enjoy!