Weather is so important, for so many things. Weather predictions can help to tell us how to control our heating, to close the skylight when it’s going to rain, or tell us to get our vehicle under cover when a damaging hailstorm is coming. Now you can get that weather data inline with your device data as part of the device context in IoT Platform.
Just set the location of your device with latitude and longitude co-ordinates and start seeing the weather data that matches where your device is located as part of your device context.
Set the ‘location’ property with values for longitude and latitude.¬† Normally this would be set from the device itself, but if you want to try it out you can set it using the API :
.internetofthings.ibmcloud.com/api/v0002/device/types/<yourdevicetype> /devices/<yourdeviceid> /location
Now you can build applications that can combine live device information with the weather.¬† That means you can start to take actions as a result of the weather and begin to spot correlations.¬† Do you see more failures when the temperature drops?¬† Do you want to alert someone when your device is in a particular state and the weather is hot? Do you want your device to automatically shutdown in high winds?
Login and try it out!