Posted at 22:37h
I wanted a chance to play around with GET and POST calls with SmartThings
SmartApps. I was looking around for a simple API that wouldn't require a lot of setup and would give me a usable app in the end.
I came up with a concept for visual commute information.
At a specified time in the morning, the SmartApp would start calling the traffic API and compare the actual commute time to the expected travel time if traffic did not exist. The user would set a threshold for no traffic, moderate traffic, and heavy traffic. If the time delta exceeds any of those thresholds, then the SmartApp changes the color of your Hue bulbs