WeatherCompany binding (WeatherUnderground replacement for PWS data uploaders only!)

yes sure - i ll report back here

If it’s after 3 pm local time, the Day0 Day forecast is undefined. Can you check the other daypart forecasts (Day 0 Night, Day 1 Day, etc.)?

Also note that the Day 0 TemperatureMax forecast is undefined after 3 pm local time.

This is the way the API works.

and where is current weather… i can`t see items

You mean the current observation data uploaded from your PWS? The forecast API doesn’t support that (it’s a different API) and, as mentioned in my initial post, I haven’t implemented that (yet).

Which items working 5 PM time :slight_smile: what i can add to my HAB Panel

Number Weather_Temperature “Temperature [%.2f °C]” {channel=“weathercompany:weather:local:forecastDay0Day#temperature”}

Note that you might need to use the UoM definition to get your data in Metric. If you see the temp in degrees F using this item definition, you’ll need to change it to this.

Number:Temperature

Before 3pm local time, all items should have values.

After 3 pm local time, all items should have values except for:

  • Day 0 TemperatureMax
  • All Day 0 Day items

@mdnx Would you mind running this URL in your browser, then posting the result back here? Just XXXX out anything in the response that you don’t want to put on the forum. Or, just PM it to me.

https://api.weather.com/v2/pws/observations/current?stationId=YOURSTATIONID&format=json&units=e&apiKey=YOURAPIKEY

And this Binding not showing current weather all day? 30 min refresh?

OK Day1 working… hmm but in old API i have everyday refresh 30min weather condition and here not found?

hi @mhilbush - I had a look though the doc and compared it to the channels in the current Weather Underground Binding . What the Weather Company API offers seems to cover all necessary current observations for use in a SmartHome scenario indeed.

Some values are not provided by Weather Company (such as visibility, dew point or pressure Trend) . However inmho these can be neglected for the use in a Smarthome, as they can either be calculated (dew Point, Pressure Trend) or are not measured by (most of) the PWS - and as such not local and relevant.
Thanks for looking into adding current observations

I’m sorry, but I don’t know how to be more clear about this. The binding currently shows just the weather forecast. Current conditions (as sourced from the data you uploaded from your PWS) is currently not implemented in the binding.

Ok, thanks. It would be great if you could post what I requested above.

I’ll take a look at adding the PWS data.

Who know good binding for current weather everyday 30min refresh?
Same Wunderground old API?

hey - here comes the api reply

{“observations”:[{“stationID”:“IMALM41”,“obsTimeUtc”:“2019-03-06T16:22:04Z”,“obsTimeLocal”:“2019-03-06 17:22:04”,“neighborhood”:“Malmoe Vaestra Hamnen Marina”,“softwareType”:“EasyWeatherV1.1.4”,“country”:“SE”,“solarRadiation”:4.77,“lon”:12.97563267,“realtimeFrequency”:null,“epoch”:1551889324,“lat”:55.60958481,“uv”:0.0,“winddir”:166,“humidity”:93,“qcStatus”:1,“imperial”:{“temp”:42,“heatIndex”:42,“dewpt”:40,“windChill”:38,“windSpeed”:5,“windGust”:9,“pressure”:29.57,“precipRate”:0.05,“precipTotal”:0.10,“elev”:0}}]}

I cannot spot anything private in this reply - its all on wu anyway :slight_smile:

1 Like

https://api.weather.com/v2/pws/observations/current?stationId=IKOOBRZE4&format=json&units=m&apiKey=xxxxx

here i have currently weather temperature etc…
working it with your binding?? temperature now is 9C and how i can show it in Openhab?

You can wait for me to implement it in the binding. :unamused:

what a cluster this whole EOLing the WU API is… So frustrating. Thank you for starting on this binding. I use an Ambient Weather 2902, and as current conditions access is my primary need, looks like I’ll have to start experimenting with the Ambient Weather binding.

Oh yeah. Major cluster.

You can do that. Or, you can wait for me to add the current PWS observations to The Weather Company binding.

Pros for TWC binding

  • you only need one binding for forecast and current conditions

Pros for Ambient Weather binding

  • more data elements than TWC
  • receives data in real-time versus polling (if you upload every minute, you get readings every minute)
  • WS-2902 is fully supported (unless there’s a difference between WS-2902 and WS-2902A)

My opinion, since I wrote both bindings… For current PWS observations, the Ambient Weather binding is a slam dunk over TWC.

1 Like

Thanks for making the decision easy for me! And, wow, thank you for also creating the AW binding that it looks like i’ll be enjoying from now on. My sensor array is the 2902, but I opted for the IP Observer (IP1550) receiver because I wanted the unit hardwired to my LAN and really didn’t need the display because I display the weather data of interest on wall mounted tablets running HabPanel. The IP1550 reports to WU and AW both, so I don’t see any issues.

BTW, IBM confirmed your March 22nd date:

Hi Victoria,

I seem to be seeing different EOL dates tossed around, and I have yet to be contacted by WU/WC via e-mail (as I sort of thought I would be - that’s what the original notice says). Can you tell me what day the old API service will actually stop dead in its tracks? Is it March 22nd? Thank You.

1 hour ago


Photo of Victoria Gardner

Victoria Gardner, Official Rep

  • 368 Posts
  • 50 Reply Likes

Hi, Paul!

All the email efforts went out in late 2018. I’m sorry yours did not manage to find you!

Most of the keys have already been turned off. Keys that are associated with a personal weather station will be kept on until 3-22, at which point they will also be turned off.

Hope that helps!

Victoria Gardner
victoria.gardner@ibm.com

Long live the PWS

1 Like