{"id":17816078,"url":"https://github.com/henrytwo/piblinds","last_synced_at":"2025-07-06T13:06:25.385Z","repository":{"id":110318790,"uuid":"203849213","full_name":"henrytwo/PiBlinds","owner":"henrytwo","description":"Raspberry Pi powered IoT Blinds","archived":false,"fork":false,"pushed_at":"2019-08-22T18:37:33.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-03T16:03:27.459Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/henrytwo.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":"2019-08-22T18:14:46.000Z","updated_at":"2021-04-23T03:15:25.000Z","dependencies_parsed_at":"2023-04-06T04:01:03.816Z","dependency_job_id":null,"html_url":"https://github.com/henrytwo/PiBlinds","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/henrytwo%2FPiBlinds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrytwo%2FPiBlinds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrytwo%2FPiBlinds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrytwo%2FPiBlinds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/henrytwo","download_url":"https://codeload.github.com/henrytwo/PiBlinds/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrytwo%2FPiBlinds/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258980630,"owners_count":22787758,"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":[],"created_at":"2024-10-27T16:35:15.578Z","updated_at":"2025-07-06T13:06:25.369Z","avatar_url":"https://github.com/henrytwo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PiBlinds\nRaspberry Pi powered IoT Blinds\n\u003cbr\u003e\nDemo: https://www.youtube.com/watch?v=M4cTFb5kdck\n\u003cbr\u003e\n## Hardware Setup\u003cbr\u003e\nA generic 360 degree continuous servo was used with an Adafruit PWM Board (https://learn.adafruit.com/16-channel-pwm-servo-driver/python-circuitpython)\u003cbr\u003e\u003cbr\u003e\nTwo magnetic reed switches were setup at the upper and lower boundaries to prevent damanage to the blind. In the demo setup, GPIO 22 was assigned to the lower boundary and GPIO 27 was assigned to the upper. This can be modified in `main.py` to accomodate a different setup.\n\u003cbr\u003e\u003cbr\u003e\nThe sprocket was a 120% scale print of https://www.thingiverse.com/thing:70179 \n\u003cbr\u003e\n## Software Setup\u003cbr\u003e\nInstall dependences:\u003cbr\u003e\n`sudo pip3 install adafruit-circuitpython-pca9685`\u003cbr\u003e\n`sudo pip3 install flask`\n\u003cbr\u003e\u003cbr\u003e\nRun `python3 main.py` and go to the ip address of the Raspberry Pi (Flask should be bound to all interfaces available).\n\u003cbr\u003e\nTo control the system from outside the network, you can tunnel the Pi to a remote server via a VPN and remote proxy the webapp. Alternatively, you could port forward.\n\u003cbr\u003e\u003cbr\u003e\nCreated by Henry Tu, August 2019\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenrytwo%2Fpiblinds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenrytwo%2Fpiblinds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenrytwo%2Fpiblinds/lists"}