www.homeseer.com    
 

Go Back   HomeSeer Message Board > Weather Plug-ins > Weather Discussion

Reply
 
Thread Tools Display Modes
  #61  
Old August 1st, 2017, 12:36 AM
chrisgo chrisgo is offline
Seer Deluxe
 
Join Date: Apr 2010
Location: Canada
Posts: 180
Quote:
Originally Posted by dhalsall View Post
Hi Chrisgo!

Just installed your plugin (3.0.0.17), and all seems good, with a couple of exceptions I'm seeing in the log:

Code:
Jul-29 11:27:24 PM WarningFile does not exist: C:\Program Files (x86)\HomeSeer  HS3\html\images\envcan\backgrounds\
Jul-29 11:27:24 PM WarningFile does not exist: C:\Program Files (x86)\HomeSeer HS3\html\images\envcan\backgrounds\clouds.jpg
Jul-29 11:27:23 PM WarningFile does not exist: C:\Program Files (x86)\HomeSeer HS3\html\images\envcan\backgrounds\sunny.jpg
I checked the ZIP, and that portion of the path isn't there - did I miss something?

also, seeing this repeatedly in the log, which just stared after the install:

Code:
Jul-29 11:25:30 PM  HSTouch Server WarningException on Value Change callback: Object reference not set to an instance of an object.
Jul-29 11:25:30 PM HSTouch Server WarningException on Value Change callback: Object reference not set to an instance of an object.
Jul-29 11:25:29 PM HSTouch Server WarningException on Value Change callback: Object reference not set to an instance of an object.
Jul-29 11:25:29 PM HSTouch Server WarningException on Value Change callback: Object reference not set to an instance of an object.
Any thoughts on that?

thanks for the great plugin - and I have to ask... is Chrisgo a play on an "oil" gag?

thanks,
dave
(in Ottawa, ON)
You need to find your own background images and populate in the backgrounds folder. I can't provide these. This is a hobby project and I can't afford to license images for a free plugin. It cost me $100 for the little weather icons but I thought they looked cool so I bought them and I am allowed to distribute them with the plugin.

Photos are much more expensive and I've only had 1 donation towards this plugin ($20 total) so that's not going to happen.

Chris
Reply With Quote
  #62  
Old August 3rd, 2017, 09:41 PM
dhalsall dhalsall is offline
Seer Plus
 
Join Date: Nov 2015
Location: Ontario
Posts: 102
OK - gotcha, thanks for the info Chris.

Maybe some place holder images (literally blank, or similar to "media offline" graphics) would help to avoid dummies like me asking you

I can send you something if you don't have an easy way to create anything.

Dave
Reply With Quote
  #63  
Old August 4th, 2017, 12:08 AM
dhalsall dhalsall is offline
Seer Plus
 
Join Date: Nov 2015
Location: Ontario
Posts: 102
NAAD feed

Hi Chris,

One other inquiry... have you considered implementing any parsing of the NAAD public safety RSS feed (Canadian):

http://rss.naad-adna.pelmorex.com/

It may provide more detail / faster update for severe weather warnings.

Dave
Reply With Quote
  #64  
Old August 22nd, 2017, 05:07 PM
Otto-mation Otto-mation is offline
Seer
 
Join Date: Sep 2015
Location: GTA (Greater Toronto)
Posts: 72
Quote:
Originally Posted by chrisgo View Post
I have a created a HS3 plugin that can read the Environment Canada ATOM feeds and create HS3 devices that can be used in HS Touch etc.

HSPI_ENVCAN_3.0.0.4.zip

To configure, just add your ATOM feed (eg https://weather.gc.ca/rss/city/ab-52_e.xml) to the feeds page and use a unique prefix.

A bunch of HS3 devices will be created. Each device has an associated weather icon as defined in the parse configuration page. This can be used in HS Touch as a status image.

A background image can be added to the /html/images/envcan/backgrounds folder to represent the state of the current weather. I am using this image as a background in HS Touch.

I've included an example config file which has my parse rules but you can start from scratch if you prefer.

The icons folder has some weather icons that can be replaced with whatever you prefer.

No background images are supplied as I don't have anything royalty free.


------------
HI Chris, thanks for this effort - much appreciated. I got it working and just sent you a payment in appreciation.

Question for you.
I asked Environment Canada if they offered a feed where the POP (Probability of Precipitation) was a specific element so that I could make actionable events based on the likelihood of precipitation. (I.e. if POP > 50%, then don't water the lawn today).

Apparently they have such a feed in their datamart as per their reply.....


Hello Steve,
Thank you for sending your request to Environment Canada.

The city page XML on the datamart has the POP as a separate element, perhaps this would be a better option for the sprinkler programming.
http://dd.weather.gc.ca/

XML snippet code:
-<forecast>

<period textForecastName="Tuesday night">Tuesday night</period>

<textSummary>Cloudy with 60 percent chance of showers. Low 14.</textSummary>


-<cloudPrecip>

<textSummary>Cloudy with 60 percent chance of showers.</textSummary>

</cloudPrecip>


-<abbreviatedForecast>

<iconCode format="gif">12</iconCode>

<pop units="%">60</pop>

<textSummary>Chance of showers</textSummary>

Once you are in the datamart select “citypage” weather” then click on “xml”. Before you click on the province you may want to find the number associated with the city you are looking for so go to “sitelist.xml” and find the number. Then return to the province selection page.

Hope this helps,

André Cyr
Meteorological Inquiry Specialist
MSC National Inquiry Response Team ISO 9001:2008
Environment and Climate Change Canada





-----Original Message-----
From: Steve [mailto:EC.ENDRP-NIRT.EC@canada.ca]
Sent: July 21, 2017 2:34 PM
To: ECWeather-Météo (EC)
Subject: Environment Canada Ser: D0721L2XWX

Sent : Friday, July 21, 2017 17:33 pm UTC

The following information was submitted :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
By : Steve
Region : Ontario
IP : 99.246.70.104
Server IP : weather.gc.ca
Referring Document : https://weather.gc.ca/business/index_e.html

Browser Info : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36




Message :
~~~~~~~~~
I just started using your Atom weather feed with my home automation system (HomeSeer) and this is a BEAUTIFUL THING!.....except one wish....if you were to break the POP out as an individual element(s) for current and 7 days, then I could tie my home sprinkler into that value and, for example, not water the lawns today if POP is greater than 50%. Then, your data becomes even more actionable, and not just informative. Much thanks for this service!!!


Question - how difficult would it be for you to incorporate these feeds above to create this variation for a Canadian weather plugin? Absolutely willing to make a donation on this one.

thanks again!
__________________
-steve

Current Date/Time: 9/12/2017 8:36:53 PM
HomeSeer Version: HS3 ZEE S2 Edition 3.0.0.357
Linux version: Linux HomeTrollerZeeS2 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux System Uptime: 1 Day 7 Hours 34 Minutes 2 Seconds

Number of Devices: 256
Number of Events: 168
Available Threads: 399

Enabled Plug-Ins
3.0.0.5: CM15A
3.0.0.33: EasyTrigger
3.0.0.17: EnvCan
3.0.0.14: NetCAM
3.0.1.130: Z-Wave
[/SIZE]
Reply With Quote
  #65  
Old August 22nd, 2017, 06:33 PM
chrisgo chrisgo is offline
Seer Deluxe
 
Join Date: Apr 2010
Location: Canada
Posts: 180
Quote:
Originally Posted by Otto-mation View Post
------------
HI Chris, thanks for this effort - much appreciated. I got it working and just sent you a payment in appreciation.

Question for you.
I asked Environment Canada if they offered a feed where the POP (Probability of Precipitation) was a specific element so that I could make actionable events based on the likelihood of precipitation. (I.e. if POP > 50%, then don't water the lawn today).

Apparently they have such a feed in their datamart as per their reply.....


Hello Steve,
Thank you for sending your request to Environment Canada.

The city page XML on the datamart has the POP as a separate element, perhaps this would be a better option for the sprinkler programming.
http://dd.weather.gc.ca/

XML snippet code:
-<forecast>

<period textForecastName="Tuesday night">Tuesday night</period>

<textSummary>Cloudy with 60 percent chance of showers. Low 14.</textSummary>


-<cloudPrecip>

<textSummary>Cloudy with 60 percent chance of showers.</textSummary>

</cloudPrecip>


-<abbreviatedForecast>

<iconCode format="gif">12</iconCode>

<pop units="%">60</pop>

<textSummary>Chance of showers</textSummary>

Once you are in the datamart select “citypage” weather” then click on “xml”. Before you click on the province you may want to find the number associated with the city you are looking for so go to “sitelist.xml” and find the number. Then return to the province selection page.

Hope this helps,

André Cyr
Meteorological Inquiry Specialist
MSC National Inquiry Response Team ISO 9001:2008
Environment and Climate Change Canada





-----Original Message-----
From: Steve [mailto:EC.ENDRP-NIRT.EC@canada.ca]
Sent: July 21, 2017 2:34 PM
To: ECWeather-Météo (EC)
Subject: Environment Canada Ser: D0721L2XWX

Sent : Friday, July 21, 2017 17:33 pm UTC

The following information was submitted :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
By : Steve
Region : Ontario
IP : 99.246.70.104
Server IP : weather.gc.ca
Referring Document : https://weather.gc.ca/business/index_e.html

Browser Info : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36




Message :
~~~~~~~~~
I just started using your Atom weather feed with my home automation system (HomeSeer) and this is a BEAUTIFUL THING!.....except one wish....if you were to break the POP out as an individual element(s) for current and 7 days, then I could tie my home sprinkler into that value and, for example, not water the lawns today if POP is greater than 50%. Then, your data becomes even more actionable, and not just informative. Much thanks for this service!!!


Question - how difficult would it be for you to incorporate these feeds above to create this variation for a Canadian weather plugin? Absolutely willing to make a donation on this one.

thanks again!
Hi Steve, I got your donation, much appreciated!

Let me look into this. Work is nuts right now so no promises.

Chris

Sent from my SM-G925W8 using Tapatalk
Reply With Quote
  #66  
Old September 12th, 2017, 03:35 PM
chrisgo chrisgo is offline
Seer Deluxe
 
Join Date: Apr 2010
Location: Canada
Posts: 180
Quote:
Originally Posted by chrisgo View Post
Hi Steve, I got your donation, much appreciated!

Let me look into this. Work is nuts right now so no promises.

Chris

Sent from my SM-G925W8 using Tapatalk
Hi Steve, I took a look at the city feeds and while they have similar data to the Atom RSS feeds, they lack some of the summary text fields which are useful. They also don't have air quality. They do have POP but that seems to be the only real advantage unless you want an hourly forecast.

I think to move to these feeds would not bring a lot of value to the plugin and it would be quite a bit of work as the formats are very different.

What I would suggest for your POP use case is a script to grab that from the city feed and populate a HS3 device. This could be triggered by an event so it's done on a regular basis.

I am guessing all you need is the POP for the immediate forecast to determine if you need to activate the sprinklers.

I don't have sprinklers but I would think a moisture sensor in the lawn might be another way to do this. Maybe you have this already and are looking to have a conditional event.

If you need a hand with the script let me know.

Chris

Sent from my SM-G925W8 using Tapatalk
Reply With Quote
  #67  
Old September 12th, 2017, 08:35 PM
Otto-mation Otto-mation is offline
Seer
 
Join Date: Sep 2015
Location: GTA (Greater Toronto)
Posts: 72
HI Chris, thanks for checking into this possibility and analyzing it to that degree. I appreciate that, understand it and agree with you. Seems like there's more value in the current version/feed.
The POP is not a show-stopper - just a "nice to have". I was thinking of using it not just for sprinklers, but for shutting off the pool as well (storms clog the filter etc. ) and also thinking of some possible uses in winter as well (i.e. turning on eaves heaters etc. ).
I'm tied up with work myself now, but I will investigate the scripts route and if/when I get lost, hope you don't mind if I reach out for some advice. I appreciate the offer.

Cheers!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Environment Canada Weather/Weather Warnings Wadenut Script & Plug-In Library Discussion 295 December 20th, 2016 04:52 AM
[VB.NET] CANADIANS: Environment Canada Weather/Weather Warnings Wadenut Script & Plug-In Library 0 November 19th, 2011 02:13 PM
Using VR in noisy environment sportera HomeSeer General Discussion Area 4 February 17th, 2005 01:37 PM
Free .NET Development Environment Kirby Plug-In Development 3 November 9th, 2004 08:42 PM
[ASP][Audrey] Canada Weather Console CyberA Script & Plug-In Library 0 February 28th, 2002 10:10 AM


All times are GMT -4. The time now is 03:22 PM.


Copyright HomeSeer Technologies, LLC