Announcement

Collapse
No announcement yet.

cant see status, depreciated and ouside bounds of array msgs...

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

    cant see status, depreciated and ouside bounds of array msgs...

    Hey Larry,

    Hope all is well. So I moved into virtual and am trying to fix nuisances and get hstouch screens deployed - and running into issues with speaker control.

    Can control with on/off button in web ui, but cant see status in the status column. cant control in an event using the device value change on/off (just shows blank after you select on or off). And also get the log errors that have been reported in other threads.

    Suspect status is related to the errors we're seeing. ouside of array, and status property has been depreciated - prob a simple code update to use a different call. Could you take a look? Havent seen many updates on here in a while. You may not be actively working on this plugin anymore, but if you could just do a quick update to fix those issues, it would help a ton of us out.



    Thanks,
    Toby

    6/15/2012 5:56:50 PM Plug-In Initializing Plug-in: AB8SS on COM port 5
    6/15/2012 5:56:50 PM Warning 'status' property on device AB8SS Speaker-1 was accessed - this property has been deprecated and should not be used.
    6/15/2012 5:56:50 PM Warning 'status' property on device AB8SS Speaker-2 was accessed - this property has been deprecated and should not be used.
    6/15/2012 5:56:50 PM Warning 'status' property on device AB8SS Speaker-3 was accessed - this property has been deprecated and should not be used.
    6/15/2012 5:56:50 PM Warning 'status' property on device AB8SS Speaker-4 was accessed - this property has been deprecated and should not be used.
    6/15/2012 5:56:50 PM Warning 'status' property on device AB8SS Speaker-5 was accessed - this property has been deprecated and should not be used.
    6/15/2012 5:56:50 PM Warning 'status' property on device AB8SS Speaker-6 was accessed - this property has been deprecated and should not be used.
    6/15/2012 5:56:50 PM Warning 'status' property on device AB8SS Speaker-7 was accessed - this property has been deprecated and should not be used.
    6/15/2012 5:56:50 PM Warning 'status' property on device AB8SS Speaker-8 was accessed - this property has been deprecated and should not be used.
    6/15/2012 5:56:50 PM Warning 'status' property on device AB8SS Input A/B was accessed - this property has been deprecated and should not be used.
    6/15/2012 5:56:50 PM Warning 'status' property on device AB8SS All Speakers was accessed - this property has been deprecated and should not be used.
    6/15/2012 5:56:50 PM AB8SS Info ComPort is Initializing....
    6/15/2012 5:56:51 PM UltraM1G Warning No response/improper response from Elk M1 to command 'lw00'
    6/15/2012 5:56:53 PM UltraM1G Warning No response/improper response from Elk M1 to command 'st01600'
    6/15/2012 5:56:54 PM AB8SS Info COM5: Opened Successfully.
    6/15/2012 5:56:56 PM UltraM1G Warning No response/improper response from Elk M1 to command 'st01600'
    6/15/2012 5:56:58 PM iTunes Library loading completed.
    6/15/2012 5:56:59 PM Error Initializing interface: AB8SS-Index was outside the bounds of the array.
    HS 3.0.0.199 Pro/Insteon 3.0.5.20/3 Venstar Insteon Therms / Insteon Thermostat 3.0.2.2 / DirecTV 3.0.0.14 / OpenSprinkler 2.0.5.21 / ITunes DAAP 3.0.0.23/ UltraM1G3 3.0.5437.37424/ UltraWeatherbug3 /HSTouch Svr 3.0.0.68/Zwave 3.0.1.25/Ultramon3/Global Cache 5.0.0.17/Various BLXXX Plugins.

    #2
    Hi Toby, yea I haven't look at this plug-in for a long while, mainly because if works don't mess with it. Seriously though, it's been in service (by myself and others) for so long, I question weather or not something else is wrong. But if you turn on debug and send me the log file titled "AB8SS.log" I will try and discern what is going on.

    Thanks.
    -Larry

    A member of "The HA Pioneer Group", MyWebSite

    Plugins:
    VWS, AB8SS, lrpSpeak, Calendar, Arduino, Harmony, BlueIris, Sprinklers, ZipBackup...

    Hardware:
    Intel NUC8i7BEH1 running Windows 10 Pro headless, HS3 Pro, Plex running on Synology dual High Availability DS-1815+ NAS (24Tb each), Synology Surveillance Station running on DS-416 Slim (8Tb), Samsung SmartThings, Google Home, Alexa, Hubitat Elevation, ZNET, Ubiquiti UniFi Network, Davis Vantage Pro II Weather Station. Whole house speaker system using a couple of AB8SS switches. Vantage Pro II Weather Station, Rain8Net Sprinklers, Hubitat Elevation, Google Home, Alexa, DSC Security System, Ubiquiti UniFi Network.

    Comment


      #3
      So you're not seeing the same issues? It looked from other posts that some of these issues have been noted previously. Strange. Ill spin up debug logging and send you the file later today. I suspect its related to our HS versions or .net framewaork - I am on latest released...

      Originally posted by lpitman View Post
      Hi Toby, yea I haven't look at this plug-in for a long while, mainly because if works don't mess with it. Seriously though, it's been in service (by myself and others) for so long, I question weather or not something else is wrong. But if you turn on debug and send me the log file titled "AB8SS.log" I will try and discern what is going on.

      Thanks.
      HS 3.0.0.199 Pro/Insteon 3.0.5.20/3 Venstar Insteon Therms / Insteon Thermostat 3.0.2.2 / DirecTV 3.0.0.14 / OpenSprinkler 2.0.5.21 / ITunes DAAP 3.0.0.23/ UltraM1G3 3.0.5437.37424/ UltraWeatherbug3 /HSTouch Svr 3.0.0.68/Zwave 3.0.1.25/Ultramon3/Global Cache 5.0.0.17/Various BLXXX Plugins.

      Comment


        #4
        log from startup where I get the initial error

        7/7/2012 7:18:56 PM Plug-In Initializing Plug-in: AB8SS on COM port 5
        7/7/2012 7:18:56 PM AB8SS Debug ***************************************
        7/7/2012 7:18:56 PM AB8SS Debug AB8SS Debug Enabled.
        7/7/2012 7:18:56 PM AB8SS Debug AB8SS Debug Logging to AppDirPath\Logs\AB8SS.log.
        7/7/2012 7:18:56 PM AB8SS Debug AB8SS HS-Version: 2.5.0.52
        7/7/2012 7:18:56 PM AB8SS Debug AB8SS Plug-In Version: 2.2.0.22
        7/7/2012 7:18:56 PM AB8SS Debug ***************************************
        7/7/2012 7:18:56 PM AB8SS Debug Entering InitHW()....
        7/7/2012 7:18:56 PM AB8SS Debug Entering...InitDevices().
        7/7/2012 7:18:56 PM AB8SS Debug Entering...EnumerateDevices().
        7/7/2012 7:18:56 PM AB8SS Debug Found a plug-in device at \10
        7/7/2012 7:18:56 PM AB8SS Debug Found a plug-in device at \9
        7/7/2012 7:18:56 PM AB8SS Debug Found a plug-in device at \1
        7/7/2012 7:18:56 PM AB8SS Debug Found a plug-in device at \2
        7/7/2012 7:18:56 PM AB8SS Debug Found a plug-in device at \3
        7/7/2012 7:18:56 PM AB8SS Debug Found a plug-in device at \7
        7/7/2012 7:18:56 PM AB8SS Debug Found a plug-in device at \5
        7/7/2012 7:18:56 PM AB8SS Debug Found a plug-in device at \4
        7/7/2012 7:18:56 PM AB8SS Debug Found a plug-in device at \8
        7/7/2012 7:18:56 PM AB8SS Debug Found a plug-in device at \6
        7/7/2012 7:18:56 PM AB8SS Debug Entering...CreateDevices().
        7/7/2012 7:18:56 PM AB8SS Debug Entering InitCommon()....
        7/7/2012 7:18:56 PM AB8SS Debug Entering InitializeAB8SS()....
        7/7/2012 7:18:56 PM AB8SS Debug Entering ComPort()....
        7/7/2012 7:18:56 PM AB8SS Info ComPort is Initializing....
        7/7/2012 7:19:03 PM iTunes Finished loading Playlists
        7/7/2012 7:19:24 PM AB8SS Error Exception error in InitComPort(): The I/O operation has been aborted because of either a thread exit or an application request.
        7/7/2012 7:19:24 PM AB8SS Error InitIO()-Initialization of AB8SS Plugin failed, shutting down plugin.
        7/7/2012 7:19:24 PM AB8SS Debug Entering ShutdownIO()...
        7/7/2012 7:19:24 PM AB8SS Debug Entering cmdInputAB()....
        7/7/2012 7:19:24 PM AB8SS Debug Entering SendCmdString()....
        7/7/2012 7:19:24 PM AB8SS Debug Entering StripInvalidChars()....
        7/7/2012 7:19:24 PM AB8SS Debug Entering CalcCmdChecksum()...
        7/7/2012 7:19:24 PM AB8SS Debug Entering StripInvalidChars()....
        7/7/2012 7:19:24 PM AB8SS Debug -----CalcCmdChecksum().... F9
        7/7/2012 7:19:24 PM AB8SS Debug Entering CalcCmdChecksum()...
        7/7/2012 7:19:24 PM AB8SS Debug Entering StripInvalidChars()....
        7/7/2012 7:19:24 PM AB8SS Debug -----CalcCmdChecksum().... F9
        7/7/2012 7:19:24 PM AB8SS Debug -----SendCmdString()-Attention + Command + CheckSum + Terminator = ! 060100 F9 *
        7/7/2012 7:19:24 PM AB8SS Debug Exception error in ShutdownIO(): The I/O operation has been aborted because of either a thread exit or an application request.
        HS 3.0.0.199 Pro/Insteon 3.0.5.20/3 Venstar Insteon Therms / Insteon Thermostat 3.0.2.2 / DirecTV 3.0.0.14 / OpenSprinkler 2.0.5.21 / ITunes DAAP 3.0.0.23/ UltraM1G3 3.0.5437.37424/ UltraWeatherbug3 /HSTouch Svr 3.0.0.68/Zwave 3.0.1.25/Ultramon3/Global Cache 5.0.0.17/Various BLXXX Plugins.

        Comment


          #5
          Let me see if I can recreate the problem here...I let you know. So far it looks Comm Port related, but why I don't know.
          -Larry

          A member of "The HA Pioneer Group", MyWebSite

          Plugins:
          VWS, AB8SS, lrpSpeak, Calendar, Arduino, Harmony, BlueIris, Sprinklers, ZipBackup...

          Hardware:
          Intel NUC8i7BEH1 running Windows 10 Pro headless, HS3 Pro, Plex running on Synology dual High Availability DS-1815+ NAS (24Tb each), Synology Surveillance Station running on DS-416 Slim (8Tb), Samsung SmartThings, Google Home, Alexa, Hubitat Elevation, ZNET, Ubiquiti UniFi Network, Davis Vantage Pro II Weather Station. Whole house speaker system using a couple of AB8SS switches. Vantage Pro II Weather Station, Rain8Net Sprinklers, Hubitat Elevation, Google Home, Alexa, DSC Security System, Ubiquiti UniFi Network.

          Comment


            #6
            Here is a new version, with a little more diagnostics, and I changed the compile to be DotNet 3.5 , see if this is any better.
            Attached Files
            -Larry

            A member of "The HA Pioneer Group", MyWebSite

            Plugins:
            VWS, AB8SS, lrpSpeak, Calendar, Arduino, Harmony, BlueIris, Sprinklers, ZipBackup...

            Hardware:
            Intel NUC8i7BEH1 running Windows 10 Pro headless, HS3 Pro, Plex running on Synology dual High Availability DS-1815+ NAS (24Tb each), Synology Surveillance Station running on DS-416 Slim (8Tb), Samsung SmartThings, Google Home, Alexa, Hubitat Elevation, ZNET, Ubiquiti UniFi Network, Davis Vantage Pro II Weather Station. Whole house speaker system using a couple of AB8SS switches. Vantage Pro II Weather Station, Rain8Net Sprinklers, Hubitat Elevation, Google Home, Alexa, DSC Security System, Ubiquiti UniFi Network.

            Comment


              #7
              Hi Larry,

              I never got back to you - I apologize. With the new version It is thowing some errors at start that I think point out exactly the problem. The relay status is never set in the HS device, even though you can control it. Here are the log messages I get with the latest version that you posted in this thread:

              3/24/2013 10:38:53 AM ~!~Plug-In~!~Interface AB8SS is running as a trial, 30 days remaining.
              3/24/2013 10:38:53 AM ~!~AB8SS Info~!~Application path: C:\Program Files\HomeSeer HS2
              3/24/2013 10:38:53 AM ~!~AB8SS Info~!~RegisterCallback Completed...
              3/24/2013 10:38:53 AM ~!~Plug-In~!~Initializing Plug-in: AB8SS on COM port 6
              3/24/2013 10:38:53 AM ~!~AB8SS Info~!~ComPort is Initializing....
              3/24/2013 10:38:56 AM ~!~AB8SS Info~!~COM6: Opened Successfully.
              3/24/2013 10:39:04 AM ~!~Error~!~In SetDevString, hc=+ dc=0 str=OFF :Index was outside the bounds of the array.
              3/24/2013 10:39:04 AM ~!~Error~!~In SetDeviceLastChange:Index was outside the bounds of the array.
              3/24/2013 10:39:04 AM ~!~Error~!~In SetDevString, hc=+ dc=1 str=OFF :Conversion from string "False" to type 'Integer' is not valid.
              3/24/2013 10:39:04 AM ~!~Error~!~In SetDevString, hc=+ dc=2 str=OFF :Conversion from string "False" to type 'Integer' is not valid.
              3/24/2013 10:39:04 AM ~!~Error~!~In SetDevString, hc=+ dc=3 str=OFF :Conversion from string "False" to type 'Integer' is not valid.
              3/24/2013 10:39:04 AM ~!~Error~!~In SetDevString, hc=+ dc=4 str=OFF :Conversion from string "False" to type 'Integer' is not valid.
              3/24/2013 10:39:04 AM ~!~Error~!~In SetDevString, hc=+ dc=5 str=OFF :Conversion from string "False" to type 'Integer' is not valid.
              3/24/2013 10:39:04 AM ~!~Error~!~In SetDevString, hc=+ dc=6 str=OFF :Conversion from string "False" to type 'Integer' is not valid.
              3/24/2013 10:39:04 AM ~!~Error~!~In SetDevString, hc=+ dc=7 str=OFF :Conversion from string "False" to type 'Integer' is not valid.
              3/24/2013 10:39:04 AM ~!~Plug-In~!~Finished initializing plug-in AB8SS

              PS - if you want some help w the source, send me an email with visual studio proj as attachment to to byjo hnk oe nig @nowhere.com and replace nowhere with g m a il and take out spaces..
              Last edited by kuntakintay; March 24, 2013, 12:47 PM. Reason: added ps statement
              HS 3.0.0.199 Pro/Insteon 3.0.5.20/3 Venstar Insteon Therms / Insteon Thermostat 3.0.2.2 / DirecTV 3.0.0.14 / OpenSprinkler 2.0.5.21 / ITunes DAAP 3.0.0.23/ UltraM1G3 3.0.5437.37424/ UltraWeatherbug3 /HSTouch Svr 3.0.0.68/Zwave 3.0.1.25/Ultramon3/Global Cache 5.0.0.17/Various BLXXX Plugins.

              Comment

              Working...
              X