dbudwin / RoboHome-Web

RoboHome-Web is the codebase that represents the frontend of the RoboHome project. The web interface provides a way to create users, add and manage devices, and an additional way to control devices. :robot: :house_with_garden:
GNU General Public License v3.0
8 stars 17 forks source link

Support tagging devices #76

Open dbudwin opened 7 years ago

dbudwin commented 7 years ago

Being able to tag devices (i.e. Downstairs Lights) will make controlling multiple devices simultaneously feasible. Currently, if there are two lights downstairs, I have to ask for each light to be turned on individually. This should be controlled via a single command like: "Alexa, turn on [tag name]."

dbudwin commented 7 years ago

This shouldn't be needed anymore. Alexa now supports adding groups of devices in their app that will accomplish this exactly. However, it may be useful to see if there is a way to determine which group a device belongs to and list it on the website.

MisterBrownRSA commented 7 years ago

Hi, I'd like to participate for Hacktoberfest credits. Is this still available ? Perhaps I can help :-)

dbudwin commented 7 years ago

Hi @MisterBrownRSA. Yes this card is still up for grabs! I haven't actively added it to Hacktoberfest for 2 reasons:

  1. I'm not sure if it's possible to get the "group" as they're called in the Alexa app through the API, this may require doing a little research
  2. I think issue #106 may be a prerequisite for this if it is possible to get the "groups"

But if you want to give this a shot, I couldn't encourage you more. I'm also open to making changes that don't have issues opened for them, we can just add the "Hacktoberfest" tag to the pull request. I see you're a full-stack PHP developer, I'm sure you could look around my codebase and find better, safer, more efficient ways change portions of the code, or write a test a little better.

Let me know how I can help, or if you want to toss an idea around.