Announcement

Collapse
No announcement yet.

ISY Insteon 1.0.2.3

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

    ISY Insteon 1.0.2.3

    This is a version 1.0.2.3 of the ISY Insteon Plug-in.

    This version updates the plug-in to work with ISY firmware 2.8.2 and later.

    This is being released as an installation package that will update an existing installation of the plug-in to this version. It will re-use the your existing license key.

    This release has been tested to work with the latest ISY firmware - 2.8.2.

    It has not been tested with earlier ISY firmware versions.


    Installation
    1. Download the ISYInsteion-1.0.2.3.zip file
    2. Unzip the contents
    3. shutdown HomeSeer
    4. Run HomeSeerPluginISYInsteon_1_0_0.msi
    5. Restart HomeSeer

    Updates since 1.0.2.1
    - Updated to support the new data format for the ISY Brultech Energy Monitor module. This should not impact any existing triggers or conditions.
    - Updated the device lists so that the latest Smarthome devices should now be recognized.
    Attached Files
    --
    Bob Paauwe
    ISYInsteon Plug-in
    http://www.bobsplace.com/ISYInsteon/

    #2
    Hi Bob,

    So far so good on ISY v2.7.15. Here is the startup on my HS for what it is worth...

    9/12/2010 3:34:44 PM Plug-In Initializing Plug-in: ISY Insteon
    9/12/2010 3:34:44 PM ISY Insteon Creating isy class instance: [192.168.5.15]
    9/12/2010 3:34:44 PM ISY Insteon COMM: Attempt to authenticate ISY access.
    9/12/2010 3:34:44 PM ISY Insteon COMM: Authenticating with ISY
    9/12/2010 3:34:44 PM ISY Insteon COMM: Subscription thread started
    9/12/2010 3:34:49 PM ISY Insteon COMM: ISY Insteon_UD99 2.7.15 2010-04-20-12:58:59
    9/12/2010 3:34:49 PM ISY Insteon COMM: ISY sent no user defined device/scene folders.
    9/12/2010 3:34:50 PM ISY Insteon COMM: Found 11 features.
    9/12/2010 3:34:50 PM ISY Insteon COMM: Adding FLEX Your Power Module
    9/12/2010 3:34:50 PM ISY Insteon COMM: Starting query for Programs.
    9/12/2010 3:34:50 PM ISY Insteon COMM: Adding My Programs / 1
    9/12/2010 3:34:50 PM ISY Insteon COMM: Adding QueryAll / 2
    9/12/2010 3:34:50 PM ISY Insteon COMM: Setting QueryAll to 21
    9/12/2010 3:34:50 PM ISY Insteon MAIN: Adding new HC, 93, to list.
    9/12/2010 3:34:51 PM ISY Insteon MAIN: Floor Lights 2-Way is hidden from HomeSeer.
    9/12/2010 3:34:51 PM ISY Insteon MAIN: Lights (Switch) is hidden from HomeSeer.
    9/12/2010 3:34:51 PM ISY Insteon MAIN: QueryAll is hidden from HomeSeer.
    9/12/2010 3:34:51 PM ISY Insteon MAIN: ISY Insteon will manage device: Open Auto-DR
    9/12/2010 3:34:51 PM ISY Insteon MAIN: ISY Insteon will manage device: My Programs
    9/12/2010 3:34:51 PM ISY Insteon MAIN: ISY Insteon will manage device: B 71 16 1 2nd Floor Hallway Lights 2
    9/12/2010 3:34:51 PM ISY Insteon MAIN: ISY Insteon will manage device: B 51 41 1 2nd Floor Hallway Lights 1
    9/12/2010 3:34:51 PM ISY Insteon MAIN: ISY Insteon will manage device: B 5D 3 1 2nd Floor Hallway Lights 3


    It goes thru all my devices and then displays:

    9/12/2010 3:34:51 PM Plug-In Finished initializing plug-in ISY Insteon

    Comment


      #3
      Originally posted by iiidmaxer View Post
      Hi Bob,

      So far so good on ISY v2.7.15. Here is the startup on my HS for what it is worth...
      Thanks for reporting that! I'm planning to re-install 2.7.15 on my ISY and try it, but since this is the second report of it working, it looks like it's not something I need to be too concerned about.

      My goal was to get this release into the HomeSeer updater as a release version so if anyone sees anything funny with it, let me know.
      --
      Bob Paauwe
      ISYInsteon Plug-in
      http://www.bobsplace.com/ISYInsteon/

      Comment


        #4
        Bob,

        I'm having a problem with HomeSeer and I'm 99% certain it's the plugin since I installed this update. Unfortunately it took a while to narrow this down even though the ISY Plugin is all I've updated.

        At this time I've only got one example where an event ran last evening; it stops my son's audio in the bedroom and turns off various lights. For some reason the event "blocked" and once that happens no further events in Homeseer are processed. The only way to unblock the events is to recycle HS during which I see the following in the log file:

        The log from the night before, where the lights are supposed to turn off automatically....
        9/21/2010 8:40:00 PM ~!~Event~!~Event Trigger "Joshua School Night - On"
        9/21/2010 8:40:00 PM ~!~Device Control~!~Device: Bedroom 1 4 25 89 1 Light (`22) ON
        9/21/2010 8:40:00 PM ~!~Device Control~!~Device: Upper Hall 63313 Light (`91) ON
        9/21/2010 8:40:00 PM ~!~Device Control~!~Device: Bedroom 1 OutletLinc Left (\24) ON
        9/21/2010 8:40:00 PM ~!~Device Control~!~Device: Bedroom 1 OutletLinc Right (\23) ON
        9/21/2010 9:01:00 PM ~!~Event~!~Event Trigger "Thermostat - DateTime"
        9/21/2010 9:06:00 PM ~!~Event~!~Event Trigger "Weather XML"
        9/21/2010 9:06:00 PM ~!~Event~!~Running script in background: weathercom_xml.txt
        9/21/2010 10:01:00 PM ~!~Event~!~Event Trigger "Thermostat - DateTime"
        9/21/2010 10:06:00 PM ~!~Event~!~Event Trigger "Weather XML"
        9/21/2010 10:06:00 PM ~!~Event~!~Running script in background: weathercom_xml.txt
        9/21/2010 10:15:00 PM ~!~Event~!~Event Trigger "Joshua School Night - Off"
        9/21/2010 11:59:58 PM ~!~System~!~Switching to a new log file.

        The output from the shutdown this morning .....
        9/22/2010 6:42:50 AM ~!~ISY Insteon~!~COMM: ISY network communication failure: Thread was being aborted.
        9/22/2010 6:42:50 AM ~!~Shutdown~!~Shutting down web server ...
        9/22/2010 6:42:50 AM ~!~ISY Insteon~!~TEST: Re-initializing WSDL communications.
        9/22/2010 6:42:50 AM ~!~Web Server~!~Web Server stopped
        9/22/2010 6:42:50 AM ~!~Shutdown~!~Shutting down email ...
        9/22/2010 6:42:50 AM ~!~Shutdown~!~Shutting down threads ...
        9/22/2010 6:42:50 AM ~!~Shutdown~!~Shutting down Phone ...
        9/22/2010 6:42:50 AM ~!~HSPhone~!~Saving address book
        9/22/2010 6:42:50 AM ~!~HSPhone~!~Saving mailboxes
        9/22/2010 6:42:51 AM ~!~HSPhone~!~Shutting down phone line Default Line
        9/22/2010 6:42:51 AM ~!~Error~!~Event Joshua School Night - Off plugin action failed:Thread was being aborted.
        9/22/2010 6:42:51 AM ~!~Event~!~Event Joshua School Night - Off cancelled by request
        9/22/2010 6:42:51 AM ~!~Error~!~In ProcessEventItem, processing event: Thread was being aborted. at 0

        I don't doubt this could be a problem with the ISY since it's running v2.8.2 which is beta, but I don't think the plugin should block HS events and require an HS restart.

        Plug-in For Universal Devices Insteon ISY ISY Insteon: 1.0.2.3 Release ISY: ISY 99i 1024 ISY Firmware: 2.8.2 ISY Time: 9/22/2010 7:25:17 AM
        I've bumped the debug level to "ALL" in an attempt to see if I can collect more information.

        Thanks!

        - Jeff

        Comment


          #5
          Hi Jeff,

          I'm sorry you're having problems. I agree that the plug-in shouldn't block HomeSeer like that. I'll look into making the command execution code non-blocking.

          There are very few changes between 1.0.2.1 and 1.0.2.3. The largest change is to make it compatible with the new data format for the Brultech Energy monitor plug-in. If you don't have that module, you should be able to use 1.0.2.1 with the latest ISY firmware.


          Originally posted by Jeff Doolittle View Post
          Bob,

          I'm having a problem with HomeSeer and I'm 99% certain it's the plugin since I installed this update. Unfortunately it took a while to narrow this down even though the ISY Plugin is all I've updated.
          Is this happening frequently? If so, try bumping up the log level to see if you can catch it happening in more detail.

          Based on the log, it looks like the plug-in method to execute a standard ISY command (device off) is what was called. This then generates a message for the ISY and sends it over the network. The code that actually creates the message and manages the network link is all auto-generated by Microsoft and linked in the plug-in but it should handle communication failures gracefully. That code was re-generated for this version and it looks like it was that code that blocked. It should have a timeout that causes it to return with an error if something goes wrong, but maybe there is a case where it just hangs.

          I've been working with someone else that is having problems (very infrequent, so it's slow going) with network communication to the ISY also. The problems may be related.

          I've been meaning to replace the auto-generated code with my own, I'll spend some time reviewing this particular section. I'll let you know when I have something for you to try if you're willing to try a test version.
          --
          Bob Paauwe
          ISYInsteon Plug-in
          http://www.bobsplace.com/ISYInsteon/

          Comment


            #6
            Bob,

            Yes, the plugin debug logging has been increased to "ALL" as of this morning. Regarding the frequency, I would guess the problem will appear again tomorrow night or Friday morning. As soon as I have more information and logs I'll post here.

            Thanks!

            - Jeff

            Comment


              #7
              Bob,

              Failed just as expected. After the failure this morning I also made an attempt to turn off the ceiling fan in the home office via HS/IE without success.

              You can search the 9/23 log for the following line:

              This one worked as expected (to the best of my knowledge):
              9/23/2010 8:40:00 PM ~!~Event~!~Event Trigger "Joshua School Night - On"

              This one failed and nothing works afterwards:
              9/23/2010 10:15:00 PM ~!~Event~!~Event Trigger "Joshua School Night - Off"

              Please let me know what additional information you may require.

              HS SE 2.4.0.11
              Plugins: MLHSPlugin, Aprilaire Thermostats, VWSCSV, Is Speaking, ISY Insteon

              Thanks!

              - Jeff
              Attached Files

              Comment


                #8
                Originally posted by Jeff Doolittle View Post
                Bob,

                Failed just as expected. After the failure this morning I also made an attempt to turn off the ceiling fan in the home office via HS/IE without success.

                You can search the 9/23 log for the following line:

                This one worked as expected (to the best of my knowledge):
                9/23/2010 8:40:00 PM ~!~Event~!~Event Trigger "Joshua School Night - On"

                This one failed and nothing works afterwards:
                9/23/2010 10:15:00 PM ~!~Event~!~Event Trigger "Joshua School Night - Off"
                Thanks Jeff. That helped a lot. I think I know where the problem is, now I just need to come up with a fix. I should have something in the next day or so.
                --
                Bob Paauwe
                ISYInsteon Plug-in
                http://www.bobsplace.com/ISYInsteon/

                Comment


                  #9
                  Originally posted by bpwwer View Post
                  Thanks Jeff. That helped a lot. I think I know where the problem is, now I just need to come up with a fix. I should have something in the next day or so.
                  Jeff,

                  Please try version 1.0.2.4. I think that I found the problem and have it solved.
                  --
                  Bob Paauwe
                  ISYInsteon Plug-in
                  http://www.bobsplace.com/ISYInsteon/

                  Comment

                  Working...
                  X