Blinds are an easy way to ensure privacy in your home while still having the option to open them and enjoy sunlight in your home. However, sometimes it feels as though you have to choose between them. This system will allow for the blinds to be opened and closed without you having to do anything. This allows for the blinds to be opened whenever you wake up in the morning to see the sunrise and get some early morning sunlight while still being closed at night when you are ready for bed for some much needed privacy.How Does it Work
This device works using a photoresistor to detect light. When the resistance of the photoresistor gets to a specified resistance the Argon publishes an event called 'daylight' to the particle console. A second argon subscribes to that event and when it receives the 'daylight' event publishes it's own event called 'Morning'. This event is then picked up by a third Argon which will be subscribed to the "Morning" event and then will turn the motor on to raise the blinds. To close the blinds, the second argon publishes a new event at a set time called 'Night'. For our example code we set the time to 9:00pm however this can be changed in the coding. The motor Argon will subscribe to this event and will cause the motor to turn and close the blinds. There is also a IFTTT applet that will create a row on a google sheet whenever the 'Morning' event is published.
Applet for Recording Time of Morning Event
Various Tests at Different times
A graph Representation of Data
A Flow Chart Representing how the Particle Argons Communicate with Each Other