The Internet of Things or IoT means the ability to connect billions of physical devices around the world that are now linking to the internet for collecting and sharing data. Internet of Things (IoT) technologies is used to sense the real-time primordial manufacture data and included the energy alliance data and the provision circumstance data. The Internet of Things (IoT) will approve any contents to be sensed or monitored remotely wherever there any remaining network infrastructure, making amenities for the integration of the actual world into computer-based systems. Real-time narrates the path of flowing media is processing. In the real-time procedure, anyone can entrance information barring to narrate for it and save our time. In our proposed system, we build a system where we calculate real-time. To compute real-time, we need an IoT based automated system. And here we use an IoT based home automation system. We are passing data through the system for collecting data with the help of Cisco Packet Tracer simulator. For calculating real-time performance, we use six performance metrics to evaluate the event detection system performance. They are sensitivity, specificity, precision, accuracy, F1-score, and G-mean