Announcement

Collapse
No announcement yet.

Canadian Weather

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Canadian Weather

    I was browsing the script archives and came across a Canadian weather script posted by paulrimmer in 2002. Does anyone know of this script is still working?

    I tried downloading the Canadian Weather zip file but I get nothing ,,,

    or am I doing something wrong? Never used a script before, would like to use more of them,

    Thnx

    ALfer

    #2
    Can you post a link to the script and we can have a look.
    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

    Comment


      #3
      Alfer,

      Check out this link
      http://board.homeseer.com/showthread...light=canadian

      It is the updated Canadian Weather script.

      Steven

      Comment


        #4
        Originally posted by karls View Post
        Alfer,

        Check out this link
        http://board.homeseer.com/showthread...light=canadian

        It is the updated Canadian Weather script.

        Steven
        Alfer,

        When you edit the script, locate the city information. Place a single quote in front of the 4 lines currently in use (probably Brampton or Calgary) and add the following 4 lines for Orillia.

        Const LOCATION = "Orillia"
        Const LOCATION_CODE = "on-13_metric_e.html"
        Const FORECAST_START_STRING_TAG = "Orillia:"
        Const TIMEZONE = "EDT"

        This should get you up and running.

        Comment


          #5
          Canadian Weather

          Thanks Steven:

          I am not too savey with scripts but I did get this one running and it is posting "most" of the weather for Orillia.

          What I am not getting is as follows:

          W2 - No Icon in current weather.
          No Data in the following,
          W4 - Pressure
          W5 - Wind
          W8 - Visiblity
          W12 - Norm High
          W13 - Norm Mean
          W14 - Norm Low
          W15 - Yesterday High
          W16 - " Low
          W17 - " Precip

          When I go to EC website all of the data is there I just don't get it sent to me?

          I will try turning on Debug to see if that tells me anything, but I don't think I will know where to go in the script to make changes...

          Thanks again for all your help...

          ALfer

          Comment


            #6
            No Debug

            I tried to turn on debug, I changed the 2 locations that I can see that I "THINK" need to be changed from true to false etc. and all I get in the log is an error msg....

            Will snoop in the script for a while longer to see if I can figure it out

            ALfer

            Comment


              #7
              Originally posted by The Ol Alfer View Post
              I tried to turn on debug, I changed the 2 locations that I can see that I "THINK" need to be changed from true to false etc. and all I get in the log is an error msg....

              Will snoop in the script for a while longer to see if I can figure it out

              ALfer

              Alfer,

              Can you send me a copy of your file, I will load it at this end and check it out for you. Sorry I had missed your previous post, as I was travelling last week.

              Steven

              Comment


                #8
                Steven:

                Will try to send it to you this week, I am away from home and only back on Wed then I will be in Pickle Lake for a week after Easter ...

                Will try, and thank you again for all your help ...

                ALfer

                Comment


                  #9
                  Canadian Weather

                  Steven:

                  Here is the script that I am using, sorry to take so long been a busy boy. Any help would be appreciated.. I am using HS ver 2.1.173

                  Thanks

                  ALfer
                  Attached Files

                  Comment


                    #10
                    Weather Script ???

                    Steven: I updated to HS ver 2.2.0.11 to see if it would make any difference and it did not, I still have the same problem as before ....
                    As I am not too keen on scripts I have no idea what is not working to drop some of the information from EC ....

                    Any help would be greatly appreciated

                    Thnx
                    ALfer

                    Comment


                      #11
                      I think this script (Canadian Weather) was written by a fellow named Paul Rimmer a few years ago.

                      It kept breaking because the Canadian weather site kept changing their pages .

                      Then I think someone named Karl kind of fixed it up again but that was a while ago as well.

                      Although I don't use one at all now I found the weather xml script worked very well once it was set up.

                      I think it is on the Homeseer updater pages.

                      Good luck.....

                      Neil
                      Neil
                      Newmarket Ontario

                      Comment


                        #12
                        Hi, I am install the script.

                        2008-01-04 10:19:37 Error Running script, script run or compile error in file: Canada_Weather.txt13:Type incompatible: 'Handler_Enabled' in line 215 More info: Type incompatible: 'Handler_Enabled'

                        This message it's send to my log.

                        My variable for my city is :

                        'Const LOCATION = "Quebec"
                        'Const LOCATION_CODE = "qc-133_metric_e.html"
                        'Const FORECAST_START_STRING_TAG = "Quebec:"
                        'Const TIMEZONE = "EST"

                        I don't understand to put this on the script ?

                        ?????

                        Comment


                          #13
                          Originally posted by michelrochette View Post
                          Hi, I am install the script.

                          2008-01-04 10:19:37 Error Running script, script run or compile error in file: Canada_Weather.txt13:Type incompatible: 'Handler_Enabled' in line 215 More info: Type incompatible: 'Handler_Enabled'

                          This message it's send to my log.

                          My variable for my city is :

                          'Const LOCATION = "Quebec"
                          'Const LOCATION_CODE = "qc-133_metric_e.html"
                          'Const FORECAST_START_STRING_TAG = "Quebec:"
                          'Const TIMEZONE = "EST"

                          I don't understand to put this on the script ?

                          ?????
                          Michel,

                          I am assuming that you downloaded the latest build V2.04 from here
                          http://board.homeseer.com/showthread.php?t=107799

                          This script is now controlled from
                          http://localhost/Canadian_Weather/config.asp
                          this makes for an easier interface to adjust the parameters.
                          This config page will create an ini file located here
                          c:\Program Files\HomeSeer 2\Config\Canada_Weather.ini

                          Let me know how you make out. If you still have issues, please include the ini file.

                          Steven

                          Comment


                            #14
                            Hi,
                            I have the same message.

                            My .ini it's include.

                            Thanks

                            [Speech]
                            Speak=False
                            Speak_Year=False
                            Speak_City=False
                            Speak_Warning=False
                            [City]
                            Location=Quebec
                            Location_Code=qc-133
                            Forecast_String=Quebec:
                            Timezone=EST
                            [Settings]
                            Graphic_units=True
                            Debug_Flag=True
                            Debug_Note=Can_Weather
                            Handler=
                            Display_Icons=
                            Border=2
                            Marquee_Start=marquee
                            Marquee_End=/marquee
                            Display_Text=True
                            Display_Graphic=True
                            Colorize_Enabled=True
                            [Email]
                            Enable_Email=True
                            To_Email=michel@rochette.com
                            Cell_Email=Cell
                            From_Email=michel.domotique@videotron.ca
                            Email_Subject=Weather Warning
                            YAc_Enabled=False

                            Comment


                              #15
                              Hi, i am running a second times the config.

                              The script 2.04 it's ok. The display on my log it's ok. I am install w1-w18. It's ok only a message on my log :

                              Error web server eror 404, connot serve file : c:\program files\homeseer 2\html/\envcanadaicons/chill.gif

                              I have search chill.gif. It's not found.
                              Last edited by michelrochette; January 6, 2008, 11:34 AM.

                              Comment

                              Working...
                              X