Multiple devices#5
Open
jacksnodgrass wants to merge 7 commits intoangrychimp:masterfrom
Open
Conversation
…ght module )
added support for light/lamp modules
replaced door.php with use_MyQ_api.php
added help:
usage: ./use_MyQ_api.php <open|close|on|off|status|help> [name='device name']
Defaults to status
probably need to add / explain that on/off are for lamps/lights and open/close are for garage doors.
- jack
updated the readme file. updated the help info.
Fixed status being called with id=$
I don't have 2 gateways on my account, so I can't do a lot with devices on different gateways. The data returned for a gateway lists the devices associated with it. In theory. if you had 2 gateways, then devices would be assigned to one or the other.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added support for multiple devices and lamp/light modules.
This is my first branch / pull request on github.. not 100% sure what I am doing...