NX-584e Connection to NX-8 using WF2SL

I am a newbie to this forum and the world of home automation. I have an NX-8 for which I purchased a NX-584e. I installed the card without issue and think I have configured my keypad correctly. I have a Veralite with a couple of light switches programmed. My Veralite is not in the same room as my alarm controller, so I purchased a WF2SL. I connected a DB9 Null Modem cable between the NX-584e and the WF2SL. I connected the WF2SL to my wireless network and was able to login to it and check its settings. I now have the follow lights on my NX-584e:

DS1 - continuously flashes

DS6 - Stays on continually

DS4 - Flashes about every 4 seconds.

I plan to take the WF2SL out of the picture and connect a laptop in its place to see if there is any communication (using putty). If I have a laptop with a serial interface? When I look in the Veralite where I loaded the NX-8 module, I get a Lua startup error. I have worked on this all weekend and any suggestions on how I can get this to work will be appreciated.

Hi ke2nny,

If you really have connected a null modem cable, then you need to move the four jumpers on the NX-584 board to their opposite positions. This is the most common installation mistake and it’s the easiest to fix.

The next most common mistake is to be using the wrong serial speed (baud rate). There will be configuration on both the NX-584 and on the WF2SL, and they have to match. I use 38400, but speeds down to 9600 will still be fine.

If finding a laptop with an RS-232 connection is hard, you might be able to get the laptop to talk to the NX-584 through the WF2SL; PuTTY has a “telnet” mode where you can connect to any IP address and port.

If you connect and just sit and watch you’ll see binary output like this, repeating every 1.5 seconds:

~	? ?yj

(the ~ will always be there but the remaining text varies; trip a sensor by walking in front of it to ensure that the interface sends something).

I switched the jumpers, but still no luck. I have the baud rate set to 9600 both on the WF2SL and the Keypad. I get a blank screen when using Putty’s Telnet option

Then it looks like the problem is downstream. I have no personal experience with the Global Cach? products so I can’t guess if it is configured properly. Try and connect your computer directly to the NX-584, perhaps with a USB-to-serial adapter, and see what you get.

I will have to buy a cable tomorrow, but thanks for your help.

I had to order a cable because the prices locally just were too high. I connected the serial to USB cable to my laptop and opened a Putty session with the following results:

0986040000000000048018BD
0986040000000000048018BD
0986040000000000048018BD
0986040000000000048018BD
0986040000000000048018BD
0986040000000000048018BD
0986040000000000048018BD
0986040000000000048018BD
0986040000000000048018BD
0986040000000000048018BD
0986040000000000048018BD
0986040000000000048018BD
0986040000000000048018BD
0986040000000000048018BD
0986040000000000048018BD
0986040000000000048018BD
0986040000000000048018BD
0986040000000000048018BD

These were the results with the jumper settings in the normal position, which I can’t understand because I have a null modem cable. When I switch the jumpers, I get nothing.

ke2nny, you’ve got ASCII mode turned on. You need to change the panel interface to use Binary mode.

Okay, I changed to the Binary mode with he following results:

098606000000000004821CCF
098606000000000004821CCF
098606000000000004821CCF
~9860600?~000000?~821CCF?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?~ ?

Does this mean everything is functioning properly?

That’s better. Now you have to get the same results through your serial-to-wireless gateway. When you can do that it’s ready to reconnect Vera.

It’s still not working my settings in the Vera Lite may not be correct. These are my settings:

Serial port on another machine

XXX.XXX.XX.XXX ( I have the IP Address of my WF2SL)

TCP Port 4999

I think I got it. I downloaded the GC100 app and then it allowed me to specify the GC100 device inside of the Caddx/GE/NetworX device

Ke2nny,
I am in the process of setting up my system very similar to your approach. Can you tell me where you found the GC100 app you referenced?

Hi All,

I too am trying to get a similar configuration working with the Global Cache IP2SL PoE unit. So hence the reply within this thread.

When setup I am getting the following error with the Vera2 unit:

“Caddx NX584 Security System[11] : Failed to set up interface”

I am using the GC-100 plugin available within Vera GUI and setup the serial port within that device and used that as the serial port within the Caddx device.

I have check the cable (null) & connection (38400 baud) with an old laptop with a physical serial port using PuTTY with the NX584e in ASCII mode and also with the IP2SL unit with PuTTY using telnet & port 4999, both connections produced the same output repeated approximately every 2 seconds in ASCII being:

0C880000000000000000020100970B
0C880000000000000000020100970B
0C880000000000000000020100970B

The Vera is reconnected and address 72# location 0# option 1 is deselected to return to Binary saved with * and exit of programming.

Additional to the fitting of the NX584e, the system was re-installed post a major renovation of the house. This meant that the system was reset to factory defaults to by-pass unknown installer code, and an additional keypad was also added.

So the system is:
1 x NX4 Main unit with Zone doubling with dual end of line option on.
2 x NX1508 LED code pads
1 x NX584e Home Automation Module.

The NX584e was added last after testing of the system without it.

Do I need to change any main panel programming from factory, other than operational items such as entry/exit delays for correct communication/format exchange to the 584e?

Cheers
Gus…

That error message is generated by the plugin if the NX-584 is missing one of the essential message types in its enabled-message-type list. The list of message types that you have to enable is listed on the plugin’s documentation page. Edit: on further reading of the code, I’m not sure that my previous claim is true. You may only get that error message when the plugin can’t speak to the NX-584. But try the action in the next paragraph first, just to make sure.

If you can enable “Debug to Luup Log” on the Configure tab and capture a Luup log then we can probably zero in on the cause quite quickly.

The same message might be generated in other circumstances, but you’ve already debugged the physical connection, so let’s look at the software first.

Hi futzle,

Thanks for the quick response.

If you can enable "Debug to Luup Log" on the Configure tab and capture a Luup log then we can probably zero in on the cause quite quickly.

Unfortunately I can’t access the Configure tab, it just stays at “Getting configuration…”

Any pointers other than a verbose log of everything?

Cheers
Gus…

You can go to the Advanced tab for the device and edit the Debug variable to the value 1. If there is no Debug variable, you can add it (copy and paste to ensure you don’t mistype them):

New service: urn:futzle-com:serviceId:CaddxNX584Security1 New variable: Debug New value: 1
Then Save.

I am leaning towards the likelihood that Vera’s not able to communicate with the WF2SL, leaving the plugin dead in the water. While I’m convinced by your testing that you have set up the WF2SL properly, I’m not convinced that the Vera is properly configured to talk to it. But let’s rule out a problem with the plugin first by capturing the Luup log during a reload.

Thanks again futzle,

I’ve enabled the logging and the most obvious entry is:

10/10/13 21:09:55.949 luup_log:8: Global handlers not set up yet <0x5817>
10/10/13 21:09:55.951 luup_log:8: Global handlers not set up yet <0x5817>

I’ll add that I have re-installed the system again and this time the plugin is device 8, not 11 that was in the previous posts.

Cheers
Gus…

That’s not necessarily an error. I really need the whole log starting from a Luup reload.

Hi futzle,

Here is the log showing just Critical & Luup entries:

root@MiOS_18714:/tmp/log/cmh# tail -f LuaUPnP.log | grep ‘^01|^5’
01 10/10/13 23:09:24.940 got CAN <0x1406>
01 10/10/13 23:09:25.971 got CAN <0x1406>
50 10/10/13 23:09:32.184 luup_log:0: L_sPhoneUI running version: 1.5.622 <0x803>
50 10/10/13 23:09:32.188 luup_log:0: L_WapUI running… <0x803>
50 10/10/13 23:09:34.111 luup_log:6: starting device: 6 <0x803>
50 10/10/13 23:09:34.113 luup_log:6: got devices <0x803>
50 10/10/13 23:09:34.122 luup_log:6: module0 port 0 type ETHERNET device: 6 <0x803>
50 10/10/13 23:09:34.125 luup_log:6: module1 port 1 type SERIAL device: 6 <0x803>
50 10/10/13 23:09:34.126 luup_log:6: parse device: 7 module: 1 unit: 1 type: SERIAL <0x803>
50 10/10/13 23:09:34.129 luup_log:6: num modules 1 <0x803>
50 10/10/13 23:09:34.130 luup_log:6: ValidModules: 1 <0x803>
50 10/10/13 23:09:34.412 luup_log:8: Initializing Caddx NX-584 LEAK this:245760 start:245760 to 0x8d7000 <0x803>
50 10/10/13 23:09:34.413 luup_log:8: Opening serial port <0x803>
50 10/10/13 23:09:34.414 luup_log:8: Sending message and waiting for response: 0x21 Interface Configuration Request <0x803>
50 10/10/13 23:09:34.416 luup_log:8: Message: Outgoing: 0x7e 0x01 0x21 0x22 0x23 <0x803>
50 10/10/13 23:09:42.420 luup_log:8: Input is nil <0x803>
50 10/10/13 23:09:42.421 luup_log:8: Timed out waiting for response, retrying <0x803>
50 10/10/13 23:09:42.422 luup_log:8: Message: Outgoing: 0x7e 0x01 0x21 0x22 0x23 <0x803>
50 10/10/13 23:09:50.430 luup_log:8: Input is nil <0x803>
50 10/10/13 23:09:50.431 luup_log:8: Timed out waiting for response, retrying <0x803>
50 10/10/13 23:09:50.432 luup_log:8: Message: Outgoing: 0x7e 0x01 0x21 0x22 0x23 <0x803>
50 10/10/13 23:09:58.458 luup_log:8: Input is nil <0x803>
50 10/10/13 23:09:58.459 luup_log:8: Timed out waiting for response, retrying <0x803>
01 10/10/13 23:09:58.471 LuaInterface::CallFunction_Startup-2 device 8 function caddxInitialize failed Caddx NX584 Security System[8] with return false <0x803>

Cheers
Gus…

Hi futzle,

Here is another log, this time I eneterd the IP & port of GC IP2SL for connection instead of using serial port drop box option.

01 10/11/13 1:32:34.525 Mongoose XXX-mg_stop1 0x83e6d8 1 1 <0x400>
50 10/11/13 1:32:34.681 luup_log:8: Ignoring byte 0b <0x4c14>
50 10/11/13 1:32:34.682 luup_log:8: Global handlers not set up yet <0x4c14>
01 10/11/13 1:32:36.540 Mongoose XXX-mg_stop2 0x83e6d8 2 1 <0x400>
01 10/11/13 1:32:36.541 Mongoose XXX-mg_stop3 0x83e6d8 2 1 <0x400>
01 10/11/13 1:32:36.542 Mongoose XXX-mg_stop4 0x83e6d8 8782696 1 <0x400>
50 10/11/13 1:32:47.121 luup_log:6: starting device: 6 <0x402>
50 10/11/13 1:32:47.124 luup_log:6: got devices <0x402>
50 10/11/13 1:32:47.133 luup_log:6: module0 port 0 type ETHERNET device: 6 <0x402>
50 10/11/13 1:32:47.135 luup_log:6: module1 port 1 type SERIAL device: 6 <0x402>
50 10/11/13 1:32:47.137 luup_log:6: parse device: 7 module: 1 unit: 1 type: SERIAL <0x402>
50 10/11/13 1:32:47.139 luup_log:6: num modules 1 <0x402>
50 10/11/13 1:32:47.141 luup_log:6: ValidModules: 1 <0x402>
50 10/11/13 1:32:47.502 luup_log:8: Initializing Caddx NX-584 LEAK this:245760 start:24576to 0x897000 <0x402>
50 10/11/13 1:32:47.503 luup_log:8: Opening socket to 192.168.0.51 port 4999 <0x402>
50 10/11/13 1:32:47.621 luup_log:8: Sending message and waiting for response: 0x21 Interface Cfiguration Request <0x402>
50 10/11/13 1:32:47.623 luup_log:8: Message: Outgoing: 0x7e 0x01 0x21 0x22 0x23 <0x402>
50 10/11/13 1:32:47.821 luup_log:8: Received inconvenient message 0x08 <0x402>
50 10/11/13 1:32:47.823 luup_log:8: Message: Unsolicited message body: 0x00 0x00 0x00 0x00 0x00x00 0x00 0x00 0x02 0x01 0x00 <0x402>
50 10/11/13 1:32:47.824 luup_log:8: Sending message: 0x1D Positive Acknowledge <0x402>
50 10/11/13 1:32:47.825 luup_log:8: Message: Outgoing: 0x7e 0x01 0x1d 0x1e 0x1f <0x402>
50 10/11/13 1:32:47.827 luup_log:8: Message: Outgoing: 0x7e 0x01 0x21 0x22 0x23 <0x402>
50 10/11/13 1:32:47.981 luup_log:8: Received inconvenient message 0x08 <0x402>
50 10/11/13 1:32:47.983 luup_log:8: Message: Unsolicited message body: 0x00 0x00 0x00 0x00 0x00x00 0x00 0x00 0x02 0x01 0x00 <0x402>
50 10/11/13 1:32:47.983 luup_log:8: Sending message: 0x1D Positive Acknowledge <0x402>
50 10/11/13 1:32:47.985 luup_log:8: Message: Outgoing: 0x7e 0x01 0x1d 0x1e 0x1f <0x402>
50 10/11/13 1:32:47.986 luup_log:8: Message: Outgoing: 0x7e 0x01 0x21 0x22 0x23 <0x402>
50 10/11/13 1:32:48.191 luup_log:8: Received inconvenient message 0x08 <0x402>
50 10/11/13 1:32:48.193 luup_log:8: Message: Unsolicited message body: 0x00 0x00 0x00 0x00 0x00x00 0x00 0x00 0x02 0x01 0x00 <0x402>
50 10/11/13 1:32:48.193 luup_log:8: Sending message: 0x1D Positive Acknowledge <0x402>
50 10/11/13 1:32:48.195 luup_log:8: Message: Outgoing: 0x7e 0x01 0x1d 0x1e 0x1f <0x402>
50 10/11/13 1:32:48.197 luup_log:8: Message: Outgoing: 0x7e 0x01 0x21 0x22 0x23 <0x402>
50 10/11/13 1:32:48.351 luup_log:8: Received inconvenient message 0x08 <0x402>
50 10/11/13 1:32:48.353 luup_log:8: Message: Unsolicited message body: 0x00 0x00 0x00 0x00 0x00x00 0x00 0x00 0x02 0x01 0x00 <0x402>
50 10/11/13 1:32:48.353 luup_log:8: Sending message: 0x1D Positive Acknowledge <0x402>
50 10/11/13 1:32:48.355 luup_log:8: Message: Outgoing: 0x7e 0x01 0x1d 0x1e 0x1f <0x402>
50 10/11/13 1:32:48.356 luup_log:8: Message: Outgoing: 0x7e 0x01 0x21 0x22 0x23 <0x402>
50 10/11/13 1:32:48.661 luup_log:8: Received inconvenient message 0x08 LEAK this:28672 sta:274432 to 0x89e000 <0x402>
50 10/11/13 1:32:48.663 luup_log:8: Message: Unsolicited message body: 0x00 0x00 0x00 0x00 0x00x00 0x00 0x00 0x02 0x01 0x00 <0x402>
50 10/11/13 1:32:48.663 luup_log:8: Sending message: 0x1D Positive Acknowledge <0x402>
50 10/11/13 1:32:48.665 luup_log:8: Message: Outgoing: 0x7e 0x01 0x1d 0x1e 0x1f <0x402>
50 10/11/13 1:32:48.667 luup_log:8: Message: Outgoing: 0x7e 0x01 0x21 0x22 0x23 <0x402>
50 10/11/13 1:32:51.001 luup_log:8: Received inconvenient message 0x08 LEAK this:94208 sta:368640 to 0x8b5000 <0x402>
50 10/11/13 1:32:51.002 luup_log:8: Message: Unsolicited message body: 0x00 0x00 0x00 0x00 0x00x00 0x00 0x00 0x02 0x01 0x00 <0x402>
50 10/11/13 1:32:51.003 luup_log:8: Sending message: 0x1D Positive Acknowledge <0x402>
50 10/11/13 1:32:51.004 luup_log:8: Message: Outgoing: 0x7e 0x01 0x1d 0x1e 0x1f <0x402>
50 10/11/13 1:32:51.006 luup_log:8: Message: Outgoing: 0x7e 0x01 0x21 0x22 0x23 <0x402>
50 10/11/13 1:32:53.631 luup_log:8: Received inconvenient message 0x08 <0x402>
50 10/11/13 1:32:53.632 luup_log:8: Message: Unsolicited message body: 0x00 0x00 0x00 0x00 0x00x00 0x00 0x00 0x02 0x01 0x00 <0x402>
50 10/11/13 1:32:53.633 luup_log:8: Sending message: 0x1D Positive Acknowledge <0x402>
50 10/11/13 1:32:53.634 luup_log:8: Message: Outgoing: 0x7e 0x01 0x1d 0x1e 0x1f <0x402>
50 10/11/13 1:32:53.636 luup_log:8: Message: Outgoing: 0x7e 0x01 0x21 0x22 0x23 <0x402>
50 10/11/13 1:32:56.131 luup_log:8: Received inconvenient message 0x08 <0x402>
50 10/11/13 1:32:56.133 luup_log:8: Message: Unsolicited message body: 0x00 0x00 0x00 0x00 0x00x00 0x00 0x00 0x02 0x01 0x00 <0x402>
50 10/11/13 1:32:56.133 luup_log:8: Sending message: 0x1D Positive Acknowledge <0x402>
50 10/11/13 1:32:56.135 luup_log:8: Message: Outgoing: 0x7e 0x01 0x1d 0x1e 0x1f <0x402>
50 10/11/13 1:32:56.137 luup_log:8: Message: Outgoing: 0x7e 0x01 0x21 0x22 0x23 <0x402>
50 10/11/13 1:32:58.621 luup_log:8: Received inconvenient message 0x08 <0x402>
50 10/11/13 1:32:58.623 luup_log:8: Message: Unsolicited message body: 0x00 0x00 0x00 0x00 0x00x00 0x00 0x00 0x02 0x01 0x00 <0x402>
50 10/11/13 1:32:58.624 luup_log:8: Sending message: 0x1D Positive Acknowledge <0x402>
50 10/11/13 1:32:58.625 luup_log:8: Message: Outgoing: 0x7e 0x01 0x1d 0x1e 0x1f <0x402>
50 10/11/13 1:32:58.627 luup_log:8: Message: Outgoing: 0x7e 0x01 0x21 0x22 0x23 <0x402>
50 10/11/13 1:33:01.121 luup_log:8: Received inconvenient message 0x08 <0x402>
50 10/11/13 1:33:01.123 luup_log:8: Message: Unsolicited message body: 0x00 0x00 0x00 0x00 0x00x00 0x00 0x00 0x02 0x01 0x00 <0x402>
50 10/11/13 1:33:01.123 luup_log:8: Sending message: 0x1D Positive Acknowledge <0x402>
50 10/11/13 1:33:01.125 luup_log:8: Message: Outgoing: 0x7e 0x01 0x1d 0x1e 0x1f <0x402>
50 10/11/13 1:33:01.127 luup_log:8: Message: Outgoing: 0x7e 0x01 0x21 0x22 0x23 <0x402>
50 10/11/13 1:33:03.611 luup_log:8: Received inconvenient message 0x08 <0x402>
50 10/11/13 1:33:03.613 luup_log:8: Message: Unsolicited message body: 0x00 0x00 0x00 0x00 0x00x00 0x00 0x00 0x02 0x01 0x00 <0x402>
50 10/11/13 1:33:03.613 luup_log:8: Sending message: 0x1D Positive Acknowledge <0x402>
50 10/11/13 1:33:03.615 luup_log:8: Message: Outgoing: 0x7e 0x01 0x1d 0x1e 0x1f <0x402>
50 10/11/13 1:33:03.617 luup_log:8: Message: Outgoing: 0x7e 0x01 0x21 0x22 0x23 <0x402>
50 10/11/13 1:33:06.161 luup_log:8: Received inconvenient message 0x08 <0x402>
50 10/11/13 1:33:06.163 luup_log:8: Message: Unsolicited message body: 0x00 0x00 0x00 0x00 0x00x00 0x00 0x00 0x02 0x01 0x00 <0x402>
50 10/11/13 1:33:06.163 luup_log:8: Sending message: 0x1D Positive Acknowledge <0x402>
50 10/11/13 1:33:06.165 luup_log:8: Message: Outgoing: 0x7e 0x01 0x1d 0x1e 0x1f <0x402>
50 10/11/13 1:33:06.167 luup_log:8: Message: Outgoing: 0x7e 0x01 0x21 0x22 0x23 <0x402>
50 10/11/13 1:33:08.480 luup_log:8: Received inconvenient message 0x08 <0x402>
50 10/11/13 1:33:08.482 luup_log:8: Message: Unsolicited message body: 0x00 0x00 0x00 0x00 0x00x00 0x00 0x00 0x02 0x01 0x00 <0x402>

Seems to get traffic? but not correct.