LOGIN  |  REGISTER
Smart Living Made Brilliant!
CASTLEOS FORUM

HomeFeature Suggestions

A forum topic for suggesting new features for CastleOS

Weather Underground Messages in this topic - RSS

Scott Goffman
Scott Goffman
Posts: 98


1/8/2017
Scott Goffman
Scott Goffman
Posts: 98
I know it's been mentioned before, but I would like to suggest/request support for adding a Weather Underground station ID for local weather. That would eliminate the need for supporting individual weather stations (like BloomSky), since wunderground already has support for almost everything out there, and a long-standing JSON/XML API (https://www.wunderground.com/weather/api/).

-Scott
0 link
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3224


1/8/2017
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3224
Looking at the API, this would be pretty simple. The JSON is simple, and the user would only need to add their API key and the station ID.

Just to confirm, you want the PWS id, i.e. pws:KCASANFR70, correct?
0 link
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3224


1/9/2017
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3224
OK this was pretty easy to implement so I went ahead and did it. It will report the current conditions from the weather station in the weather display, as well as allow use of the properties (temp, humidity, UV) in events (triggers, conditions).
0 link
Scott Goffman
Scott Goffman
Posts: 98


1/11/2017
Scott Goffman
Scott Goffman
Posts: 98
Fantastic, looking forward to trying it out! Sorry, I missed your previous post; but yes, PWS id will let a user pick a specific station that's closest to their house (e.g. in my backyard!).

-Scott
edited by sgoffman on 1/11/2017
0 link
Scott Goffman
Scott Goffman
Posts: 98


13 days ago
Scott Goffman
Scott Goffman
Posts: 98
Hey Chris,

I tried out the WUnderground integration today, but it doesn't appear to be working in the latest (1.3.3165). I can enable it, set up the API key and station ID and Save, but once I leave and return to Settings all values have reset to default (WUnderground Disabled).

-Scott
0 link
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3224


13 days ago
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3224
Can you upload the errors.xml file and configuration.xml file please? I'll take a look...

That API changes sometimes so it may need an update again.
0 link
Scott Goffman
Scott Goffman
Posts: 98


13 days ago
Scott Goffman
Scott Goffman
Posts: 98
PM'd to you.
0 link