Hey guys,
I just submitted a fix that checks the user’s temp scale preference and automatically converts from C to F for Weather Underground.
Just waiting on @kris to approve it now 
Hey guys,
I just submitted a fix that checks the user’s temp scale preference and automatically converts from C to F for Weather Underground.
Just waiting on @kris to approve it now 
Hi mager, hope you are doing well, did you get the fix appoved for the C vs F? Thanks!
Just pinged @kris. Looks like it’s just waiting to be published (passed code review).
I just changed from my fhem weather station to smartthings using the app in smartthings (didnt create my own smartapp using your code). I notice that the humidity is correct but the temperature is in the negatives
Any ideas?
Cheers
Looks like this is exactly my issue, would be good to get Celsius working so i stop getting negative temperature readings
I’m not sure how I never came across this thread, it’s a great idea. I just got mine setup. How often does it upload data to WU?
every 10 minutes i believe
@mager can you make the code available on github to cope with C vs F?
Many thanks
@mager Can this work with a multi sensor? I don’t have a ST temp/humidity sensor but this app works well with my ST814. However, I’m using a multi sensor outdoors already and would like to use that for this purpose but it never reports data up to WU when I use that device.
Im guessing this still has not been published? any chance you can share your C code?
sorry…nevermind…I simply changed the password for my WU-PWS account, and forgot to make the change to be reflected in the SmartApp. All’s well now. 
Any idea when Celsius will be available?
I make minor change to take care of Celsius reporting by adding simple conversion to F before uploading to WU, to be exact, this line:
"tempf": temp.currentTemperature * 1.8 + 32,
Full changes here:
Being rather new to smart apps from code I need some help. I copied the code then pasted the code on the from code page clicked create then publish. It now shows in my smart apps as published & true. What is the next step to get it working?
Mike
Add the smart app using your phone app.
You need to setup account in Weather Underground to get the API code / key, then key into the app settings page.
Thanks for the great app works perfectly and I do not have to use google drive to log data. My sensor is just at the window but is pretty accurate.
I believe wunderground allows to upload UV data as well, can it be added to smartapp as well?
For some reason when I download the app directly from github integration I get this error
Updated 0 and created 0 SmartApps (1 skipped due to errors)
SmartThingsCommunity Code master
would this still work ?
I tried to use it but the station shows as “offline”
I see that the old API (wunderground) is retired and there is a new API.
But I couldn’t adapt the code to the new API because I could not find information on it.
Does anyone use this or any similar solution for personal weather station updates ?
yes I solved it updating the function in original code as :
def updateCurrentWeather() {
def tempFahrenheit = (9/5) * temp.currentTemperature + 32
def params = [
uri: "http://weatherstation.wunderground.com",
path: "/weatherstation/updateweatherstation.php",
query: [
"ID": weatherID,
"PASSWORD": password,
"dateutc": "now",
"tempf": tempFahrenheit,
"humidity": humidity.currentHumidity,
"action": "updateraw"
]
]
if (temp.currentTemperature) {
try {
httpGet(params) { resp ->
log.debug "response data: ${resp.data}"
}
} catch (e) {
log.error "something went wrong: $e"
}
}
}