Announcement

Collapse
No announcement yet.

Help! - Unable to add SECU16

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

    Help! - Unable to add SECU16

    HTML Code:
      Status  Area  Name  Code  Type  Last Change  Control 
      0  ADIOcelot DoorBell Press Count  [1 Interface Variable        
      0  ADIOcelot Ring count  [2 Interface Variable
      0  ADIOcelot Variable 127  \64 Interface Variable
      0  ADIOcelot Variable 2  [3 Interface Variable 
    Here is my settings.ini section.
    Code:
    [hspi_ocelot]
    reg_moved=1
    comport=3
    poll_interval=2000
    invert=1
    log_errors=0
    log_comms=0
    first_run=1
    base_var=35
    mappings=2!11!]!1,1!11!$!1,
    iniFile=1
    showInMenu=1
    Recognition=0
    IncludeVariables=0
    IncludeIO=1
    IncludeIR=0
    IncludeX10=0
    IncludeMessages=0
    SyncMaster=1
    CMAXFile=C:\Program Files\adi\adicon2500\CPUXA.exe
    X10Xmit=0
    UpdateStrings=0
    RunAsXapNode=0
    InterfaceName=1
    leopard_var=&
    Attached Files

    #2
    The mappings setting in you settings.ini file contains the information about the units. The For loop below is looking through the lines in the list box which has the ocelot and the 3 units per your posting. It is been too long since I did work with this, but his is something you may be able to tinker with. Look for the pattern in the mappings line and see if you can figure out what you need to add to it to make it think you have a 3rd SECU. Obviously do appropriate backups before tinkering.

    Code:
    390           For i = 1 To List1.ListCount - 1
    400               bFound = False
    410               v = Split(List1.List(i), " ")
    420               If IsNumeric(v(1)) Then
    430                   iIOUnit = CInt(v(1))
    440                   For Each um In gUnitMappings
    450                       If iIOUnit = um.unit Then
    460                           bFound = True
    470                           sUnitHouse = um.hc
    480                           iType = um.utype
    490                           iInvert = um.invert
    500                           Exit For
    510                       End If
    520                   Next
    530               End If

    Comment


      #3
      I actually tried this, I set the settings.ini to look like this:
      Code:
      [hspi_ocelot]
      reg_moved=1
      comport=3
      poll_interval=2000
      invert=1
      log_errors=0
      log_comms=0
      first_run=1
      base_var=91
      mappings=2!11!]!1,1!11!$!1,3!11!-!1
      iniFile=1
      showInMenu=1
      Recognition=0
      IncludeVariables=0
      IncludeIO=1
      IncludeIR=0
      IncludeX10=0
      IncludeMessages=0
      SyncMaster=1
      CMAXFile=C:\Program Files\adi\adicon2500\CPUXA.exe
      X10Xmit=0
      UpdateStrings=0
      RunAsXapNode=0
      InterfaceName=1
      leopard_var=&
      The problem I ran into is that it either tried to delete or recreate the existing SECU's, the one time I got it to work and create all the new unit 3 stuff, it used "," for the house code and it never received the data from the Ocelot.

      I think it is related to the fact that the plug-in doesn't think I have house codes set on the variables page, as once it moved the '$' to the variables and revreated my 1st and 3rd units.

      If there was a way I could just fool it and create them manually in HS2 then modify the database to match what the plug-in wanted.

      Then if I went back into setup the plug-in would be happy, as of now (and since I installed HS2) I am unable to use the setup page, as it seems to be missing info, and if I hit update it just messes everything up.
      Last edited by sbessel; May 5, 2009, 12:32 AM.

      Comment


        #4
        WOOT!!! I got it...

        It was all in the Database... once I fixed my existing variables to have the proper ADIOcelot Interface type, then the house codes would show up in the config. Then I copied one of my existing SECU units and then went into the database and changed it's house code and device code to the new one I wanted to use, then modified the iomisc to match what should be in the settings.ini (3!11!-!1) then restarted HS and the ADIOcelot config... Then everything was populated and all I needed to do as was the plug-in to create the rest of the new SECU unti 3 stuff and voila it worked!!!

        I am so happy!!!

        Thanks!!!!!

        Comment


          #5
          I not sure what you mean by the database? I don't understand what you are saying.

          I was following your post because I have been struggling with an Ocelot and a Secu-16 and 2 Secu-16I's. I have on a test system on my desk I am working on which sometimes seems to show up and other times only one Secu-16I will show working. I building a HomeSeer system to replace an older Home Automation system. I have another Ocelot on at another House which has worked great. This has been very frustrating.

          Comment


            #6
            Originally posted by jgary View Post
            I not sure what you mean by the database? I don't understand what you are saying.

            I was following your post because I have been struggling with an Ocelot and a Secu-16 and 2 Secu-16I's. I have on a test system on my desk I am working on which sometimes seems to show up and other times only one Secu-16I will show working. I building a HomeSeer system to replace an older Home Automation system. I have another Ocelot on at another House which has worked great. This has been very frustrating.
            I was refering to the HomeSeer database file. You can edit with MS Access.

            If you open the devices there it is easy to see what is missing. I may have also had a better chance as it was working before the HS2 downgrade.

            If you are stuck I can help (possibly)

            Feel free to ask...

            Comment


              #7
              I have the same problem... have you got any ideas for me.. i dont quite understand what you did to resolve the matter. Thanks

              -Tom-
              -Tom-

              Comment

              Working...
              X