Announcement

Collapse
No announcement yet.

Partial connectivity?

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

    Partial connectivity?

    I am a new HS3 user and I'm debugging an issue using the concord plugin.

    First, I get "Comm Port Initialized. NOT connected to concord panel"
    Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	28.1 KB
ID:	1209410

    However, there is a connection because it reads the clock off the concord and I can verify the disarming code
    Click image for larger version

Name:	sec_code_ok.PNG
Views:	1
Size:	32.8 KB
ID:	1209411
    It will not resync the clock...times out on send request.

    Code:
    6/1/2016 10:17:55 AM...CONCORD Comm~~!~~initTimer() Initializing Panel timer. 10000 msecs
    6/1/2016 10:17:55 AM...CONCORD Comm~~!~~initTimer() Initializing Comms HB timer. 10000 msecs
    6/1/2016 10:18:33 AM...CONCORD Comm~~!~~ComOpen()
    6/1/2016 10:18:33 AM...CONCORD Comm~~!~~ComOpen() Trying to Open Serial Port Com1
    6/1/2016 10:18:33 AM...CONCORD Comm~~!~~ComOpen() Opening Com1 port, BaudRate=9600
    6/1/2016 10:18:33 AM...CONCORD Comm~~!~~ComOpen() Comm Port Com1 Opened
    6/1/2016 10:18:33 AM...CONCORD Comm~~!~~ComOpen() ComRxLine ReadThread Started
    6/1/2016 10:18:33 AM...CONCORD Comm~~!~~ComOpen() Serial port OPENed successful
    6/1/2016 10:18:42 AM...CONCORD Comm~~!~~SendRequestToPanel - 0940010009010203045D
    6/1/2016 10:18:45 AM...CONCORD Comm~~!~~SendRequestToPanel()-Waiting for request to finish
    6/1/2016 10:18:45 AM...CONCORD Comm~~!~~SendRequestToPanel - 074001000002004A
    6/1/2016 10:18:48 AM...CONCORD Comm~~!~~SendRequestToPanel()-Waiting for request to finish
    6/1/2016 10:18:48 AM...CONCORD Comm~~!~~SendRequestToPanel - 09400100010001080B5F
    6/1/2016 10:18:51 AM...CONCORD Comm~~!~~SendRequestToPanel()-Waiting for request to finish
    6/1/2016 10:18:51 AM...CONCORD Comm~~!~~SendRequestToPanel - 084001000A00000B5E
    6/1/2016 10:18:53 AM...CONCORD Comm~~!~~SendRequestToPanel()-Waiting for request to finish
    6/1/2016 10:18:53 AM...CONCORD Comm~~!~~SendRequestToPanel - 0940010009010203045D
    6/1/2016 10:18:56 AM...CONCORD Comm~~!~~SendRequestToPanel()-Waiting for request to finish
    6/1/2016 10:18:56 AM...CONCORD Comm~~!~~SendRequestToPanel - 074001000002014B
    6/1/2016 10:18:59 AM...CONCORD Comm~~!~~SendRequestToPanel()-Waiting for request to finish
    6/1/2016 10:18:59 AM...CONCORD Comm~~!~~SendRequestToPanel - 0B4001000006000101060B65
    6/1/2016 10:19:02 AM...CONCORD Comm~~!~~SendRequestToPanel()-Waiting for request to finish
    6/1/2016 10:19:02 AM...CONCORD Comm~~!~~SendRequestToPanel - 084001000A00000B5E
    6/1/2016 10:20:33 AM...CONCORD Comm~~!~~TimerHB: Communications Lost after 12 counts
    Yet the HS log seems to think it does sync the clock. There are no obvious errors.

    Code:
    Jun-01 10:17:54         Info    Plugin CONCORD has connected. IP:127.0.0.1:56611   
     Jun-01 10:17:54         CONCORD Debug    isLinux = False   
     Jun-01 10:17:54         CONCORD    InitConcord() Initializing Concord, Vers:3.1.13.6   
     Jun-01 10:17:54         CONCORD Info    Initializing Concord DB   
     Jun-01 10:17:54         CONCORD Info    Loading Keypad table   
     Jun-01 10:17:54         CONCORD Info    LoadKeyPadTable() - filename=C:\Program Files\HomeSeer HS3\Data\CONCORD\keypadtable.txt   
     Jun-01 10:17:54         CONCORD Info    Loading settings from hspi_Concord.ini   
     Jun-01 10:17:54         CONCORD Info    Retrieving User Data   
     Jun-01 10:17:55         CONCORD Info    Adding default Concord Plugin user(255)   
     Jun-01 10:17:55         CONCORD Info    Adding default Concord Plugin user(250)   
     Jun-01 10:17:55         CONCORD Info    Verifying User/Tracking tables   
     Jun-01 10:17:55         CONCORD Info    Checking/Updating DB configuration   
     Jun-01 10:17:55         CONCORD    Getting Concord Configuration   
     Jun-01 10:17:55         CONCORD    Configuration Checks Complete   
     Jun-01 10:17:55         CONCORD Info    Loading Zone Types   
     Jun-01 10:17:55         CONCORD Info    Loading Zone Data from Database to memory   
     Jun-01 10:17:55         CONCORD Info    Validating Zones/Devices   
     Jun-01 10:17:55         CONCORD Info    Initializing Timers   
     Jun-01 10:17:55         Z-Wave    Z-NET-Basement: Controller Manufacturer: Express Controls, ID=0x2, Type=0x5   
    ------CUT-------
    Jun-01 10:17:56         Z-Wave    Z-NET-Basement: Found 2 Z-Wave nodes in interface node ID 1 (Z-NET-Basement)   
     Jun-01 10:17:56         CONCORD    Concord Initialization Complete!   
     Jun-01 10:17:56         Z-Wave    Z-NET-Basement: Z-Wave PC Controller Library Version: Z-Wave 4.05 (ZDK 6.51.6)   
     Jun-01 10:17:56         Z-Wave    Z-NET-Basement: Z-Wave PC Controller is Type: Static Controller   
     Jun-01 10:17:56         CONCORD    ---------------------------------------------------   
     Jun-01 10:17:56         Z-Wave    The interface's security support has been set.   
    ------CUT-------
    Jun-01 10:18:03         TTS    Speak ():Welcome to Home-Seer   
     Jun-01 10:18:03         Web Server    Web Server authorized local login successful from: 192.168.4.75 User: sentry   
     Jun-01 10:18:23         Z-Wave    Starting Z-Wave Polling for Network EFE27539...   
     Jun-01 10:18:42         CONCORD Info    The Panel time was reported on startup to not be in sync with HS time. Syncing to 6/1/2016 10:18:42 AM   
     Jun-01 10:18:51         CONCORD Info    The Panel Date was reported on startup to be different than the HS Date. Syncing Date to 6/1/2016 10:18:51 AM
    Any help would be appreciated!

    #2
    I don't think it's talking to the panel yet.
    Turn on the Comms debug and see what the log says. You should, at a minimum, see panel trying to talk to the plugin and it responding.
    What do you have your Com1 port setup for Stop bits, parity, etc. Should be Odd parity, 1 stop bit.

    Z

    Comment


      #3
      Yes on 9600, 8 bits, odd parity, 1 stop, no flow control.

      Debugging is on and here is a snip from concord1.log. I think you are correct that there is no connectivity.
      Code:
      6/2/2016 11:58:22 PM...CONCORD Comm~~!~~SendRequestToPanel - 0940010009010203045D
      6/2/2016 11:58:25 PM...CONCORD Comm~~!~~SendRequestToPanel()-Waiting for request to finish
      6/2/2016 11:58:25 PM...CONCORD Comm~~!~~SendRequestToPanel - 074001000002014B
      6/2/2016 11:58:28 PM...CONCORD Comm~~!~~SendRequestToPanel()-Waiting for request to finish
      6/2/2016 11:58:28 PM...CONCORD Comm~~!~~SendRequestToPanel - 0B4001000006000201060B66
      6/2/2016 11:58:32 PM...CONCORD Comm~~!~~SendRequestToPanel()-Waiting for request to finish
      6/2/2016 11:58:32 PM...CONCORD Comm~~!~~SendRequestToPanel - 084001000A00000B5E
      6/2/2016 11:59:39 PM...CONCORD Comm~~!~~TimerHB: Communications Lost after 12 counts
      6/3/2016 12:01:39 AM...CONCORD Comm~~!~~TimerHB: Communications Lost after 12 counts
      6/3/2016 12:03:39 AM...CONCORD Comm~~!~~TimerHB: Communications Lost after 12 counts
      6/3/2016 12:05:39 AM...CONCORD Comm~~!~~TimerHB: Communications Lost after 12 counts
      6/3/2016 12:07:39 AM...CONCORD Comm~~!~~TimerHB: Communications Lost after 12 counts
      6/3/2016 12:08:14 AM...CONCORD Comm~~!~~ComClose() - Closing Comms
      6/3/2016 12:08:14 AM...CONCORD Comm~~!~~Closing Comm Port
      6/3/2016 12:08:14 AM...CONCORD Comm~~!~~ComRXLine() - Comms Opened OFF
      6/3/2016 12:08:18 AM...CONCORD Comm~~!~~Timer1Elapsed: No Comms, calling ComOpen
      6/3/2016 12:08:18 AM...CONCORD Comm~~!~~ComOpen()
      6/3/2016 12:08:18 AM...CONCORD Comm~~!~~ComOpen() Trying to Open Serial Port COM1
      6/3/2016 12:08:18 AM...CONCORD Comm~~!~~ComOpen() Opening COM1 port, BaudRate=9600
      6/3/2016 12:08:18 AM...CONCORD Comm~~!~~ComOpen() Comm Port COM1 Opened
      6/3/2016 12:08:18 AM...CONCORD Comm~~!~~ComOpen() ComRxLine ReadThread Started
      6/3/2016 12:08:18 AM...CONCORD Comm~~!~~ComRxLine: Read Thread started - Comm Port Open=True
      6/3/2016 12:08:39 AM...CONCORD Comm~~!~~SendRequestToPanel()-Waiting for request to finish
      6/3/2016 12:08:39 AM...CONCORD Comm~~!~~SendRequestToPanel - 0940010009010203045D
      6/3/2016 12:08:40 AM...CONCORD Comm~~!~~SendRequestToPanel - 074001000002004A
      6/3/2016 12:08:41 AM...CONCORD Comm~~!~~SendRequestToPanel - 09400100000000080B5D
      6/3/2016 12:08:42 AM...CONCORD Comm~~!~~SendRequestToPanel - 084001000A00000B5E
      6/3/2016 12:08:44 AM...CONCORD Comm~~!~~SendRequestToPanel()-Waiting for request to finish
      6/3/2016 12:08:44 AM...CONCORD Comm~~!~~SendRequestToPanel - 0940010009010203045D
      6/3/2016 12:08:45 AM...CONCORD Comm~~!~~SendRequestToPanel - 074001000002014B
      6/3/2016 12:08:46 AM...CONCORD Comm~~!~~SendRequestToPanel - 0B4001000006000301060B67
      6/3/2016 12:08:47 AM...CONCORD Comm~~!~~SendRequestToPanel - 084001000A00000B5E
      6/3/2016 12:09:48 AM...CONCORD Comm~~!~~TimerHB: Communications Lost after 12 counts
      OK... back to basics. I just wired concord to superbus 2000. 4 wires: 12v<->12v, gnd<->gnd, A bus, B bus. Tested continuity. Plugged in: The power led is green, superbus led is blinking away. Serial cable tested.

      Note RS-232 led is out. I got out the multimeter... no volts between pin 3 and 5. Do I have to jumper anything on board? (See image)
      Click image for larger version

Name:	Superbus_rs232.jpg
Views:	1
Size:	70.7 KB
ID:	1184943

      Somehow, I think I missed a step. Superbus appears to be working; rs-232 not active.

      Comment


        #4
        Here is what my settings look like for ref.
        -Matt
        Attached Files

        Comment


          #5
          Re query: RS-232 led is out. I got out the multimeter... no volts between pin 3 and 5. Do I have to jumper anything on board? (See image last post)

          Or, is there a command I need to issue the concord to activate the superebus 2000 rs-232?

          Comment


            #6
            Originally posted by jws View Post
            Re query: RS-232 led is out. I got out the multimeter... no volts between pin 3 and 5. Do I have to jumper anything on board? (See image last post)

            Or, is there a command I need to issue the concord to activate the superebus 2000 rs-232?
            The AM is discovered upon power cycle of the panel.
            The RS-232 plug is a DCE device so it should be:
            Pin 2- TXD ->
            Pin 3- RXD <-
            Pin 5- Gnd

            You should see voltage from 2 - 5 on the AM, and voltage from 3 - 5 on the cable coming from the PC. The PC should be a DTE device (ie TXD -> Pin 3, RXD <- Pin 2), so you use a straight through cable, not a null modem cable.

            BTW, do you have the AM installation manual?

            Z
            Last edited by vasrc; June 5, 2016, 02:20 PM.

            Comment


              #7
              I took the serial cable and connected it to another PC with a null modem adapter. I set both PCs at 9600, 8 bits, odd parity, 1 stop. Serial cable and serial port on PC checks out. I can type back and forth with a terminal emulator on each.

              The RS-232 led on the superbus 2000 circuit board is off..never flashes. Is this normal?
              Is your rs-232 led lit? (The power led is lit green and superbus led flashes constantly.)
              Attached Files

              Comment


                #8
                It should be a straight through cable not a null modem cable. Pin 2 on the AM board should be hot and Pin 3 on the PC should be hot. Sure you don't have echo turned on and are just seeing what you type?

                The Superbus LED does flash constantly with bus traffic.
                The Green LED is the power
                The RS232 LED should flash with data. You should see it flashing as it tries to talk to the PC. If it's not flashing, either you're not sending or the wiring is incorrect (you only need 3 wires (2,3 & 5)

                If you run a terminal emulator on your PC you should see data coming from the panel consistently as it tries to connect to the AM

                Z



                Configuring the Automation Module

                Serial Port LED Behavior
                The RS-232 LED will be illuminated during the time an Outbound character from the Automation Module is emitted at the serial port.
                The RS-232 LED is also illuminated for 125 ms each time an Inbound character from the Automation Device is received on the serial port.
                Generally speaking, a quickly flickering LED indicates an Outbound message, whereas a longer flickering indicates an Inbound message.


                Serial Port Physical Interface
                Serial parameters: 9600 baud, 8 data bits, odd parity, 1 stop bit.
                Serial Port is a RS-232 level, 3-wire Data Communications Equipment (DCE) serial port interface.
                Use a straight-through cable to connect to a PC's 9-pin serial port.

                Female 9-pin D-shell connections as follows:
                Pin 2 Transmit data (Automation Module's point of view)
                Pin 3 Receive data (Automation Module's point of view)
                Pin 5 Ground
                Remaining pins No-connect

                Comment


                  #9
                  Serial Port Physical Interface
                  Serial parameters: 9600 baud, 8 data bits, odd parity, 1 stop bit.
                  Serial Port is a RS-232 level, 3-wire Data Communications Equipment (DCE) serial port interface.
                  Use a straight-through cable to connect to a PC's 9-pin serial port.
                  Confirmed...straight through from PC to AM and configured as above.

                  To debug, I temporarily disconnected the cable from the AM and connected it into another PC (and added null modem). The HS3 PC with plugin is happy sending codes like

                  Code:
                  054001000147
                  0940010009010203045D
                  074001000002004A
                  I also verified 5V from pin 2 to 5 (I incorrectly tested 3 5 from the AM before).

                  When the PC sends a request to the AM, the RS-232 led does indeed light on the AM.

                  However, I never see the AM sending anything back. I watched it with a terminal and sent some of the logged codes... nothing. Also, the debug logs show nothing coming back

                  Code:
                  6/5/2016 10:28:02 PM...CONCORD Comm~~!~~initTimer() Initializing Panel timer. 10000 msecs
                  6/5/2016 10:28:02 PM...CONCORD Comm~~!~~initTimer() Initializing Comms HB timer. 10000 msecs
                  6/5/2016 10:28:03 PM...CONCORD Comm~~!~~ComOpen()
                  6/5/2016 10:28:03 PM...CONCORD Comm~~!~~ComOpen() Trying to Open Serial Port COM1
                  6/5/2016 10:28:03 PM...CONCORD Comm~~!~~ComOpen() Opening COM1 port, BaudRate=9600
                  6/5/2016 10:28:03 PM...CONCORD Comm~~!~~ComOpen() Comm Port COM1 Opened
                  6/5/2016 10:28:03 PM...CONCORD Comm~~!~~ComOpen() ComRxLine ReadThread Started
                  6/5/2016 10:28:03 PM...CONCORD Comm~~!~~ComOpen() Serial port OPENed successful
                  6/5/2016 10:28:03 PM...CONCORD Comm~~!~~SendRequestToPanel - 022022
                  6/5/2016 10:28:44 PM...CONCORD Comm~~!~~SendRequestToPanel - 05400100084E
                  6/5/2016 10:28:49 PM...CONCORD Comm~~!~~SendRequestToPanel - 054001000349
                  6/5/2016 10:28:57 PM...CONCORD Comm~~!~~SendRequestToPanel - 054001000248
                  6/5/2016 10:29:03 PM...CONCORD Comm~~!~~SendRequestToPanel - 054001000147
                  6/5/2016 10:29:08 PM...CONCORD Comm~~!~~SendRequestToPanel - 054001000046
                  6/5/2016 10:29:13 PM...CONCORD Comm~~!~~SendRequestToPanel - 054001000147
                  6/5/2016 10:29:40 PM...CONCORD Comm~~!~~SendRequestToPanel - 0940010009010203045D
                  6/5/2016 10:29:41 PM...CONCORD Comm~~!~~SendRequestToPanel - 074001000002004A
                  6/5/2016 10:29:42 PM...CONCORD Comm~~!~~SendRequestToPanel - 09400100020202090B64
                  6/5/2016 10:29:43 PM...CONCORD Comm~~!~~SendRequestToPanel - 084001000A00000B5E
                  6/5/2016 10:29:45 PM...CONCORD Comm~~!~~SendRequestToPanel()-Waiting for request to finish
                  6/5/2016 10:29:45 PM...CONCORD Comm~~!~~SendRequestToPanel - 0940010009010203045D
                  6/5/2016 10:29:46 PM...CONCORD Comm~~!~~SendRequestToPanel - 074001000002014B
                  6/5/2016 10:29:47 PM...CONCORD Comm~~!~~SendRequestToPanel - 0B4001000006000501060B69
                  6/5/2016 10:29:48 PM...CONCORD Comm~~!~~SendRequestToPanel - 084001000A00000B5E
                  6/5/2016 10:30:03 PM...CONCORD Comm~~!~~TimerHB: Communications Lost after 12 counts
                  6/5/2016 10:32:03 PM...CONCORD Comm~~!~~TimerHB: Communications Lost after 12 counts
                  6/5/2016 10:34:03 PM...CONCORD Comm~~!~~TimerHB: Communications Lost after 12 counts
                  Code:
                  6/5/2016 10:28:02 PM...CONCORD InfoHdr~~!~~ValidateDevices()
                  6/5/2016 10:28:02 PM...CONCORD InfoHdr~~!~~fixPanelControl()
                  6/5/2016 10:28:02 PM...CONCORD InfoHdr~~!~~InsertTrackingEvent()
                  6/5/2016 10:28:02 PM...CONCORD InfoHdr~~!~~verifyUser()
                  6/5/2016 10:28:03 PM...CONCORD InfoHdr~~!~~getDynamicData()
                  6/5/2016 10:29:35 PM...CONCORD InfoHdr~~!~~ValidateDevices()
                  6/5/2016 10:29:40 PM...CONCORD InfoHdr~~!~~Calling Webconfig:postBackProc
                  6/5/2016 10:29:40 PM...CONCORD InfoHdr~~!~~setPanelClock()
                  6/5/2016 10:29:48 PM...CONCORD InfoHdr~~!~~ValidateDevices()
                  6/5/2016 10:38:24 PM...CONCORD InfoHdr~~!~~ShutdownIO called
                  Code:
                  6/5/2016 10:28:02 PM~CONCORD~|Jun 05, 2016 10:28:02 PM|Initializing Comm Port|Zone 205 Connection Status|1
                  It looks like the AM isnt communicating anything back. Is there anything else I need to config?

                  Comment


                    #10
                    You're making the keypad entries on the plugin (the xx40xxxxx) commands?
                    You should always be seeing data coming from the AM. Typically the plugin doesn't send anything unless requested to do so (hence the first question).

                    What version of Concord panel are you using?
                    You did power cycle your panel after you installed the AM? I don't remember how to view the AM on the panel keypad, Matt is more familiar with the internal programming, so perhaps he can chime in.

                    IF the AM was included, your keypad would be beeping at you all the time saying the RS232 is disconnected (once you've installed an AM you have to talk to it all the time), so I suspect the AM isn't included yet.
                    I'd recheck the AM to panel wiring and power cycle your panel (remember you have to remove the battery.

                    Z

                    Comment


                      #11
                      Originally posted by vasrc View Post
                      What version of Concord panel are you using?
                      You did power cycle your panel after you installed the AM? I don't remember how to view the AM on the panel keypad, Matt is more familiar with the internal programming, so perhaps he can chime in.
                      Z
                      Yeah, I was following the thread but didn't want to step in because I wasn't aware of what was covered to this point.

                      "System Programming > Accessory Modules (lists the AM Id #)"

                      So, yes, I would back up and forget about communications right now and make sure we have :

                      1. The Concord panel meets/exceeds the requirements to handle the AM.
                      ~2. You powered down Concord (removed battery) and connected the 4 wires to the AM as per (amWiring1) diagram?

                      3. Reattach the battery and plug the Concord panel back to AC. A few things now should happen.

                      a. The led's on the AM should be illuminated. You asked what status is or should be on them. I can get them when I'm home if needed.

                      b. The other thing that should happen is your keypad should tone every 30-60secs. This means the panel recognizes the new hardware and has "auto-learned" it into the Concord panel. Here is where we might be stalling out.

                      If you receive that tone, great. Your communicating (albeit one way for now) out of the AM and the AM is looking far a ACK response from say HS. Let's connect the serial cable and try to setup HS to the COM port.

                      If you don't receive the tone and your Concord is of the correct version and you don't have a bad AM (which we assume it's OK) then there is a procedure to manually add the AM module.

                      Let me know if the AM is toning (or not) before we go thru the manual steps to add AM to panel (if necessary).



                      -Matt

                      Attached Files

                      Comment


                        #12
                        Matt,

                        I'll answer your questions in order

                        1. The concord express device returns Factory code F-176-1313, System number n-0018799, system level 0201. (Kind of cryptic.) If the rev is too low, can I update the software somehow?

                        2. Yes, and continuity/voltages tested where appropriate.

                        3a. Yes on reconnect of the battery/power, green voltage led illuminates solid, red superbus led flashes, rs232 led only flashes when I put input through a dumb terminal (9600,8,o,1) OR when HS3 PC is connected and I do a resync clock or something like that.


                        3b. I believe that this is the problem! The keypad does not tone or say RS-323 is disconnected. I did manually 8+code+01 to re-read bus, but I do not get tones or error that rs-232 disconnected. Further, no data comes out of the AM when I dumb terminal is connected.

                        If you have instructions to manually add the device, I think that may do the trick.

                        Joe

                        Comment


                          #13
                          Ok. I need to figure out if you have a Concord Express v4. Is there stickers in the panel anywhere? ...on the module?

                          I am not aware of anyway to update a version without a new board or flashing the eProm.

                          I just googled the manual for Concord Express and on pg 35 it is the Acc Module section. You'll need the device id to check and see if the panel has learned it in. I'm not sure if you can add a new accessory into the panel if it's not recognized.

                          The more I look around googling the more I see the AM is either compatible with CEx v4 and some stores list it as not compatible with CEx. I thought we had some here running the CEx?? You'll need to somehow find if its a v4 but my instincts are that it isn't, thus the lack of communication.

                          ~I have included a ss of the manual and Acc Module section for you. Probably a good idea to grab a manual if you haven't already.

                          ~I have also attached a copy of the old HS2 plugin's doc. I guess in my spare time I'll update to HS3 but some info still applies.

                          ""


                          Matt
                          Attached Files
                          Last edited by mattm55; June 7, 2016, 05:34 AM. Reason: Add SS

                          Comment


                            #14
                            Thank you! I will try manually adding it. I'll let you know how it goes.

                            Comment


                              #15
                              You're da man, Matt

                              Z

                              Comment

                              Working...
                              X