{"id":29799680,"url":"https://github.com/flo4l/mylights","last_synced_at":"2026-05-17T17:39:07.540Z","repository":{"id":235486834,"uuid":"202721780","full_name":"Flo4l/MyLights","owner":"Flo4l","description":"MyLights Project","archived":false,"fork":false,"pushed_at":"2019-11-28T19:15:24.000Z","size":13498,"stargazers_count":3,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-23T15:56:14.929Z","etag":null,"topics":["iot","led","led-strips","nodemcu","server","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Flo4l.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}},"created_at":"2019-08-16T12:12:46.000Z","updated_at":"2024-04-23T15:56:18.754Z","dependencies_parsed_at":"2024-04-23T16:08:52.852Z","dependency_job_id":null,"html_url":"https://github.com/Flo4l/MyLights","commit_stats":null,"previous_names":["flo4l/mylights"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Flo4l/MyLights","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flo4l%2FMyLights","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flo4l%2FMyLights/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flo4l%2FMyLights/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flo4l%2FMyLights/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flo4l","download_url":"https://codeload.github.com/Flo4l/MyLights/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flo4l%2FMyLights/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267482004,"owners_count":24094508,"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-07-28T02:00:09.689Z","response_time":68,"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":["iot","led","led-strips","nodemcu","server","spring-boot"],"created_at":"2025-07-28T08:10:25.913Z","updated_at":"2026-05-17T17:39:02.521Z","avatar_url":"https://github.com/Flo4l.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyLights\n### Server and MCU Code for MyLights Project\n\n## What is Mylights?\nMyLights is a selfmade System to control Multiple LED Stripes.\nIt is based on a Spring-Boot server application and multiple NodeMCU devices (ESP8266) as clients.\nThe LED stripe current flow is controlled by the pins of the MCU (over transistors in our case).\n\n##### MyLights Panel\n![MyLights-Panel](info/MyLights-Panel.jpg)\n\n#### MyLights Demo\n![MyLights-Demo](info/MyLights-Demo.gif)\n\n## How to set up MyLights?\n1. Compile the Server with Maven and run the JAR.\n2. Download and install ArduinoIDE and the related libs (Vector.h, ESP8266 stuff).\n3. Alter the WiFi access data and the IP/hostname of the server.\n4. Flash the program with ArduinoIDE, connect the wires and start the MCU.\n5. Open the Controlpanel of the Server and use the default password to log in. (Gl0w_up!)\n6. Create a new group and add the Module, that should have registered itself at the server.\n\n\n##### ER Diagram (deprecated)\n![DB Architecture](info/architektur.png)\n\n##### API\n```\nGET\n/\n/h2-console\n\n\nPOST\n/group/create\n    -   groupName\n/group/update\n    -   groupId\n    -   groupName\n/group/delete\n    -   groupId\n/group/get/all\n\n/command/set\n    -   jsonData\n/command/get/all\n/command/get/group\n    -   groupId\n\n/stripe/register\n    -   ip\n    -   mac\n/stripe/unassign\n    -   stripeId\n/strupe/update\n    -   stripeId\n    -   stripeName\n/stripe/get/all\n/stripe/set/group\n    -   stripeId\n    -   groupId\n/stripe/get/group\n    -   groupId\n/stripe/get/unassigned\n```\n\n\n##### Example JSON Command\n````json\n{\n\t\"command\":\n\t{\n\t\t\"mode\":\"m\",\n\t\t\"secondsToNextColor\":2,\n\t\t\"groupId\":1,\n\t\t\"colors\":\n\t\t[\n\t\t\t{\n\t\t\t\t\"red\":255,\n\t\t\t\t\"green\":0,\n\t\t\t\t\"blue\":0\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"red\":0,\n\t\t\t\t\"green\":255,\n\t\t\t\t\"blue\":0\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"red\":0,\n\t\t\t\t\"green\":0,\n\t\t\t\t\"blue\":255\n\t\t\t}\n\t\t]\n\t}\n}\n````","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflo4l%2Fmylights","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflo4l%2Fmylights","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflo4l%2Fmylights/lists"}