Announcement

Collapse
No announcement yet.

Discussion for Poor Mans Weather Station

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

    #16
    Bryan,
    Try putting the port in the two places it can be. I have went around in circles with this aready, given the changes made to HS and GetUrl recently...........JG

    mystr=hs.GetURL("address : port#",False,port#)
    3.0.0.548: HS3PRO - 3.0.5.10: AIAlert - 2.1.1.0: APIWeather - 2.0.64.0: BLBackup - 2.0.45.0: BLLAN - 2.0.37.0: BLRoombaWifi - 1.0.0.3: DevLog - 1.2.5.15: KeyPad - 3.0.2.25: NetCAM - 0.0.0.52: Pushover 3P - 3.0.0.5: SendVFD - 1.0.0.3: Tiles - 3.0.11.0: Z-Wave

    Comment


      #17
      Jebus,

      Thanks, but it still didn't work. I can't even get a page return if I hardcode "localhost".

      Bryan Nystrom
      Natara Software, Inc.

      Comment


        #18
        Are you running any firewall software or add bocking software or virus software that will prevent the geturl form working?

        -Rupp

        How come "abbreviated" is such a long word?
        💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

        Comment


          #19
          Brian,

          Put these into your script. Completely replace the lines you have or comment them out.
          --------
          StationID ="AUORA"
          ...
          strip_tags = False
          port = 80
          host = "www.instaweather.com"
          ...
          page = "/KNBC/default.asp?cid=94&id=" & StationID
          ...
          Webpage = hs.GetURL(host, page, strip_tags, port)
          ---------
          These work for me. (Sometimes the station is "offline" though.)

          Another thing to try would be to place an hs.WriteLog "Webpage", Webpage right after the hs.GetURL statement.

          Check syntax, upper case / lower case stuff etc. You might just have a typo somewhere. If it doesn't work, upload the code. Maybe someone will see something you missed.

          Good Luck!

          regards,

          GenevaDude

          Comment


            #20
            Rupp,

            I've got a linksys router set up which has a firewall, but that hasn't seemed to be a factor in the past (I used an older "Weather.txt" script that worked fine). I assumed that GetURL from the HS machine was akin to running a web browser and asking for a web page. I've also go Norton AV installed, but I normally have "Auto Protect" turned off.

            GenevaDude,

            I'm ahead of you there. I already tried dumping to the log file like you mentioned. Blank line is what I get. I've also tried various web sites and pages I know should work. Don't think Case has much to do with it here since the Target URL is known windows IIS server and this stuff is VB code and not JS.

            I do think it's something on my machine in particular that is preventing the getURL from working. I'm going to download some other scripts which I know have getURL in them and give them a shot.

            Bryan Nystrom
            Natara Software, Inc.

            Comment


              #21
              GenevaDude,

              Heres some of what I've modified:

              ' ========== User Variables ========================================================
              ' Required
              PM_HouseCode = "P"
              PM_FirstUnit = "20"
              StationID = "AUORA"
              'Optional
              INI_FileName="PM_Weather.ini"
              LogDailyHistory = False
              LogCurrentConditions = True
              DebugOn = False
              '
              ' ============== Script ===========================================================
              -----
              strip_tags = False
              port = 80
              host = "www.instaweather.com"
              page = "/KNBC/default.asp?cid=94&id=" & StationID
              -----
              For ConnectTry = 1 To 3 ' try 3 times to get webpage
              Webpage = hs.GetURL(host, page, strip_tags, port)
              hs.writelog "Webpage", Webpage
              If DebugOn = True Then
              hs.writelog "PM-Weather Debug", "Getting History WebData Attempt " & ConnectTry
              hs.writelog "PM-Weather Debug", "Returned Website Data with length of " & len(webpage)
              End If
              If len(Webpage) > 1000 Then
              If DebugOn = True Then
              Set fso = CreateObject("Scripting.FileSystemObject")
              Set f1 = fso.CreateTextFile("D:\Program Files\Homeseer\PM_WeatherHistTemp.txt", 8, 0)
              f1.WriteLine host & page
              f1.WriteLine webpage
              f1.Close
              End If
              Exit For
              End If
              Next
              If len(Webpage) = 0 Then
              hs.writelog "PM-Weather Error", "Unable to connect to site"
              hs.writelog "PM-Weather Error", "Page Len: s" &len(webpage)
              exit sub
              End If
              ---------------

              And the log output is basically

              WebPage
              WebPage
              WebPage
              PM-Weather Error Unable to connect to site
              PM-Weather Error Page Len: 0

              Bryan Nystrom
              Natara Software, Inc.

              Comment


                #22
                Try this.
                Get a DOS window going and type -> Tracert http://www.instaweather.com Use the returned IP and do a -> Ping 128.121.26.144

                If Tracert works and Ping doesn't there is a clue.

                regards,

                GenevaDude

                Comment


                  #23
                  Sorry guys, I was out of town the last couple of days

                  Jforster – Thanks

                  TimeVex – Thanks

                  GenevaDude – Thanks & what is your station ID? None of the stations in my area have a light index, or I’m not looking in the right area.

                  Shane – Thanks

                  Jebus, Thanks, I didn’t notice that, I will add it to an update this weekend.

                  Bryan – I will add a graceful exit and fix it so the path isn’t hard coded. As far as your current problem goes, you guys are already past anything I’d be able to think of, but if you find it to be a problem in the script I’ll certainly change it.

                  Comment


                    #24
                    fixrim,

                    Thanks (for doing the script in the first place). I highly doubt that this GetURL issue I'm seeing has anything at all to do with your script. You're not doing anything out of the ordinary. I think just a simple script with a one or two line GetURL in it on my system would fail at this time.

                    Rupp,

                    Good idea. It may be that GetURL is having trouble resolving the name. I'll aslo try sticking the ip address in and see if it works with that.

                    Bryan Nystrom
                    Natara Software, Inc.

                    Comment


                      #25
                      fixrim,

                      Sorry, but I was looking at another site. But here is the local station:
                      http://www.aws.com/nbc/wmaq/wx.asp?id=GENEA
                      If you click on the "Full Observation" link you get this site:
                      http://www.aws.com/nbc/wmaq/full.asp?id=GENEA

                      A neat feature I found is the java applet they provide. If you click here
                      http://www.aws.com/aws_2001/asp/getL...ther.asp?msg=1
                      and enter your zip, you may find a real time applet that you can copy right into your web page!

                      Look for code like this in the web page (right click and select view source). Copy it right where you want it to show and you get real time weather!
                      <pre class="ip-ubbcode-code-pre">
                      &lt;applet codebase=http://isapidata.weatherbug.com/javawx/classes code=SingleBroadcast.class width=390 height=293&gt;
                      &lt;PARAM NAME=Units VALUE="fmiI"&gt;
                      &lt;PARAM NAME=BACKGROUNDIMAGE VALUE="JavaWx/schools/aw390.jpg"&gt;

                      &lt;PARAM NAME=Units VALUE="fmii"&gt;

                      &lt;PARAM NAME=INTERVAL1 VALUE="5"&gt;
                      &lt;PARAM NAME=INTERVAL2 VALUE="30"&gt;
                      &lt;PARAM NAME=INTERVAL3 VALUE="60"&gt;
                      &lt;PARAM NAME=INTERVAL4 VALUE="60"&gt;

                      &lt;PARAM NAME=SHOWBUTTON VALUE="FALSE"&gt;
                      &lt;PARAM NAME=NO_OF_COUNTIES VALUE="1"&gt;

                      &lt;PARAM NAME=COUNTY0_NAME VALUE="TX"&gt;
                      &lt;PARAM NAME=COUNTY0_NO_OF_SITES VALUE="1"&gt;
                      &lt;PARAM NAME=COUNTY0_SITE_NAME0 VALUE="K"&gt;
                      &lt;PARAM NAME=COUNTY0_SITE_ID0 VALUE="GENEA"&gt;



                      &lt;PARAM NAME=THERMORECT VALUE="TRUE"&gt;
                      &lt;PARAM NAME=WINDVANE VALUE="TRUE"&gt;

                      &lt;PARAM NAME=NO_OF_TEXTS VALUE="11"&gt;

                      &lt;PARAM NAME=TEXT_TYPE0 VALUE="TEMP"&gt;
                      &lt;PARAM NAME=TEMP_X VALUE="58"&gt;
                      &lt;PARAM NAME=TEMP_Y VALUE="204"&gt;
                      &lt;PARAM NAME=TEMP_TEXT_COLOR_RED VALUE="255"&gt;
                      &lt;PARAM NAME=TEMP_TEXT_COLOR_GREEN VALUE="255"&gt;
                      &lt;PARAM NAME=TEMP_TEXT_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=TEMP_TEXT_FONT_NAME VALUE="Arial"&gt;
                      &lt;PARAM NAME=TEMP_TEXT_FONT_STYLE VALUE="BOLD"&gt;
                      &lt;PARAM NAME=TEMP_TEXT_FONT_SIZE VALUE="31"&gt;
                      &lt;PARAM NAME=TEMP_TEXT_CENTER VALUE="true"&gt;
                      &lt;PARAM NAME=TEMP_SHADOW_COLOR_RED VALUE="0"&gt;
                      &lt;PARAM NAME=TEMP_SHADOW_COLOR_GREEN VALUE="0"&gt;
                      &lt;PARAM NAME=TEMP_SHADOW_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=TEMP_SHADOW_DEPTH VALUE="1"&gt;

                      &lt;PARAM NAME=TEXT_TYPE1 VALUE="GUSTSPEED"&gt;
                      &lt;PARAM NAME=GUSTSPEED_X VALUE="291"&gt;
                      &lt;PARAM NAME=GUSTSPEED_Y VALUE="225"&gt;
                      &lt;PARAM NAME=GUSTSPEED_TEXT_COLOR_RED VALUE="255"&gt;
                      &lt;PARAM NAME=GUSTSPEED_TEXT_COLOR_GREEN VALUE="255"&gt;
                      &lt;PARAM NAME=GUSTSPEED_TEXT_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=GUSTSPEED_TEXT_FONT_NAME VALUE="Arial"&gt;
                      &lt;PARAM NAME=GUSTSPEED_TEXT_FONT_STYLE VALUE="BOLD"&gt;
                      &lt;PARAM NAME=GUSTSPEED_TEXT_FONT_SIZE VALUE="24"&gt;
                      &lt;PARAM NAME=GUSTSPEED_TEXT_CENTER VALUE="false"&gt;
                      &lt;PARAM NAME=GUSTSPEED_SHADOW_COLOR_RED VALUE="0"&gt;
                      &lt;PARAM NAME=GUSTSPEED_SHADOW_COLOR_GREEN VALUE="0"&gt;
                      &lt;PARAM NAME=GUSTSPEED_SHADOW_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=GUSTSPEED_SHADOW_DEPTH VALUE="1"&gt;

                      &lt;PARAM NAME=TEXT_TYPE2 VALUE="RAIN"&gt;
                      &lt;PARAM NAME=RAIN_X VALUE="119"&gt;
                      &lt;PARAM NAME=RAIN_Y VALUE="282"&gt;
                      &lt;PARAM NAME=RAIN_TEXT_COLOR_RED VALUE="255"&gt;
                      &lt;PARAM NAME=RAIN_TEXT_COLOR_GREEN VALUE="255"&gt;
                      &lt;PARAM NAME=RAIN_TEXT_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=RAIN_TEXT_FONT_NAME VALUE="Arial"&gt;
                      &lt;PARAM NAME=RAIN_TEXT_FONT_STYLE VALUE="BOLD"&gt;
                      &lt;PARAM NAME=RAIN_TEXT_FONT_SIZE VALUE="20"&gt;
                      &lt;PARAM NAME=RAIN_TEXT_CENTER VALUE="false"&gt;
                      &lt;PARAM NAME=RAIN_SHADOW_COLOR_RED VALUE="0"&gt;
                      &lt;PARAM NAME=RAIN_SHADOW_COLOR_GREEN VALUE="0"&gt;
                      &lt;PARAM NAME=RAIN_SHADOW_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=RAIN_SHADOW_DEPTH VALUE="1"&gt;

                      &lt;PARAM NAME=TEXT_TYPE3 VALUE="HUMIDITY"&gt;
                      &lt;PARAM NAME=HUMIDITY_X VALUE="19"&gt;
                      &lt;PARAM NAME=HUMIDITY_Y VALUE="282"&gt;
                      &lt;PARAM NAME=HUMIDITY_TEXT_COLOR_RED VALUE="255"&gt;
                      &lt;PARAM NAME=HUMIDITY_TEXT_COLOR_GREEN VALUE="255"&gt;
                      &lt;PARAM NAME=HUMIDITY_TEXT_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=HUMIDITY_TEXT_FONT_NAME VALUE="Arial"&gt;
                      &lt;PARAM NAME=HUMIDITY_TEXT_FONT_STYLE VALUE="BOLD"&gt;
                      &lt;PARAM NAME=HUMIDITY_TEXT_FONT_SIZE VALUE="20"&gt;
                      &lt;PARAM NAME=HUMIDITY_TEXT_CENTER VALUE="false"&gt;
                      &lt;PARAM NAME=HUMIDITY_SHADOW_COLOR_RED VALUE="0"&gt;
                      &lt;PARAM NAME=HUMIDITY_SHADOW_COLOR_GREEN VALUE="0"&gt;
                      &lt;PARAM NAME=HUMIDITY_SHADOW_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=HUMIDITY_SHADOW_DEPTH VALUE="1"&gt;

                      &lt;PARAM NAME=TEXT_TYPE4 VALUE="WINDCHILL"&gt;
                      &lt;PARAM NAME=WINDCHILL_X VALUE="214"&gt;
                      &lt;PARAM NAME=WINDCHILL_Y VALUE="282"&gt;
                      &lt;PARAM NAME=WINDCHILL_TEXT_COLOR_RED VALUE="255"&gt;
                      &lt;PARAM NAME=WINDCHILL_TEXT_COLOR_GREEN VALUE="255"&gt;
                      &lt;PARAM NAME=WINDCHILL_TEXT_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=WINDCHILL_TEXT_FONT_NAME VALUE="Arial"&gt;
                      &lt;PARAM NAME=WINDCHILL_TEXT_FONT_STYLE VALUE="BOLD"&gt;
                      &lt;PARAM NAME=WINDCHILL_TEXT_FONT_SIZE VALUE="20"&gt;
                      &lt;PARAM NAME=WINDCHILL_TEXT_CENTER VALUE="false"&gt;
                      &lt;PARAM NAME=WINDCHILL_SHADOW_COLOR_RED VALUE="0"&gt;
                      &lt;PARAM NAME=WINDCHILL_SHADOW_COLOR_GREEN VALUE="0"&gt;
                      &lt;PARAM NAME=WINDCHILL_SHADOW_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=WINDCHILL_SHADOW_DEPTH VALUE="1"&gt;

                      &lt;PARAM NAME=TEXT_TYPE5 VALUE="PRESSURE"&gt;
                      &lt;PARAM NAME=PRESSURE_X VALUE="314"&gt;
                      &lt;PARAM NAME=PRESSURE_Y VALUE="282"&gt;
                      &lt;PARAM NAME=PRESSURE_TEXT_COLOR_RED VALUE="255"&gt;
                      &lt;PARAM NAME=PRESSURE_TEXT_COLOR_GREEN VALUE="255"&gt;
                      &lt;PARAM NAME=PRESSURE_TEXT_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=PRESSURE_TEXT_FONT_NAME VALUE="Arial"&gt;
                      &lt;PARAM NAME=PRESSURE_TEXT_FONT_STYLE VALUE="BOLD"&gt;
                      &lt;PARAM NAME=PRESSURE_TEXT_FONT_SIZE VALUE="20"&gt;
                      &lt;PARAM NAME=PRESSURE_TEXT_CENTER VALUE="false"&gt;
                      &lt;PARAM NAME=PRESSURE_SHADOW_COLOR_RED VALUE="0"&gt;
                      &lt;PARAM NAME=PRESSURE_SHADOW_COLOR_GREEN VALUE="0"&gt;
                      &lt;PARAM NAME=PRESSURE_SHADOW_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=PRESSURE_SHADOW_DEPTH VALUE="1"&gt;

                      &lt;PARAM NAME=TEXT_TYPE6 VALUE="TEMPHIGH"&gt;
                      &lt;PARAM NAME=TEMPHIGH_X VALUE="87"&gt;
                      &lt;PARAM NAME=TEMPHIGH_Y VALUE="113"&gt;
                      &lt;PARAM NAME=TEMPHIGH_TEXT_COLOR_RED VALUE="255"&gt;
                      &lt;PARAM NAME=TEMPHIGH_TEXT_COLOR_GREEN VALUE="255"&gt;
                      &lt;PARAM NAME=TEMPHIGH_TEXT_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=TEMPHIGH_TEXT_FONT_NAME VALUE="Arial"&gt;
                      &lt;PARAM NAME=TEMPHIGH_TEXT_FONT_STYLE VALUE="BOLD"&gt;
                      &lt;PARAM NAME=TEMPHIGH_TEXT_FONT_SIZE VALUE="24"&gt;
                      &lt;PARAM NAME=TEMPHIGH_TEXT_CENTER VALUE="true"&gt;
                      &lt;PARAM NAME=TEMPHIGH_SHADOW_COLOR_RED VALUE="0"&gt;
                      &lt;PARAM NAME=TEMPHIGH_SHADOW_COLOR_GREEN VALUE="0"&gt;
                      &lt;PARAM NAME=TEMPHIGH_SHADOW_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=TEMPHIGH_SHADOW_DEPTH VALUE="1"&gt;

                      &lt;PARAM NAME=TEXT_TYPE7 VALUE="TEMPLOW"&gt;
                      &lt;PARAM NAME=TEMPLOW_X VALUE="88"&gt;
                      &lt;PARAM NAME=TEMPLOW_Y VALUE="160"&gt;
                      &lt;PARAM NAME=TEMPLOW_TEXT_COLOR_RED VALUE="255"&gt;
                      &lt;PARAM NAME=TEMPLOW_TEXT_COLOR_GREEN VALUE="255"&gt;
                      &lt;PARAM NAME=TEMPLOW_TEXT_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=TEMPLOW_TEXT_FONT_NAME VALUE="Arial"&gt;
                      &lt;PARAM NAME=TEMPLOW_TEXT_FONT_STYLE VALUE="BOLD"&gt;
                      &lt;PARAM NAME=TEMPLOW_TEXT_FONT_SIZE VALUE="24"&gt;
                      &lt;PARAM NAME=TEMPLOW_TEXT_CENTER VALUE="true"&gt;
                      &lt;PARAM NAME=TEMPLOW_SHADOW_COLOR_RED VALUE="0"&gt;
                      &lt;PARAM NAME=TEMPLOW_SHADOW_COLOR_GREEN VALUE="0"&gt;
                      &lt;PARAM NAME=TEMPLOW_SHADOW_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=TEMPLOW_SHADOW_DEPTH VALUE="1"&gt;

                      &lt;PARAM NAME=TEXT_TYPE8 VALUE="NAME"&gt;
                      &lt;PARAM NAME=NAME_X VALUE="3"&gt;
                      &lt;PARAM NAME=NAME_Y VALUE="52"&gt;
                      &lt;PARAM NAME=NAME_TEXT_COLOR_RED VALUE="255"&gt;
                      &lt;PARAM NAME=NAME_TEXT_COLOR_GREEN VALUE="255"&gt;
                      &lt;PARAM NAME=NAME_TEXT_COLOR_BLUE VALUE="255"&gt;
                      &lt;PARAM NAME=NAME_TEXT_FONT_NAME VALUE="Arial"&gt;
                      &lt;PARAM NAME=NAME_TEXT_FONT_STYLE VALUE="BOLD"&gt;
                      &lt;PARAM NAME=NAME_TEXT_FONT_SIZE VALUE="14"&gt;
                      &lt;PARAM NAME=NAME_TEXT_CENTER VALUE="false"&gt;
                      &lt;PARAM NAME=NAME_SHADOW_COLOR_RED VALUE="0"&gt;
                      &lt;PARAM NAME=NAME_SHADOW_COLOR_GREEN VALUE="0"&gt;
                      &lt;PARAM NAME=NAME_SHADOW_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=NAME_SHADOW_DEPTH VALUE="1"&gt;

                      &lt;PARAM NAME=TEXT_TYPE9 VALUE="WINDSPEED"&gt;
                      &lt;PARAM NAME=WINDSPEED_X VALUE="328"&gt;
                      &lt;PARAM NAME=WINDSPEED_Y VALUE="115"&gt;
                      &lt;PARAM NAME=WINDSPEED_TEXT_COLOR_RED VALUE="255"&gt;
                      &lt;PARAM NAME=WINDSPEED_TEXT_COLOR_GREEN VALUE="255"&gt;
                      &lt;PARAM NAME=WINDSPEED_TEXT_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=WINDSPEED_TEXT_FONT_NAME VALUE="Arial"&gt;
                      &lt;PARAM NAME=WINDSPEED_TEXT_FONT_STYLE VALUE="BOLD"&gt;
                      &lt;PARAM NAME=WINDSPEED_TEXT_FONT_SIZE VALUE="29"&gt;
                      &lt;PARAM NAME=WINDSPEED_TEXT_CENTER VALUE="true"&gt;
                      &lt;PARAM NAME=WINDSPEED_SHADOW_COLOR_RED VALUE="0"&gt;
                      &lt;PARAM NAME=WINDSPEED_SHADOW_COLOR_GREEN VALUE="0"&gt;
                      &lt;PARAM NAME=WINDSPEED_SHADOW_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=WINDSPEED_SHADOW_DEPTH VALUE="1"&gt;

                      &lt;PARAM NAME=TEXT_TYPE10 VALUE="CITYSTATE"&gt;
                      &lt;PARAM NAME=CITYSTATE_X VALUE="220"&gt;
                      &lt;PARAM NAME=CITYSTATE_Y VALUE="52"&gt;
                      &lt;PARAM NAME=CITYSTATE_TEXT_COLOR_RED VALUE="255"&gt;
                      &lt;PARAM NAME=CITYSTATE_TEXT_COLOR_GREEN VALUE="255"&gt;
                      &lt;PARAM NAME=CITYSTATE_TEXT_COLOR_BLUE VALUE="255"&gt;
                      &lt;PARAM NAME=CITYSTATE_TEXT_FONT_NAME VALUE="Arial"&gt;
                      &lt;PARAM NAME=CITYSTATE_TEXT_FONT_STYLE VALUE="BOLD"&gt;
                      &lt;PARAM NAME=CITYSTATE_TEXT_FONT_SIZE VALUE="14"&gt;
                      &lt;PARAM NAME=CITYSTATE_TEXT_CENTER VALUE="false"&gt;
                      &lt;PARAM NAME=CITYSTATE_SHADOW_COLOR_RED VALUE="0"&gt;
                      &lt;PARAM NAME=CITYSTATE_SHADOW_COLOR_GREEN VALUE="0"&gt;
                      &lt;PARAM NAME=CITYSTATE_SHADOW_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=CITYSTATE_SHADOW_DEPTH VALUE="1"&gt;

                      &lt;PARAM NAME=FILLER_LOW_VALUE VALUE="-20"&gt;
                      &lt;PARAM NAME=FILLER_HIGH_VALUE VALUE="120"&gt;
                      &lt;PARAM NAME=FILLER_LOWER_LEFT_X VALUE="56"&gt;
                      &lt;PARAM NAME=FILLER_LOWER_LEFT_Y VALUE="179"&gt;
                      &lt;PARAM NAME=FILLER_WIDTH VALUE="5"&gt;
                      &lt;PARAM NAME=FILLER_HEIGHT VALUE="90"&gt;
                      &lt;PARAM NAME=FILLER_COLOR_RED VALUE="255"&gt;
                      &lt;PARAM NAME=FILLER_COLOR_GREEN VALUE="0"&gt;
                      &lt;PARAM NAME=FILLER_COLOR_BLUE VALUE="0"&gt;

                      &lt;PARAM NAME=VANEARROW_CENTER_X VALUE="328"&gt;
                      &lt;PARAM NAME=VANEARROW_CENTER_Y VALUE="122"&gt;
                      &lt;PARAM NAME=VANEARROW_RADIUS VALUE="35"&gt;
                      &lt;PARAM NAME=VANEARROW_COLOR_RED VALUE="255"&gt;
                      &lt;PARAM NAME=VANEARROW_COLOR_GREEN VALUE="255"&gt;
                      &lt;PARAM NAME=VANEARROW_COLOR_BLUE VALUE="0"&gt;
                      &lt;PARAM NAME=VANEARROW_SHADOW_COLOR_RED VALUE="0"&gt;
                      &lt;PARAM NAME=VANEARROW_SHADOW_COLOR_GREEN VALUE="0"&gt;
                      &lt;PARAM NAME=VANEARROW_SHADOW_COLOR_BLUE VALUE="0"&gt;&lt;/APPLET&gt;
                      </pre>
                      I created a table for my web page. You know it's real time because you can watch the wind shift direction.

                      regards,

                      GenevaDude

                      Comment


                        #26
                        Brian,
                        Did you try Tracert and Ping? The point I was making is that if Tracert works and Ping does not then you probably have a network problem. For instance, are you running XP or XP Pro? XP seems to f*#@ up things on some networks. You probably can't ping anything outside your home network, but you can Tracert them.
                        If this is true, then I really don't know the answer, but I would like to!

                        regards,

                        GenevaDude

                        Comment


                          #27
                          Yes, I tried both Tracert and Ping with no problems what so ever (anyone else trying; you need to eliminate the "http://" that was given as an example in the above post. TraceRT only wants the www.xxx.com part).

                          This is my main development machine (XP Pro) and I run network/internet aware apps all the time without any problems. I've got lots of apps (beside my browser) that check for updates out on the web with no problems. Homeseer itself has no problems getting updates on the same machine. Norton has no problems updating virus defs. It's only the HS.GetURL that is failing for some reason. I'm going to whip together a simple 3 line script and use that to verify with instead of PMWS for a while.

                          I thought maybe that the HS.GetURL might be having problems resolving to DNS, so I tried subt. the IP address. That didn't help either. It's too bad there are no error codes available from a failed GetURL (???). My guess is that whatever external library HS is using for the GetURL is either missing or not the version it is expecting, etc. I watch the outbound light on my cable modem (sitting next to me) when I hit the GetURL and never see the light even blink, so I'm assuming the GetURL doesn't even attempt a send out to the network.

                          Oh Rich!! Are you hanging out here at all?

                          Bryan Nystrom
                          Natara Software, Inc.

                          Comment


                            #28
                            I get an error for each day of the last two months in my log.

                            8/19/03 5:57:39 AM~!~PM Weather - Error~!~No Data for 8/19/03 (PM_Weather.txt)

                            But when I go to weather station site, it has all of the history..

                            http://www.instaweather.com/KNBC/def...cid=94&id=KUIN

                            Did I miss something in the script setup?

                            Comment


                              #29
                              Jim

                              When I tried the link at 6:00 this morning, that station was down, now it is back up(7:30 central).

                              That may have been your problem, if it persists let me know.

                              Paul

                              Comment


                                #30
                                I just tried again and I am still getting the same error. I also checked the website to make sure the weather station stayed up - and it was there the entire time.

                                Here is a piece of the Debug log...if it helps.

                                8/20/03 9:22:01 AM~!~PM-Weather Debug~!~Getting WebData From www.instaweather.com/KNBC/default.asp?cid=94&id=KUIN
                                8/20/03 9:22:01 AM~!~PM-Weather Debug~!~House Code: P
                                8/20/03 9:22:01 AM~!~PM-Weather Debug~!~First Unit Code: 20
                                8/20/03 9:22:01 AM~!~PM-Weather Debug~!~End User Variables ===========================================
                                8/20/03 9:22:04 AM~!~PM-Weather Debug~!~Getting History WebData Attempt 1
                                8/20/03 9:22:04 AM~!~PM-Weather Debug~!~Returned Website Data with length of 67312
                                8/20/03 9:22:04 AM~!~PM-Weather Debug~!~----------------------------------------
                                8/20/03 9:22:04 AM~!~PM-Weather Debug~!~Looking for DateString 8/20/03
                                8/20/03 9:22:04 AM~!~PM-Weather Debug~!~returned a position of 0
                                8/20/03 9:22:04 AM~!~PM-Weather Debug~!~----------------------------------------
                                8/20/03 9:22:04 AM~!~PM Weather - Error~!~No Data for 8/20/03 (PM_Weather.txt)
                                8/20/03 9:22:04 AM~!~PM-Weather Debug~!~----------------------------------------

                                Comment

                                Working...
                                X