Do you live with multiple people at home? Have you ever came home but the garage controller is in your roommate's car? now you can control your garage with your phone and this way you will never have to worry about sitting in your car waiting anymore. Best part is, you will no longer need to be within distance for your antenna to pick up the signal, you can command an "open" and "close" signal to y your garage while you are thousands of miles away. You can also make sure that the garage is closed in case you are having any doubts. As a college student, coming back in the late evening is a common thing. Now, you do not have to worry about bumping into your tools or boxes. A lamp will trigger on as you make your way from your car, and after a specific amount of time, the lamp will turn off.
Using a magnetic sensor, the photon is coded to read a specific value that is determined by trial and error due to sensor placement. The photon then receives the signal and determines the distance and whether the garage is opened or closed. If the garage is open, and another open command is given, the photon with an error displayed as "-1" implying that the garage is already open. The same concept is also for the closed position. Using the IFTTT program, text messages to the phone are also sent to check on the status of the garage. This allows to track the garage and relief any doubts that you left the garage open while you're on spring break.
Then, once the garage is open, after 5 seconds, a lamp will turn on to light up your way inside the house. The lamp is also connected with another photon that communicates with the garage door photon. This was made possible using the "particle.subscribe" function in the code for the light. Essentially, the photon subscribes to the status of the garage, and then decides to turn on the light. After 20 seconds, assuming that you have made your way in, the light will auto shut down. This will save the user efforts in addition to electricity savings of keeping the light on when not needed.
Comments