Announcement

Collapse
No announcement yet.

HS3 Beta Insteon Plug-in v3.0

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    HS3 Beta Insteon Plug-in v3.0

    All,
    I'm going to take a different approach with building and testing the HS3 plugin. I'm going to add HS3 functionality as we go/test as opposed to making you all wait for a completely functional beta.

    So this version, has basic startup and setup routines but does not include any triggers, conditions, event actions, and complete control button operation

    This version should recognize every device you have just as the HS2 plugin does. I'm using the Insteon ID followed by a Group number for the HS3 Address. Please ignore any references to Housecodes in the log. Group control may not work just yet.

    So here is what you can do to test/help:

    1. shutdown hs3.
    2. copy the files in the attached zip to your hs3 root directory
    3. Copy your existing insteon.ini to the HS3 config folder
    4. Start with an HS3 database that does not have any insteon devices.
    5. Start HS3, enable the plugin and restart HS3.

    if everything works as expected, you should see your registered devices on the HS3 Device management page as the plugin should create new devices for you.

    Many switchlinc devices have On/Off btns or a slider and an On btn. Test these for direct control of your insteon devices.

    some devices will display control btns but they are not functional.

    Please reply here with any errors you get during startup and from using the control btns just mentioned. Please do not start any new threads in the forum related to this HS3 beta.

    I need to keep all your HS3 feedback attached to this thread.

    If you don't have InterfacePort in your insteon.ini, you must set the interface port on the plugin configuration page and then restart HS3.

    Enjoy!

    Changes

    - Recompiled for x86 (3.0.0.8)
    - Fixed InitIO error when using HS 3.0.0.13 (3.0.0.9)
    - Fixed startup error if Interface Port is not set (3.0.0.10)
    - Removed the license requirement during beta - 3.0.0.10 will expire on 9/30
    Attached Files
    Last edited by mnsandler; August 26, 2013, 08:27 AM.
    Mark

    HS3 Pro 4.2.19.5
    Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
    Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
    Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

    #2
    Hey there Mark, here is what I get:


    11:57:10 PM ERROR Registration error(1): : Invalid License ID/Password combination. Contact technical support if you need assistance.
    11:56:03 PM Plug-In Finished initializing plug-in Insteon
    11:56:03 PM Error (1) Unable to initialize interface Insteon :Either no license or trial has expired
    11:55:56 PM Web Server Web Server authorized local login successful from: 192.168.0.5 User: default
    11:55:53 PM Startup Start up complete.
    11:55:53 PM Startup HSSentry is disabled in Setup, sentry will not be started.
    11:55:51 PM TTS Speak ():Welcome to Home-Seer
    11:55:51 PM Startup Scripting is OK and is now running Startup.txt
    11:55:51 PM Startup Running the Startup.txt Script
    11:55:51 PM Speaker Speaker host added, Name: Tonys-PC IP address: 192.168.0.5
    11:55:49 PM Startup Starting DDNS service...
    11:55:49 PM Startup Updater services starting...
    11:55:49 PM Startup Starting Event Scheduler...
    11:55:49 PM Startup HSSentry is disabled in Setup, sentry will not be started.
    11:55:49 PM Speech Listening for remote speaker connections on port 10401
    11:55:49 PM Startup Initializing Speaker Client Interface
    11:55:49 PM Startup Start automation engine...
    Attached Files
    HomeSeer Version: HS3 Pro Edition
    Operating System: Microsoft Windows 10 Pro
    Processor Type and Speed: i7 - 3.26 GHz
    Total Physical Memory: 16Gig

    Plugins: BlBackup | EasyTrigger | FitbitSeer | HSTouchServer | Insteon | WeatherXML

    Comment


      #3
      tried the new beta and the plugin for the first time.

      initially had the same error as above. figured there was no license file, so I copied the .lf from my HS2.

      now, I don't get that error. startup completes with no errors. however, when I try to turn on the plugin in the Manage Plugins area, HS3 says:


      Waiting for user to continue trial...
      Starting up....
      Startup Complete, no errors detected.

      6/25/2013 9:26:52 AM ~!~Insteon~!~** An error occurred in this plug-in. The details have been written to the log file - C:\Program Files\HomeSeer HS3\Config\Insteon Error Report.Log
      6/25/2013 9:26:52 AM ~!~Error~!~Initializing plug-in(1): Insteon Instance::HSCF.Communication.ScsServices.Communication.Messa ges.ScsRemoteException: Invalid length for a Base-64 char array or string.Service Version: NO_VERSION ---> System.FormatException: Invalid length for a Base-64 char array or string. at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength) at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength) at System.Convert.FromBase64String(String s) at ay.a(String A_0, String A_1, String A_2, String A_3, Int32 A_4, String A_5, Int32 A_6) at ay.a(String A_0, String A_1, String A_2, String A_3) at a1.a(String A_0, String A_1, String A_2, String A_3) at Scheduler.hsapplication.DecryptString(String sToDecrypt, String sPassword, String KeyModifier) --- End of inner exception stack trace ---Server stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessag e(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(Mess ageData& msgData, Int32 type) at HomeSeerAPI.IHSApplication.DecryptString(String sToDecrypt, String sPassword, String KeyModifier) at HSPI_Insteon.hspiAPI.HSAPI.DecryptString(String sToDecrypt, String sPassword) at Insteon.Support.Hub.SocketPortClass..ctor(String PortInfoStr) at Insteon.Support.CreateInterfaceModule.CreateInterfacePort(St ring PortInfo) at Insteon.Support.Core.InsteonModule.Interface_Initialize() at HSPI_Insteon.HSPI.InitPlugin(Int32 Mode)

      Comment


        #4
        guys,
        i forgot to register the new plugin with Rich first.

        please remove any insteon.lf files from HS3 installation and try again.

        the plugin should startup with a trial license.
        Mark

        HS3 Pro 4.2.19.5
        Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
        Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
        Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

        Comment


          #5
          started from scratch. installed hs3. extracted plug in files. copied insteon.ini

          hs3 says it starts up ok. when I try to enable the plug in, it fails. it goes from red to green for an instant and then back to red

          am I missing something?


          6/25/2013 6:58:35 PM ~!~Insteon~!~** An error occurred in this plug-in. The details have been written to the log file - C:\Program Files\HomeSeer HS3\Config\Insteon Error Report.Log
          6/25/2013 6:58:35 PM ~!~Error~!~Initializing plug-in(1): Insteon Instance::HSCF.Communication.ScsServices.Communication.Messa ges.ScsRemoteException: Invalid length for a Base-64 char array or string.Service Version: NO_VERSION ---> System.FormatException: Invalid length for a Base-64 char array or string. at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength) at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength) at System.Convert.FromBase64String(String s) at ay.a(String A_0, String A_1, String A_2, String A_3, Int32 A_4, String A_5, Int32 A_6) at ay.a(String A_0, String A_1, String A_2, String A_3) at a1.a(String A_0, String A_1, String A_2, String A_3) at Scheduler.hsapplication.DecryptString(String sToDecrypt, String sPassword, String KeyModifier) --- End of inner exception stack trace ---Server stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessag e(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(Mess ageData& msgData, Int32 type) at HomeSeerAPI.IHSApplication.DecryptString(String sToDecrypt, String sPassword, String KeyModifier) at HSPI_Insteon.hspiAPI.HSAPI.DecryptString(String sToDecrypt, String sPassword) at Insteon.Support.Hub.SocketPortClass..ctor(String PortInfoStr) at Insteon.Support.CreateInterfaceModule.CreateInterfacePort(St ring PortInfo) at Insteon.Support.Core.InsteonModule.Interface_Initialize() at HSPI_Insteon.HSPI.InitPlugin(Int32 Mode)

          Comment


            #6
            Hi Mark, we are making some progress. Here is where I am now. Note there are no log entries other than to show that your plugin has initialized.
            Attached Files
            HomeSeer Version: HS3 Pro Edition
            Operating System: Microsoft Windows 10 Pro
            Processor Type and Speed: i7 - 3.26 GHz
            Total Physical Memory: 16Gig

            Plugins: BlBackup | EasyTrigger | FitbitSeer | HSTouchServer | Insteon | WeatherXML

            Comment


              #7
              btw, I am using the insteon hub over IP if that matters, not a usb interface

              Comment


                #8
                I am using a USB interface.
                HomeSeer Version: HS3 Pro Edition
                Operating System: Microsoft Windows 10 Pro
                Processor Type and Speed: i7 - 3.26 GHz
                Total Physical Memory: 16Gig

                Plugins: BlBackup | EasyTrigger | FitbitSeer | HSTouchServer | Insteon | WeatherXML

                Comment


                  #9
                  guys, the interface (hub vs plm) shouldn't make a difference.

                  I'll have to retry my setup this weekend from scratch
                  Mark

                  HS3 Pro 4.2.19.5
                  Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
                  Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
                  Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

                  Comment


                    #10
                    This new approach is great news Mark, I have been playing with HS3 for a bit, but until this plugin is ready i am limited. I am heading out on vacation, but will definitely try it out when i return.
                    HS Install Date: Feb. 16, 2007

                    HS3 Pro, Z-Wave, Insteon, BLStat, HS Touch Server, MyQ

                    WeatherXML, BLBackup, BLLAN, BLLock, Restart, CaddX, OpenSprinkler

                    Comment


                      #11
                      Any progress? Just tried for the first time and get the fatal error issue as well (i am using the hub)

                      Comment


                        #12
                        Guys,
                        No progress. Its been a little crazy for me lately. I should be able to look at this early next week.
                        Mark

                        HS3 Pro 4.2.19.5
                        Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
                        Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
                        Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

                        Comment


                          #13
                          Guys,
                          I finally had a chance to try this again and i can't replicate the error in Post #5 above.

                          for clarity, I'm assuming you are putting the plugin files into the homeseer 3 directory and everything is running on the local box 127.0.0.1

                          can you guys try to enable Developer Mode on the Plugin page, then restart hs and let me know if you get a command window with few lines of text during the startup
                          Mark

                          HS3 Pro 4.2.19.5
                          Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
                          Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
                          Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

                          Comment


                            #14
                            btw, I'm running the plugin as a trial on hs 3.0.0.11 trial
                            Mark

                            HS3 Pro 4.2.19.5
                            Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
                            Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
                            Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

                            Comment


                              #15
                              In developer mode with version 3.0.0.11 This is what I see:

                              Note that HS3 doesnt actually close if I click on close program, just the developer window.
                              Attached Files
                              HomeSeer Version: HS3 Pro Edition
                              Operating System: Microsoft Windows 10 Pro
                              Processor Type and Speed: i7 - 3.26 GHz
                              Total Physical Memory: 16Gig

                              Plugins: BlBackup | EasyTrigger | FitbitSeer | HSTouchServer | Insteon | WeatherXML

                              Comment

                              Working...
                              X