Announcement

Collapse
No announcement yet.

Can't connect to P3200

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can't connect to P3200

    I have a brand new p3200 (72c4 firmware) that the plugin will not connect to. Works fine with Quickloader and I can see keypad messages coming out to a terminal program(Putty).
    I've attached some log data that might be of help. I'm using a PC-Mini but as I said, Quickloader is happy with it. Any ideas? Napco.txt

  • #2
    Please see the comment in the top sticky post (also copied below). You might try turning off TCP Communications to get the panel to work with the plugin. If that's not an option for you maybe due to panel devices you plan to use, then your panel may not be compatible with this plugin. There are currently no plans to enhance this plugin to support the newer features of Napco panels like TCPIP (unable to get developer documentation is primary issue). This plugin was created under HS3 to maintain compatibility after the HS2 to HS3 upgrade a few years back.

    NOTE! P3200 panels with hardware V20 and newer (circa 2003) may or may not support GEM-AUTOMATION. There have been conflicting reports of success with newer panels as long as "the TCP Communications is not checked." Older P3200 with V11 hardware reportedly do.
    HS 3.0.0.435 (PRO)
    Hardware: Napco GEM-P9600 | VenstarT1800 w/Insteon 2441V adapter | Insteon PLM
    Plugins HS3: Napco Gemini (mine) | Insteon Thermostat (mine) | Insteon Plug-in (mnsandler) | HSTouch Server (HST)
    Platform: Windows 10 Pro 64bit, core2 duo 2.0Ghz, 4GB memory
    http://www.kazteel.com/

    Comment


    • #3
      TCPIP isn't turned on. It just doesn't want to work. If you have any other ideas, I'm willing to try them. Thanks

      Comment


      • #4
        You could turn debug logging on and post your log. That will help see what is or isn't working.
        HS 3.0.0.435 (PRO)
        Hardware: Napco GEM-P9600 | VenstarT1800 w/Insteon 2441V adapter | Insteon PLM
        Plugins HS3: Napco Gemini (mine) | Insteon Thermostat (mine) | Insteon Plug-in (mnsandler) | HSTouch Server (HST)
        Platform: Windows 10 Pro 64bit, core2 duo 2.0Ghz, 4GB memory
        http://www.kazteel.com/

        Comment


        • #5
          So, I have 9600 panel with the following software version: GP9600.V72C31/04/02. TCP/IP is not checked. Quickloader works fine on the same PC that HS3 is installed on. When I start up, it doesn't connect to panel, but I do see status updates in the log file. I was searching Napco's web site and finally found a "newer" version (2013) of the GEMINI Home / Building Automation Development Specification. In it, it says the following:

          Alternate Master/Slave Communication (NOT requiring RTS/CTS)
          (supported in version 40b and above for GEM-P3200, 30B and
          above for the GEM-P9600, version 4A and above for the GEM-X255)

          In order for the PC to get the attention of the panel, the following protocol is to be followed:

          1. PC sends 87H out serial port.
          2. When panel is ready, it will respond with 88H (usually responds within 250ms).
          3. The PC then issues the following commands:

          ● Security Check
          ● Master/Slave Commands (repeated until all desired data is sent)

          4. If commands stop for more than 5 seconds, the panel returns to normal operation and outputs a packet
          that means the panel is no longer busy (i.e., 7FH in command byte location).

          Note: If using a GEM-RS232, PCI2000 or PCI-Mini connected to the serial RJ12 connector, the signals
          will get inverted.

          Are you using this method as well as the old one for initiating communications with the panel? Otherwise, can I suggest that you attempt to reverse engineer how QL talks to the panel? I downloaded a Serial monitoring tool (trial) and it looks like QL changes the baud rate all over the place. Not sure why it does this. Here is my log:




          8/19/2019 7:51:47 AM ~ Napco Gemini ~ INFO ~ ---------------------------------------------------------------------
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ INFO ~ Starting Up... Napco Gemini plug-in version = 3.0.2.1
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ INFO ~ ---------------------------------------------------------------------
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ INFO ~ hs.Version = 3.0.0.548
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ INFO ~ hs.InterfaceVersion = 4
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ INFO ~ hs.GetOSType/Version = Windows 6.2.9200.0
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ INFO ~ hs.PluginLicenseMode = Registered. Thank you!
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ ---------------------------------------------------------------------
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ INI values from hspi_napco_gemini.ini
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ INI Version = 3.0.2.1
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ ---------------------------------------------------------------------
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ COMPort=COM4
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ MaxZones=32
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ CmdTimeout=5
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ MaxRetry=4
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ UseIcons=True
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ Log Incoming Status=True
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ Log Outgoing Commands=True
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ Log Debug Info=True
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ WebArmButton=True
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ WebDisarmButton=True
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ WebBypassButton=True
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ WebRelayButtons=True
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ UseSerialPortTimer=False
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ KeypadRefresh=20
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ LogZonesStr=*
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ LogZones =
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ BypassZonesStr=
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ BypassZones =
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ logFileDebug=C:\Program Files (x86)\HomeSeer HS3/Logs/NapcoDebug.log
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ logLvl=79 [Always] [Err] [Info] [Incoming] [Outgoing] [Debug]
          8/19/2019 7:51:47 AM ~ Napco Gemini ~ DEBUG ~ ---------------------------------------------------------------------
          8/19/2019 7:51:48 AM ~ Napco Gemini ~ DEBUG ~ PanelConnect - Open new connection to the panel
          8/19/2019 7:51:48 AM ~ Napco Gemini ~ DEBUG ~ StartSession - HAIL panel
          8/19/2019 7:51:48 AM ~ Napco Gemini ~ OUTGOING ~ SENDING: 1A,6,0,0,0,0,2A,2A,2A,2A,2A,2A
          8/19/2019 7:51:48 AM ~ Napco Gemini ~ DEBUG ~ ProcessPanelUpdate - STATUS_UPDATE - IGNORED (waiting on InitIO) [7F, 00, 00]
          8/19/2019 7:51:53 AM ~ Napco Gemini ~ DEBUG ~ Timed out waiting for reply.
          8/19/2019 7:51:54 AM ~ Napco Gemini ~ INFO ~ Start Session to Napco Panel attempt #2
          8/19/2019 7:51:54 AM ~ Napco Gemini ~ DEBUG ~ StartSession - HAIL panel
          8/19/2019 7:51:59 AM ~ Napco Gemini ~ INFO ~ TIMEOUT waiting for panel to be ready for our command
          8/19/2019 7:52:00 AM ~ Napco Gemini ~ INFO ~ Start Session to Napco Panel attempt #3
          8/19/2019 7:52:00 AM ~ Napco Gemini ~ DEBUG ~ StartSession - HAIL panel
          8/19/2019 7:52:05 AM ~ Napco Gemini ~ INFO ~ TIMEOUT waiting for panel to be ready for our command
          8/19/2019 7:52:06 AM ~ Napco Gemini ~ INFO ~ Start Session to Napco Panel attempt #4
          8/19/2019 7:52:06 AM ~ Napco Gemini ~ DEBUG ~ StartSession - HAIL panel
          8/19/2019 7:52:11 AM ~ Napco Gemini ~ INFO ~ TIMEOUT waiting for panel to be ready for our command
          8/19/2019 7:52:11 AM ~ Napco Gemini ~ DEBUG ~ Unable to establish session to panel for version check
          8/19/2019 7:52:17 AM ~ Napco Gemini ~ INFO ~ Panel Startup Initialization attempt #2
          8/19/2019 7:52:17 AM ~ Napco Gemini ~ DEBUG ~ PanelConnect - Open new connection to the panel
          8/19/2019 7:52:17 AM ~ Napco Gemini ~ DEBUG ~ StartSession - HAIL panel
          8/19/2019 7:52:17 AM ~ Napco Gemini ~ OUTGOING ~ SENDING: 1A,6,0,0,0,0,2A,2A,2A,2A,2A,2A
          8/19/2019 7:52:17 AM ~ Napco Gemini ~ DEBUG ~ ProcessPanelUpdate - STATUS_UPDATE - IGNORED (waiting on InitIO) [7F, 00, 00]
          8/19/2019 7:52:22 AM ~ Napco Gemini ~ DEBUG ~ Timed out waiting for reply.
          8/19/2019 7:52:23 AM ~ Napco Gemini ~ INFO ~ Start Session to Napco Panel attempt #2
          8/19/2019 7:52:23 AM ~ Napco Gemini ~ DEBUG ~ StartSession - HAIL panel
          8/19/2019 7:52:28 AM ~ Napco Gemini ~ INFO ~ TIMEOUT waiting for panel to be ready for our command
          8/19/2019 7:52:29 AM ~ Napco Gemini ~ INFO ~ Start Session to Napco Panel attempt #3
          8/19/2019 7:52:29 AM ~ Napco Gemini ~ DEBUG ~ StartSession - HAIL panel
          8/19/2019 7:52:34 AM ~ Napco Gemini ~ INFO ~ TIMEOUT waiting for panel to be ready for our command
          8/19/2019 7:52:35 AM ~ Napco Gemini ~ INFO ~ Start Session to Napco Panel attempt #4
          8/19/2019 7:52:35 AM ~ Napco Gemini ~ DEBUG ~ StartSession - HAIL panel
          8/19/2019 7:52:40 AM ~ Napco Gemini ~ INFO ~ TIMEOUT waiting for panel to be ready for our command
          8/19/2019 7:52:40 AM ~ Napco Gemini ~ DEBUG ~ Unable to establish session to panel for version check
          8/19/2019 7:52:46 AM ~ Napco Gemini ~ INFO ~ Panel Startup Initialization attempt #3
          8/19/2019 7:52:46 AM ~ Napco Gemini ~ DEBUG ~ PanelConnect - Open new connection to the panel
          8/19/2019 7:52:46 AM ~ Napco Gemini ~ DEBUG ~ StartSession - HAIL panel
          8/19/2019 7:52:46 AM ~ Napco Gemini ~ OUTGOING ~ SENDING: 1A,6,0,0,0,0,2A,2A,2A,2A,2A,2A
          8/19/2019 7:52:47 AM ~ Napco Gemini ~ DEBUG ~ ProcessPanelUpdate - STATUS_UPDATE - IGNORED (waiting on InitIO) [7F, 00, 00]
          8/19/2019 7:52:51 AM ~ Napco Gemini ~ DEBUG ~ Timed out waiting for reply.
          8/19/2019 7:52:52 AM ~ Napco Gemini ~ INFO ~ Start Session to Napco Panel attempt #2
          8/19/2019 7:52:52 AM ~ Napco Gemini ~ DEBUG ~ StartSession - HAIL panel
          8/19/2019 7:52:57 AM ~ Napco Gemini ~ INFO ~ TIMEOUT waiting for panel to be ready for our command
          8/19/2019 7:52:58 AM ~ Napco Gemini ~ INFO ~ Start Session to Napco Panel attempt #3
          8/19/2019 7:52:58 AM ~ Napco Gemini ~ DEBUG ~ StartSession - HAIL panel
          8/19/2019 7:53:03 AM ~ Napco Gemini ~ INFO ~ TIMEOUT waiting for panel to be ready for our command
          8/19/2019 7:53:04 AM ~ Napco Gemini ~ INFO ~ Start Session to Napco Panel attempt #4
          8/19/2019 7:53:04 AM ~ Napco Gemini ~ DEBUG ~ StartSession - HAIL panel
          8/19/2019 7:53:09 AM ~ Napco Gemini ~ INFO ~ TIMEOUT waiting for panel to be ready for our command
          8/19/2019 7:53:10 AM ~ Napco Gemini ~ DEBUG ~ Unable to establish session to panel for version check
          8/19/2019 7:53:16 AM ~ Napco Gemini ~ INFO ~ Panel Startup Initialization attempt #4
          8/19/2019 7:53:16 AM ~ Napco Gemini ~ DEBUG ~ PanelConnect - Open new connection to the panel
          8/19/2019 7:53:16 AM ~ Napco Gemini ~ DEBUG ~ StartSession - HAIL panel
          8/19/2019 7:53:16 AM ~ Napco Gemini ~ OUTGOING ~ SENDING: 1A,6,0,0,0,0,2A,2A,2A,2A,2A,2A
          8/19/2019 7:53:16 AM ~ Napco Gemini ~ DEBUG ~ ProcessPanelUpdate - STATUS_UPDATE - IGNORED (waiting on InitIO) [7F, 00, 00]
          8/19/2019 7:53:17 AM ~ Napco Gemini ~ DEBUG ~ ProcessPanelUpdate - STATUS_KEYPAD_AREA1 - IGNORED (waiting on InitIO) [%SYSTEM READY 08/19/19 07:54AM]
          8/19/2019 7:53:21 AM ~ Napco Gemini ~ DEBUG ~ Timed out waiting for reply.
          8/19/2019 7:53:22 AM ~ Napco Gemini ~ INFO ~ Start Session to Napco Panel attempt #2
          8/19/2019 7:53:22 AM ~ Napco Gemini ~ DEBUG ~ StartSession - HAIL panel
          8/19/2019 7:53:27 AM ~ Napco Gemini ~ INFO ~ TIMEOUT waiting for panel to be ready for our command
          8/19/2019 7:53:28 AM ~ Napco Gemini ~ INFO ~ Start Session to Napco Panel attempt #3
          8/19/2019 7:53:28 AM ~ Napco Gemini ~ DEBUG ~ StartSession - HAIL panel
          8/19/2019 7:53:33 AM ~ Napco Gemini ~ INFO ~ TIMEOUT waiting for panel to be ready for our command
          8/19/2019 7:53:34 AM ~ Napco Gemini ~ INFO ~ Start Session to Napco Panel attempt #4
          8/19/2019 7:53:34 AM ~ Napco Gemini ~ DEBUG ~ StartSession - HAIL panel
          8/19/2019 7:53:39 AM ~ Napco Gemini ~ INFO ~ TIMEOUT waiting for panel to be ready for our command
          8/19/2019 7:53:39 AM ~ Napco Gemini ~ DEBUG ~ Unable to establish session to panel for version check
          8/19/2019 7:53:44 AM ~ Napco Gemini Error ~ Panel Startup Initialization : Unable to establish a good connection to the Napco Panel!


          EDIT:
          Also, could you perhaps allow the plug-in to receive status updates and function even if it can't send commands to the panel? That will be better than nothing! Thanks!

          EDIT2:
          I noticed the 2A,2A,2A,2A,2A,2A where the master code is supposed to be - do you do this so it doesn't show in the log or is this what is really being sent? I do have the correct code set in the GUI.

          Comment


          • #6
            The Napco plugin here implements the GEM-AUTOMATION protocol and uses the RTS/CTS communications mechanism. I did experiment with the alternate communications protocol without any serious progress a couple years back. Unfortunately as time goes on Napco has evolved their newer panels and access to developer documentation to continue upgrades has not been possible. This plugin was created to maintain the same functionality that existed with HS2 as the move to HS3 was done and HST decided not to upgrade their HS2 version plugin.

            The plugin has 2 modes of communication, encrypted and non-encrypted. It receives the bus feed even if it wasn't able to log you in. Unfortunately, without successfully logging in it can't map the zones/areas to make meaningful use of what's coming over the un-encrypted (non-logged-in) bus feed.

            Yes the masked 2A2A etc. echo is so your master code doesn't show in every log message.

            Please see my other post here today. If a Napco dealer can get me access to new (and useful) developer documentation and to new hardware to test with I might be able to look into these issues with newer panels. Until then I'm afraid I may not be able to help if the newer panels don't implement the same GEM-AUTOMATION protocol standards as the previous generation did.

            Nathan

            HS 3.0.0.435 (PRO)
            Hardware: Napco GEM-P9600 | VenstarT1800 w/Insteon 2441V adapter | Insteon PLM
            Plugins HS3: Napco Gemini (mine) | Insteon Thermostat (mine) | Insteon Plug-in (mnsandler) | HSTouch Server (HST)
            Platform: Windows 10 Pro 64bit, core2 duo 2.0Ghz, 4GB memory
            http://www.kazteel.com/

            Comment


            • #7
              Thanks for the response Nathan! You say that "Unfortunately, without successfully logging in it can't map the zones/areas to make meaningful use of what's coming over the un-encrypted (non-logged-in) bus feed." But, what if you had a "learn" mode that could be turned on, then the user would open/close each door, etc. so you would *see* the zone name/number and you could update your database that way? You would still need to type in things like Fire zones, but I think you could get 90% of the functionality this way, They only things you wouldn't be able to do is arm/disarm the system and control relay outputs, right? I think I can get around that by programming a keyswitch input on the panel and using a relay (or 2 to prevent false arming/disaming) so I would be back to 100% working!

              Brian

              Comment


              • #8
                That sounds like a possible concept (needs more review/thought) however it would be a significant architectural change to the plugin. Right now I'm not in a position to take on that endeavor (day job taking all my free time). I'll put that on the todo pile and see if I can incubate it a bit.

                Nathan
                HS 3.0.0.435 (PRO)
                Hardware: Napco GEM-P9600 | VenstarT1800 w/Insteon 2441V adapter | Insteon PLM
                Plugins HS3: Napco Gemini (mine) | Insteon Thermostat (mine) | Insteon Plug-in (mnsandler) | HSTouch Server (HST)
                Platform: Windows 10 Pro 64bit, core2 duo 2.0Ghz, 4GB memory
                http://www.kazteel.com/

                Comment

                Working...
                X