Skip to content
See the apparent positions of the Sun, Moon, and planets in this home assistant custom component
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
custom_components/ha_skyfield
.gitignore
.pylintrc
LICENSE.txt
README.md
hacs.json
screenshot.png

README.md

Live Sun, Moon, and Planets for Home Assistant

hacs_badge

This is a custom component for Home Assistant that makes a live polar sun path chart for your location. Besides the Sun, it also 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!

Screenshot of the skyfield

This uses the skyfield library to do the computations.

To use:

  • Install this in your custom_components folder
  • Download the prerequisites: pip3 install skyfield matplotlib numpy
  • Add the following to your home assistant config:
camera:
    platform: ha_skyfield
  • Add a picture entity to your GUI with this camera. It will update live.

Inspiration comes from the University of Oregon Solar Radiation Monitoring Lab.

You can’t perform that action at this time.