Searching AWS IoT Core LPWAN devices by tag.

0

How do I search for LPWAN devices by tag? I've got LoRaWAN devices successfully connected to AWS IoT Core and now I want to be able to search for them by some identifier like tag key/value pairs. I don't see any option for searching for LPWAN devices by tag. I tried going down the route of associating a Thing with each LPWAN device, but you can't see what LPWAN device is associated with a thing from the Thing end.

jodasme
asked 5 months ago148 views
1 Answer
0
Accepted Answer

Hi. You can't search by tag. Does it have to be done from the console? If not, I recommend you use Thing attributes instead of tags, and then use fleet indexing to search. Once you have the thing name, you can retrieve the corresponding wireless device information using the CLI, SDK or API. CLI call:

aws iotwireless get-wireless-device --identifier yourThingName --identifier-type ThingName
profile pictureAWS
EXPERT
Greg_B
answered 5 months ago
  • Thanks for the answer. It would be preferable to do it from the console, but it is what it is. The CLI call worked perfectly, I just wish wish we didn't have to basically design a custom program to look up a sensor. It's too bad AWS doesn't let you search by tags seeing how they describe tags being used for searching and filtering.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions