{"id":15692566,"url":"https://github.com/robmarkcole/pan-tilt-hat-hass","last_synced_at":"2025-09-10T14:41:20.727Z","repository":{"id":85844448,"uuid":"101369431","full_name":"robmarkcole/pan-tilt-hat-HASS","owner":"robmarkcole","description":"Custom component adding the pimoroni pan-tilt-hat to Home-assistant: tested in HA 0.94 ok","archived":false,"fork":false,"pushed_at":"2019-05-13T06:17:12.000Z","size":3634,"stargazers_count":7,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-30T15:34:03.484Z","etag":null,"topics":["home-assistant","pan-tilt-phat","pimoroni"],"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/robmarkcole.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":"2017-08-25T05:32:27.000Z","updated_at":"2022-05-26T12:06:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"20adc0f9-0a87-41ba-a788-beae826859b6","html_url":"https://github.com/robmarkcole/pan-tilt-hat-HASS","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/robmarkcole%2Fpan-tilt-hat-HASS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fpan-tilt-hat-HASS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fpan-tilt-hat-HASS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fpan-tilt-hat-HASS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robmarkcole","download_url":"https://codeload.github.com/robmarkcole/pan-tilt-hat-HASS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252989670,"owners_count":21836662,"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":["home-assistant","pan-tilt-phat","pimoroni"],"created_at":"2024-10-03T18:35:33.785Z","updated_at":"2025-05-08T02:42:15.446Z","avatar_url":"https://github.com/robmarkcole.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This custom component adds the [pimoroni](https://shop.pimoroni.com/products/pan-tilt-hat) pan-tilt-phat to [Home-assistant](https://home-assistant.io/).\n\n\u003cimg src=\"https://github.com/robmarkcole/pan-tilt-phat-HASS/blob/master/my_pan_tilt.png\" width=\"300\"\u003e\n\nPlace the custom_components folder in your configuration directory (`pi@raspberrypi:~/.homeassistant $ mv ~/Github/pan-tilt-hat-HASS/custom_components .`) or add its contents to an existing custom_components folder. Add to your `configuration.yaml`:\n\n```yaml\npan_tilt_phat:\n```\n\nThe adds the services:\n* `pan_tilt_phat.home` called with no data to return to home (0, 0)\n* `pan_tilt_phat.pan` which can be called with e.g. `{\"Pan\":20}` to pan to 20 degrees\n* `pan_tilt_phat.tilt` which can be called with e.g. `{\"Tilt\":30}` to tilt to 30 degrees\n\n\n## Python scripts \u0026 automation\nThis repo also includes python scripts and automations to add slider control as shown in the image below. Moving the sliders triggers an automation which calls the python script to move the pan-tilt-hat. Copy the required content of the example config files to your own config files.\n\n\u003cimg src=\"https://github.com/robmarkcole/pan-tilt-phat-HASS/blob/master/main_hass_pan_tilt.png\" width=\"800\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmarkcole%2Fpan-tilt-hat-hass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobmarkcole%2Fpan-tilt-hat-hass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmarkcole%2Fpan-tilt-hat-hass/lists"}