Small IoT device to show the open state of the base

Technical ideas: