{"id":16008365,"url":"https://github.com/jimbobbennett/lightpi","last_synced_at":"2026-02-18T08:33:02.924Z","repository":{"id":81417198,"uuid":"249849581","full_name":"jimbobbennett/LightPi","owner":"jimbobbennett","description":"A general purpose IoT Central powered light control system for Raspberry Pis","archived":false,"fork":false,"pushed_at":"2020-04-01T01:15:05.000Z","size":10,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T15:17:17.650Z","etag":null,"topics":["azure","iot-central","python","raspberry-pi"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jimbobbennett.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":"2020-03-25T00:30:36.000Z","updated_at":"2023-06-08T19:01:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"5f1a1413-a9e0-4b39-ba60-ee4164b65d1f","html_url":"https://github.com/jimbobbennett/LightPi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jimbobbennett/LightPi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimbobbennett%2FLightPi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimbobbennett%2FLightPi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimbobbennett%2FLightPi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimbobbennett%2FLightPi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jimbobbennett","download_url":"https://codeload.github.com/jimbobbennett/LightPi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimbobbennett%2FLightPi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261296915,"owners_count":23137218,"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":["azure","iot-central","python","raspberry-pi"],"created_at":"2024-10-08T12:41:48.653Z","updated_at":"2025-10-19T21:12:02.024Z","avatar_url":"https://github.com/jimbobbennett.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LightPi\n\nA general purpose Azure IoT Central powered light control system for Raspberry Pis.\n\n## Aims\n\nThe aim of this project is to provide a generic application that can be installed on a Raspberry Pi running Raspbian to control lights using Azure IoT Central.\n\nThe project will consist of:\n\n* An install script that installs the code on the Pi, including any libraries for lights, then configures it to connect to an IoT Central app\n* The software to control various lights including the [Pimoroni Unicorn pHAT](https://shop.pimoroni.com/products/unicorn-phat), [Pimoroni Blinkt](https://shop.pimoroni.com/products/blinkt), [NeoPixel strips](https://www.adafruit.com/product/1138?length=1), and [WS2812 LED strips](https://www.amazon.com/gp/product/B07FVPN3PH/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8\u0026psc=1).\n\nThe control software will connect to Azure IoT Central using a pre-defined application template. It will be sent color requests as IoT Central commands. These requests will be in one of a few formats:\n\n* Single color values - all the LEDs/pixels will change to this color\n* An array of color values - the colors in this array will be applied to the LEDs/pixels in order, repeating if there are more LEDs/pixels than array elements\n* Time offsets and single colors - a timer loop will work through these colors, lighting all the LEDs/pixels in each color, then waiting the time offset to apply the new color\n* Time offsets and arrays of color values - a timer loop will work through these colors, lighting all the LEDs/pixels using the color array, then waiting the time offset to apply the new color\n\n## Supported lights\n\nThe first version will support these lights:\n\n* [Pimoroni Unicorn pHAT](https://shop.pimoroni.com/products/unicorn-phat)\n* [Pimoroni Blinkt](https://shop.pimoroni.com/products/blinkt)\n* [NeoPixel strips](https://www.adafruit.com/product/1138?length=1)\n* [WS2812 LED strips](https://www.amazon.com/gp/product/B07FVPN3PH/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8\u0026psc=1)\n\nInstructions for connecting the lights will be in the [`hardware-instructions` folder](./hardware-instructions).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimbobbennett%2Flightpi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimbobbennett%2Flightpi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimbobbennett%2Flightpi/lists"}