AitorDB / home-assistant-sun-card

Home assistant sun card based on Google weather design
MIT License
407 stars 183 forks source link

Visualize Azimuth, Elevation and day length. #59

Open ACrazyConcept opened 3 years ago

ACrazyConcept commented 3 years ago

Very nice card. Good job!

It is not clear to me if the card actually changes the visualization of the elevation and/or length of the day. But it could be pretty nice if it was able to. And it would also be cool if the azimuth could somehow be visualized, since I have absolutely no intuition about what direction any particular azimuth value means. I'm not sure how that could be done in a simple way that does not disturb the simple design of the card as it is now. I have been using this site a couple of times to get a sense of the azimuth: http://www.suninfo.dk/solhojde/solhojde.php?lang=en Maybe there is some inspiration to get from that. image

AitorDB commented 3 years ago

Thanks for the words and the suggestions! About the first question, no, the graph lines does not change depending on length of the day or elevation, this card follows the one in google weather and as far as I'm concern that one doesn't do it. It could definitely be a interesting thing to have but I'm not yet that experienced with SVG to do it. If anyone as the knowledge I'd be more than happy to discuss implementation/PR about it.

About the azimuth, maybe an optional arrow icon or similar? 🤔