GE Caddx NX-8E

Posted on
Thu Nov 16, 2017 6:38 pm
lanbrown offline
Posts: 673
Joined: Sep 26, 2017

Re: GE Caddx NX-8E

I'd be interested in it. I don't have a board with a serial port but they do sell a module to add it; I have an NX-6 v2. Probably easier than redoing the entire system.

Posted on
Thu Nov 16, 2017 6:57 pm
kw123 offline
User avatar
Posts: 5919
Joined: May 12, 2013
Location: Dallas, TX

Re: GE Caddx NX-8E

I have mine almost finished. Need to enable the sending of status changes in the nx system. Polling works.

Will post a version in the next days

In order to get your working you need the interface board nx584.
Then enable it on the alarm panel.


Sent from my iPhone using Tapatalk

Posted on
Sun Nov 19, 2017 8:14 pm
lanbrown offline
Posts: 673
Joined: Sep 26, 2017

Re: GE Caddx NX-8E

Thanks.

Is it written is AppleScript or Python?

Also, this might be a huge undertaking but what do you think of the NX-595E? It is a much more modern access method than the use of RS-232. It is Ethernet based and thus has an IP address. Since it has a web server and even SSL, you might be able to just load web pages and HTML to get what you want. It also supports DLX900 and if it is anything like DL900 it allows arming, disarming, etc.

Do you know what protocol the NX-584 uses? If it is DL900, then it might be fairly easy to use the NX-595E as it supports DLX900. So the plugin just might need to be IP aware rather than serial.

If you're interested, if I buy you (you get to keep it) the NX-595E would you create the plugin for it?

Here's the PDF from Interlogix:
http://static.interlogix.com/library/NX-595E%20Installation%20Manual-230553-ED03-18AUG15.pdf

Posted on
Sun Nov 19, 2017 8:54 pm
kw123 offline
User avatar
Posts: 5919
Joined: May 12, 2013
Location: Dallas, TX

Re: GE Caddx NX-8E

I have the serial version NX584E. Don't not like to use the IP version = just bought the new system last week.
In my world alarm systems should NOT be connected to the "ether net" (internet)

The serial ports works very well. Will post an updated version

You have access to all info of the alarm system and can set anything you like..

But it must be in the vicinity of your indigo mac .. through serial cable ( 10m ) ?

Karl

Posted on
Sun Nov 19, 2017 9:22 pm
lanbrown offline
Posts: 673
Joined: Sep 26, 2017

Re: GE Caddx NX-8E

Karl,

I wouldn't connect it to the Internet, that is what a firewall is for. The alternative would be not to set a default gateway of the board and thus it would only be able to access local (same subnet) devices. One advantage to the IP board though it, it supports NTP so the time would always be correct on the system. With a real firewall it could be on its own system and then you would only allow Indigo to access it and for it to access a local NTP server.

The RS-232 spec lists 50 feet but also part of the spec is capacitance of 2500 pF. There is about 150 feet between my panel and where the Indigo server is. I could do an RS-232 over IP converter and then a virtual serial port on the Mac.

Posted on
Sun Nov 19, 2017 9:54 pm
kw123 offline
User avatar
Posts: 5919
Joined: May 12, 2013
Location: Dallas, TX

GE Caddx NX-8E

Yes I understand you can isolate the alarm system virtually. But I like to make it physically.

As for time. I believe you can set it from theme mac. And ntp would require internet access or you would need a local ntp server.

In my setup the mac is next to the alarm system. The comm is pretty simple. So guess a set up through serial-ip- aerial might work

The good thing is everyone has the choice to do what he/she believes is the best for them.




Sent from my iPhone using Tapatalk

Posted on
Sun Nov 19, 2017 10:40 pm
kw123 offline
User avatar
Posts: 5919
Joined: May 12, 2013
Location: Dallas, TX

Re: GE Caddx NX-8E

have ordered

USRIOT USR-TCP232-T2 Tiny Serial Ethernet Converter Module Serial UART TTL to Ethernet TCPIP Module Support DHCP and DNS $15.94,

will check it out if it works.

Karl

Posted on
Mon Nov 20, 2017 11:17 am
kw123 offline
User avatar
Posts: 5919
Joined: May 12, 2013
Location: Dallas, TX

Re: GE Caddx NX-8E

This is a modified version from the original:
https://www.dropbox.com/s/dfe6ab0z6s2ne56/Caddx%20Security%20System-v-7.4.2.zip?dl=1

changes:
1. uses indigo 7 features i.e. bulk update of states
2. added error control around serial communication. went from 1/10 comm errors (i.e. when reading whole database) to 1/day (handles message too short = continue to read; received 1.5 package, continue to read, use 2. message) if read error persists re-try 6 times (has not failed yet)
3. changed zone device type to custom: state column shows read/green/grey for : tripped/ normal/ other
4. added states "lastTripped", "lastNormal" time stamp ==> you can see when the door last opened/closed
5. added "read all zones" action to update all zones at once
6. added "read all zones" to watchdog function
7. added support for other NX models, i.e. NX8v2 and other
8. added field to set the folder name for CADDX devices and variables in config
9. recycle 2 variables at reload (Caddx_receiveMessage / Caddx_sendingMessage) = delete and recreate to reduce the space in SQL history databases
10. fixed some smaller bugs
12. added -- readOnly comments to config, device edit screens to make it clearer which items can be changed

and all the credit should go to Ian, he did 99% of the work. This is just fine tuning


Karl

Posted on
Fri Mar 02, 2018 6:46 am
outsidenwnc offline
Posts: 15
Joined: Apr 20, 2014

Re: GE Caddx NX-8E

I have a NX-8V2, just ordered a 584 card and will be setting this up in the next week or 2 . - THANK YOU

Posted on
Sun Sep 09, 2018 8:45 pm
lanbrown offline
Posts: 673
Joined: Sep 26, 2017

Re: GE Caddx NX-8E

IanS wrote:
For the NX-8, the NX-584 serial board has the same configuration as the NX-8e but the memory locations are different.

NX-8 (NX-584 board) NX-8e
location 0 location 209 Home Automation Protocol
location 1 location 208 Serial Port Baud Rate
location 2 location 210 Transition Based Broadcasts
location 3 location 211 Command / Request Enabled
location 4 location 212 LCD Keypad Address "192" Keypad "1" Partition "1"

The serial interface is a 3 wire only connection 2 (Tx) , 3 (Rx) and 7 (Ground).

Let me know how you get on.


I've installed the NX-584E in my system but waiting until cooler weather before going into the attic to run a cable down to the panel for the serial port/Ethernet conversion. What settings have others configured?

Location 0 I have binary configured

Location 1 I have 76800 Baud

Location 2 Segment 1 I have 2 5 7 selected

Code: Select all
Segment 1:
DATA ENABLES TRANSITION
1 Reserved
2 Interface Configuration at power-up / end of download / program mode
3-4 Reserved
5 Zone Status Message
6 Zones Snapshot Message
7 Partition Status Message
8 Partitions Snapshot Message


Location 2 Segment 2 I have 1 2 selected

Code: Select all
Segment 2:
DATA ENABLES TRANSITION
1 System Status Message
2 X-10 Message Received
3 Log Event Message
4 Keypad Message Received
5 - 8 Reserved


Location 3 Segment 1 I have 2 4 5 6 7 8 selected

Code: Select all
DATA SUPPORTED REQUEST / COMMAND
1 Reserved
2 Interface Configuration Request
3 Reserved
4 Zone Name Request
5 Zone Status Request
6 Zones Snapshot Request
7 Partition Status Request
8 Partitions Snapshot Request


Location 3 Segment 2 I have 1 2 3 selected

Code: Select all
Segment 2:
DATA SUPPORTED REQUEST / COMMAND
1 System Status Request
2 Send X-10 Message
3 Log Event Request
4 Send Keypad Text Message
5 Keypad Terminal Mode Request
6 - 8 Reserved


Location 3 Segment 3 I have nothing selected

Code: Select all
Segment 3:
DATA SUPPORTED REQUEST / COMMAND
1 Program Data Request
2 Program Data Command
3 User Information Request with PIN
4 User Information Request without PIN
5 Set User Code Command with PIN
6 Set User Code Command without PIN
7 Set User Authorization Command with PIN
8 Set User Authorization Command without PIN


Location 3 Segment 4 I have 4 7 selected

Code: Select all
Segment 4:
DATA SUPPORTED REQUEST / COMMAND
1 Reserved
2 Reserved
3 Store Communication Event Command
4 Set Clock / Calendar Command
5 Primary Keypad Function with PIN
6 Primary Keypad Function without PIN
7 Secondary Keypad Function
8 Zone Bypass Toggle


Location 4 I have 192

Posted on
Thu Sep 20, 2018 9:49 pm
lanbrown offline
Posts: 673
Joined: Sep 26, 2017

Re: GE Caddx NX-8E

So I have the Perle IOLAN connected up to the NX-584E. hat communication appears to be there.

Code: Select all
   Caddx Security System           . .                        syncing in progress: True,
   Caddx Security System           . .                               synchronised: True,
   Caddx Security System           . .                    keypad being programmed: True,
   Caddx Security System           . .                               panel status: synchronise completed  ** 20/9/2018   21:50:07 ,
   Caddx Security System           
   Caddx Security System           . .       Event Logging:          alarm events: True,
   Caddx Security System           . .                            command actions: True,
   Caddx Security System           . .                         partition activity: True,
   Caddx Security System           . .                              zone activity: True,
   Caddx Security System           . .                     communication activity: True,
   Caddx Security System           . .                         message processing: True,


If I open a door, I hear the chime from the keypad but don't see anything in the event log. I'm pretty sure almost everything is enabled on the module and then plugin itself. I didn't check the boxes for anything relating to phone lines and such since it is not connected to one.

Should setting the time be supported? It fails but I did turn debugging on and the message was sent and received by the panel.
Code: Select all
  Caddx Security System Debug     verifyChecksumAndUnpack: || received; valid message.
   Caddx Security System           processReceivedData:     || message: 3b,  Set Date / Time Command: 7e073b120914162e05ba64

Here is the failure:
Code: Select all
   Caddx Security System           startComm:        error received message number: '3b',  (not valid or not supported).


Any ideas?

Posted on
Sat Sep 22, 2018 9:42 pm
lanbrown offline
Posts: 673
Joined: Sep 26, 2017

Re: GE Caddx NX-8E

So I figured out the missing settings. The directions from IanS are cut off and more pertain to the NX-8E that has the onboard serial (RS-232) port. The NX-584E module has different location settings. The attached screenshots were taken using the DLX900 software. Yes, it is Windows (DOS for the DL900 software) and I also used it via TCP rather than serial since I also have the NX-595E Ethernet module (this replaces the older NX-590E module that they still sell.) Basically I enabled everything that was not labeled "Reserved" and you can find the Location and Segment for those in the NX-584E module or in a previous post I made in this thread for those who need to configure the module via a keypad.

The other issue, even though my Serial to Ethernet adapter showed packets in and out and the log output of the plugin showed a connection, the cable seemed to have an issue. I used a DB-9 to RJ45 adapter and a Cat6a patch cable and the plugin works a lot better. It can now set the time and read the history log. The plugin does seem to die at times and needs to reconnect. I might need to disable some of what I have enabled; both in the NX-584E module and the plugin.

The Serial to Ethernet device I'm using is a Perle IOLAN SDS 1. They are not cheap but this is just one of the few products this company makes, offers free software updates and a lifetime warranty on them. The serial port can be configured in one of many ways, for this purpose it is TCP Sockets. I also enabled TCP keepalives to make sure the session stays up between the Perle and the Indigo server.

I did try to see if the plugin could communicate with the NX-595E and neither sockets nor rfc 2217 worked. It was worth a shot though.

Error message at times:
Code: Select all
Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Caddx Security System.indigoPlugin/Contents/Server Plugin/caddx.py", line 618, in activeCommLoop
    self.sendCommPort(conn, command)
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Caddx Security System.indigoPlugin/Contents/Server Plugin/caddx.py", line 684, in sendCommPort
    if self.waitForResponse(conn, False): break
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Caddx Security System.indigoPlugin/Contents/Server Plugin/caddx.py", line 721, in waitForResponse
    if self.processReceivedData(receivedDataAscii): return True
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Caddx Security System.indigoPlugin/Contents/Server Plugin/caddx.py", line 773, in processReceivedData
    self.decodeReceivedData(messageNumber, messageDict)                        # decode and process vaild alarm message
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Caddx Security System.indigoPlugin/Contents/Server Plugin/caddx.py", line 1613, in decodeReceivedData
    self._logEventMessage(messageDict)
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Caddx Security System.indigoPlugin/Contents/Server Plugin/caddx.py", line 2234, in _logEventMessage
    eventDeviceDescription = self.messageLogDeviceAddressDict(dzoneUserDevice -1)
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Caddx Security System.indigoPlugin/Contents/Server Plugin/caddx.py", line 3284, in messageLogDeviceAddressDict
    device = self.deviceDict[deviceAddress]
KeyError: '191'
Attachments
Screen Shot 2018-09-22 at 10.24.32 PM.png
Perle IOLAN serial port mode
Screen Shot 2018-09-22 at 10.24.32 PM.png (356.65 KiB) Viewed 317 times
Screen Shot 2018-09-22 at 6.59.09 PM.png
NX-584E settings
Screen Shot 2018-09-22 at 6.59.09 PM.png (210.2 KiB) Viewed 317 times
Screen Shot 2018-09-22 at 6.58.58 PM.png
NX-584E settings
Screen Shot 2018-09-22 at 6.58.58 PM.png (140.27 KiB) Viewed 317 times

Posted on
Mon Oct 08, 2018 8:49 pm
lanbrown offline
Posts: 673
Joined: Sep 26, 2017

Re: GE Caddx NX-8E

Karl,

I ran into a scenario today with this plugin. So the power went out briefly; I have a UPS on the server and the alarm panel stayed up, what went down and then booted back up was the serial to Ethernet converter. The plugin never knew the connection was closed though. Any thoughts on how to prevent this in the future?

Posted on
Mon Oct 08, 2018 10:25 pm
kw123 offline
User avatar
Posts: 5919
Joined: May 12, 2013
Location: Dallas, TX

Re: GE Caddx NX-8E

I guess do a sync very 5 minutes. If no answer it’s not connected.


Sent from my iPhone using Tapatalk

Posted on
Wed Oct 10, 2018 8:34 pm
lanbrown offline
Posts: 673
Joined: Sep 26, 2017

Re: GE Caddx NX-8E

Not the most elegant solution but a solution none the less. I guess you haven't ran into this issue? I didn't know how intelligent the plugin could be in that it could check the socket status or not. I did make sure I had keepalives were enabled on the TCP side to make sure the L-3 devices in the middle wouldn't tear the session down in times of no communication. This doesn't help when the device loses power and the session will idle out. Obviously the original intention of Caddx/GE was that the serial port would be used to connect directly to the other automation device.

Thanks for the suggestion.

This weekend I'll be adding another board to my system; an additional 16 zones to bring a total of 24; 16 on the new board, 6 on the main panel and then another 2 on the Ethernet module. Right now the plugin only shows a possible 8 zones, do you know if the plugin will allow past 8 zones once the new board is installed or is that a hard limit? I'm looking at having every door on its own zone and then the windows in each room also on its own zone. The company that installed the panel put a lot of windows on a few zones. With only six zones at the moment, they have the door in garage 1 on one zone, the door in garage 2 on another, the front door on another, an entry/exit garage door on the fourth, the backdoor on the fifth and everything else on the sixth. So I would like to split things out on their own zone.

Who is online

Users browsing this forum: No registered users and 2 guests