Announcement

Collapse
No announcement yet.

Insteon PLM Plug-In Version 1.7.3.1 Release

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

    Insteon PLM Plug-In Version 1.7.3.1 Release

    I believe this is stable enough to be considered a Release version

    New Features
    - New script methods: getdevicesetting, getdeviceopflag, setdevicesetting, and setdeviceopflag. These use the extract text from the event action dropdowns. See details below.

    hs.plugin("Insteon").setdevicesetting "Insteon ID", "Setting Name", "Setting value"
    hs.plugin("Insteon").setdeviceopflag "Insteon ID", "Setting Name", "Setting value"

    Examples:
    hs.plugin("Insteon").setdevicesetting "AA.BB.CC","LED Brightness","116"
    hs.plugin("Insteon").setdeviceopflag "AA.BB.CC","Backlight","On"

    Get current setting or Op Flag:
    hs.plugin("Insteon").getdeviceopflag("AA.BB.CC","Key Beep") returns Setting as string
    hs.plugin("Insteon").getdevicesetting("AA.BB.CC","LED Brightness") returns Setting as string
    - Supports Button Grouping on KPLs: Radio style button sets and buttons linked together. See KPL manual for more details.
    - Duplicate link checker. The config page will displays the devices and the link pairs that are duplicated. Delete one.

    Revisions
    - New inbound and outbound message processing routines. Ensures inbound messages are not missed.
    - Interface Crashes trigger, and PLM recovery routine.
    - Better support for FanLinc with creating groups. Set the fan speeds as part of a group
    - Swap device routine will allow you to swap a dimmer for a dimmer, a relay for relay, etc.
    - KPL timer support

    Fixes
    - Motion sensor programming
    - Various bugs from version 1.7
    - Tap-add routine
    - Startup error related to ProcessInsteonTrigger

    New Device Support
    - Insteon Bulb
    - 2-Wire Switchlinc Dimmer

    To Install:

    1. Backup your current hs database and insteon.ini
    2. Shutdown HS
    3. Copy the hspi_insteon.dll to the homeseer folder
    4. For new users only: copy the insteon.lf to the homeseer\config (this will provide a 30-day trial license)
    5. Restart HS
    Attached Files
    Last edited by mnsandler; October 5, 2012, 12:16 PM.
    Mark

    HS3 Pro 3.0.0.534
    Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
    Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 (by Kirby) | Ultra1Wire3 | RFXCOM | NetCAM | MyQ | BLRadar | BLDenon | Jon00 Charting
    Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

    #2
    Just loaded it up. I have 2 new kpls to put in that I will test the button grouping capability sometime today or tomorrow.
    Paul

    Comment


      #3
      Mark, Thank you very much.

      Aldo

      Comment


        #4
        Hi Mark,
        Not sure I'm doing it correct, I entered this in the control Panel immediate script:

        9/21/2012 5:12:38 PM System Control Panel Immediate Script: &hs.plugin("Insteon").getdevicesetting("14.4F.A9","Curren t Light Level")

        I got this error:
        9/21/2012 5:12:39 PM Insteon ** An error occurred in this plug-in. The details have been written to the log file - C:\Program Files\HomeSeer HS2\Config\Insteon Error Report.Log

        If I understand it right, this script is a great addition to your plugin, once I make it to work.

        I'm terrible at scripts but if I want to write a script that changes the light in the keypad, I will write something like it correct?

        Event, every 10 minutes
        Script

        LightlevelStatus = getdevicesetting("14.4F.A9","Current Light Level") ' Motion sensor

        if LightlevelStatus > 100
        hs.plugin("Insteon").setdevicesetting "13.C1.F2","LED Brightness","80" - Keypad
        End if
        else
        if LightLevelStatus < 100

        hs.plugin("Insteon").setdevicesetting "13.C1.F2","LED Brightness","50" - Keypad
        end if

        Comment


          #5
          this is untested but something like this in a sample.vbs file should do the trick

          sub main

          rem LightlevelStatus is going to be a string value
          LightlevelStatus = hs.plugin("Insteon").getdevicesetting("14.4F.A9","Current Light Level") ' Motion sensor

          rem so you need to convert it to an integer here
          if cint(LightlevelStatus) > 100
          hs.plugin("Insteon").setdevicesetting "13.C1.F2","LED Brightness","80" ' set keypad
          else
          hs.plugin("Insteon").setdevicesetting "13.C1.F2","LED Brightness","50" ' set keypad
          end if

          end sub
          Last edited by mnsandler; September 22, 2012, 04:27 PM.
          Mark

          HS3 Pro 3.0.0.534
          Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
          Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 (by Kirby) | Ultra1Wire3 | RFXCOM | NetCAM | MyQ | BLRadar | BLDenon | Jon00 Charting
          Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

          Comment


            #6
            Thanks Mark,
            small problem, when I run it, I get this message
            <TABLE border=0 cellSpacing=2 cellPadding=0 width="100%"><TBODY><TR><TD class=LOGDateTime0 noWrap align=left>9/22/2012 5:11:28 PM </TD><TD class=LOGType0 colSpan=3 align=left>Error </TD><TD class=LOGEntry0 colSpan=8 align=left>Running script, script run or compile error in file: KeyPadLincBrightness.vbs13:Type mismatch: 'getdevicesetting' in line 4 More info: Type mismatch: 'getdevicesetting'</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>9/22/2012 5:11:28 PM </TD><TD class=LOGType1 colSpan=3 align=left>Event </TD><TD class=LOGEntry1 colSpan=8 align=left>Running script in background: KeyPadLincBrightness.vbs</TD></TR></TBODY></TABLE>

            Script
            Sub Main
            rem LightlevelStatus is going to be a string value
            LightlevelStatus = getdevicesetting("13.EF.81","Current Light Level") ' Motion sensor
            rem so you need to convert it to an integer here
            if cint(LightlevelStatus) > 100 then
            hs.plugin("Insteon").setdevicesetting "13.C1.F2","LED Brightness","80" ' set keypad
            else
            hs.plugin("Insteon").setdevicesetting "13.C1.F2","LED Brightness","50" ' set keypad
            end if
            End Sub

            Thanks,
            Aldo

            Comment


              #7
              oops, i revised the getdevicesetting line. see above
              Mark

              HS3 Pro 3.0.0.534
              Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
              Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 (by Kirby) | Ultra1Wire3 | RFXCOM | NetCAM | MyQ | BLRadar | BLDenon | Jon00 Charting
              Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

              Comment


                #8
                <TABLE border=0 cellSpacing=2 cellPadding=0 width="100%"><TBODY><TR><TD class=LOGDateTime1 noWrap align=left>9/22/2012 5:33:54 PM </TD><TD class=LOGType1 colSpan=3 align=left>Error </TD><TD class=LOGEntry1 colSpan=8 align=left>Running script, script run or compile error in file: KeyPadLincBrightness.vbs13:Type mismatch: 'cint' in line 8 More info: Type mismatch: 'cint'</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>9/22/2012 5:33:54 PM </TD><TD class=LOGType0 colSpan=3 align=left>LightLevelStatus </TD><TD class=LOGEntry0 colSpan=8 align=left></TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>9/22/2012 5:33:54 PM </TD><TD class=LOGType1 colSpan=3 align=left>Insteon </TD><TD class=LOGEntry1 colSpan=8 align=left>** To request help with this problem please post this log file to the forum along with a detailed description of what lead to this problem.</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>9/22/2012 5:33:54 PM </TD><TD class=LOGType0 colSpan=3 align=left>Insteon </TD><TD class=LOGEntry0 colSpan=8 align=left>** An error occurred in this plug-in. The details have been written to the log file - C:\Program Files\HomeSeer HS2\Config\Insteon Error Report.Log</TD></TR></TBODY></TABLE>
                Hi Mark,
                This is what I'm getting now.

                Comment


                  #9
                  Aldo,
                  Found the problem. Please try v1.7.3.1 i posted at the top of the thread
                  Mark

                  HS3 Pro 3.0.0.534
                  Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
                  Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 (by Kirby) | Ultra1Wire3 | RFXCOM | NetCAM | MyQ | BLRadar | BLDenon | Jon00 Charting
                  Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

                  Comment


                    #10
                    Doing a quick check it works great, Mark thanks again for your quick support.

                    Aldo

                    Comment


                      #11
                      Originally posted by mnsandler View Post
                      Aldo,
                      Found the problem. Please try v1.7.3.1 i posted at the top of the thread
                      Minor detail... version-id shows up as 1.7.3.0

                      Comment


                        #12
                        Originally posted by claude View Post
                        Minor detail... version-id shows up as 1.7.3.0
                        I replaced the zip/dll with the correct version-id. please verify
                        Mark

                        HS3 Pro 3.0.0.534
                        Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
                        Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 (by Kirby) | Ultra1Wire3 | RFXCOM | NetCAM | MyQ | BLRadar | BLDenon | Jon00 Charting
                        Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

                        Comment


                          #13
                          Originally posted by mnsandler View Post
                          I replaced the zip/dll with the correct version-id. please verify
                          Shows up ok now. Thanks.

                          Comment


                            #14
                            iolinc - old problem reappeared

                            hi mark,

                            I noticed that a few of the recent versions of the plug-in have an old problem recurring. it has to do with the momentary C mode with the sensor input.

                            I localized the appearance between 1.7.2.5 where it still worked, and 1.7.2.11 where it doesn't. the symptom is that if the device (and the sensor input) are already on and you give homeseer an ON command, the device toggles off. each time you click ON, it toggles. OFF-ON-OFF-ON, etc.

                            if you click OFF, it works correctly, ie, ON goes to OFF and nothing happens if you click OFF.

                            basically, the ON command always toggles without regard to the sensor input and the OFF command works right

                            if you look at the log, it actually reflects ON-OFF-ON-OFF, etc even though only ON is being clicked

                            hope you recognize the problem. if you need any more data, please let me know

                            best

                            sjw

                            Comment


                              #15
                              Originally posted by stevewinick View Post
                              hi mark,

                              I noticed that a few of the recent versions of the plug-in have an old problem recurring. it has to do with the momentary C mode with the sensor input.

                              I localized the appearance between 1.7.2.5 where it still worked, and 1.7.2.11 where it doesn't. the symptom is that if the device (and the sensor input) are already on and you give homeseer an ON command, the device toggles off. each time you click ON, it toggles. OFF-ON-OFF-ON, etc.

                              if you click OFF, it works correctly, ie, ON goes to OFF and nothing happens if you click OFF.

                              basically, the ON command always toggles without regard to the sensor input and the OFF command works right

                              if you look at the log, it actually reflects ON-OFF-ON-OFF, etc even though only ON is being clicked

                              hope you recognize the problem. if you need any more data, please let me know

                              best

                              sjw
                              thanks for the detective work on the version info; it helps a lot.

                              I'll do some investigating and see what i broke
                              Mark

                              HS3 Pro 3.0.0.534
                              Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
                              Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 (by Kirby) | Ultra1Wire3 | RFXCOM | NetCAM | MyQ | BLRadar | BLDenon | Jon00 Charting
                              Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

                              Comment

                              Working...
                              X