We are excited to announce that we have launched our new Hive Community! HiveNation will remain as an archive, but all new posts, discussions, and articles will be created on Hive Community. You can visit our new community at thehivecommunity.aerohive.com
You can do something like that. One way would be to put a beacon on the shelf, and an app running on the item that sensed it left the shelf. Alternatively (and probably better), you can have a beacon on each of the items, and when they either leave the shelf or some sort of door, information is reported to an application running somewhere else.