Announcement

Collapse
No announcement yet.

error opening settings page

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

    error opening settings page

    I updated to the new 3.1.0.0 and after linking 2 thermostats making one as slave I get a "error - Index was outside the bounds of the array." instead of the settings page.

    #2
    Originally posted by Hsuser View Post
    I updated to the new 3.1.0.0 and after linking 2 thermostats making one as slave I get a "error - Index was outside the bounds of the array." instead of the settings page.
    Am I correct in interpreting this as the plug-in is still operating ok (VStats working) but when you enter the 'PLUG-INS>SDJ-VStat>VStat Config' page you get the error message instead of the web page, or is the error message in the Log?

    Please can you set the plug-in to LogingLevel=2 and post me some debug information from your HS3 log.

    I'm afraid that, as you can't enter the Config page, you will need to edit the SDJ-VStat.ini file to change the LogingLevel. The procedure is:

    Disable the SDJ-VStat plug-in from the PLUG-INS>Manage page
    Open the SDJ-VStat.ini file in a text editor. The file is in the ...HomeSeer HS3/Config folder
    Find the LogingLevel=? line, change it to LogingLevel=2 and save the file.
    Re-enable the SDJ-VStat plug-in from the PLUG-INS>Manage page
    Enter the PLUG-INS>SDJ-VStat>VStat Config page so that the error happens again
    Filter your log for SDJ-VStat messages and copy the entries from plug-in startup
    Post the log messages back here

    Can you also post some further information:
    Windows or Linux?
    How many VStats do you have configured?

    Thanks,
    Steve

    Comment


      #3
      Ok, I'm using windows server 2019 and I have 1 heating and 1 cooling VStat configured. Here's what the log shows when trying to enter settings page.
      Feb-25 2:04:05 PM SDJ-VStat Error building Config web page: Index was outside the bounds of the array.
      Feb-25 2:04:05 PM SDJ-VStat Debug - Building schedules list complete
      Feb-25 2:04:05 PM SDJ-VStat Building schedules sorted list...
      Feb-25 2:04:02 PM Z-Wave Device: Z-Wave Living Room Computer Screen Watts Set to 72.1 (72.1 Watts)
      Feb-25 2:03:54 PM Z-Wave Device: Z-Wave Living Room Watts 1 Set to 8.8 (8.8 Watts)
      Feb-25 2:03:47 PM Plug-In Finished initializing plug-in SDJ-VStat
      Feb-25 2:03:47 PM Starting Plug-In SDJ-VStat loaded in 1308 milliseconds
      Feb-25 2:03:47 PM Starting Plug-In Plugin SDJ-VStat started successfully in 924 milliseconds
      Feb-25 2:03:47 PM SDJ-VStat Operation will commence in 30 seconds
      Feb-25 2:03:47 PM SDJ-VStat Debug - Registering Enums.HSEvent.CONFIG_CHANGE
      Feb-25 2:03:47 PM SDJ-VStat Debug - Registering Enums.HSEvent.VALUE_CHANGE
      Feb-25 2:03:47 PM SDJ-VStat Debug - Registering Config Webpage
      Feb-25 2:03:47 PM SDJ-VStat 2 Virtual Stats initialised.
      Feb-25 2:03:47 PM SDJ-VStat DEBUG - 2 VStats found and configured.
      Feb-25 2:03:47 PM SDJ-VStat DEBUG - Database search of 412 devices completed.
      Feb-25 2:03:47 PM SDJ-VStat DEBUG - VStat Bathroom 3 (CT) configured.
      Feb-25 2:03:47 PM SDJ-VStat Cooling configured successfully.
      Feb-25 2:03:47 PM SDJ-VStat PluginExtraData written for Cooling
      Feb-25 2:03:47 PM SDJ-VStat DEBUG - Configuring VSTAT Cooling.
      Feb-25 2:03:47 PM SDJ-VStat Configuring VSTAT Cooling.
      Feb-25 2:03:47 PM SDJ-VStat DEBUG - Configure the root device...
      Feb-25 2:03:47 PM SDJ-VStat PluginExtraData read for Cooling
      Feb-25 2:03:47 PM SDJ-VStat DEBUG - Read PED of root device...
      Feb-25 2:03:47 PM SDJ-VStat DEBUG - Reset root value to 0.
      Feb-25 2:03:47 PM SDJ-VStat DEBUG - VStat Bathroom 3 (CT) configured.
      Feb-25 2:03:47 PM SDJ-VStat Main Thermostat configured successfully.
      Feb-25 2:03:47 PM SDJ-VStat PluginExtraData written for Main Thermostat
      Feb-25 2:03:47 PM SDJ-VStat DEBUG - Configuring VSTAT Main Thermostat.
      Feb-25 2:03:47 PM SDJ-VStat Configuring VSTAT Main Thermostat.
      Feb-25 2:03:47 PM SDJ-VStat DEBUG - Configure the root device...
      Feb-25 2:03:47 PM SDJ-VStat PluginExtraData read for Main Thermostat
      Feb-25 2:03:47 PM SDJ-VStat DEBUG - Read PED of root device...
      Feb-25 2:03:47 PM SDJ-VStat DEBUG - Reset root value to 0.
      Feb-25 2:03:47 PM SDJ-VStat DEBUG - VStat Parent: Cooling
      Feb-25 2:03:47 PM SDJ-VStat DEBUG - VStat Parent: Main Thermostat
      Feb-25 2:03:47 PM SDJ-VStat DEBUG - Starting device enumeration.
      Feb-25 2:03:46 PM SDJ-VStat DEBUG - Searching for VStat devices...
      Feb-25 2:03:46 PM SDJ-VStat Version 3.1.0.0 Initialized.
      Feb-25 2:03:46 PM Starting Plug-In Initializing plugin SDJ-VStat ...
      Feb-25 2:03:46 PM Info Plugin SDJ-VStat has connected. IP:127.0.0.1:50863

      Comment


        #4
        Thanks for the info.
        i can’t immediately see what is causing this and haven’t been able to reproduce it. I will need to give you a temporary version with some extra debugging info to pin down the bug.
        Unfortunately I am away from home at the moment so it might be Friday before I can put a debug version together. On the plus side I think your VStats should be working ok just not able to change their configuration or add new ones🙁
        Steve

        Comment


          #5
          Hsuser
          I think I may have pinned down the particular circumstance that causes the bug you identified.
          I am away from home so can't test it on my production system at the moment. However, I have posted 3.1.0.1 to the beta section of the updater if you want to see if it fixes the issue. As with all betas backup first.

          Steve

          Originally posted by Hsuser View Post
          I updated to the new 3.1.0.0 and after linking 2 thermostats making one as slave I get a "error - Index was outside the bounds of the array." instead of the settings page.

          Comment


            #6
            Originally posted by SteveMSJ View Post
            Hsuser
            I think I may have pinned down the particular circumstance that causes the bug you identified.
            I am away from home so can't test it on my production system at the moment. However, I have posted 3.1.0.1 to the beta section of the updater if you want to see if it fixes the issue. As with all betas backup first.

            Steve
            Yep whatever you changed in the new beta fixed it, I'm able to enter the settings page again.

            Comment


              #7
              Originally posted by Hsuser View Post

              Yep whatever you changed in the new beta fixed it, I'm able to enter the settings page again.
              Thanks for confirming. I'll release this version in case the same bug hits anybody else.

              Steve

              Comment

              Working...
              X