{"id":13577760,"url":"https://github.com/langestefan/auto-sun-blind","last_synced_at":"2025-04-05T15:31:25.854Z","repository":{"id":179415001,"uuid":"656746023","full_name":"langestefan/auto-sun-blind","owner":"langestefan","description":"Automatically control your sun blinds via home assistant based on the position of the sun.","archived":false,"fork":false,"pushed_at":"2024-03-04T16:39:22.000Z","size":1421,"stargazers_count":37,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-04T03:45:35.389Z","etag":null,"topics":["automation","blueprint","cover","energy-management","home-assistant","home-automation","solar","sun","sunrise-sunset"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/langestefan.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":"2023-06-21T14:51:07.000Z","updated_at":"2025-03-16T17:40:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7367725-e07c-48b8-8660-47983c0f4fa5","html_url":"https://github.com/langestefan/auto-sun-blind","commit_stats":{"total_commits":21,"total_committers":4,"mean_commits":5.25,"dds":"0.19047619047619047","last_synced_commit":"3f9f125608b8d0938297ddb269ab68e06daad3c9"},"previous_names":["langestefan/auto-sun-blind"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langestefan%2Fauto-sun-blind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langestefan%2Fauto-sun-blind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langestefan%2Fauto-sun-blind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langestefan%2Fauto-sun-blind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/langestefan","download_url":"https://codeload.github.com/langestefan/auto-sun-blind/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247358697,"owners_count":20926271,"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":["automation","blueprint","cover","energy-management","home-assistant","home-automation","solar","sun","sunrise-sunset"],"created_at":"2024-08-01T15:01:24.133Z","updated_at":"2025-04-05T15:31:24.205Z","avatar_url":"https://github.com/langestefan.png","language":"Jupyter Notebook","funding_links":[],"categories":["Jupyter Notebook"],"sub_categories":[],"readme":"# Auto Sun Blind\nAutomatically control your sun blinds via home assistant based on the position of the sun.\n\nThis repo contains a `custom_template`, `blueprint`.\n\nThis [forum post](https://community.home-assistant.io/t/automatic-blinds-sunscreen-control-based-on-sun-platform/573818) explains the math behind the project.\n\n![example-image](/docs/assets/angles.png)\n## Custom Template\n`version 1.0.1`\n\nA jinja macro to track the position of a vertical cover based on the sun position to block out direct sunlight.\n\n### How to import\nHome Assistant 2023.4.0 or higher is required to use custom templates.\n\nYou can install it using HACS. HACS only supports custom templates in `experimental mode`. Click on the button to go directly to the right section.\n\nManual install is done by copying the contents of [`auto_sun_blind.jinja`](https://github.com/langestefan/auto-sun-blind/blob/main/auto_sun_blind.jinja) to a `.jinja` file in your `config/custom_templates` folder. Run the `homeassistant.reload_custom_templates` service call to load the file.\n\n```yaml\n{% from 'auto_sun_blind.jinja' import 'auto_sun_blind' %}\n{{ auto_sun_blind() }}\n```\n[Click here for additional documentation and instructions on how to use it.](https://github.com/langestefan/auto-sun-blind/blob/main/docs/template.md)\n## Blueprint\n`version 1.1.2`\n\nThis project includes a blueprint that you can use without setting up a sensor.\n\n[![Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.](https://my.home-assistant.io/badges/blueprint_import.svg)](https://my.home-assistant.io/redirect/blueprint_import/?blueprint_url=https%3A%2F%2Fgithub.com%2Flangestefan%2Fauto-sun-blind%2Fblob%2Fmain%2Fblueprints%2Fauto_sun_blind.yaml)\n\nFeatures:\n\n    - Multiple cover control (`since v1.1.0`)\n    - Easy variable control with sliders\n    - Time-out to save battery or reduce the amount of changing the cover position\n    - Minimum percentage change to prevent the amount of changing the cover position by small percentage changes\n    - Add additional actions such as notifications to the automation\n    - Add conditions like the time of day, minimum amount of lux\n    - Default height can be templated, which allows for conditions if the sun is not in front of the window.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flangestefan%2Fauto-sun-blind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flangestefan%2Fauto-sun-blind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flangestefan%2Fauto-sun-blind/lists"}