IoT gateway device