{"id":19711903,"url":"https://github.com/danielskowronski/esp32-window-light-sensor","last_synced_at":"2026-04-09T16:16:07.403Z","repository":{"id":90323493,"uuid":"558951953","full_name":"danielskowronski/esp32-window-light-sensor","owner":"danielskowronski","description":"ESP32 based Window Light Sensor with HomeKit and MQTT support","archived":false,"fork":false,"pushed_at":"2023-12-06T17:29:41.000Z","size":1375,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T04:19:37.258Z","etag":null,"topics":["ambient-light-sensor","arduino","esp32","esp32-arduino","home-automation","homekit","homekit-accessory","homespan","light-sensor","mqtt","smart-home"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielskowronski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-10-28T17:07:36.000Z","updated_at":"2024-01-26T07:45:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b35c9b1-6927-408d-ac3e-bde4cb2586fe","html_url":"https://github.com/danielskowronski/esp32-window-light-sensor","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielskowronski%2Fesp32-window-light-sensor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielskowronski%2Fesp32-window-light-sensor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielskowronski%2Fesp32-window-light-sensor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielskowronski%2Fesp32-window-light-sensor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielskowronski","download_url":"https://codeload.github.com/danielskowronski/esp32-window-light-sensor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241029956,"owners_count":19896997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ambient-light-sensor","arduino","esp32","esp32-arduino","home-automation","homekit","homekit-accessory","homespan","light-sensor","mqtt","smart-home"],"created_at":"2024-11-11T22:14:33.539Z","updated_at":"2026-04-09T16:16:07.369Z","avatar_url":"https://github.com/danielskowronski.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP32 based Window Light Sensor with HomeKit and MQTT support\n\nUsed as a sensor for automatic shades closure when it's too bright for delicate eyes of nerd. Added temperature sensor as cheap addition to I2C bus.\n\nHomeKit for automation, MQTT for reporting to HomeAssistant. \n\n## Software\n\nArduino sketch - [./software/esp32-window-light-sensor/](./software/esp32-window-light-sensor/)\n\n### Libraries\n\n- ESP32 v2.0.5\n- HomeSpan\n    - until https://github.com/HomeSpan/HomeSpan/issues/414 is resolved, fork https://github.com/danielskowronski/HomeSpan is required for \"upgraded\" Home\n- BH1750 v1.3.0\n- BMP280 v2.6.6\n\n## Hardware\n\nESP32 board connected to light and temperature sensors via ribbon cable - [./hardware/HARDWARE.md](./hardware/HARDWARE.md)\n\n## Usage\n\n### HomeKit\n\nFollow [HomeSpan User Guide](https://github.com/HomeSpan/HomeSpan/blob/master/docs/UserGuide.md)\n\n### MQTT\n\nTBD (not yet implemented)\n\n### Label\n\nTo get label like this, follow [./label/LABEL.md](./label/LABEL.md)\n\n![](./label/label_demo.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielskowronski%2Fesp32-window-light-sensor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielskowronski%2Fesp32-window-light-sensor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielskowronski%2Fesp32-window-light-sensor/lists"}