{"id":30199066,"url":"https://github.com/sh3mm/cb3s-led-server","last_synced_at":"2025-08-13T08:00:42.555Z","repository":{"id":308983598,"uuid":"1034750367","full_name":"Sh3mm/CB3S-led-server","owner":"Sh3mm","description":"Sofware to reporpuse an always-online \"Smart\" LED strip from Genni into a local HTTP server using LibreTiny","archived":false,"fork":false,"pushed_at":"2025-08-09T02:22:12.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-09T04:12:04.819Z","etag":null,"topics":["bk7231n","cb3s","iot-device","libretiny","platformio"],"latest_commit_sha":null,"homepage":"","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/Sh3mm.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,"zenodo":null}},"created_at":"2025-08-08T23:22:59.000Z","updated_at":"2025-08-09T02:22:15.000Z","dependencies_parsed_at":"2025-08-09T04:13:53.577Z","dependency_job_id":"89f2a61d-51f1-4dc8-af00-216290e7c003","html_url":"https://github.com/Sh3mm/CB3S-led-server","commit_stats":null,"previous_names":["sh3mm/cb3s-led-server"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Sh3mm/CB3S-led-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sh3mm%2FCB3S-led-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sh3mm%2FCB3S-led-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sh3mm%2FCB3S-led-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sh3mm%2FCB3S-led-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sh3mm","download_url":"https://codeload.github.com/Sh3mm/CB3S-led-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sh3mm%2FCB3S-led-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270205358,"owners_count":24544698,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"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":["bk7231n","cb3s","iot-device","libretiny","platformio"],"created_at":"2025-08-13T08:00:36.865Z","updated_at":"2025-08-13T08:00:42.484Z","avatar_url":"https://github.com/Sh3mm.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Local Wifi Led strip\n\nProject made to adapt a Genni \"Smart\" led strip that required an app and a cloud connection into a local only Wifi led strip that communicates through an HTTP server hosted on the chip.\n\nThe chip is a [CB3S from tuya](https://docs.libretiny.eu/boards/cb3s/). \n\nThe code depends on [libretiny](https://docs.libretiny.eu/).\n\n\n## Set-up\n\n1. To setup, Fisrt create a new `varriables.h` file in the `src` folder and fill it with the following information:\n```c\n// WiFi configs\n#define WIFI_SSID \"XXXX\"\n#define WIFI_PASS \"XXXX\"\n\n// Pin configs (the default for my project)\n#define BUTTON_PIN  9\n#define R_PIN       8\n#define G_PIN      24\n#define B_PIN      26\n\n// PWM configs\n#define ANALRES 10\n#define ANALFRQ 100\n\n// Button configs\n#define LONG_CLICK 5000\n```  \n\n2. Upload the project to the chip using [platformIO](https://platformio.org/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsh3mm%2Fcb3s-led-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsh3mm%2Fcb3s-led-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsh3mm%2Fcb3s-led-server/lists"}