{"id":15064080,"url":"https://github.com/allaguna/esp-now-wled-controller","last_synced_at":"2025-04-14T19:23:11.969Z","repository":{"id":257556818,"uuid":"858629495","full_name":"AlLaguna/ESP-NOW-WLED-Controller","owner":"AlLaguna","description":"WLED Remote Control for ESP32 using ESP-NOW Protocol","archived":false,"fork":false,"pushed_at":"2024-12-06T12:24:16.000Z","size":36,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T07:51:12.346Z","etag":null,"topics":["esp-now","esp32","iot","remote-control","wled"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlLaguna.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":"2024-09-17T08:50:42.000Z","updated_at":"2025-03-02T19:14:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"4a6bd4ad-d174-4057-8e24-02fc828bc10f","html_url":"https://github.com/AlLaguna/ESP-NOW-WLED-Controller","commit_stats":null,"previous_names":["allaguna/esp-now-wled-controller"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlLaguna%2FESP-NOW-WLED-Controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlLaguna%2FESP-NOW-WLED-Controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlLaguna%2FESP-NOW-WLED-Controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlLaguna%2FESP-NOW-WLED-Controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlLaguna","download_url":"https://codeload.github.com/AlLaguna/ESP-NOW-WLED-Controller/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248943454,"owners_count":21186966,"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":["esp-now","esp32","iot","remote-control","wled"],"created_at":"2024-09-25T00:11:18.534Z","updated_at":"2025-04-14T19:23:11.946Z","avatar_url":"https://github.com/AlLaguna.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WLED Remote Control for ESP32 using ESP-NOW Protocol\n\nThis project allows controlling WLED devices using an ESP32 over the ESP-NOW protocol, mimicking the functionality of a WiZmote. The ESP32 sends commands wirelessly to the WLED device, and the communication operates efficiently without needing to connect to Wi-Fi.\n\n## Features\n\n- **ESP-NOW Protocol**: Utilizes the low-power, fast, and efficient ESP-NOW communication method to control WLED devices.\n- **WLED Control**: Commands like turning lights on/off, adjusting brightness, and switching presets are supported.\n- **Touch Sensor Integration**: The ESP32 uses a touch sensor (T0) to wake from deep sleep and send control commands to the WLED device.\n- **Deep Sleep Mode**: After sending a command, the ESP32 enters deep sleep to significantly reduce power consumption, making it energy-efficient for long-term usage.\n\n## Configuration\n\n1. **Set WLED MAC Address**:\n   - Modify the `macAddress[]` variable in the code to match the MAC address of your WLED device.\n\n2. **Set Wi-Fi Channel**:\n   - Set the `CHANNEL` constant to the same channel used by your WLED device.\n\n3. **Configure WLED to Listen to ESP-NOW Events**:\n   - In the WLED web interface, go to **Config \u003e WiFi setup**.\n   - Scroll down to the **Wireless Remote** section.\n   - Enable **ESP-NOW Enable Remote** and modify the `Hardware MAC` with the ESP32 MAC address.\n  \n## Usage\n  If everything has been configured correctly, when the T0 pin (GPIO4) is touched in the ESP32, the LEDs configured in WLED will turn on/off.\n  The operation can be modified. \n\n## Available Functionalities\n\nThe ESP32 remote control can trigger the following WLED functions using ESP-NOW:\n\n1. **Turn Lights On/Off**: \n   - **Constant**: `ON` (1), `OFF` (2)\n   - Tap the touch sensor to toggle the WLED device between on and off states.\n\n2. **Adjust Brightness**:\n   - **Constant**: `BRIGHT_UP` (9), `BRIGHT_DOWN` (8)\n   - Increase or decrease the brightness of the WLED lights by sending brightness control commands.\n\n3. **Switch Between Presets**:\n   - **Constants**:\n     - `PRESET_ONE` (16): Send preset one command.\n     - `PRESET_TWO` (17): Send preset two command.\n     - `PRESET_THREE` (18): Send preset three command.\n     - `PRESET_FOUR` (19): Send preset four command.\n   - Easily switch between four preset configurations in WLED.\n\n4. **Night Mode**:\n   - **Constant**: `NIGHT` (3)\n   - Activate night mode to dim the lights to a comfortable level for evening or low-light conditions.\n     \n- - -\n*Copyright (C) 2024  Álvaro Laguna*\n\n*This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.*\n\n*This program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.*\n\n*You should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallaguna%2Fesp-now-wled-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallaguna%2Fesp-now-wled-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallaguna%2Fesp-now-wled-controller/lists"}