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

Create new events/macros module #37

Closed
jacroe opened this issue Jan 11, 2013 · 2 comments
Closed

Create new events/macros module #37

jacroe opened this issue Jan 11, 2013 · 2 comments

Comments

@jacroe
Copy link
Owner

jacroe commented Jan 11, 2013

Events are like macros. It's a list of several things to do and can be called with one function call.

It's like a cross between modules and recipes.

jacroe added a commit that referenced this issue Jan 11, 2013
@jacroe
Copy link
Owner Author

jacroe commented Mar 27, 2013

Possibly use the api and store the events as JSON data?

@jacroe
Copy link
Owner Author

jacroe commented Apr 29, 2013

alice_macro_run("home") with a row in the modules database called macro_home and with

{"method":"X10.Do","params":{"device":"j2","action":"on"}}
{"method":"X10.Do","params":{"device":"j1","action":"on"}}

as data

@jacroe jacroe closed this as completed in 2823430 May 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant