In this project, I have developed an IoT plug (socket) using Arduino libraries and my own MQTT broker.