Announcement

Collapse
No announcement yet.

Environment Canada Weather plugin - HS3

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

    The forecast feed doesn't always have both high and low, this is when it displays a dot. For example:

    <title>Thursday night: Cloudy. Low 6.</title>
    <link type="text/html" href="https://www.weather.gc.ca/city/pages/on-54_metric_e.html"/>
    <updated>2020-11-17T10:04:00Z</updated>
    <published>2020-11-17T10:04:00Z</published>
    <category term="Weather Forecasts"/>
    <summary type="html">Cloudy. Low 6. Forecast issued 05:04 AM EST Tuesday 17 November 2020</summary>
    <id>tag:weather.gc.ca,2013-04-16n-54_fc6:20201117100400</id>
    </entry>
    <entry>

    If the low or high is zero/0, it should display 0.

    Comment


      Version 3.0.0.25 is available (see post 1 for link). This fixes TLS 1.3 requirement that Environment Canada recently enforced. You will need .NET Framework 4.8 and Windows 10. Windows 7 does not support TLS 1.3.

      Comment


        Having the same issue - when no value is provided when getting forecast the string value is changed to ".".

        Can the plugin be configured to not change a string value when no value is provided when getting new forecast settings?

        Comment


          Originally posted by clachapelle View Post
          Having the same issue - when no value is provided when getting forecast the string value is changed to ".".

          Can the plugin be configured to not change a string value when no value is provided when getting new forecast settings?
          I am not clear what the ask is. The . signifies there is no data for that device in the feed. I did this so that I could see something in the HSTouch designer rather than nothing. What would you like the device string to be when there is no data in the feed for that device / forecast entry?

          Comment



            Hi, below from the HomeSeer log, yul-Forecast12_low was set to 0 or ".", but should not (should stay at -11) until a new value is provided...


            2-02-2021 16:00:47 HomeSeer HSTouch Server Debug 04:00:47:1167 ~ Value change ref:1387 Address:yul-Forecast12_low NewVal: 0OldVal: 0
            2-02-2021 16:00:47 HomeSeer HSTouch Server Debug 04:00:47:1157 ~ String change event for yul-Forecast12_low to string:.
            2-02-2021 16:00:47 HomeSeer HSTouch Server Debug 04:00:47:1147 ~ String change event for yul-Forecast12_low to string:
            ...
            2-02-2021 15:45:47 HomeSeer HSTouch Server Debug 03:45:47:0837 ~ Value change ref:1387 Address:yul-Forecast12_low NewVal: 0OldVal: -11
            2-02-2021 15:45:47 HomeSeer HSTouch Server Debug 03:45:47:0827 ~ String change event for yul-Forecast12_low to string:.
            2-02-2021 15:45:47 HomeSeer HSTouch Server Debug 03:45:47:0827 ~ String change event for yul-Forecast12_low to string:
            ...
            2-02-2021 15:30:47 HomeSeer HSTouch Server Debug 03:30:47:1327 ~ Value change ref:1387 Address:yul-Forecast12_low NewVal: -11OldVal: -11
            2-02-2021 15:30:47 HomeSeer HSTouch Server Debug 03:30:47:1317 ~ String change event for yul-Forecast12_low to string:-11
            2-02-2021 15:30:47 HomeSeer HSTouch Server Debug 03:30:47:1307 ~ String change event for yul-Forecast12_low to string:

            Comment


              Each forecast entry in the XML feed shows the forecast for a morning or evening. The feed usually doesn't provide both a high and a low for any given forecast entry. If I keep the old value then I am displaying old data that might not be accurate. The plugin displays whatever is in the feed. I don't plan to change this.

              Comment


                Originally posted by chrisgo View Post
                Version 3.0.0.25 is available (see post 1 for link). This fixes TLS 1.3 requirement that Environment Canada recently enforced. You will need .NET Framework 4.8 and Windows 10. Windows 7 does not support TLS 1.3.
                I am getting Page Not Found when I click on the link.

                Comment


                  Originally posted by chrisgo View Post
                  Each forecast entry in the XML feed shows the forecast for a morning or evening. The feed usually doesn't provide both a high and a low for any given forecast entry. If I keep the old value then I am displaying old data that might not be accurate. The plugin displays whatever is in the feed. I don't plan to change this.
                  so how to avoid having the plugin resetting the last value with nothing when nothing is provided?

                  events, counters, scripts?

                  Comment


                    Originally posted by chrisgo View Post
                    Each forecast entry in the XML feed shows the forecast for a morning or evening. The feed usually doesn't provide both a high and a low for any given forecast entry. If I keep the old value then I am displaying old data that might not be accurate. The plugin displays whatever is in the feed. I don't plan to change this.
                    status field is not planned for this purpose? we know when the value has been updated which is better than having the last value overwritten by a ".".

                    no?

                    Comment


                      Originally posted by clachapelle View Post

                      status field is not planned for this purpose? we know when the value has been updated which is better than having the last value overwritten by a ".".

                      no?
                      Free plugin, free support. Use it or don't, your call. If you want tweaks figure it out.

                      Comment


                        Originally posted by pcgirl65 View Post

                        I am getting Page Not Found when I click on the link.
                        I took it down. Considering killing this off for public use.

                        Comment


                          Originally posted by chrisgo View Post

                          I took it down. Considering killing this off for public use.
                          Sorry to hear this. Thanks for sharing over the years. I am going to update my Homeseer server to Windows 10 and TLS1.3 in case you change your mind and are williing to share. I completely understand your thought process with the support demands from Environment Canada changes and users in general.

                          Cheers.

                          Comment

                          Working...
                          X