Skip to content

apexskier/smart-light

Repository files navigation

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.

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

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 to 14.

To generate html, I edit index.html, then run ./html.sh. This overwrites the first two lines of server.ino.

About

An Arduino brain for my touch lamp

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published