Have you tried to check if Yahoo Weather API actually returns the proper value, just to understand if the problem may be there.
Knowing your Woeid, you can check it like this: curl https://query.yahooapis.com/v1/public/yql -d q="select atmosphere.pressure from weather.forecast where woeid=YOUR_WOEID" -d format=json
In case you don’t know, you can get your woeid while checking the weather in Yahoo Weather website and woeid will correspond to the digits appearing right at the end of your URL.
I haven’t but I did a search and the api returns complete rubbish for the pressure, so I have given up with it and gone over to yr weather for the pressure. Just restarting now to see if I get a decent result
I’ve found Yahoo Weather to be quite unreliable over time and moved off the platform. I don’t expect it to get much better with Verizon taking over until the merger is complete, either.
The issue is that this platform depends on the data which are coming from Yahoo!. And Yahoo! is still delivering the wrong values. Instead of the metric values (mbar) they return inches of mercury but say it’s mb.