Hand tools and fabrication machines
This project allows you to monitor your washer/dryer running status and receive a notification when complete. You can also check on the elapsed time by accessing a web page from the Photon itself.
The concept works by monitoring the appliance's power indicator with a photocell. This way, there is no high voltage wiring needed within the appliance itself. The key is in the photocell assembly; it has to be light-tight. I found that a black plastic bottle cap worked the best because it blocked all of the external light. Other colors let light in that confuses the system with ambient light changes.
Locate the ON indicator of your appliance. If you do not have an ON indicator, look for any indicator that is ON during operation and OFF when complete.
Affix the photocell assembly to the indicator with a square of double back adhesive foam. Don't forget to cut a hole in the center to allow the indicator to show through. Align the assembly on the foam and press to adhere.
Connect the photocell leads to the Photon circuit. Install the project code. And you are ready to run.
Note: You may need to adjust the analog ON/OFF transition value in the code depending on the actual photocell used and the amount of light the indicator produces. And if your indicator turn ON at the end of cycle, just replace the < with > in the analog value test code.
Once the Photon is powered up and operational with the project code loaded, obtain its LAN IP address from either the initial Particle.io setup process or from your wireless router's connected devices page. Then, use any LAN connected computer or smart device (phone or tablet) and enter the LAN IP address (e.g. 192.168.1.128) into the browser site box as in this example: 192.168.1.128:8080/status.html. The 8080 port the server is on is defined in the project source code. You must enter the IP address: port / status.html exactly as in the example or your browser will not connect to the Photon. Use the browser's refresh button/icon to update the page and its status. Browser screen shots below:
IFTTT.com offers a free account that can be used to send you emails or SMS messages when your Photon publishes an event; in this project, that would be a LAUNDRY event. A simple tutorial showing how an event can trigger an email is at https://community.particle.io/t/beginner-tutorial-ifttt-publish-an-event-spark-internet-button/10270 starting at step 5, or a Particle.io Integration/WebHook can be used to relay the event to other applications and projects.
This photocell/indicator concept can be used to monitor any appliance or device that has a status indication. Just modify the code to suit your needs.