I remember being in college a few years ago and getting so excited about Weather Underground.
A community of weather watchers, with weather stations, updating this database for everyone to use. After joining SmartThings, I noticed that we had tie-ins to their API, with the “getWeatherFeature” method.
But we didn’t add back to their community, we just took data from them. This weekend, I wrote a simple SmartApp that takes data from the SmartSense Temp/Humidity sensor and updates a Weather Underground personal weather station ID every ten minutes.
It’s less than 100 lines of code, and is a great example of a SmartApp that makes HTTP requests on a given schedule.
I’m going to work to make this SmartApp official too.
For now, peep the code on Github:
This is also a reminder that you should send pull requests to that repo and we’ll accept them
Good thinking @mager. I am having issues with my own personal weather station right now. This is something to get me gonig till I get my stuff up and running again! Just need to get me a Temp/Humidity sensor
Dew point is often overlooked, but it can be a big part of how it feels outside. Especially in the swamplands of Jersey in the summer. (Why did we build on a swamp?)
Temperatures in your area there seem to be all over the place. I don’t know what to trust. Some say 50’s yours says 75. If you offset your sensor in ST will it forward to WU?
PS we need offsets for all analog values pleaaaase, my device type coding stinks.
Hi @mager , thanks for the contribution! I’m also having trouble reporting the data in Celsius, if I try using the code as it is, it shows incorrect Celsius data, I suppose just like edgard is that it converts to Farenheit the original Celsius temperature.
If example, sensor data is 5C and it get shown in WU as -15C.
I have tried changing the code in line 68 from tempf to tempc but it doesn’t seem to have solved. In fact it now reports -5528 *C so it’s even worst
I’m trying to find in the API documentation the logic to change the parameters but can’t fix it.
Am I missing something here? Could you please suggest a possible workaround?
Thanks in advance!