There is a topic some 2.5 years old that does not appear to have been answered.
For a device setup function within a web device management app I would like to use the device name (a user friendlier way) to access (via the cloud API) the device ID of an already claimed device. At present all the functions are keyed off the device ID (because it is unique) - is there any way to get the device ID from the device name for devices claimed under one account? I could use Particle List
but this will return a lot of information I don’t want. Are there any switches on Particle List
that are not documented that would filter for just the device name and device ID?
For example
$ Particle List - switch
[devicename1] 12345678901234567890ABCD
[devicename2] 12345678901234567890ABCE
[devicename3] 12345678901234567890ABCF