Version 3 (modified by futzle, 14 years ago) (diff) |
---|
Early access is available to a Plugin supporting the GE Caddx/Networx?, NX-584 and NX-8E Alarm Panels:
Introduction
The NX series of alarm panels from (in various parts of the world) GE Caddx, Networx or DAS Systems has a serial interface which lets you monitor partitions and zones, arm and disarm the system, and program the panel.
Some alarm panels (e.g., the NX-8E) have this serial interface built in. Other panels have no onboard serial interface and require the connection of the NX-584 expander, which contains only the serial interface. The protocol for the NX-8E and the NX-584 is the same.
This Luup plugin provides continuous monitoring of partitions and zones, reporting partitions' armed status and zones' tripped and bypass status, whether the system is armed or not. Additionally, if configured, the plugin can send Arm and Disarm events to the panel, allowing remote arming and disarming of partitions through scenes.
Screenshots
Main panel device, with partitions appearing as children.
Zone devices can be placed in any room.
Preparing the alarm system interface
The NX-584 must be programmed from a keypad connected to the alarm system.
Set the baud rate to match the setting on the other end of the serial cable. I use 38400, the default.
The interface must accept the following message types:
- Interface configuration message 01h
- Zone status message 04h
- Zones snapshot message 05h
- Partition status message 06h
- Partitions snapshot message 07h
- System status message 08h
- Interface configuration request 21h
- Zone status request 24h
- Zones snapshot request 25h
- Partition status request 26h
- Partitions snapshot request 27h
- System status request 28h
Optional message types:
- Zone name message 03h and Zone name request 23h, if you have keypads that can display zone names and you want the plugin to fetch the names of the zones from the keypad.
- Set clock/calendar command 3Bh, if you want Vera to set the clock on the panel whenever the Luup plugin is started.
- Primary keypad function with PIN 3Ch, if you want Vera to be able to arm or disarm a partition with a PIN.
- Secondary keypad function 3Eh, if you want Vera to be able to run Quick Arm and Quick Stay.
- Zone bypass toggle 3Fh, if you want Vera to be able to arm or bypass zones.
(Todo: write instructions for this, referring to the NX-584 installation manual.)
Connecting Vera to the NX-584
The NX-584/NX-8E has a male DB9 serial interface. To connect the interface to another computer, either:
- Use a female-to-female null modem cable, which swaps RX/TX and CTS/RTS to allow connection to a computer with a serial port, or
- Use a female-to-female gender changer or a straight female-to-female cable, and adjust the jumpers on the NX-584/NX-8E board to make it swap RX and TX pins and RTS and CTS pins.
To connect the Vera directly, get a USB-to-serial adapter, plug the DB9 end into the null modem cable or gender changer, and plug the USB end into Vera.
Alternatively you can use an IP-to-Serial bridge such as ser2net on a computer near the NX-584/NX-8E, and set up an IPSerial interface on Vera.
Upload the plugin files to Vera
Files are attached to the thread on forum.micasaverde.com.
- D_CaddxNX584Security.xml
- I_CaddxNX584Security.xml
- D_AlarmPartition1.xml
- S_AlarmPartition1.xml
Create the Luup device
- Enter Vera setup, select Devices, the Luup Plugins. Scroll to the bottom to Add Device.
- In the UpnpDevFilename? text box, enter D_CaddxNX584Security.xml and click Add Device.
- Give the device a name and assign it to a room.
- Go to Serial Port Configuration and assign the serial port (local or IPSerial) to the Luup device you just created.
- Save.
Assign zones to rooms
If Vera can successfully talk to the panel, it now asks you to assign each zone to a room. Assign each zone to a room and press Continue.
Note: The NX-584 attached to an NX-4 alarm panel cannot tell if a zone is valid or not, so you may get asked about zones that don't exist. There is a constant variable MAXIMUM_ZONE in the file I_CaddxNX584Security.xml which you can set to limit the number of zones that the plugin assumes are connected.
Adding a scene to arm a partition (UI2)
- Go to Setup > Scenes.
- Add a new scene (global or in a room).
- Click Advanced and pick a partition device (e.g., Partition 1). Click Add.
- Select action RequestArm? and type a PIN code for a user already registered with the alarm system.
- Save.
Similar scenes can be created to disarm the panel or to arm the panel in Stay (Partial) mode.
Tip: On the Caddx alarm system it is possible to create users with permission to Arm a partition but not Disarm a partition. If you prefer to not allow Vera to disarm, give it the PIN for a user restricted in this way, and the RequestDisarm? action will fail.
Attachments
- CaddxNX584AfterCreation.png (25.5 KB) - added by futzle 13 years ago.
- CaddxNX584ZoneScanBefore.png (47.2 KB) - added by futzle 13 years ago.
- CaddxNX584WithZones.png (45.6 KB) - added by futzle 13 years ago.
- CaddxNX584ZoneScanAfter.png (42.0 KB) - added by futzle 13 years ago.