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.
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 affectively your username and password for the API
There should be no reason why it wouldn’t show linked services - I can see my Yeelight bulb (which is a linked service, can also see my hub itself, my mobile phone, my smart meter - none of them are hub devices). Not sure why you can’t see your meross devices. All the page does is call the devices endpoint of the API
This is a very handy tool (I’m sure the ST devs have something like this and it’s too bad they haven’t opened it up to users). Well done!
I’m definitely going to want to keep referring back to this as migration moves forward. Is there a way to pass the token as an argument, so I can bookmark the address and view it from multiple devices, or otherwise maintain access without generating new tokens? Or would it be easiest to copy the page to my own github and hard code the token in? I’m looking for a way around having to save the string somewhere and enter it repeatedly.