IoT device safety