-
Notifications
You must be signed in to change notification settings - Fork 4
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
Request: pass details of source echo #10
Comments
Probably could hook into the Controller/LightController.cs class and modify the PUT function. You'd want to read the IP Address/mac address off of the requestor, then modify the url passed to the MakeHttpRequest function (which is what calls Vera). I take it you are aiming to be able to just say, Alexa, turn on the Lights, and then someone the system figures out which lights you are talking about. Why not just name the kitchen lights as Kitchen Lights and lounge lights as Lounge Lights and then simply say, Alexa turn on Kitchen Lights? or Alexa, turn on the Lounge Lights? Not sure how passing the MAC address to Vera is going to select the right light (unless you have some Luup code there). You'd be better off selecting a device from the bridge's device light using some switch statement. |
I don't actually use vera, so not sure how things work on there. I use your application to call a custom webservice which then fires out MQTT commands, so for me it'd be simple to identify the correct source device and then turn on the appropriate lights. I could call them lounge/kitchen/office/bedroom/gym lights, but it's much easier to just walk into a room and say "Alexa, lights!". (And for some reason Alexa doesn't recognise me saying "kitchen") |
Is this something you're considering adding? If not, I'll throw one of our developers some beers and see if they can modify it for me (Haven't touched C# for too many years) |
Hi,
This is a great application you have going here, however, would it be possible to include say the mac address or ip address of the source echo?
This would provide a simple way to control lights in my kitchen when the kitchen echo is used, lounge, bedroom etc.
Thanks
The text was updated successfully, but these errors were encountered: