{"id":16049230,"url":"https://github.com/ayan4m1/hew-d1","last_synced_at":"2026-05-04T05:40:46.984Z","repository":{"id":141352522,"uuid":"261323366","full_name":"ayan4m1/hew-d1","owner":"ayan4m1","description":"Hew firmware for Wemos/Lolin D1 mini","archived":false,"fork":false,"pushed_at":"2021-12-29T09:30:24.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T15:44:47.991Z","etag":null,"topics":["d1-mini","iot","platformio","rgb-led"],"latest_commit_sha":null,"homepage":null,"language":"C++","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/ayan4m1.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":"2020-05-05T00:07:20.000Z","updated_at":"2020-10-20T01:10:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"50cf4d34-1383-4822-bdd5-8d45928c9745","html_url":"https://github.com/ayan4m1/hew-d1","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayan4m1%2Fhew-d1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayan4m1%2Fhew-d1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayan4m1%2Fhew-d1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayan4m1%2Fhew-d1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayan4m1","download_url":"https://codeload.github.com/ayan4m1/hew-d1/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247301023,"owners_count":20916426,"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":["d1-mini","iot","platformio","rgb-led"],"created_at":"2024-10-09T00:15:12.608Z","updated_at":"2026-05-04T05:40:46.954Z","avatar_url":"https://github.com/ayan4m1.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hew D1\n\n[![Build Status](https://travis-ci.org/ayan4m1/hew-d1.svg?branch=master)](https://travis-ci.org/ayan4m1/hew-d1)\n\nThis project is an open source hardware implementation of end-user controllable RGB LED lighting using the [LOLIN D1 mini](https://docs.wemos.cc/en/latest/d1/d1_mini.html) and the [RGB LED shield](https://docs.wemos.cc/en/latest/d1_mini_shiled/rgb_led.html).\n\n## Features\n\n- Control the color and brightness of LEDs via [Hew](https://github.com/ayan4m1/hew-web)\n- Solid color or animated patterns\n- Simple passphrase based authentication\n- Zeroconf/mDNS support\n- Configuration persisted in NVRAM between restarts\n\n## Usage\n\nInstall [PlatformIO](https://platformio.org/platformio-ide) for your favorite IDE. Then, use the [`platformio`](https://docs.platformio.org/en/latest/core/quickstart.html#process-project) command to build and upload the firmware to a D1 mini.\n\n### Configuration\n\nEdit `src/config.h` before building/flashing the firmware.\n\nIf you choose a device identifier of `puck-a`, then your device will be accessible at `http://puck-a.local` after it connects to WiFi. You can customize the HTTP port by editing `src/config.h`. You control it by sending a POST request to `/` with the following:\n\n- Header: `Authorization: passphrase`, where `passphrase` is the configured `DEVICE_PASSPHRASE`\n- Body: Raw JSON with the following keys\n  - **startColor** - hex string representing start color e.g. `ff0000`\n  - **endColor** - hex string representing end color e.g. `0000ff`\n  - **speed** - the animation speed, 0-255\n  - **brightness** - the brightness of the lights, 0-255\n  - **pattern** - a pattern string\n    - `SOLID` - only uses startColor, no animation\n    - `GRADIENT` - interpolate all LEDs between startColor and endColor\n    - `MARQUEE` - interpolate marching LED between startColor and endColor\n\n## Roadmap\n\n- Overhaul HTTP request parsing\n- Add Apple HomeKit / Alexa / Google Home integration\n- Support arbitrary-length panels/strands\n- TLS server support\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayan4m1%2Fhew-d1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayan4m1%2Fhew-d1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayan4m1%2Fhew-d1/lists"}