On my 35 yo StarGate I implemented a very crude approximation of dawn and dusk time based on the time of year and an approximation from the published calculations I could find at the time. This approximation has served my needs. I now am attempting to re-implement this functionality and others I created in a very different home automation environment - Indigo. I am beginning to teach myself Python and I quickly realized what I now could do if I mastered this new (for me) programing environment.
1. Has anyone wrote a Python script that would calculate the dawn and dusk time in Indigo?
2. Has anyone requested that dawn and dusk times be included in Indigo just like Sunrise and Sunset times can be selected from a drop down?
I know that using a "luminescence" sensor can be used to give an actual light level but I like the idea of being able to use more that 1 bit of information to trigger a lighting event.
I did a search of dawn and dusk and a majority of the posts that my search returned had to do with getting Indigo Sunrise and Sunset times to work correctly. I hope I have not overlooked other relevant posts. If I have please forgive me.
Thank you.