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!
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.
Optional configuration:
show_time
add a timestamp to the plotshow_legend
add a legend of the bodiesshow_constellations
enable or disable the constellationsplanet_list
customize which planets are shownconstellations_list
customize which constellations are shown
Inspiration comes from the University of Oregon Solar Radiation Monitoring Lab.