the problem … Smartthings servers often seem to become overloaded and events and other things stop working… Just look at all the outages. The current model seems unsustainable as usage keeps growing.
the solution … This… New firmware, new api, require devices to offload the processing to servers other than smartthings servers to reduce the load.
So If I understand correctly new device types like for ecobee, honeywell etc. will require web based processing on THEIR own servers to be compatible with smartthings in the future.
This brings up many problems… If the company is big enough they may do it. But now we have no single point of control and there will be finger pointing when there are outages.
Also, many companies are too small or I believe will not set up their own server farm and maintain it just to have smartthings compatibility. I cannot see qubino, aeon, eversource, etc settings up and maintaining servers just to support smartthings. I believe this will cause future incompatibilities with many currently supported devices.
I understand where this is coming from but don’t think it is the best solution…
On my side I do have a server or two I can use. I have a mail/dns server with public ip… I would like to see some conversion of existing devices types and smart apps going to your own server, this would be nice and would run locally instead of in the cloud and would work even if wider internet is down. At least if the server is on your local net. Probably will never see this however.
And this is not new. There are already cloud-to-cloud devices in SmartThings that were integrated by users as opposed to the manufacturer. My concern is how these integrations will be converted to the new paradigm.
So (and obviously not an engineer), if the main thing needed is a place to store and run this stuff from… there’s no chance that an option for that is gonna be the USB slot on the back of the V2 hub?
From a simple end user standpoint, that would seem like a logical solution. It’d provide storage, and from what’s been said so far, the requirements for most things don’t sound like they would overtax the hub… That just seems like an obvious avenue that I haven’t seen anyone mention, so I thought I would. Please feel free to tell me all the reasons that wouldn’t work.
I’m a bit late to the party in only having seen these docs yesterday. I’m a dev who has worked on IoT products and connecting products to things like Alexa. What I’ve seen in my quick browse looks really promising and much closer to how things like Google Home and Alexa work so good work there. I can see this being massively easier for third parties to integrate into than the old system.
Ironically (because I always thought smartthings was positioned to replace other hubs) there seems to be very little documentation on how to create a locally controlled device. For instance I have several wifi devices that advertise over UPNP and expose a very simple REST interface (basically following these docs). How would I write a similar device handler and smartapp in the new system?
This is not necessarily a good assumption. I started in late Jan last year working with groovy, node.js, and other apps without minimal previous SW experience (took college course in 1967). A year later, I have integrated several devices (TP-Link Plugs/Bulbs and Samsung Multiroom Speaker with presets) even though I am minimally proficient. At 69, I do not know if I am going to be able to transition to the new environment.
Additionally, I have several persons (> 1000 ) using my Service Manager and Device Handlers. Should I depreciate that thread/capability so as not to lead new users down this new rabbit hole???
Basically I have been using the Open Dash Smart App to provide a REST API to interface with my application running on a raspberry pi. This has been great up now at the point where polling is becoming too slow for my needs. The current poll time using Open Dash is taking 5 to 6 seconds or longer. I use the allDevice endpoint.
What im looking to do now is possibly move to the new ST API to allow me get real time updates or at the very least provide a fast response to an “allDevices” type of endpoint to quickly return the current status of all devices when I ask for it. My application really need updating every second when polling or when a new event happens using web hooks possibly.
Issue is I have no experience in development of a web services smart app. Essentially the new smart app I need to develop should have all the functionality already contained in Open Dash but i just need faster return on polling or move to real time updates.
My experience and application is coming from an industrial automation/PLC background. Based on what i am already using does anyone have any advice on how I can start work with the new ST API to give me the functionality I need.
Got any solution for this @joshua_lyon ? I’m also searching for the solution for the same. Stuck at the same point. If you can help me with me correct documentation to Initiate OAuth flow from web it would be very helpful and @Jim In my webhook CONFIGURATION life cycle is never getting called. Please help me with this as soon as possible.
I second that. Is a webhook used in the new system to connect to a local RPI? Does the RPI just make REST calls to smarthings? I could easily do this via functions with Groovy previously. I don’t see anything in the new API to do this.