Announcement

Collapse
No announcement yet.

Error: in line 190 & 230 ?

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

    Error: in line 190 & 230 ?

    When I go to the Temperature.asp page it is blank. and i get the errors :
    on line 190 object doesn't support this property or method
    on line 230 object doesn't support this property or method . I don't know quit what to look for to fix the problem. (Iam sure its some thing I did wrong ) can somebody tell me what to look for, is the line errors refurring to the mcs ini file. and how can i tell which line it is.


    Zap
    -Mike-

    -Home automation powered by the wind and sun-
    Zotac 9300g-Q9400s-4gb ram-Intel 120 SSD-MS XP
    HS 2.5.0.20, BLlan,BLweather,MCSXap,Jon00 graphing,Jon00 Whois,Snevl/Ten WeatherAlerts
    W2c,Ztroller,z-wave+18,Q100D's,Silex 3000gb
    Zoneminder 1.24.2 - Ubuntu 11.04 x64 on top of Xenserve
    Zoneminder 1.24.2 - Ubuntu 11.04 x64 Zotac D525 atom

    #2
    These log messages will also indicate the module name in which the error occurred. There are many line 190's so the module name is needed to identify which of them it is logging

    Comment


      #3
      I can't find any thing that refers to the module name in the logs files
      could you take a look at the ini and log files and point me in the right direction.

      Zap
      Attached Files
      -Mike-

      -Home automation powered by the wind and sun-
      Zotac 9300g-Q9400s-4gb ram-Intel 120 SSD-MS XP
      HS 2.5.0.20, BLlan,BLweather,MCSXap,Jon00 graphing,Jon00 Whois,Snevl/Ten WeatherAlerts
      W2c,Ztroller,z-wave+18,Q100D's,Silex 3000gb
      Zoneminder 1.24.2 - Ubuntu 11.04 x64 on top of Xenserve
      Zoneminder 1.24.2 - Ubuntu 11.04 x64 Zotac D525 atom

      Comment


        #4
        The module is TemperaturePage. The failure occurrred because the setup has the Compatibility checkbox checked to enable use of the "Includes" from the updater. Your choices are to download these "includes" or to remove the checkbox from the setup. The "includes" are used to control the formatting on the browser.

        Comment


          #5
          Michael
          Thanks that fixed the Temp .aspTrends page. But now I seem to have some problems with the data base not populating with the sensors and data it loads just with the ID and Sample Date no sensors, graphs will not display. when I first load the sensors it will populate the sensor data base,and on the web control page gaves me the names with the sensor id numbers & code= (R) Type= Virtual
          But if I change the name to the name=Living Room Temp the code will change to (r) type = Virtual.1 and will not populate the data base. If I go to the temp setup page database tab ,default Field Prefix, and change it from (R) to (r) it still will not populate the database ,But on the web control page it will rename the sensors name to temperature # Code=(R) Type=Temperature Controll= on/off

          I'am Lost
          HomeSeer 2.0.1992.0 MCS Temp 4.3.88

          Zap
          Attached Files
          -Mike-

          -Home automation powered by the wind and sun-
          Zotac 9300g-Q9400s-4gb ram-Intel 120 SSD-MS XP
          HS 2.5.0.20, BLlan,BLweather,MCSXap,Jon00 graphing,Jon00 Whois,Snevl/Ten WeatherAlerts
          W2c,Ztroller,z-wave+18,Q100D's,Silex 3000gb
          Zoneminder 1.24.2 - Ubuntu 11.04 x64 on top of Xenserve
          Zoneminder 1.24.2 - Ubuntu 11.04 x64 Zotac D525 atom

          Comment


            #6
            Database names cannot contain spaces and best not to use special characters such as the quote. The underscore is OK to use

            Comment


              #7
              Michael
              Thanks for the reply.
              Changed the names with no spaces, I did use the underscore, restarted homeseer still would not populate the database. So I deleted the sensors shut down HS, removed then from the ini file, removed the ID & SampleDate Data, from the database
              Rebooted the computer restarted HS Still NO GO
              Did everything over again but this time I unplugged the sensors from the DS1907
              rebooted the computer, started HS, waited till everything was up and running.
              Then plugged in my sensors BINGO picked up sensors by ID populated the DataBase, I Renamed the sensor ids to a name with no spaces just with the underscore then noticed that it was assigning several sensors the same code R1 they all had the same temp reading. I looked in the database and the ID are all different but the temp are all the same. I used 32 different temp sensors but tried just 11 of them this time.

              HS locked up on me so I had to reboot things changed again so I added the new HS log file it also changed the sensor to virtual.1 and the database is back to not populating

              Zap
              Attached Files
              Last edited by zap; October 10, 2005, 07:52 PM.
              -Mike-

              -Home automation powered by the wind and sun-
              Zotac 9300g-Q9400s-4gb ram-Intel 120 SSD-MS XP
              HS 2.5.0.20, BLlan,BLweather,MCSXap,Jon00 graphing,Jon00 Whois,Snevl/Ten WeatherAlerts
              W2c,Ztroller,z-wave+18,Q100D's,Silex 3000gb
              Zoneminder 1.24.2 - Ubuntu 11.04 x64 on top of Xenserve
              Zoneminder 1.24.2 - Ubuntu 11.04 x64 Zotac D525 atom

              Comment


                #8
                The multiple R1 should not occur and will cause problems since the device code is used as an .ini key. All new devices are created using the same discovery procedure whick looks for an available unused device codes starting at R1 through R99. The code segment is below. The only way I can see that two R1 devices are created is if the hs.DeviceExistsRef function returns indicating that R1 does not exist. This was never reported by any of many users under HS1 so it appears to be specific to HS2.

                40 For k = StartCode To MaxCode
                50 If hs.DeviceExistsRef(thisHouseCode & CStr(k)) < 0 Then
                60 deviceIndex = hs.NewDeviceRef(Name)
                70 Set device = hs.GetDeviceByRef(deviceIndex)
                80 With device
                90 .Location = Location
                100 .dev_type_string = "virtual"
                110 .hc = thisHouseCode
                120 .DC = CStr(k)
                130 .interface = IFACE_NAME
                140 .iotype = AnalogType
                150 .misc = 16 'status only
                160 End With
                170 Set device = Nothing
                180 found = True
                190 hs.SetDeviceLastChange thisDeviceCode & CStr(k), Now
                200 Exit For
                210 End If
                220 Next 'k
                All the database fields in the mcsTemperature.ini file reflect their original default values of the sensor ID prefixed with "t". I did not see where any renaming of these occurred. The database fields cannot be renamed in the database because mcsTemperature will not know the new names and no data will be stored then. All renaming must be done within the setup pages of mcsTemperature. If I misunderstood your renaming and all you were changing was the Homeseer device name and location then it should not matter what you call these including the use of spaces is OK.

                I'm traveling this week so I cannot test anything. What I would suggest to bootstrap yourself up is to not worry too much about renaming the database fields. The only time they are used if you want to manually look into the database. I would manually set the device IDs from R1 to R9, R10, etc. Set the database fields to blank for the old R1's. After this is saved then go back and give the blank database fields some names. Add more sensor using the same process as required.

                Comment


                  #9
                  Michael
                  Your right, I did not see this in HS 1. As far as changing the sensor names I am doing that in the HS GUI and not in the database! And it doesn't matter if I change the name in the HS GUI or not, just using the default sensor IDs still gives me multiple code R1 or if I do change the name in the HS GUI they change to r1 with multiple r1's. Like you said I think it is also in HS 2. I am going to put a help ticket into the help desk and see what HS comes up with.

                  Have a safe trip and i'll talk to you when you get back.

                  Zap
                  -Mike-

                  -Home automation powered by the wind and sun-
                  Zotac 9300g-Q9400s-4gb ram-Intel 120 SSD-MS XP
                  HS 2.5.0.20, BLlan,BLweather,MCSXap,Jon00 graphing,Jon00 Whois,Snevl/Ten WeatherAlerts
                  W2c,Ztroller,z-wave+18,Q100D's,Silex 3000gb
                  Zoneminder 1.24.2 - Ubuntu 11.04 x64 on top of Xenserve
                  Zoneminder 1.24.2 - Ubuntu 11.04 x64 Zotac D525 atom

                  Comment


                    #10
                    Michael
                    I put in a help ticket to HomeSeer it's going on day four now. so far this is the only response.
                    Please upgrade to build 1996 which was just released. This should fix the problem. However, we will look into your specific issue and get back to you if need be. ?
                    Best Regards,
                    Nick Bencivenga
                    HomeSeer Technologies LLC
                    I don't know maybe this is their standard response or they haven't had time to read the request I put in. anyway I Had some extra time so I reformatted my computer reloaded window XP, HomeSeer 1996, MCSTemp 4.38.0.8 ,17 Z-wave nodes with no events just to see. Still no go! same problem! Multiple R1 codes on analog and/or discrete devices, I thought something might have been corrupted.

                    Zap
                    -Mike-

                    -Home automation powered by the wind and sun-
                    Zotac 9300g-Q9400s-4gb ram-Intel 120 SSD-MS XP
                    HS 2.5.0.20, BLlan,BLweather,MCSXap,Jon00 graphing,Jon00 Whois,Snevl/Ten WeatherAlerts
                    W2c,Ztroller,z-wave+18,Q100D's,Silex 3000gb
                    Zoneminder 1.24.2 - Ubuntu 11.04 x64 on top of Xenserve
                    Zoneminder 1.24.2 - Ubuntu 11.04 x64 Zotac D525 atom

                    Comment


                      #11
                      Michael
                      I have been following the McsSprinkler problem that Doug was having
                      And I also found it to be the same problem with HS 1988 and up
                      I wonder what has changed in the builds to cause this.

                      Zap
                      -Mike-

                      -Home automation powered by the wind and sun-
                      Zotac 9300g-Q9400s-4gb ram-Intel 120 SSD-MS XP
                      HS 2.5.0.20, BLlan,BLweather,MCSXap,Jon00 graphing,Jon00 Whois,Snevl/Ten WeatherAlerts
                      W2c,Ztroller,z-wave+18,Q100D's,Silex 3000gb
                      Zoneminder 1.24.2 - Ubuntu 11.04 x64 on top of Xenserve
                      Zoneminder 1.24.2 - Ubuntu 11.04 x64 Zotac D525 atom

                      Comment


                        #12
                        Include files

                        Michael,

                        you are talking about the include files. and that you can download them using the updater.

                        I am using HS 2.0.2014 but there are no include files in my updater.

                        Is there a different way of downloading them?

                        Thanks.

                        Comment


                          #13
                          I've attached the HS1 updater. Create a c:\Program Files\Homeseer folder and put it in there. Dbl-click and select the includes. The files will install into the appropriate file structure. Move the structure to your HS2 folder.

                          If you do not have "includes" now then it will be easier for you to just not use the compatibilty mode that allows customization using these incudes. If the compatibilty checkbox is not checked then the includes are not needed.
                          Attached Files

                          Comment

                          Working...
                          X