IoT-based sensors and tags