{"id":13585893,"url":"https://github.com/partofthething/ha_skyfield","last_synced_at":"2025-04-07T10:32:04.982Z","repository":{"id":41818512,"uuid":"225083248","full_name":"partofthething/ha_skyfield","owner":"partofthething","description":"See the apparent positions of the Sun, Moon, and planets in this home assistant custom component","archived":false,"fork":false,"pushed_at":"2024-02-08T23:59:21.000Z","size":310,"stargazers_count":57,"open_issues_count":9,"forks_count":13,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-04-16T01:48:33.335Z","etag":null,"topics":["astronomy","custom-components","homeassistant","solar","solar-system"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/partofthething.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-11-30T23:37:02.000Z","updated_at":"2024-08-01T16:31:51.010Z","dependencies_parsed_at":"2024-08-01T16:41:56.874Z","dependency_job_id":null,"html_url":"https://github.com/partofthething/ha_skyfield","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/partofthething%2Fha_skyfield","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/partofthething%2Fha_skyfield/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/partofthething%2Fha_skyfield/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/partofthething%2Fha_skyfield/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/partofthething","download_url":"https://codeload.github.com/partofthething/ha_skyfield/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247636911,"owners_count":20971031,"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":["astronomy","custom-components","homeassistant","solar","solar-system"],"created_at":"2024-08-01T15:05:12.541Z","updated_at":"2025-04-07T10:32:04.970Z","avatar_url":"https://github.com/partofthething.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Live Sun, Moon, and Planets for Home Assistant\n\n[![hacs_badge](https://img.shields.io/badge/HACS-Custom-orange.svg)](https://github.com/partofthething/ha_skyfield)\n\nThis is a custom component for [Home Assistant ](https://www.home-assistant.io/) \nthat makes a live polar sun path chart for your location. Besides the Sun, it\nalso shows the Moon and a few major planets. Plus, it shows the Winter and Summer solstice sun paths so you can see where you are in the seasons!\n\n![Screenshot of the skyfield](screenshot.png)\n\nThis uses the [skyfield library](https://rhodesmill.org/skyfield/) to do the computations. \n\nTo use: \n\n* Install this in your `custom_components` folder\n* Download the prerequisites: `pip3 install skyfield matplotlib numpy` (no longer\n  necessary with hassio!)\n* Add the following to your home assistant config:\n```yaml\ncamera:\n  platform: ha_skyfield\n  show_constellations: false\n```\n* Add a picture entity to your GUI with this camera. It will update live.\n\nOptional configuration:\n\n* `show_time` add a timestamp to the plot\n* `show_legend` add a legend of the bodies\n* `show_constellations` enable or disable the constellations (default is True).\n* `planet_list` customize which planets are shown\n* `constellations_list` customize which constellations are shown (use names from\n  [here](https://github.com/partofthething/ha_skyfield/blob/master/custom_components/ha_skyfield/constellations_by_RA_Dec.dat))\n* `north_up` (boolean) puts North at the top (useful in the Southern Hemisphere)\n* `horizontal_flip` (boolean) flips projection horizontally\n* `image_type` (string) Optional - provide image format extension.  Tested options are `png` (default) and `jpg`.\n\nKnown Issues:\n\n* WARNING: High CPU usage! The underlying library is relatively long-running. Disable or\n  limit constellations if you're using a smaller computer, like a Raspberry Pi. Even with\n  them off, the CPU load may unacceptable. Options and more \n  discussion in [#4](https://github.com/partofthething/ha_skyfield/issues/4)\n\n* Does not follow Theme because of matplotlib backend (see\n  [#5](https://github.com/partofthething/ha_skyfield/issues/4)\n\n* More (maybe) at [Issues](https://github.com/partofthething/ha_skyfield/issues)\n\nInspiration comes from the University of Oregon \n[Solar Radiation Monitoring Lab](http://solardat.uoregon.edu/PolarSunChartProgram.html).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpartofthething%2Fha_skyfield","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpartofthething%2Fha_skyfield","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpartofthething%2Fha_skyfield/lists"}