Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Automations based on future moon conditions during the entire night. #20

Open
ghuh opened this issue Dec 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ghuh
Copy link

ghuh commented Dec 19, 2024

Short summary

For my location, I want to know if the moon will ever be between a given Altitude and a given Azimuth during the night and with a given illumination

Detailed description

The use case here is that I know the Altitude range, Azimuth range, and an illumination min that the moon is at when it shines in the bedroom window into my wife's face. I want to close the automatic blinds when we go to bed if the moon will ever be in that position/brightness during the night. (Pretty cool use of home automation if I do say so myself!).

Obviously this request is challenging because it requires giving input into the equations in some way to know what conditions to check for. I'm relatively new to HomeAssistant so I'm not actually sure there is a good way to do this, but I was hoping you may know of a clever solution.

Thanks!

Examples 🖼️

No response

Additional context 🗒️

No response

@ghuh ghuh added the enhancement New feature or request label Dec 19, 2024
@ngocjohn
Copy link
Owner

Hi @ghuh, I think you can create an Input text helper and enter the value it requires in the automation. For example, with a value of 50 and automation, if the state sensor illuminance exceeds this value, close the blind and so on.
https://www.home-assistant.io/integrations/input_text/

Open your Home Assistant instance and show your helper entities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants