Plug-in is no longer supported.
Announcement
Collapse
No announcement yet.
Environment Canada Weather plugin - HS3
Collapse
X
-
It reads the warnings into a separate HS3 device as a device string. I plan to change the device value to 0/100 (off/on) when there is a warning so an event can be triggered. We had some warnings recently locally which has given me the chance to play with this. I will package up the next version shortly.
Chris
EDIT: 3.0.0.3 added to 1st post.Last edited by chrisgo; July 20, 2014, 09:27 AM.
Comment
-
That data is not presented as separate entries in the XML feed. It's just one big string:
<![CDATA[<b>Observed at:</b> Calgary Int'l Airport 11:00 AM MDT Sunday 20 July 2014 <br/> <b>Condition:</b> Mainly Sunny <br/> <b>Temperature:</b> 16.8°C <br/> <b>Pressure / Tendency:</b> 101.0 kPa rising<br/> <b>Visibility:</b> 48.3 km<br/> <b>Humidity:</b> 56 %<br/> <b>Dewpoint:</b> 8.1°C <br/> <b>Wind:</b> ENE 8 km/h<br/> <b>Air Quality Health Index:</b> 1 <br/>]]>
I will see if I can parse the data manually. Problem is I don't know if this is consistent or if it changes.
Chris
Comment
-
2 new versions:
3.0.0.7: Fixes some bugs when the temperature is <0 degrees. It also adds a couple of new devices - 'windchill' and 'feelslike'.
3.0.0.9: First attempt at supporting the French atom feeds. It includes some parse rules for the French forecasts, but it is by no means complete.
If you are upgrading please do not copy over the config folder or you will lose your settings.
(get latest version https://sites.google.com/site/b123cdd/)Last edited by chrisgo; December 22, 2019, 12:56 PM.
Comment
-
Hi Spud, thanks for the feedback. My French is useless so please let me know if anything else is incorrect. I am using Google to translate
(1) I will look into this - I've not used child devices before. My only concern would be having to delete and re-create devices as this would change the device reference. It takes forever to re-configure all the HSTouch screens when this changes.
(2) Thanks for this, I will correct the language in the next version.
As far as "," versus "." I thought this was odd. The feed provides "," and I was not sure if this was correct or not. It should be pretty easy to replace the "," with "." and this should fix the device value.
The French capable version is very new so please let me know if you spot anything else that needs fixing.
Chris
Comment
-
Spud, try this:
3.0.0.10 (get latest version https://sites.google.com/site/b123cdd/)
It does not fix all the "," as they seem to be all over the place, but it should fix the device values for the relevant devices.
I also fixed the "feels like" language.
Not yet look at the child devices concept.
ChrisLast edited by chrisgo; December 22, 2019, 12:56 PM.
Comment
-
This version attempts to fix the remaining "," in the French feeds.
It also groups the devices under a root device as per Spud's suggestion. For existing installations the device names and addresses will be updated.
I've tested this a few times and it seems to work ok, but I'd suggest backing up your HS3 folder before enabling this latest version just in case.
3.0.0.11 (get latest version https://sites.google.com/site/b123cdd/)Last edited by chrisgo; December 22, 2019, 12:55 PM.
Comment
Comment