I guess I must have a few copies of that e-mail around that I haven’t seen yet. I can’t say I am in the least bit surprised as I could smell something coming. I should have known what and when too as clearly legacy PATs are incompatible with the /smartapps endpoint.
There is a considerable amount of heavy lifting being done by legacy there. It is the remaining PATs with their fifty-year lifespan that are being splatted. I don’t think the e-mail really makes that as clear as it could.
In my case it also misses the point. I have been hanging onto my last long-lasting PATs because creating new PATs is an utterly miserable experience. If the scope of existing PATs could be cloned, or the scope of the new PAT embedded in the URL, then creating a new PAT would take seconds and I could work with it. However it also needs to be possible to create PATs via the CLI or another command line tool. Actually I suppose creating PATs via a browser really ought to be embedded in the AWA.
Much of my PAT use includes USER level scopes. Even if I was prepared to subscribe to a developer plan an API Access would be of no help.
That’s one of my issues with OAuth is that it doesn’t provide the same level of access as PATs do. Also, PATs can be used for basic API stuff beyond what is needed for smartapps.
Also, I don’t even think I understand what the auth flow would look like for standard API calls via a tool like Postman.
@orangebucket Given the new email I also received today, it seems my trivial usage is subject to the upcoming PAT sunset.
Any suggestions on alternates? Are there solutions to directly access my hub from my NAS to directly query the (power meter) device report? Or do any automated solution involve some form of API use from ST. All this for a basic data logging problem. I guess I could move the power meters to a separate HA network too, which seems more effort than its worth for just this one use case.
Unfortunately I see no way forward for what I would call custom automations in SmartThings. The only available solution is also the solution for service integrations and that has been monetised at far too high a cost and with too broad a target.
Even I do not remember when or why I ask for a PAT…what is this for ?..simple I do not get it.
If youy can help me indicating some possibilities…maybe for one thing years ago that I do not use anymore.. I am totally lost. Smartthings have confused its users again..
@orangebucket thanks for all the info you provided here, and thanks for help in the past with API and SmartApp issues in the community.
This is all sad news to me, who uses all this for personal tinkering, some fun and hobby home smartapp tinkering and automation, and PAT driven dashboard and home controls. I’ve been tinkering away here for 10 years fearing this day would come but hoping they would continue to support the hobby developer community and not charge us for access to the data on our own devices. But oh well, it’s a hobby and not worth the money when it can be free, especially since I can only assume they will just squeeze out more and more over time.
So this is probably it for me here on ST. I’ll finally move over to HA and put forth the effort there. Take care, and thanks again for all the specifics you’ve provided here (and elsewhere).
Could be for using the @TAustin API Browser?
I have used at some point the Samsung Automation nodes for Node-red so was expecting that mail. No problem there as there are alternative methods which don’t need an API call. Will miss the API Browser.
Is that necessary? They will simply disappear after the date limit.
I didn’t expect to receive the API email from SmartThings, but I did. I haven’t used any API Tokens that I created years ago since I thought that they all got changed to the 24 hour variety.
That sounds like a ‘Webhook SmartApp’ (or a ‘Lambda SmartApp’ for those using Amazon hosting).
Although going largely unheralded for years, they were relatively well documented for use in custom automations and also for implementing cloud devices. OK the advanced stuff like dashboard tiles and app events wasn’t covered, but what was left worked very well despite being firmly tied to the Developer Workspace and the mobile app.
Then one day the cloud devices bit disappeared from the Developer Workspace without comment. Later the documentation for it disappeared. It was still referred to elsewhere in the documentation but it wasn’t there.
In a recent revamp of the documentation the apps completely vanished without comment. Even the release notes didn’t say anything. The Automations section now feebly suggests using API Access apps.
In the last week or so the /apps endpoint has been removed from the API Reference, the Core SDK and the CLI, and replaced with a /smartapps endpoint that no longer supports creation of new Webhook or Lambda SmartApps but allows maintenance of existing ones. The old endpoint itself still exists but returns a 403 when I use it. Comments in the GitHub repos suggest the apps are now deprecated.
The Developer Workspace still had a ‘New project’ button for the apps last time I looked. I haven’t tried it. It didn’t mention deprecation anywhere. Indeed the apps are pretty much the elephant in the room as far as the Developer Workspace goes.
I am assuming existing apps will keep running, especially as some of the stock apps are Webhook SmartApps.
The API monetisation and disabling of long lived PATs shouldn’t have direct effect on the apps, but they may be collateral damage.
As far as actual information goes, not a dicky bird.
I appreciate it. No one we can actually ask? Announcement is not doing much if you can do nothing about it other than to start over at point zero, especially if giving just a little over a month ( considering I only received the email yesterday about this).
My experience has been that (human) communication is not one of Smarthhings’ strengths. But now that they’ve communicated that there’s a change, at least offer a migration path.
And looks like I only received the email because I had a PAT from years ago that I haven’t used. Otherwise I probably wouldn’t even receive that email as well.
As it is only the old PATs with a fifty year lifetime that are being disabled, I guess a direct e-mail to those who still have them is fair enough. No one else is affected.
I wouldn’t be at all surprised if less than a hundred of the 470 million SmartThings users actually use Webhook SmartApps, but they still need to know the score, however many there are.
Given that some users definitely used the apps for cloud device integrations I can’t see that they can just pull the plug on them without plenty of notice.
Whichever way this turns out … I have made substantial progress migrating everything from ST to HA, and some of the things are already way better than they ever were. The level of integration - my house is a wild mix of brands and systems - is already above and beyond.
I’m running the HA Matter TBR which happily joined the ST hub’s Thread mesh. Keeps working with the ST hub turned off, for HA runs its TBR as secondary BBR, w/ automatic takeover. All devices represented perfectly.
This is on a semi-smart dual PAN antenna on PoE, so I can finally put my Thread/Zigbee antenna into an ideal spot in the house just running a LAN cable.
Yes the Zigbee part of that also works; device migration is in progress. Some of these are “interesting”, we’ll see. Need to do this gradually and strategically, working my way from the controller through the house, routers first then endpoints.
My Reolink cameras just work, with extras. Trigger the siren, turn the floodlight on, watch the recordings, everything is there.
tado (non-Matter) heating system integrates seamlessly too. Might even pull this into local control via its HomeKit option. Another subscription gone if/when I do.
Even my effing Ledvance WiFi lights and sockets work, and I’m one step away from getting the tuneable white ranges correct, something ST (and even Ledvance) just wouldn’t.
I have access to Alexa/Echo device features - play media, turn clock displays on and off, use the motion sensor, make announcements, etc.
tbd, all solvable on paper: Bluetooth Mesh lightbulbs (currently connected to the Echo BT mesh), electrolux washer/dryer combo, rebuilding all the automations, enabling daylight-adaptive lighting (done properly).
Hi,
I am one of those impacted by expiration of grandfathered PATs. I use them to query device status and subsequently report their status to a home dashboard.
Is there an easy to understand guide on using OAuth to do device status queries? I realize there is developer documentation, but I would rather get guidance from a fellow community member.
The email I received about my PAT expiration does not say anything about pricing/free options for individual users. Note I do not have a SmartApp in play. I just use a cURL command to query the API for device status.
I run InfluxDB Logger on my home computer to feed a Grafana dashboard to keep historical tabs on my SmartHome devices (water/temp/energy/battery sensors). I don’t know if there can be a replacement solution but it will sure suck if there isn’t.