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

Interested in Advanced Features? #18

Closed
uudruid74 opened this issue Jul 5, 2018 · 2 comments
Closed

Interested in Advanced Features? #18

uudruid74 opened this issue Jul 5, 2018 · 2 comments

Comments

@uudruid74
Copy link
Contributor

I've been running my personal "advanced macro" branch for awhile now and just merged it to my "master". It contains a number of nifty features, such as being able to toggle a status variable to keep track of a device's status when the remote would normally toggle. Or you can ping a device to see if it's online before you turn it on. Conditional logic and loops are supported, external shell commands, parameter substitution, wake on lan, etc.

Rather than just rest API to send an IR command, it's more of a home automation middle-ware that sits between apps like IFTTT and your IR devices, capable of rather complex decisions. The existing settings file format remains the same.

Let me if you are interested and I can issue a PR, or just check out my repo and give it a whirl.

@radinsky
Copy link
Owner

radinsky commented Jul 8, 2018

It looks very nice, great job!

Regarding the PR, I think it will better to separate the kind of "low level" API for the basic functionality (http to broadlink) and maybe to add external extensions as packages for ifttt, google home and etc.

So it will be easy to "import" the extended functionality but you can keep clean the basic API.

@uudruid74
Copy link
Contributor Author

I'll have to consider how to modularize things, but the macro parsing and such are pretty fundamental. Next I plan on adding psuedo-variables for time of day and maybe GPIO control and look into threading it. Maybe I'll rename it, keeping a "based on code by ..." line since I imagine its going to be changing quite a bit

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

No branches or pull requests

2 participants