For motion detection of infrared signal, it can be used as a switch for other IoT devices; mainly for automatic doors, anti-theft or surveillance systems. For example, when a home intrusion occurs, it will activate the infrared alarm or automatic lighting. Placed at the entrance, hallways, stairwell, or garage door and other low traffic areas, it will activate the automatic lighting when someone approaches. The lights will automatically turn it off when the person leaves. Some sensors are also used in toys.