{"id":18712766,"url":"https://github.com/apexskier/smart-light","last_synced_at":"2026-05-05T04:07:19.290Z","repository":{"id":150780122,"uuid":"51805211","full_name":"apexskier/smart-light","owner":"apexskier","description":"An Arduino brain for my touch lamp","archived":false,"fork":false,"pushed_at":"2016-12-16T05:14:33.000Z","size":401,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-19T10:06:40.040Z","etag":null,"topics":["arduino","esp8266","iot","lighting"],"latest_commit_sha":null,"homepage":null,"language":"Arduino","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apexskier.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-16T03:30:44.000Z","updated_at":"2020-03-08T15:05:25.000Z","dependencies_parsed_at":"2023-04-10T02:04:00.440Z","dependency_job_id":null,"html_url":"https://github.com/apexskier/smart-light","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/apexskier/smart-light","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apexskier%2Fsmart-light","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apexskier%2Fsmart-light/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apexskier%2Fsmart-light/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apexskier%2Fsmart-light/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apexskier","download_url":"https://codeload.github.com/apexskier/smart-light/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apexskier%2Fsmart-light/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32634749,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","esp8266","iot","lighting"],"created_at":"2024-11-07T12:43:42.187Z","updated_at":"2026-05-05T04:07:19.272Z","avatar_url":"https://github.com/apexskier.png","language":"Arduino","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smart Light\n\nI decided to put an Arduino inside my touch lamp.\n\nMy lamp orginally had three levels of lighting and an off state. Touching\ncycled through these. The most basic thing I wanted was to turn off if I hadn't\ntouched in a while, so I don't blind myself when turning my light off before\nbed.\n\nI ended up deciding on using an LED, and then decided on an RGB LED. This means\nI can do color, so I decided to turn it into a [wake up\nlight](https://www.usa.philips.com/c-m-li/light-therapy/wake-up-light/latest#filters=WAKEUP_LIGHT_SU\u0026sliders=\u0026support=\u0026price=\u0026priceBoxes=\u0026page=\u0026layout=12.subcategory.p-grid-icon).\n\n## UI\n\nThe light provides a web UI intended to be installed to your phone's\nhomescreen, as well as several HTTP routes for control.\n\nVisit the IP of your light to see it.\n\n![Web UI](https://raw.githubusercontent.com/apexskier/smart-light/master/ui.png)\n\n## Dev notes\n\nSet your wifi network's ssid and password in `light.ino` and don't commit it to\ngit.\n\nI increased the [number of possible\nalarms](https://github.com/PaulStoffregen/TimeAlarms/blob/master/TimeAlarms.h#L10)\nto 14.\n\nTo generate html, I edit `index.html`, then run `./html.sh`. This overwrites\nthe first two lines of `server.ino`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapexskier%2Fsmart-light","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapexskier%2Fsmart-light","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapexskier%2Fsmart-light/lists"}