The picture above is a simplified version of the entire circuit. It starts off with the Arduino board that is wired to the infrared transmitter and receiver. Then finally connected to the Wi-Fi IC. When the door opens and the receiver/transmitter breaks then the Arduino sends a command to the IC. Once that has been received the IC sends a message to the Endpoint server of the Wi-Fi that it is connected to. On our version it was connected to Twilio to send a message that announced the door was opened.