-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Pending events #195
Pending events #195
Conversation
Interesting! So the idea is that an Agent can schedule Events that will "appear" in the future. What are some example use cases? |
My driving motivation for this currently is an astronomy agent, which I will submit a pull request for once this is done. It checks weather underground automatically whenever the date changes and determines the sunrise and sunset times and schedules events for them so I trigger things based on those times. |
It feels like a better model would be to have either
being able to emit "future events" strikes me as a bit odd, although I understand that it completely meets your needs in this case. Would 1-3 work for you as well? |
I'll take a crack at trying 2. It's probably the most flexible approach. |
Hey @qedi-r, did you make any progress on this? Also, I'm curious to know more about how you're using Huginn. You said it's for astronomy? |
Hadn't had too much time to work in it as of late. I expect to have an agent tomorrow, though. The idea for this feature is for an agent that uses the wunderground astronomy API, ie an agent that can generate events at sunrise and sundown. This in turn triggers a Philips Hue Agent I have written that turns my porch lights on and off. I'm using this trial as an experiment to see if huginn can be the flexible master control I desire for my home. |
See pull request #197 |
An initial stab at issue #174
Still a couple of things to do, but I wanted to get some feedback first. Things I am aware of: