Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apexskier/smart-light
An Arduino brain for my touch lamp
https://github.com/apexskier/smart-light
arduino esp8266 iot lighting
Last synced: 29 days ago
JSON representation
An Arduino brain for my touch lamp
- Host: GitHub
- URL: https://github.com/apexskier/smart-light
- Owner: apexskier
- Created: 2016-02-16T03:30:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-16T05:14:33.000Z (about 8 years ago)
- Last Synced: 2024-11-07T12:52:27.830Z (3 months ago)
- Topics: arduino, esp8266, iot, lighting
- Language: Arduino
- Size: 392 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Smart Light
I decided to put an Arduino inside my touch lamp.
My lamp orginally had three levels of lighting and an off state. Touching
cycled through these. The most basic thing I wanted was to turn off if I hadn't
touched in a while, so I don't blind myself when turning my light off before
bed.I ended up deciding on using an LED, and then decided on an RGB LED. This means
I can do color, so I decided to turn it into a [wake up
light](https://www.usa.philips.com/c-m-li/light-therapy/wake-up-light/latest#filters=WAKEUP_LIGHT_SU&sliders=&support=&price=&priceBoxes=&page=&layout=12.subcategory.p-grid-icon).## UI
The light provides a web UI intended to be installed to your phone's
homescreen, as well as several HTTP routes for control.Visit the IP of your light to see it.
![Web UI](https://raw.githubusercontent.com/apexskier/smart-light/master/ui.png)
## Dev notes
Set your wifi network's ssid and password in `light.ino` and don't commit it to
git.I increased the [number of possible
alarms](https://github.com/PaulStoffregen/TimeAlarms/blob/master/TimeAlarms.h#L10)
to 14.To generate html, I edit `index.html`, then run `./html.sh`. This overwrites
the first two lines of `server.ino`.