Weather Underground Plugin

Posted on
Sat Mar 22, 2014 3:38 pm
DaveL17 offline
User avatar
Posts: 6753
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Weather Underground Plugin

colinpartridge wrote:
Thanks for the updated plugin. So sorry but I'm still getting "F" units shown with the metric units chosen. Any ideas?

Colin

Indeed. Believe it or not one line sneaked by me. I swear that it's fixed now and will be available in the next version. If you'd rather not wait, I can PM you a link to download a patched version.
Dave

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sat Mar 22, 2014 3:48 pm
Korey offline
User avatar
Posts: 813
Joined: Jun 04, 2008
Location: Henderson, NV

Re: Weather Underground Plugin

DaveL17 wrote:
@artpics and @korey:

I've talked with Matt and think he's isolated the problem. It was a problem with my code and not with Indigo.

EDIT: A new version of the plugin (v0.3.3) is now available. In addition to (hopefully) getting rid of this nasty bug, v0.3.3 also:

- Improves internal logic.
- Refines Trigger and Control Page Labels.
- Fixes mislabeled device setup menu.
- Fixes mislabeled UI temperature units.

Please report back to let me know if you are able to install and use the plugin. Sorry for the hassles.
Dave



Works great now!

Thanks Dave!

--
Korey

Posted on
Sat Mar 22, 2014 4:49 pm
Bollar offline
Posts: 528
Joined: Aug 11, 2013

Re: Weather Underground Plugin

Cool! This worked well for me -- I had no problem connecting to my pws.

Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts

Posted on
Sat Mar 22, 2014 4:53 pm
colinpartridge offline
Posts: 373
Joined: Jan 13, 2014
Location: London, UK

Re: Weather Underground Plugin

DaveL17 wrote:
Indeed. Believe it or not one line sneaked by me. I swear that it's fixed now and will be available in the next version. If you'd rather not wait, I can PM you a link to download a patched version.
Dave

Absolutely no rush, enjoy the rest of your weekend.

Colin

Posted on
Sat Mar 22, 2014 5:14 pm
DaveL17 offline
User avatar
Posts: 6753
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Weather Underground Plugin

Korey wrote:
Works great now!

Thanks Dave!

Excellent. Thanks for letting me know.

Dave

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sat Apr 26, 2014 7:02 am
manders offline
Posts: 23
Joined: Jun 23, 2013

Re: Weather Underground Plugin

Has anyone noticed that there are different device status' available depending whether your making a control page or trigger.

I want to make some variables with current precipitation today and forecasts % chance of precipitation for the next next few days.

I can make a control page with this information, but can't reference a trigger to update a variable.

See attached differing screen shots.
Attachments
Screen Shot 2014-04-26 at 13.51.47.png
Screen Shot 2014-04-26 at 13.51.47.png (263.32 KiB) Viewed 3975 times
Screen Shot 2014-04-26 at 13.50.47.png
Screen Shot 2014-04-26 at 13.50.47.png (226.48 KiB) Viewed 3975 times

Posted on
Sat Apr 26, 2014 8:18 am
DaveL17 offline
User avatar
Posts: 6753
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Weather Underground Plugin

@Manders:

Can you be more specific? I just want to be sure that I understand what's missing.

The device state names are those that are contained within the database (i.e., forePop1).
The trigger names and control page names are meant to be more human-friendly (i.e., Precipitation - Today Forecast) and should match exactly in both places.

I took a quick look at the plugin files and every device state should have a corresponding trigger name and control page name.

Also, what version of the plugin are you using? The current version is v0.3.3 (and v0.3.4 will be coming soon.)
Dave

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Apr 27, 2014 9:49 am
manders offline
Posts: 23
Joined: Jun 23, 2013

Re: Weather Underground Plugin

If you notice the precipitation forecasts are missing from one list.

Posted on
Sun Apr 27, 2014 12:31 pm
DaveL17 offline
User avatar
Posts: 6753
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Weather Underground Plugin

manders wrote:
If you notice the precipitation forecasts are missing from one list.

The second list that you posted is a list of the device's states. The precipitation forecast states for Weather Underground devices are:

forePop1 (which is today)
forePop2
forePop3
forePop4

The current beta has the same descriptions for both Triggers and Control Pages. But if you don't want to upgrade to the current version, just use forepop1 - forepop4.

Dave

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Apr 27, 2014 12:39 pm
manders offline
Posts: 23
Joined: Jun 23, 2013

Re: Weather Underground Plugin

Thanks dave. That's handy, in all other ways it's been quite easy to get going.

Posted on
Sun Apr 27, 2014 2:14 pm
DaveL17 offline
User avatar
Posts: 6753
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Weather Underground Plugin

manders wrote:
Thanks dave. That's handy, in all other ways it's been quite easy to get going.

Glad to help.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Mon Apr 28, 2014 3:02 pm
manders offline
Posts: 23
Joined: Jun 23, 2013

Re: Weather Underground Plugin

Okay quick question. When i look online I see that this station for today it has 0.3mm total precipitation but using the plug in it comes through as 0cm.
http://www.wunderground.com/personal-we ... 428/mtoday

Is this just rounding down. If so what's the smallest value to come through?

Trying to make some logic for lawn irrigation which needs 25mm per week... it's going to be difficult if it doesn't go granular on a daily basis.

When you compare to a monthly report you can see on many days it's low.
http://www.wunderground.com/personal-we ... 428/mmonth

Posted on
Mon Apr 28, 2014 6:10 pm
DaveL17 offline
User avatar
Posts: 6753
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Weather Underground Plugin

manders wrote:
Okay quick question. When i look online I see that this station for today it has 0.3mm total precipitation but using the plug in it comes through as 0cm.

Hi Manders - The plugin pulls precip data directly from the API and doesn't do anything to the data that Weather Underground provides. I generally try to leave the data unchanged as much as possible. WU provides:

precip_1hr_string
precip_1hr_in
precip_1hr_metric
precip_today_string
precip_today_in
precip_today_metric

and I use precip_today_in and precip_today_metric within the plugin.

There may be a delay in when WU rolls the precip_1hr_* values into the daily totals. If there is an interest, I can include precip_1hr_in and precip_1hr_metric in the next update.

Dave

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Mon Apr 28, 2014 8:15 pm
DaveL17 offline
User avatar
Posts: 6753
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Weather Underground Plugin

Version 0.3.4 is now available. Included in this update are:

- Adds support for 1 hour precipitation reporting.
- Adds 30 minute refresh option.
- Lays some groundwork for more robust severe weather alert handling.
- Fixes bug that sometimes forced full sleep refresh when iterating locations (when multiple weather devices are present.)
- Updates help URL.

In order to take advantage of the new device states:

- open each weather device,
- select edit device settings,
- click save.
- repeat for each Weather Underground device.

As always, please report any questions or bugs here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Thu May 01, 2014 1:00 am
haavarda offline
User avatar
Posts: 702
Joined: Aug 18, 2012
Location: Norway

Re: Weather Underground Plugin

Hi,
Thank you for your plugin. I have just started to use it, and it appears to be very good!
I have one ting I find strange.
When I try to export the HI and LOW temperatures to a variable I get the value in F instead of C. The current temperature is reported in C. Any thoughts?


regards

Håvard

Who is online

Users browsing this forum: No registered users and 4 guests