Closed philwild closed 6 years ago
Almost every event the NX584 can send has to be enabled in the programming of the panel. Sending zone status has to be enabled. Sending partition arm/disarm status has to be enabled. Allowing partitions to be armed has to be enabled. Have you turned all that stuff on?
I've set it up exactly as per the instructions in location 0 through 3. Location 4 is as the default as I confirmed that my LCD keypad is in partition 1-1
I just went back into program mode to check and it is setup just like this...
- Protocol: ASCII
Feature: 0
Segment: 1
Option: 1
- Speed: 9600 Baud (OR WHICHEVER YOU CHOOSE).
Nb. People have reported that anything above 9600bps can have adverse affects on some system integrations including Home Assistant. This is likely dependent on the serial hardware that is used, however 9600bps is typically a safe option.
Feature: 1
Segment: 1
Option: 4
- Enabled Transition Messages:
Feature: 2
Segment: 1
Options:
2 - Interface Configuration Message
5 - Zone Status Message
7 - Partition Status Message
Segment: 2
Options:
1 - System Status Message
2 - X-10 Message Received (OPTIONAL)
3 - Log Event Message
4 - Keypad Message Received (OPTIONAL)
- Enabled Commands:
Feature: 3
Segment: 1
Options:
2 - Interface Configuration Request
4 - Zone Name Request
5 - Zone Status Request
6 - Zones Snapshot Request
7 - Partition Status Request
8 - Partitions Snapshot Request
Segment: 2
Options:
1 - System Status Request
2 - Send X-10 Message (OPTIONAL)
3 - Log Event Request
4 - Send Keypad Text Message (OPTIONAL)
Segment: 3
Options:
1 - Program Data Request (OPTIONAL)
2 - Program Data Command (OPTIONAL)
Segment: 4
Options:
4 - Set Clock / Calendar Command
5 - Primary Keypad Function with PIN (OPTIONAL)
7 - Secondary Keypad Function (OPTIONAL)
8 - Zone Bypass Toggle (OPTIONAL)
I've resolved the issue and it was physical rather than code related. I'm using a straight-through serial cable so I had flipped the four jumper locations to reverse the transmit/receive pins on the DB9 interface. When moving the jumper to set RXD to pin 3 (J10) I just missed the pin so J10 was open circuit.
So even though I could see data coming from the board, the board could not read anything coming from nx584_server.
Now that that has been fixed, the board is communicating correctly.
I have an NX-12 panel with installed NX584 module hooked up to an Rpi via USB cable. Comms appears to work in that I can see data being sent from the panel using minicom and nx584_server appears to be reading the raw ASCII line.
However, that raw ASCII line does not appear to change at all depending on the state of zones and any commands I've sent do not seem to have any impact (e.g. "nx584_client arm --partition 1") does not arm . See log below. Not sure if there is an incompatibility between config panel code or if it is user configuration error.
Any advice on further debugging would be very much appreciated =)