Temperature value from weather institute’s open api to a simulated temperature sensor in smartthings

How to set temperature value from our national weather institute’s open api to a simulated temperature sensor in smartthings and update it e.g. every 10min? This way I wouldn’t have to buy my own outdoor temp sensor. I don’t know much about how to use api querys - that’s why I’d appreciate your help. This is the http get query (the latest temperature is the last value in the response): http://opendata.fmi.fi/wfs?service=WFS&version=2.0.0&request=getFeature&storedquery_id=fmi::observations::weather::simple&place=kaisaniemi&endtime=now&parameters=temperature

While you could do this with Tasker and SharpTools Tasker Plugins (for SmartThings), you’d probably be better off doing it as a Device Handler directly within the SmartThings platform. It looks like you’ve already posted on the SmartThings Community, so hopefully you get some traction on your question.

Is there a reason you specifically want to use the Weather Institute’s Open API rather than one of the already available weather devices for SmartThings?

For example, SmartThings has a built-in ‘SmartWeather Station’ which you can add using the instructions in the following post:

:partly_sunny: Weather Tile: How to Setup

Thanks for the excellent hint. Didn’t know about the smartweather. Installed it and it works great and is accurate. I was afraid that this kind of global service wouldn’t be accurate enough compared to local weather institute, but luckily I was wrong :slight_smile:

2 Likes