Paul_Oliver:
A suitable hubless Alexa Switch had been sitting under our noses for a few weeks.
It is called the āVirtual Lockā which can be easily created using the Simple Device Viewer or the beta API Browser+.
The lock can be manually operated in the ST App, and/or it can be controlled by ST Routines. On the Alexa side it can be used as a trigger in Alexa routines.
Nice!
For those not familiar, both the simple device viewer and the API browser plus are community creations which are reached through a browser page. You do not need to have a PC or a hub to use them.
NOTICE!!: SmartThings has now released its own equivalent of this app here , so you may prefer to use that instead.
I have a browser-based web app that provides a point-and-click way to explore most of the SmartThings API. For the non-technical, this gives you access to an important SmartThings resource without having to learn tools like Postman, curl, or the CLI. You donāt even need a computer: a tablet or even smartphone can be used. For the more technically inclined, it provides much faster and more convenient access to those commonly-accessed CLI commands. Although I originally thought of it as a portal for the non-technical, Iāve actually found it quite useful to use during my own development activities.
This is not intended as a replacement or ācompetitorā to the CLI, mysmartā¦
With the IDE going away, I thought I would write a simple device viewer as a front end for the smartthings API to see information that is not visible in the app. One of my drivers requires the user to be able to get the zigbee network id of a device, this also provides a way to do that.
The App is just HTML & Javascript (Iām not a webdev so please be kind) - there is no server component other than the smartthings server - so if you like you can just save it as a webpage down to your machine, or you can run it in-place on github pages.
How to use
Go to SmartThings. Add a little smartness to your things. and create a new PAT (personal access token), you will need to give it at least devices and locations permissions - you need to keep this secure and save it for re-use - this is affectivā¦