Re: [mh] MisterHouse and Echo integration
Brian Rudy via misterhouse-users <[email protected]> Tue, 11 Nov 2025 12:24:33 -0800
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============6091818003962180587== Content-Type: multipart/alternative; boundary="------------2AFITB0MoqdzAKCXdUzG52z0" Content-Language: en-US This is a multi-part message in MIME format. --------------2AFITB0MoqdzAKCXdUzG52z0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi all, Amazon decided to end-of-life the old Smart Home Skill v2 APIs in favor of the v3 APIs on November first of this year, so my original direct integration needed a bit of a refresh. For anyone still using this, my latest forwarder Lambda and handler for Misterhouse can be found in my Github repo here: https://github.com/rudybrian/IoT-Playground Cheers! -Brian On 2/3/2017 11:48 AM, Brian Rudy wrote: > Hi Craig, > > I'm glad you got things up and working! > > The only change I had to make to http_server.pl was committed to the > master branch as of 7635334 > <https://github.com/hollie/misterhouse/commit/9517046899291a6f84517d643aa08234ac4a0b8f>. > I discovered this when developing/testing alexa.pl using Postman, but > am not sure this is an issue that would manifest itself when using the > Lambda API proxies as I haven't dumped the headers that they are > sending.Before making the change, http_server.pl was stripping the > POST body (the JSON in this case) because it wasn't looking at the > correct header to get the Content-Length. > > What did you end up changing to get it working for you? > > > On 1/31/17 18:58, Craig wrote: >> Brian, >> >> Nice job putting this together. It was challenging to get it all >> working. I setup nginx on a raspberry pi for the reverse proxy. I >> can't imagine how hard it must have been to figure it out from >> scratch. I have followed all the steps and finally got it to work. I >> do have a question though. >> >> I kept getting errors when trying to post the discovery request. The >> error was due to http_server.pl <http://http_server.pl> not passing >> the JSON data to alexa.pl <http://alexa.pl>. I tweaked it to pass it >> on if the request was for bin/alexa.pl <http://alexa.pl>. Did you >> have to make any changes to http_server.pl <http://http_server.pl>? I >> would be interested what you did. Is this something that should be >> added to the release version of mh? >> >> Thanks for your work. With an echo and 3 dots, I finally have decent >> voice control of mh. >> >> -Craig >> >> >> On Wed, Jan 4, 2017 at 4:28 PM, Brian Rudy <[email protected]> wrote: >> >> Hi folks, >> >> Here are the full set of steps required to deploy the current >> working revision of the Alexa Smart Home API version of the MH >> integration that I have been working on. This ultimately belongs >> in the Wiki after development is finished. The setup is fairly >> involved and should only be undertaken if you have sufficient >> comfort in each of the functional areas. The Testing and >> Troubleshooting sections are incomplete, but there should be >> enough here to get you started. >> >> 1. Configuring your reverse proxy >> * See here: >> https://github.com/hollie/misterhouse/wiki/ReverseProxy >> <https://github.com/hollie/misterhouse/wiki/ReverseProxy> >> 2. Adding basic authentication to your reverse proxy >> 1. Create a password file and add a user (see >> https://httpd.apache.org/docs/current/programs/htpasswd.html >> <https://httpd.apache.org/docs/current/programs/htpasswd.html>) >> 2. For example: htpasswd /etc/httpd/.htpasswd-users jsmith >> 3. You will need to define the following in your config >> 1. AuthType Basic >> 2. AuthName "Authentication Required" >> 3. AuthUserFile "/etc/httpd/.htpasswd-users" >> 3. After completing the previous two steps, you should have an >> Apache configuration like the following from Apache 2.2: >> * # Reverse proxy for Misterhouse >> ProxyRequests off >> ProxyHTMLEnable On >> ProxyPass /mh/ http://my.misterhouse.ip:8080/ >> <http://my.misterhouse.ip:8080/> >> ProxyHTMLURLMap http://my.misterhouse.ip:8080 >> <http://my.misterhouse.ip:8080> /mh >> >> <Location /mh/> >> AuthType Basic >> AuthName "Authentication Required" >> AuthUserFile "/etc/httpd/.htpasswd-users" >> Require valid-user >> ProxyPassReverse / >> ProxyHTMLEnable On >> SetOutputFilter proxy-html >> ProxyHTMLURLMap / /mh/ >> ProxyHTMLURLMap /mh /mh >> RequestHeader unset Accept-Encoding >> </Location> >> 4. DDNS >> * If you do not have a static public IP address, you will >> need to use DDNS so that you can use a hostname to reach >> your reverse proxy. Configuration and setup of DDNS is >> beyond the scope of this document. >> 5. Obtaining an SSL certificate >> * You will need to obtain an SSL certificate for your >> reverse proxy >> * There are many places that will happily sell you an SSL >> certificate, or you can use a free certificate from Let's >> Encrypt (https://letsencrypt.org <https://letsencrypt.org>) >> * Self-signed certificates may work as well, but are >> untested and are not recommended. >> 6. Setting up HTTPS support on your reverse proxy >> * Once you have your SSL certificate, you will need to >> install it on your reverse proxy. >> * An example configuration for Apache 2.2 is shown below: >> o SSLCertificateFile >> /etc/pki/tls/certs/my.misterhousehost.com.crt >> SSLCertificateKeyFile >> /etc/pki/tls/private/my.misterhousehost.com.key >> SSLCertificateChainFile >> /etc/pki/tls/certs/my.misterhousehost.com-chain.pem >> 7. Firewall >> * Your firewall will need to forward TCP port 443 to your >> reverse proxy to allow the HTTPS requests through. >> 8. Setting up Login with Amazon >> 1. Smart Home Skills require an OAuth 2.0 provider. To >> simplify the integration, I recommend the use of the >> Login with Amazon service available in the Amazon >> Developer portal: >> https://developer.amazon.com/login-with-amazon >> <https://developer.amazon.com/login-with-amazon> >> 2. Create a new security profile per the instructions here: >> https://stackoverflow.com/questions/37512303/whats-an-easy-way-to-setup-oauth-for-an-amazon-alexa-connected-home-skill >> <https://stackoverflow.com/questions/37512303/whats-an-easy-way-to-setup-oauth-for-an-amazon-alexa-connected-home-skill> >> 1. You will need to copy the Client ID and Client Secret >> values from your security profile into the Skill >> Adapter settings in step 9. >> 2. You will also need top copy the Redirect URLs >> (usually there are two) from step 9 into the Web >> Settings of your security profile once your Skill >> Adapter is created. >> 9. Creating the Alexa Skill >> 1. Log in to the Amazon developer console here: >> https://developer.amazon.com <https://developer.amazon.com> >> 2. Select ALEXA, and then click Get Started > under the >> Alexa Skills Kit >> 3. Click Add a New Skill >> 4. In Skill Information >> 1. Select a Skill Type of Smart Home Skill API >> 2. Select a name (this is arbitrary, but cannot overlap >> with existing skill names) >> 3. Click Next >> 5. In Configuration >> 1. Set the Authorization URL to >> https://www.amazon.com/ap/oa >> <https://www.amazon.com/ap/oa> >> 2. Change the Client Id to the Client Id created in Step 8 >> 3. Create a new Scope of "profile:user_id" >> 4. Set the Access Token URI to >> https://api.amazon.com/auth/o2/token >> <https://api.amazon.com/auth/o2/token> >> 5. Set the Client Secret to the Client Secret created in >> Step 8 >> 6. Copy each of the Redirect URLs to the Web Settings of >> your Login With Amazon security profile from step 8 >> 7. Enter a Privacy Policy URL (this is arbitrary, but is >> required for account linking) >> 8. Click Save >> 9. Your skill is not yet complete, as you need to enter >> the Endpoint ARN you will create in step 10. >> 10. Check the North America region and enter the ARN you >> created in step 10, then click Next >> 11. The Configuration section should now have a green >> checkmark >> 12. In Test, click Show this skill in the Alexa App >> 10. Setting up AWS Lambda Skill Adapter Function >> 1. Log into the AWS console: https://console.aws.amazon.com >> <https://console.aws.amazon.com> >> 2. Familiarize yourself with the steps required to create a >> Smart Home skill as show here: >> https://developer.amazon.com/blogs/post/Tx34M7F8Z8U7U8B/Creating-Your-First-Alexa-Smart-Home-Skill >> <https://developer.amazon.com/blogs/post/Tx34M7F8Z8U7U8B/Creating-Your-First-Alexa-Smart-Home-Skill> >> >> 1. Note: This is only for reference, as we will be >> creating a skill adapter in JavaScript with Node.js >> 3. To create the MisterHouse forwarder function, in Lambda >> select Create new Function. >> 1. Change your Region to US East (N.Virginia). This is >> the only region that currently supports the Alexa >> Smart Home API. >> 2. Search for "home". This should return two blueprints. >> Select the "alexa-smart-home-skill-adapter" >> 3. Enter the Application Id from your skill created in >> step 9, and select Create Trigger >> 4. In the Configure Function screen >> 1. Name your function (this is arbitrary), and >> update the description as you see fit >> 2. Replace the Lambda function code with the code >> from here: >> https://raw.githubusercontent.com/rudybrian/IoT-Playground/master/AWS-Lambda/MisterHouse-alexa-smart-home-skill-api-forwarder.js >> <https://raw.githubusercontent.com/rudybrian/IoT-Playground/master/AWS-Lambda/MisterHouse-alexa-smart-home-skill-api-forwarder.js> >> 3. Edit the REMOTE_CLOUD_HOSTNAME and auth >> parameters per your hostname and credentials >> * For example: >> o var REMOTE_CLOUD_HOSTNAME = >> 'my.misterhousehost.com >> <http://my.misterhousehost.com>'; >> o auth: 'jsmith:jsmithspassword', >> 4. Create a new custom role >> 1. Select IAM Role of lambda_basic_execution >> 2. and a Policy Name of "Create a new Role Policy" >> 3. Click Allow >> 5. Once the custom role is created >> 1. Select Role: "Choose and existing role" >> 2. Select Existing role: "lambda_basic_execution" >> 6. In Advanced settings >> 1. Change the Memory (MB) from 512 to 128. >> 7. Click Next >> 5. Click Create function >> 6. Copy the ARN (in the upper right-hand corner of the >> screen) to the Endpoint in your Skill from step 9. >> 11. Grab a copy of the latest web/bin/alexa.pl <http://alexa.pl> >> from my GitHub repo here: >> https://raw.githubusercontent.com/rudybrian/misterhouse/add_alexa_smart_home_support/web/bin/alexa.pl >> <https://raw.githubusercontent.com/rudybrian/misterhouse/add_alexa_smart_home_support/web/bin/alexa.pl> >> and install on your MH instance. >> 1. Edit the $list_name variable to point to the group or >> type of items you wish to expose to Alexa. >> 12. Testing >> 1. Testing web/bin/alexa.pl <http://alexa.pl> >> 1. You can use Postman to test interaction with MisterHouse. >> 1. Select POST, and enter the URL on your local >> network to alexa.pl <http://alexa.pl> >> 1. For example: >> http://my.misterhouse.ip:8080/bin/alexa.pl >> <http://my.misterhouse.ip:8080/bin/alexa.pl> >> 2. In Body >> 1. Select raw and JSON (application/json) >> 2. in the POST body enter a Discovery >> request such as the following >> * { >> "header": { >> "messageId": >> "6d6d6e14-8aee-473e-8c24-0d31ff9c17a2", >> "name": >> "DiscoverAppliancesRequest", >> "namespace": >> "Alexa.ConnectedHome.Discovery", >> "payloadVersion": "2" >> }, >> "payload": { >> "accessToken": "blah" >> } >> } >> * Click Send, and you should see a JSON >> response with an array of your >> discoveredAppliances in the payload >> 2. Testing HTTPS >> 3. Testing the MH reverse proxy >> 4. Testing the Lambda skill adapter >> 1. Log into the AWS console, and select the Lambda >> function you created in step 10. >> 2. Under the Actions drop-down, select "Configure test >> event" >> 3. In "Input test event" >> 1. Select Sample event template of "Alexa Smart Home >> - Control" >> 2. In the text box, enter the same JSON you used to >> test web/bin/alexa.pl <http://alexa.pl> >> 3. Click Save and test >> 4. In the response you should see the same JSON >> response you saw when testing web/bin/alexa.pl >> <http://alexa.pl> >> 5. Testing from http://alexa.amazon.com/ >> <http://alexa.amazon.com/> >> 1. Click on Skills, then click Your Skills >> 2. You should see the Skill you created in step 9, with >> "Account linking required" next to it >> 3. Click on your skill >> 4. Log in with your Amazon credentials >> 1. After login your skill should be activated >> 5. Go to the Smart Home section >> 6. Click on Discover Devices (you can also ask Alexa to >> discover devices) >> 1. You should now see the list of devices as shown >> when testing the Lambda Skill adapter >> 2. You can now ask "Alexa turn on {friendlyName}" >> 13. Troubleshooting >> >> >> Have fun! >> >> -Brian >> >> >> >> On 1/3/17 17:27, Brian Rudy wrote: >>> >>> Hi folks, >>> >>> Thanks to Wayne's hard work and the flexibility of OSS, we now >>> have two choices for directly integrating our Amazon Echos (and >>> select 3rd party devices with AVS API implementations >>> <https://developer.amazon.com/alexa-voice-service>) with >>> MisterHouse! >>> >>> Since there are two separate implementations, I thought I would >>> provide a high-level overview of them both. >>> >>> Each implementation has it's strengths and weaknesses, and you >>> can choose which works best for you. Both implementations >>> currently use the same Alexa Smart Home intent schema, which >>> constrains voice interaction to control devices by 'actions' of >>> the type on/off, percent, temperature and increase/decrease. >>> Voice responses are limited to "Ok" or, on error, a specific >>> error response. Both implementations require Internet >>> connectivity. Discovered devices are visible in the Smart Home >>> section of the Alexa app on your iOS/Android devices as well as >>> http://alexa.amazon.com#smart-home >>> <http://alexa.amazon.com#smart-home>, and can be added to groups >>> which allow control of multiple devices in the group with a >>> single intent (utterance). >>> >>> Wayne's implementation emulates a Phillips Hue bridge, which >>> uses SSDP for device discovery over the local network (between >>> an Echo and MisterHouse). Since MisterHouse is emulating a Hue >>> bridge, other IoT devices that support interacting with Hue >>> lights (Google Home, Logitech Harmony, etc) should also work. >>> The network flow for control commands is as follows: "voice >>> input"->Echo (local network)->Amazon AVS (cloud)->Echo (local >>> network)->MisterHouse (local network)->Controlled devices >>> (device-specific). With this implementation you don't need to >>> open up your home network to inbound external access. Wayne, >>> please feel free to correct or fill in anything I have stated >>> incorrectly or might have missed :) >>> >>> The implementation that I have been working on interacts >>> directly with Amazon's official Alexa Smart Home API and >>> discovers the MH-defined devices (objects) that support state >>> changes of the same state 'actions' supported by the Amazon >>> Smart Home API. This implementation works by using an AWS Lambda >>> hosted service that forwards all the Alexa Smart Home API >>> requests directly from Amazon's Voice Services through to >>> MisterHouse unaltered. web/bin/alexa.pl <http://alexa.pl> acts >>> upon these requests and responds back to the Lambda hosted >>> service, which in turn forwards that response back to the Smart >>> Home API. It requires that the Lambda hosted service is able to >>> reach MisterHouse via an authenticated HTTPS request. Since MH >>> doesn't natively support HTTPS, you will need to have an HTTPS >>> reverse proxy >>> <https://github.com/hollie/misterhouse/wiki/ReverseProxy> with >>> (basic) authentication at the edge of your network to handle the >>> requests and forward them to MH. The network flow for control >>> commands is as follows: "voice input"->Echo (local >>> network)->Amazon AVS (cloud)->AWS Lambda (cloud)->HTTPS reverse >>> proxy (local network)->MisterHouse (local network)->Controlled >>> devices (device-specific) >>> >>> Cheers! >>> -Brian >>> >>> On 12/31/16 00:25, Brian Rudy wrote: >>>> >>>> Thanks to the extra time permitted by the holidays I finally >>>> have both the discovery and control functionality working to a >>>> minimal degree. The simple HTTPS forwarder AWS Lambda code (in >>>> JavaScript for Node.js) I am using can be found here: >>>> https://github.com/rudybrian/IoT-Playground/blob/master/AWS-Lambda/MisterHouse-alexa-smart-home-skill-api-forwarder.js >>>> <https://github.com/rudybrian/IoT-Playground/blob/master/AWS-Lambda/MisterHouse-alexa-smart-home-skill-api-forwarder.js> >>>> >>>> To pair down the list of eligible devices during discovery, the >>>> given group (I used "Lights" for testing) object members are >>>> inspected for those that have possible states of "on" (for >>>> on/off) and 80% (for those that support percentage). These >>>> "actions" are provided back to the Alexa Smart Home API in the >>>> DiscoverAppliancesResponse. Currently I only have the turnOn >>>> and turnOff actions working, with the rest of the actions >>>> stubbed out. If you want to have a look, I have the MH code in >>>> my add_alexa_smart_home_support branch here: >>>> https://github.com/rudybrian/misterhouse/tree/add_alexa_smart_home_support >>>> <https://github.com/rudybrian/misterhouse/tree/add_alexa_smart_home_support> >>>> >>>> To use this as-is, you will need a reverse proxy setup with >>>> authentication to handle the inbound HTTPS requests from AWS >>>> and forward them on to MH. >>>> >>>> A great deal still needs to be added, but it is working, and >>>> seems to do so fairly well. >>>> >>>> >>>> Cheers! >>>> -Brian >>>> >>>> On 12/26/16 16:30, Brian Rudy wrote: >>>>> >>>>> Thanks Wayne, >>>>> >>>>> Most aspects that power the Echo (including NLP/NLU via AVS) >>>>> are hosted at Amazon, so there is a certain amount of cloud >>>>> connectivity that is unavoidable with the Echo and kin. I too >>>>> would prefer hosting everything within my own private network, >>>>> but thus far the main thrust of commercial IoT solutions are >>>>> cloud-based, and it looks like that ship has sailed. >>>>> >>>>> What I am looking to do would have a minimal forwarding layer >>>>> in AWS Lambda (currently the only supported endpoint for the >>>>> Smart Home skill type) and perform the rest of the logic >>>>> natively in Perl with MH. I was able to stub out some simple >>>>> simple Discovery and Control functions earlier today using the >>>>> Login with Amazon OAuth provider to provide account pairing >>>>> and a hacked up version of the Smart Home skill adapter sample >>>>> (which needed updating to support the current >>>>> Alexa.ConnectedHome message format in place of the Alexa >>>>> Lighting API that has now been deprecated) >>>>> >>>>> I haven't figured out how to handle selective device discovery >>>>> either, but my current thoughts are to do this by filtering >>>>> out devices that are not capable of the the supported list of >>>>> Smart Home API 'actions' (setTargetTemperature, >>>>> incrementTargetTemperature, decrementTargetTemperature, >>>>> setPercentage, incrementPercentage, decrementPercentage, >>>>> turnOff, turnOn) >>>>> >>>>> I'll keep fiddling with this as time permits, but am happy to >>>>> test anything you would like another set of eyes on. >>>>> >>>>> >>>>> Happy holidays! >>>>> -Brian >>>>> >>>>> >>>>> On 12/23/16 06:20, Wayne Gatlin wrote: >>>>>> My problem with the skills is that they have to be hosted at >>>>>> Amazon which means adding latency for internet traversal and >>>>>> being dependent on my internet connectivity for my home >>>>>> functions to work. I am not a fan on cloud hosting for my HA >>>>>> stuff. >>>>>> >>>>>> I have been working on a perl implementation of the hue api >>>>>> emulation that is integrated into Misterhouse which means you >>>>>> will be able to select the objects in MH that you want to >>>>>> present to alexa for discovery. I haven't decided on the best >>>>>> way to do this yet. >>>>>> >>>>>> I think the limitation is 25 devices per tcp port (emulated >>>>>> hue bridge), so I plan to just add more ports (configurable >>>>>> in mh) and look at the port the request comes in on and >>>>>> respond with that set of devices. >>>>>> >>>>>> >>>>>> I'll upload to git once I have something ready to start testing. >>>>>> >>>>>> >>>>>> On Thu, Dec 22, 2016 at 7:34 PM, Brian Rudy >>>>>> <[email protected]> wrote: >>>>>> >>>>>> Thanks Wayne, >>>>>> >>>>>> I just picked up a few of the 2nd generation Echo dots to >>>>>> cover the house during Amazon's black Friday sale and >>>>>> have only just stated playing with them using the native >>>>>> ecobee integration and IFTTT. I have done a small amount >>>>>> of research into the ASK and developing Alexa skills with >>>>>> the skills SDK using nodejs/Lambda, but haven't been able >>>>>> to put much time into it yet. >>>>>> >>>>>> I too have no desire to run a Java app alongside >>>>>> MisterHouse and now that formal Alexa Smart Home Skill >>>>>> API specs have been released, I think we can do better >>>>>> natively than what is possible using the Hue API with an >>>>>> external bridge. The mechanics of how to communicate will >>>>>> differ a bit (must use an OAuth 2.0 provider and have >>>>>> open access from Amazon to communicate via HTTPS with >>>>>> MH), but this opens up considerably more possibilities. A >>>>>> few major ones that come to mind are true device >>>>>> discovery (not needing to hard-code MH URLs) and >>>>>> increasing the device limit (up to 300) inherent in the >>>>>> Hue API (up to 75 in batches of 25). >>>>>> >>>>>> I have limited time to play with MH stuff these days, but >>>>>> hope to spend a few hours over the holidays tinkering >>>>>> with this. >>>>>> >>>>>> >>>>>> Cheers! >>>>>> >>>>>> -Brian >>>>>> >>>>>> >>>>>> >>>>>> On 12/9/16 22:50, Wayne Gatlin wrote: >>>>>>> I know this is an old thread, but I am getting an echo >>>>>>> and I have started working on the native perl code to >>>>>>> integrate the echo with Misterhouse via upnp emulating a >>>>>>> hue bridge like the amazon-echo-bridge does. This will >>>>>>> eliminate having to run the external java >>>>>>> amazon-echo-bridge which seems to be CPU intensive and >>>>>>> cumbersome. >>>>>>> >>>>>>> I don't have the echo yet, so in order to move on I need >>>>>>> a quick network capture of the echo discovering the >>>>>>> bridge and sending a few commands to a light or 2 using >>>>>>> the amazon-echo-bridge. >>>>>>> >>>>>>> I have also been reading that google home will work with >>>>>>> the amazon-echo-bridge, it just has to be set to port >>>>>>> 80. Could some one test that? If it does work, send me a >>>>>>> capture of that as well? This would be a direct local >>>>>>> option which is much better than the cloud methods. >>>>>>> >>>>>>> I also have to figure out a good way to select which >>>>>>> objects or voice commands are presented to the echo >>>>>>> because from what I see only 25 devices per bridge is >>>>>>> supported and from what I can tell its only on or off >>>>>>> commands. It looks like I can get around that by using >>>>>>> multiple virtual bridges, but some MH systems will >>>>>>> likely have hundreds of objects/voice commands so a >>>>>>> method of selecting/mapping will be needed. >>>>>>> >>>>>>> _Wayne >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Sun, Aug 9, 2015 at 9:42 AM, Craig >>>>>>> <[email protected]> wrote: >>>>>>> >>>>>>> I finally got this running under windows on my mh >>>>>>> server (had to use Chrome with the >>>>>>> --disable-web-security flag to add devices). Very >>>>>>> cool, but does require you to add each command as a >>>>>>> device. Does anybody know how hard it would be to >>>>>>> set up a bridge where you could pass any mh voice >>>>>>> command? I would love to see the bridge >>>>>>> functionality in a mh module. >>>>>>> >>>>>>> On Fri, Jul 3, 2015 at 8:01 AM, Timothy Spaulding >>>>>>> <[email protected]> wrote: >>>>>>> >>>>>>> I can claim success now. >>>>>>> >>>>>>> My problem was with using Internet Explorer on >>>>>>> the web page to configure the devices. >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: Timothy Spaulding >>>>>>> [mailto:[email protected]] >>>>>>> Sent: Thursday, July 2, 2015 6:43 PM >>>>>>> To: The main list for the MisterHouse home >>>>>>> automation program >>>>>>> Subject: Re: [mh] MisterHouse and Echo integration >>>>>>> >>>>>>> Tom, >>>>>>> >>>>>>> Thanks for posting this and your steps. >>>>>>> >>>>>>> I am trying it out, but I am getting stuck at >>>>>>> the point of adding devices. >>>>>>> >>>>>>> I have added my bridge; >>>>>>> htttp://autopi:8080/api/devices Added a name: >>>>>>> Upstairs Landing Lights (have also tried with >>>>>>> just a single word for the name) Added the >>>>>>> on/off URLs; >>>>>>> http://house/set?$Upstairs_Landing_Lights?on >>>>>>> <http://house/set?$Upstairs_Landing_Lights?on> >>>>>>> (that URL works all by itself as well). >>>>>>> >>>>>>> When I click on add, I don't get anything. No >>>>>>> device is added. >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: Tom [mailto:[email protected]] >>>>>>> Sent: Monday, June 29, 2015 4:55 PM >>>>>>> To: The main list for the MisterHouse home >>>>>>> automation program >>>>>>> Subject: [mh] MisterHouse and Echo integration >>>>>>> >>>>>>> I've also added this info to the wiki... >>>>>>> https://github.com/hollie/misterhouse/wiki/Echo-integration-using-amazon-echo-ha-bridge >>>>>>> <https://github.com/hollie/misterhouse/wiki/Echo-integration-using-amazon-echo-ha-bridge> >>>>>>> --------------------------------------------- >>>>>>> >>>>>>> I found the following bridge which allows the >>>>>>> echo to control pretty much any device. >>>>>>> >>>>>>> It works with the on off commands.. >>>>>>> >>>>>>> ie: >>>>>>> Alexa turn on my kitchen lights >>>>>>> Alexa turn off my kitchen lights >>>>>>> >>>>>>> She simply responds with "OK" and since it's >>>>>>> handled locally, it is fast. In most cases, my >>>>>>> lights are on/off before she finishes saying OK >>>>>>> >>>>>>> >>>>>>> You need to include the URL for the on/off >>>>>>> commands.. the URL could be a Perl script to >>>>>>> kick off more than a simple lights on/off command >>>>>>> >>>>>>> >>>>>>> https://github.com/armzilla/amazon-echo-ha-bridge >>>>>>> <https://github.com/armzilla/amazon-echo-ha-bridge> >>>>>>> >>>>>>> the requires Java 8 >>>>>>> >>>>>>> here's a description from the github page: >>>>>>> >>>>>>> ----------- >>>>>>> emulates philips hue api to other home >>>>>>> automation gateways. The Amazon echo now >>>>>>> supports wemo and philip hue... great news if >>>>>>> you own any of those devices! My house is pretty >>>>>>> heavily invested in the z-wave using the Vera as >>>>>>> the gateway and thought it would be nice bridge >>>>>>> the Amazon Echo to it. >>>>>>> >>>>>>> Register a device, bind to some sort of on/off >>>>>>> (vera style) url >>>>>>> ----------- >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Here are the steps I used to install the bridge >>>>>>> on my Synology >>>>>>> >>>>>>> ------------------------------------------------------------------------ >>>>>>> >>>>>>> Amazon Echo HA Bridge install on Synology (it >>>>>>> can be run on pretty much anything.. include Pi's) >>>>>>> >>>>>>> mkdir >>>>>>> /volume1/@appstore/Amazon_Echo_HA_Bridge/ >>>>>>> >>>>>>> cd >>>>>>> /volume1/@appstore/Amazon_Echo_HA_Bridge/ >>>>>>> >>>>>>> curl >>>>>>> https://github.com/armzilla/amazon-echo-ha-bridge/releases/download/v0.1.3/amazon-echo-bridge-0.1.3.jar >>>>>>> <https://github.com/armzilla/amazon-echo-ha-bridge/releases/download/v0.1.3/amazon-echo-bridge-0.1.3.jar> >>>>>>> >>>>>>> vi listen.sh >>>>>>> hohup java -jar amazon-echo-bridge-0.1.3.jar >>>>>>> --upnp.config.address=<synology IP> >> >>>>>>> /volume1/@appstore/Amazon_Echo_HA_Bridge/log/amazon_bridge.log >>>>>>> & >>>>>>> >>>>>>> (to specify port, add --server.port=yyyy ie: >>>>>>> java -jar >>>>>>> amazon-echo-bridge-0.1.3.jar >>>>>>> --upnp.config.address=<synology IP> >>>>>>> --server.port=yyyy) >>>>>>> >>>>>>> chmod +x listen.sh >>>>>>> >>>>>>> sh listen.sh >>>>>>> >>>>>>> logs are in >>>>>>> /volume1/@appstore/Amazon_Echo_HA_Bridge/log/amazon_bridge.log >>>>>>> >>>>>>> >>>>>>> add/remove devices: >>>>>>> http://<synology IP>:8080/configurator.html >>>>>>> >>>>>>> ----------- >>>>>>> Bridge server: update the address with your >>>>>>> server IP.. i.e.: >>>>>>> http://<synology IP>:8080/api/devices >>>>>>> >>>>>>> >>>>>>> Add a new device >>>>>>> >>>>>>> Name: ie: Kitchen >>>>>>> >>>>>>> On URL: http://<Misterhouse >>>>>>> IP>/ia5/set?$kitchen_light=on >>>>>>> Off URL: http://<Misterhouse >>>>>>> IP>/ia5/set?$kitchen_light=off >>>>>>> >>>>>>> >>>>>>> --------- >>>>>>> >>>>>>> go to echo settings >>>>>>> http://echo.amazon.com/#settings/connected-home >>>>>>> <http://echo.amazon.com/#settings/connected-home> >>>>>>> and have her Discover Devices >>>>>>> >>>>>>> or simply say >>>>>>> >>>>>>> "Alexa discover devices" >>>>>>> >>>>>>> --------------------------------------------------------------------------------------- >>>>>>> >>>>>>> Now you should be able to control your devices >>>>>>> as follows: >>>>>>> >>>>>>> Alexa turn on/off <name> >>>>>>> >>>>>>> Alexa turn on my kitchen light >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Don't Limit Your Business. Reach for the Cloud. >>>>>>> GigeNET's Cloud Solutions provide you with the >>>>>>> tools and support that you need to offload your >>>>>>> IT needs and focus on growing your business. >>>>>>> Configured For All Businesses. Start Your Cloud >>>>>>> Today. >>>>>>> https://www.gigenetcloud.com/ >>>>>>> ________________________________________________________ >>>>>>> To unsubscribe from this list, go to: >>>>>>> https://lists.sourceforge.net/lists/listinfo/misterhouse-users >>>>>>> <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Don't Limit Your Business. Reach for the Cloud. >>>>>>> GigeNET's Cloud Solutions provide you with the >>>>>>> tools and support that you need to offload your >>>>>>> IT needs and focus on growing your business. >>>>>>> Configured For All Businesses. Start Your Cloud >>>>>>> Today. >>>>>>> https://www.gigenetcloud.com/ >>>>>>> ________________________________________________________ >>>>>>> To unsubscribe from this list, go to: >>>>>>> https://lists.sourceforge.net/lists/listinfo/misterhouse-users >>>>>>> <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Don't Limit Your Business. Reach for the Cloud. >>>>>>> GigeNET's Cloud Solutions provide you with the >>>>>>> tools and support that >>>>>>> you need to offload your IT needs and focus on >>>>>>> growing your business. >>>>>>> Configured For All Businesses. Start Your Cloud >>>>>>> Today. >>>>>>> https://www.gigenetcloud.com/ >>>>>>> ________________________________________________________ >>>>>>> To unsubscribe from this list, go to: >>>>>>> https://lists.sourceforge.net/lists/listinfo/misterhouse-users >>>>>>> <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> -Craig >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> >>>>>>> ________________________________________________________ >>>>>>> To unsubscribe from this list, go to: >>>>>>> https://lists.sourceforge.net/lists/listinfo/misterhouse-users >>>>>>> <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Developer Access Program for Intel Xeon Phi Processors >>>>>>> Access to Intel Xeon Phi processor-based developer platforms. >>>>>>> With one year of Intel Parallel Studio XE. >>>>>>> Training and support from Colfax. >>>>>>> Order your platform today.http://sdm.link/xeonphi >>>>>>> >>>>>>> ________________________________________________________ >>>>>>> To unsubscribe from this list, go to:https://lists.sourceforge.net/lists/listinfo/misterhouse-users <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >>>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Developer Access Program for Intel Xeon Phi Processors >>>>>> Access to Intel Xeon Phi processor-based developer >>>>>> platforms. With one year of Intel Parallel Studio XE. >>>>>> Training and support from Colfax. Order your platform >>>>>> today.http://sdm.link/intel >>>>>> ________________________________________________________ >>>>>> To unsubscribe from this list, go to: >>>>>> https://lists.sourceforge.net/lists/listinfo/misterhouse-users >>>>>> <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >>>>>> >>>>>> >>>>>> On Thu, Dec 22, 2016 at 7:34 PM, Brian Rudy >>>>>> <[email protected]> wrote: >>>>>> >>>>>> Thanks Wayne, >>>>>> >>>>>> I just picked up a few of the 2nd generation Echo dots to >>>>>> cover the house during Amazon's black Friday sale and >>>>>> have only just stated playing with them using the native >>>>>> ecobee integration and IFTTT. I have done a small amount >>>>>> of research into the ASK and developing Alexa skills with >>>>>> the skills SDK using nodejs/Lambda, but haven't been able >>>>>> to put much time into it yet. >>>>>> >>>>>> I too have no desire to run a Java app alongside >>>>>> MisterHouse and now that formal Alexa Smart Home Skill >>>>>> API specs have been released, I think we can do better >>>>>> natively than what is possible using the Hue API with an >>>>>> external bridge. The mechanics of how to communicate will >>>>>> differ a bit (must use an OAuth 2.0 provider and have >>>>>> open access from Amazon to communicate via HTTPS with >>>>>> MH), but this opens up considerably more possibilities. A >>>>>> few major ones that come to mind are true device >>>>>> discovery (not needing to hard-code MH URLs) and >>>>>> increasing the device limit (up to 300) inherent in the >>>>>> Hue API (up to 75 in batches of 25). >>>>>> >>>>>> I have limited time to play with MH stuff these days, but >>>>>> hope to spend a few hours over the holidays tinkering >>>>>> with this. >>>>>> >>>>>> Cheers! >>>>>> >>>>>> -Brian >>>>>> >>>>>> On 12/9/16 22:50, Wayne Gatlin wrote: >>>>>>> I know this is an old thread, but I am getting an echo >>>>>>> and I have started working on the native perl code to >>>>>>> integrate the echo with Misterhouse via upnp emulating a >>>>>>> hue bridge like the amazon-echo-bridge does. This will >>>>>>> eliminate having to run the external java >>>>>>> amazon-echo-bridge which seems to be CPU intensive and >>>>>>> cumbersome. >>>>>>> I don't have the echo yet, so in order to move on I need >>>>>>> a quick network capture of the echo discovering the >>>>>>> bridge and sending a few commands to a light or 2 using >>>>>>> the amazon-echo-bridge. >>>>>>> I have also been reading that google home will work with >>>>>>> the amazon-echo-bridge, it just has to be set to port >>>>>>> 80. Could some one test that? If it does work, send me a >>>>>>> capture of that as well? This would be a direct local >>>>>>> option which is much better than the cloud methods. >>>>>>> I also have to figure out a good way to select which >>>>>>> objects or voice commands are presented to the echo >>>>>>> because from what I see only 25 devices per bridge is >>>>>>> supported and from what I can tell its only on or off >>>>>>> commands. It looks like I can get around that by using >>>>>>> multiple virtual bridges, but some MH systems will >>>>>>> likely have hundreds of objects/voice commands so a >>>>>>> method of selecting/mapping will be needed. >>>>>>> _Wayne >>>>>>> On Sun, Aug 9, 2015 at 9:42 AM, Craig >>>>>>> <[email protected]> wrote: >>>>>>> >>>>>>> I finally got this running under windows on my mh >>>>>>> server (had to use Chrome with the >>>>>>> --disable-web-security flag to add devices). Very >>>>>>> cool, but does require you to add each command as a >>>>>>> device. Does anybody know how hard it would be to >>>>>>> set up a bridge where you could pass any mh voice >>>>>>> command? I would love to see the bridge >>>>>>> functionality in a mh module. >>>>>>> On Fri, Jul 3, 2015 at 8:01 AM, Timothy Spaulding >>>>>>> <[email protected]> wrote: >>>>>>> >>>>>>> I can claim success now. My problem was with >>>>>>> using Internet Explorer on the web page to >>>>>>> configure the devices. -----Original >>>>>>> Message----- From: Timothy Spaulding >>>>>>> [mailto:[email protected]] Sent: Thursday, >>>>>>> July 2, 2015 6:43 PM To: The main list for the >>>>>>> MisterHouse home automation program >>>>>>> Subject: Re: [mh] MisterHouse and Echo >>>>>>> integration Tom, Thanks for posting this and >>>>>>> your steps. I am trying it out, but I am getting >>>>>>> stuck at the point of adding devices. I have >>>>>>> added my bridge; htttp://autopi:8080/api/devices >>>>>>> Added a name: Upstairs Landing Lights (have also >>>>>>> tried with just a single word for the name) >>>>>>> Added the on/off URLs; >>>>>>> http://house/set?$Upstairs_Landing_Lights?on >>>>>>> <http://house/set?$Upstairs_Landing_Lights?on> >>>>>>> (that URL works all by itself as well). When I >>>>>>> click on add, I don't get anything. No device is >>>>>>> added. -----Original Message----- From: Tom >>>>>>> [mailto:[email protected]] Sent: Monday, June >>>>>>> 29, 2015 4:55 PM To: The main list for the >>>>>>> MisterHouse home automation program Subject: >>>>>>> [mh] MisterHouse and Echo integration I've also >>>>>>> added this info to the wiki... >>>>>>> https://github.com/hollie/misterhouse/wiki/Echo-integration-using-amazon-echo-ha-bridge >>>>>>> <https://github.com/hollie/misterhouse/wiki/Echo-integration-using-amazon-echo-ha-bridge> >>>>>>> --------------------------------------------- I >>>>>>> found the following bridge which allows the echo >>>>>>> to control pretty much any device. It works with >>>>>>> the on off commands.. ie: Alexa turn on my >>>>>>> kitchen lights Alexa turn off my kitchen lights >>>>>>> She simply responds with "OK" and since it's >>>>>>> handled locally, it is fast. In most cases, my >>>>>>> lights are on/off before she finishes saying OK >>>>>>> You need to include the URL for the on/off >>>>>>> commands.. the URL could be a Perl script to >>>>>>> kick off more than a simple lights on/off >>>>>>> command >>>>>>> https://github.com/armzilla/amazon-echo-ha-bridge >>>>>>> <https://github.com/armzilla/amazon-echo-ha-bridge> >>>>>>> the requires Java 8 here's a description from >>>>>>> the github page: ----------- emulates philips >>>>>>> hue api to other home automation gateways. The >>>>>>> Amazon echo now supports wemo and philip hue... >>>>>>> great news if you own any of those devices! My >>>>>>> house is pretty heavily invested in the z-wave >>>>>>> using the Vera as the gateway and thought it >>>>>>> would be nice bridge the Amazon Echo to it. >>>>>>> Register a device, bind to some sort of on/off >>>>>>> (vera style) url ----------- Here are the steps >>>>>>> I used to install the bridge on my Synology >>>>>>> ------------------------------------------------------------------------ >>>>>>> Amazon Echo HA Bridge install on Synology (it >>>>>>> can be run on pretty much anything.. include >>>>>>> Pi's) mkdir >>>>>>> /volume1/@appstore/Amazon_Echo_HA_Bridge/ cd >>>>>>> /volume1/@appstore/Amazon_Echo_HA_Bridge/ curl >>>>>>> https://github.com/armzilla/amazon-echo-ha-bridge/releases/download/v0.1.3/amazon-echo-bridge-0.1.3.jar >>>>>>> <https://github.com/armzilla/amazon-echo-ha-bridge/releases/download/v0.1.3/amazon-echo-bridge-0.1.3.jar> >>>>>>> vi listen.sh hohup java -jar >>>>>>> amazon-echo-bridge-0.1.3.jar >>>>>>> --upnp.config.address=<synology IP> >> >>>>>>> /volume1/@appstore/Amazon_Echo_HA_Bridge/log/amazon_bridge.log >>>>>>> & (to specify port, add --server.port=yyyy ie: >>>>>>> java -jar amazon-echo-bridge-0.1.3.jar >>>>>>> --upnp.config.address=<synology IP> >>>>>>> --server.port=yyyy) chmod +x listen.sh sh >>>>>>> listen.sh logs are in >>>>>>> /volume1/@appstore/Amazon_Echo_HA_Bridge/log/amazon_bridge.log >>>>>>> add/remove devices: http://<synology >>>>>>> IP>:8080/configurator.html ----------- Bridge >>>>>>> server: update the address with your server >>>>>>> IP.. i.e.: http://<synology IP>:8080/api/devices >>>>>>> Add a new device Name: ie: Kitchen On URL: >>>>>>> http://<Misterhouse >>>>>>> IP>/ia5/set?$kitchen_light=on Off URL: >>>>>>> http://<Misterhouse >>>>>>> IP>/ia5/set?$kitchen_light=off --------- go to >>>>>>> echo settings >>>>>>> http://echo.amazon.com/#settings/connected-home >>>>>>> <http://echo.amazon.com/#settings/connected-home> >>>>>>> and have her Discover Devices or simply say >>>>>>> "Alexa discover devices" >>>>>>> --------------------------------------------------------------------------------------- >>>>>>> Now you should be able to control your devices >>>>>>> as follows: Alexa turn on/off <name> Alexa turn >>>>>>> on my kitchen light >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Don't Limit Your Business. Reach for the Cloud. >>>>>>> GigeNET's Cloud Solutions provide you with the >>>>>>> tools and support that you need to offload your >>>>>>> IT needs and focus on growing your business. >>>>>>> Configured For All Businesses. Start Your Cloud >>>>>>> Today. https://www.gigenetcloud.com/ >>>>>>> ________________________________________________________ >>>>>>> To unsubscribe from this list, go to: >>>>>>> https://lists.sourceforge.net/lists/listinfo/misterhouse-users >>>>>>> <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Don't Limit Your Business. Reach for the Cloud. >>>>>>> GigeNET's Cloud Solutions provide you with the >>>>>>> tools and support that you need to offload your >>>>>>> IT needs and focus on growing your business. >>>>>>> Configured For All Businesses. Start Your Cloud >>>>>>> Today. https://www.gigenetcloud.com/ >>>>>>> ________________________________________________________ >>>>>>> To unsubscribe from this list, go to: >>>>>>> https://lists.sourceforge.net/lists/listinfo/misterhouse-users >>>>>>> <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Don't Limit Your Business. Reach for the Cloud. >>>>>>> GigeNET's Cloud Solutions provide you with the >>>>>>> tools and support that you need to offload your >>>>>>> IT needs and focus on growing your business. >>>>>>> Configured For All Businesses. Start Your Cloud >>>>>>> Today. https://www.gigenetcloud.com/ >>>>>>> ________________________________________________________ >>>>>>> To unsubscribe from this list, go to: >>>>>>> https://lists.sourceforge.net/lists/listinfo/misterhouse-users >>>>>>> <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> -Craig >>>>>>> ------------------------------------------------------------------------------ >>>>>>> ________________________________________________________ >>>>>>> To unsubscribe from this list, go to: >>>>>>> https://lists.sourceforge.net/lists/listinfo/misterhouse-users >>>>>>> <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Developer Access Program for Intel Xeon Phi Processors >>>>>>> Access to Intel Xeon Phi processor-based developer platforms. >>>>>>> With one year of Intel Parallel Studio XE. >>>>>>> Training and support from Colfax. >>>>>>> Order your platform today.http://sdm.link/xeonphi >>>>>>> >>>>>>> ________________________________________________________ >>>>>>> To unsubscribe from this list, go to:https://lists.sourceforge.net/lists/listinfo/misterhouse-users <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >>>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Developer Access Program for Intel Xeon Phi Processors >>>>>> Access to Intel Xeon Phi processor-based developer >>>>>> platforms. With one year of Intel Parallel Studio XE. >>>>>> Training and support from Colfax. Order your platform >>>>>> today.http://sdm.link/intel >>>>>> ________________________________________________________ >>>>>> To unsubscribe from this list, go to: >>>>>> https://lists.sourceforge.net/lists/listinfo/misterhouse-users >>>>>> <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Developer Access Program for Intel Xeon Phi Processors >>>>>> Access to Intel Xeon Phi processor-based developer platforms. >>>>>> With one year of Intel Parallel Studio XE. >>>>>> Training and support from Colfax. >>>>>> Order your platform today.http://sdm.link/intel >>>>>> >>>>>> ________________________________________________________ >>>>>> To unsubscribe from this list, go to:https://lists.sourceforge.net/lists/listinfo/misterhouse-users <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >>>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Check out the vibrant tech community on one of the world's most >>>>> engaging tech sites, SlashDot.org!http://sdm.link/slashdot <http://sdm.link/slashdot> >>>>> >>>>> ________________________________________________________ >>>>> To unsubscribe from this list, go to:https://lists.sourceforge.net/lists/listinfo/misterhouse-users <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >>>>> >>>> ------------------------------------------------------------------------------ >>>> Check out the vibrant tech community on one of the world's most >>>> engaging tech sites, SlashDot.org!http://sdm.link/slashdot <http://sdm.link/slashdot> >>>> >>>> ________________________________________________________ >>>> To unsubscribe from this list, go to:https://lists.sourceforge.net/lists/listinfo/misterhouse-users <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >>>> >>> ------------------------------------------------------------------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, SlashDot.org!http://sdm.link/slashdot <http://sdm.link/slashdot> >>> >>> ________________________________________________________ >>> To unsubscribe from this list, go to:https://lists.sourceforge.net/lists/listinfo/misterhouse-users <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >>> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> ________________________________________________________ To >> unsubscribe from this list, go to: >> https://lists.sourceforge.net/lists/listinfo/misterhouse-users >> <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >> >> -- >> -Craig >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org!http://sdm.link/slashdot >> >> ________________________________________________________ >> To unsubscribe from this list, go to:https://lists.sourceforge.net/lists/listinfo/misterhouse-users >> > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org!http://sdm.link/slashdot > > ________________________________________________________ > To unsubscribe from this list, go to:https://lists.sourceforge.net/lists/listinfo/misterhouse-users > --------------2AFITB0MoqdzAKCXdUzG52z0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <p>Hi all,</p> <p>Amazon decided to end-of-life the old Smart Home Skill v2 APIs in favor of the v3 APIs on November first of this year, so my original direct integration needed a bit of a refresh.</p> <p>For anyone still using this, my latest forwarder Lambda and handler for Misterhouse can be found in my Github repo here: <a class="moz-txt-link-freetext" href="https://github.com/rudybrian/IoT-Playground">https://github.com/rudybrian/IoT-Playground</a></p> <p>Cheers!</p> <p>-Brian</p> <p><br> </p> <div class="moz-cite-prefix">On 2/3/2017 11:48 AM, Brian Rudy wrote:<br> </div> <blockquote type="cite" cite="mid:[email protected]"> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> Hi Craig,<br> <br> I'm glad you got things up and working!<br> <br> The only change I had to make to http_server.pl was committed to the master branch as of <a href="https://github.com/hollie/misterhouse/commit/9517046899291a6f84517d643aa08234ac4a0b8f" moz-do-not-send="true">7635334</a>. I discovered this when developing/testing alexa.pl using Postman, but am not sure this is an issue that would manifest itself when using the Lambda API proxies as I haven't dumped the headers that they are sending.Before making the change, http_server.pl was stripping the POST body (the JSON in this case) because it wasn't looking at the correct header to get the Content-Length.<br> <br> What did you end up changing to get it working for you?<br> <br> <br> <div class="moz-cite-prefix">On 1/31/17 18:58, Craig wrote:<br> </div> <blockquote cite="mid:CAFq_4HQVqq3RMBP9J_8EqQp64_MRvT7FKuXCMY=mJNFdiK7eFQ@mail.gmail.com" type="cite"> <div dir="ltr"> <div> <div> <div>Brian,<br> <br> </div> Nice job putting this together. It was challenging to get it all working. I setup nginx on a raspberry pi for the reverse proxy. I can't imagine how hard it must have been to figure it out from scratch. I have followed all the steps and finally got it to work. I do have a question though.<br> <br> </div> I kept getting errors when trying to post the discovery request. The error was due to <a moz-do-not-send="true" href="http://http_server.pl">http_server.pl</a> not passing the JSON data to <a moz-do-not-send="true" href="http://alexa.pl" target="_blank">alexa.pl</a>. I tweaked it to pass it on if the request was for bin/<a moz-do-not-send="true" href="http://alexa.pl" target="_blank">alexa.pl</a>. Did you have to make any changes to <a moz-do-not-send="true" href="http://http_server.pl" target="_blank">http_server.pl</a>? I would be interested what you did. Is this something that should be added to the release version of mh?<br> <br> </div> <div>Thanks for your work. With an echo and 3 dots, I finally have decent voice control of mh.<br> </div> <div><br> </div> <div>-Craig<br> </div> <div><br> </div> </div> <div class="gmail_extra"><br> <div class="gmail_quote">On Wed, Jan 4, 2017 at 4:28 PM, Brian Rudy <span dir="ltr"><<a moz-do-not-send="true" href="mailto:[email protected]" target="_blank" class="moz-txt-link-freetext">[email protected]</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div bgcolor="#FFFFFF" text="#000000"> <p>Hi folks,</p> <p>Here are the full set of steps required to deploy the current working revision of the Alexa Smart Home API version of the MH integration that I have been working on. This ultimately belongs in the Wiki after development is finished. The setup is fairly involved and should only be undertaken if you have sufficient comfort in each of the functional areas. The Testing and Troubleshooting sections are incomplete, but there should be enough here to get you started.<br> </p> <ol> <li>Configuring your reverse proxy</li> <ul> <li>See here: <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext" href="https://github.com/hollie/misterhouse/wiki/ReverseProxy" target="_blank">https://github.com/hollie/<wbr>misterhouse/wiki/ReverseProxy</a><br> </li> </ul> <li>Adding basic authentication to your reverse proxy</li> <ol> <li>Create a password file and add a user (see <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext" href="https://httpd.apache.org/docs/current/programs/htpasswd.html" target="_blank">https://httpd.apache.org/docs/<wbr>current/programs/htpasswd.html</a><wbr>)</li> <li>For example: htpasswd /etc/httpd/.htpasswd-users jsmith</li> <li>You will need to define the following in your config</li> <ol> <li>AuthType Basic</li> <li>AuthName "Authentication Required"</li> <li>AuthUserFile "/etc/httpd/.htpasswd-users"</li> </ol> </ol> <li>After completing the previous two steps, you should have an Apache configuration like the following from Apache 2.2:<br> </li> <ul> <li># Reverse proxy for Misterhouse<br> ProxyRequests off<br> ProxyHTMLEnable On<br> ProxyPass /mh/ <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext moz-txt-link-freetext" href="http://my.misterhouse.ip:8080/" target="_blank">http://my.misterhouse.ip:8080/</a><br> ProxyHTMLURLMap <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext moz-txt-link-freetext" href="http://my.misterhouse.ip:8080" target="_blank">http://my.misterhouse.ip:8080</a> /mh <br> <br> <Location /mh/><br> AuthType Basic<br> AuthName "Authentication Required"<br> AuthUserFile "/etc/httpd/.htpasswd-users"<br> Require valid-user<br> ProxyPassReverse /<br> ProxyHTMLEnable On<br> SetOutputFilter proxy-html<br> ProxyHTMLURLMap / /mh/<br> ProxyHTMLURLMap /mh /mh<br> RequestHeader unset Accept-Encoding<br> </Location><br> </li> </ul> <li>DDNS</li> <ul> <li>If you do not have a static public IP address, you will need to use DDNS so that you can use a hostname to reach your reverse proxy. Configuration and setup of DDNS is beyond the scope of this document.</li> </ul> <li>Obtaining an SSL certificate</li> <ul> <li>You will need to obtain an SSL certificate for your reverse proxy</li> <li>There are many places that will happily sell you an SSL certificate, or you can use a free certificate from Let's Encrypt (<a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext moz-txt-link-freetext" href="https://letsencrypt.org" target="_blank">https://letsencrypt.org</a>)</li> <li>Self-signed certificates may work as well, but are untested and are not recommended.<br> </li> </ul> <li>Setting up HTTPS support on your reverse proxy</li> <ul> <li>Once you have your SSL certificate, you will need to install it on your reverse proxy.</li> <li>An example configuration for Apache 2.2 is shown below:</li> </ul> <ul> <ul> <li>SSLCertificateFile /etc/pki/tls/certs/my.<wbr>misterhousehost.com.crt<br> SSLCertificateKeyFile /etc/pki/tls/private/my.<wbr>misterhousehost.com.key<br> SSLCertificateChainFile /etc/pki/tls/certs/my.<wbr>misterhousehost.com-chain.pem<br> </li> </ul> </ul> <li>Firewall</li> <ul> <li>Your firewall will need to forward TCP port 443 to your reverse proxy to allow the HTTPS requests through.<br> </li> </ul> <li>Setting up Login with Amazon</li> <ol> <li>Smart Home Skills require an OAuth 2.0 provider. To simplify the integration, I recommend the use of the Login with Amazon service available in the Amazon Developer portal: <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext" href="https://developer.amazon.com/login-with-amazon" target="_blank">https://developer.amazon.com/<wbr>login-with-amazon</a><br> </li> <li>Create a new security profile per the instructions here: <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext" href="https://stackoverflow.com/questions/37512303/whats-an-easy-way-to-setup-oauth-for-an-amazon-alexa-connected-home-skill" target="_blank">https://stackoverflow.com/<wbr>questions/37512303/whats-an-<wbr>easy-way-to-setup-oauth-for-<wbr>an-amazon-alexa-connected-<wbr>home-skill</a></li> <ol> <li>You will need to copy the Client ID and Client Secret values from your security profile into the Skill Adapter settings in step 9.</li> <li>You will also need top copy the Redirect URLs (usually there are two) from step 9 into the Web Settings of your security profile once your Skill Adapter is created.<br> </li> </ol> </ol> <li>Creating the Alexa Skill</li> <ol> <li>Log in to the Amazon developer console here: <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext moz-txt-link-freetext" href="https://developer.amazon.com" target="_blank">https://developer.amazon.com</a></li> <li>Select ALEXA, and then click Get Started > under the Alexa Skills Kit</li> <li>Click Add a New Skill</li> <li>In Skill Information</li> <ol> <li>Select a Skill Type of Smart Home Skill API</li> <li>Select a name (this is arbitrary, but cannot overlap with existing skill names)</li> <li>Click Next<br> </li> </ol> <li>In Configuration</li> <ol> <li>Set the Authorization URL to <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext moz-txt-link-freetext" href="https://www.amazon.com/ap/oa" target="_blank">https://www.amazon.com/ap/oa</a><br> </li> <li>Change the Client Id to the Client Id created in Step 8</li> <li>Create a new Scope of "profile:user_id"</li> <li>Set the Access Token URI to <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext" href="https://api.amazon.com/auth/o2/token" target="_blank">https://api.amazon.com/auth/<wbr>o2/token</a></li> <li>Set the Client Secret to the Client Secret created in Step 8</li> <li>Copy each of the Redirect URLs to the Web Settings of your Login With Amazon security profile from step 8</li> <li>Enter a Privacy Policy URL (this is arbitrary, but is required for account linking)</li> <li>Click Save</li> <li>Your skill is not yet complete, as you need to enter the Endpoint ARN you will create in step 10.</li> <li>Check the North America region and enter the ARN you created in step 10, then click Next</li> <li>The Configuration section should now have a green checkmark</li> <li>In Test, click Show this skill in the Alexa App<br> </li> </ol> </ol> <li>Setting up AWS Lambda Skill Adapter Function</li> <ol> <li>Log into the AWS console: <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext moz-txt-link-freetext" href="https://console.aws.amazon.com" target="_blank">https://console.aws.amazon.com</a><br> </li> <li>Familiarize yourself with the steps required to create a Smart Home skill as show here: <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext" href="https://developer.amazon.com/blogs/post/Tx34M7F8Z8U7U8B/Creating-Your-First-Alexa-Smart-Home-Skill" target="_blank">https://developer.amazon.com/<wbr>blogs/post/Tx34M7F8Z8U7U8B/<wbr>Creating-Your-First-Alexa-<wbr>Smart-Home-Skill</a> <br> </li> <ol> <li>Note: This is only for reference, as we will be creating a skill adapter in JavaScript with Node.js<br> </li> </ol> <li>To create the MisterHouse forwarder function, in Lambda select Create new Function. <br> </li> <ol> <li>Change your Region to US East (N.Virginia). This is the only region that currently supports the Alexa Smart Home API.<br> </li> <li>Search for "home". This should return two blueprints. Select the "alexa-smart-home-skill-<wbr>adapter"</li> <li>Enter the Application Id from your skill created in step 9, and select Create Trigger<br> </li> <li>In the Configure Function screen</li> <ol> <li>Name your function (this is arbitrary), and update the description as you see fit<br> </li> <li>Replace the Lambda function code with the code from here: <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext" href="https://raw.githubusercontent.com/rudybrian/IoT-Playground/master/AWS-Lambda/MisterHouse-alexa-smart-home-skill-api-forwarder.js" target="_blank">https://raw.githubusercontent.<wbr>com/rudybrian/IoT-Playground/<wbr>master/AWS-Lambda/MisterHouse-<wbr>alexa-smart-home-skill-api-<wbr>forwarder.js</a></li> <li>Edit the REMOTE_CLOUD_HOSTNAME and auth parameters per your hostname and credentials</li> <ul> <li>For example:</li> <ul> <li>var REMOTE_CLOUD_HOSTNAME = '<a moz-do-not-send="true" href="http://my.misterhousehost.com" target="_blank">my.misterhousehost.com</a>';</li> <li>auth: 'jsmith:jsmithspassword',<br> </li> </ul> </ul> <li>Create a new custom role</li> <ol> <li>Select IAM Role of lambda_basic_execution</li> <li>and a Policy Name of "Create a new Role Policy"</li> <li>Click Allow</li> </ol> <li>Once the custom role is created</li> <ol> <li>Select Role: "Choose and existing role"</li> <li>Select Existing role: "lambda_basic_execution"</li> </ol> <li>In Advanced settings</li> <ol> <li>Change the Memory (MB) from 512 to 128.</li> </ol> <li>Click Next</li> </ol> <li>Click Create function</li> <li>Copy the ARN (in the upper right-hand corner of the screen) to the Endpoint in your Skill from step 9.</li> </ol> </ol> <li>Grab a copy of the latest web/bin/<a moz-do-not-send="true" href="http://alexa.pl" target="_blank">alexa.pl</a> from my GitHub repo here: <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext" href="https://raw.githubusercontent.com/rudybrian/misterhouse/add_alexa_smart_home_support/web/bin/alexa.pl" target="_blank">https://raw.githubusercontent.<wbr>com/rudybrian/misterhouse/add_<wbr>alexa_smart_home_support/web/<wbr>bin/alexa.pl</a> and install on your MH instance.</li> <ol> <li>Edit the $list_name variable to point to the group or type of items you wish to expose to Alexa.<br> </li> </ol> <li>Testing</li> <ol> <li>Testing web/bin/<a moz-do-not-send="true" href="http://alexa.pl" target="_blank">alexa.pl</a></li> <ol> <li>You can use Postman to test interaction with MisterHouse.</li> <ol> <li>Select POST, and enter the URL on your local network to <a moz-do-not-send="true" href="http://alexa.pl" target="_blank">alexa.pl</a></li> <ol> <li>For example: <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext" href="http://my.misterhouse.ip:8080/bin/alexa.pl" target="_blank">http://my.misterhouse.ip:8080/<wbr>bin/alexa.pl</a></li> <li>In Body</li> <ol> <li>Select raw and JSON (application/json)</li> <li>in the POST body enter a Discovery request such as the following</li> <ul> <li>{<br> "header": {<br> "messageId": "6d6d6e14-8aee-473e-8c24-<wbr>0d31ff9c17a2",<br> "name": "DiscoverAppliancesRequest",<br> "namespace": "Alexa.ConnectedHome.<wbr>Discovery",<br> "payloadVersion": "2"<br> },<br> "payload": {<br> "accessToken": "blah"<br> }<br> }</li> <li>Click Send, and you should see a JSON response with an array of your discoveredAppliances in the payload<br> </li> </ul> </ol> </ol> </ol> </ol> <li>Testing HTTPS</li> <li>Testing the MH reverse proxy<br> </li> <li>Testing the Lambda skill adapter</li> <ol> <li>Log into the AWS console, and select the Lambda function you created in step 10.</li> <li>Under the Actions drop-down, select "Configure test event"</li> <li>In "Input test event"</li> <ol> <li>Select Sample event template of "Alexa Smart Home - Control"</li> <li>In the text box, enter the same JSON you used to test web/bin/<a moz-do-not-send="true" href="http://alexa.pl" target="_blank">alexa.pl</a></li> <li>Click Save and test</li> <li>In the response you should see the same JSON response you saw when testing web/bin/<a moz-do-not-send="true" href="http://alexa.pl" target="_blank">alexa.pl</a><br> </li> </ol> </ol> <li>Testing from <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext moz-txt-link-freetext" href="http://alexa.amazon.com/" target="_blank">http://alexa.amazon.com/</a></li> <ol> <li>Click on Skills, then click Your Skills<br> </li> <li>You should see the Skill you created in step 9, with "Account linking required" next to it<br> </li> <li>Click on your skill</li> <li>Log in with your Amazon credentials</li> <ol> <li>After login your skill should be activated</li> </ol> <li>Go to the Smart Home section</li> <li>Click on Discover Devices (you can also ask Alexa to discover devices)</li> <ol> <li>You should now see the list of devices as shown when testing the Lambda Skill adapter</li> <li>You can now ask "Alexa turn on {friendlyName}"<br> </li> </ol> </ol> </ol> <li>Troubleshooting<br> </li> </ol> <p><br> </p> <p>Have fun!</p> <span class="HOEnZb"><font color="#888888"> <p>-Brian<br> </p> </font></span> <div> <div class="h5"> <br> <br> <div class="m_-2009997875497826940moz-cite-prefix">On 1/3/17 17:27, Brian Rudy wrote:<br> </div> <blockquote type="cite"> <p>Hi folks,</p> <p>Thanks to Wayne's hard work and the flexibility of OSS, we now have two choices for directly integrating our Amazon Echos (and select 3rd party devices with <a moz-do-not-send="true" href="https://developer.amazon.com/alexa-voice-service" target="_blank">AVS API implementations</a>) with MisterHouse! <br> </p> <p>Since there are two separate implementations, I thought I would provide a high-level overview of them both. <br> </p> <p>Each implementation has it's strengths and weaknesses, and you can choose which works best for you. Both implementations currently use the same Alexa Smart Home intent schema, which constrains voice interaction to control devices by 'actions' of the type on/off, percent, temperature and increase/decrease. Voice responses are limited to "Ok" or, on error, a specific error response. Both implementations require Internet connectivity. Discovered devices are visible in the Smart Home section of the Alexa app on your iOS/Android devices as well as <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext" href="http://alexa.amazon.com#smart-home" target="_blank">http://alexa.amazon.com#smart-<wbr>home</a>, and can be added to groups which allow control of multiple devices in the group with a single intent (utterance).</p> Wayne's implementation emulates a Phillips Hue bridge, which uses SSDP for device discovery over the local network (between an Echo and MisterHouse). Since MisterHouse is emulating a Hue bridge, other IoT devices that support interacting with Hue lights (Google Home, Logitech Harmony, etc) should also work. The network flow for control commands is as follows: "voice input"->Echo (local network)->Amazon AVS (cloud)->Echo (local network)->MisterHouse (local network)->Controlled devices (device-specific). With this implementation you don't need to open up your home network to inbound external access. Wayne, please feel free to correct or fill in anything I have stated incorrectly or might have missed :)<br> <br> The implementation that I have been working on interacts directly with Amazon's official Alexa Smart Home API and discovers the MH-defined devices (objects) that support state changes of the same state 'actions' supported by the Amazon Smart Home API. This implementation works by using an AWS Lambda hosted service that forwards all the Alexa Smart Home API requests directly from Amazon's Voice Services through to MisterHouse unaltered. web/bin/<a moz-do-not-send="true" href="http://alexa.pl" target="_blank">alexa.pl</a> acts upon these requests and responds back to the Lambda hosted service, which in turn forwards that response back to the Smart Home API. It requires that the Lambda hosted service is able to reach MisterHouse via an authenticated HTTPS request. Since MH doesn't natively support HTTPS, you will need to have an HTTPS <a moz-do-not-send="true" href="https://github.com/hollie/misterhouse/wiki/ReverseProxy" target="_blank">reverse proxy</a> with (basic) authentication at the edge of your network to handle the requests and forward them to MH. The network flow for control commands is as follows: "voice input"->Echo (local network)->Amazon AVS (cloud)->AWS Lambda (cloud)->HTTPS reverse proxy (local network)->MisterHouse (local network)->Controlled devices (device-specific)<br> <br> Cheers!<br> -Brian<br> <br> <div class="m_-2009997875497826940moz-cite-prefix">On 12/31/16 00:25, Brian Rudy wrote:<br> </div> <blockquote type="cite"> <p>Thanks to the extra time permitted by the holidays I finally have both the discovery and control functionality working to a minimal degree. The simple HTTPS forwarder AWS Lambda code (in JavaScript for Node.js) I am using can be found here: <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext" href="https://github.com/rudybrian/IoT-Playground/blob/master/AWS-Lambda/MisterHouse-alexa-smart-home-skill-api-forwarder.js" target="_blank">https://github.com/rudybrian/<wbr>IoT-Playground/blob/master/<wbr>AWS-Lambda/MisterHouse-alexa-<wbr>smart-home-skill-api-<wbr>forwarder.js</a><br> </p> <p>To pair down the list of eligible devices during discovery, the given group (I used "Lights" for testing) object members are inspected for those that have possible states of "on" (for on/off) and 80% (for those that support percentage). These "actions" are provided back to the Alexa Smart Home API in the DiscoverAppliancesResponse. Currently I only have the turnOn and turnOff actions working, with the rest of the actions stubbed out. If you want to have a look, I have the MH code in my add_alexa_smart_home_support branch here: <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext" href="https://github.com/rudybrian/misterhouse/tree/add_alexa_smart_home_support" target="_blank">https://github.com/rudybrian/<wbr>misterhouse/tree/add_alexa_<wbr>smart_home_support</a><br> </p> To use this as-is, you will need a reverse proxy setup with authentication to handle the inbound HTTPS requests from AWS and forward them on to MH.<br> <br> A great deal still needs to be added, but it is working, and seems to do so fairly well.<br> <br> <br> Cheers!<br> -Brian<br> <br> <div class="m_-2009997875497826940moz-cite-prefix">On 12/26/16 16:30, Brian Rudy wrote:<br> </div> <blockquote type="cite"> <p>Thanks Wayne,</p> <p>Most aspects that power the Echo (including NLP/NLU via AVS) are hosted at Amazon, so there is a certain amount of cloud connectivity that is unavoidable with the Echo and kin. I too would prefer hosting everything within my own private network, but thus far the main thrust of commercial IoT solutions are cloud-based, and it looks like that ship has sailed.<br> </p> <p>What I am looking to do would have a minimal forwarding layer in AWS Lambda (currently the only supported endpoint for the Smart Home skill type) and perform the rest of the logic natively in Perl with MH. I was able to stub out some simple simple Discovery and Control functions earlier today using the Login with Amazon OAuth provider to provide account pairing and a hacked up version of the Smart Home skill adapter sample (which needed updating to support the current Alexa.ConnectedHome message format in place of the Alexa Lighting API that has now been deprecated)<br> </p> I haven't figured out how to handle selective device discovery either, but my current thoughts are to do this by filtering out devices that are not capable of the the supported list of Smart Home API 'actions' (setTargetTemperature, incrementTargetTemperature, decrementTargetTemperature, setPercentage, incrementPercentage, decrementPercentage, turnOff, turnOn)<br> <br> I'll keep fiddling with this as time permits, but am happy to test anything you would like another set of eyes on.<br> <br> <br> Happy holidays!<br> -Brian<br> <br> <br> <div class="m_-2009997875497826940moz-cite-prefix">On 12/23/16 06:20, Wayne Gatlin wrote:<br> </div> <blockquote type="cite"> <div dir="ltr"> <div class="gmail_extra">My problem with the skills is that they have to be hosted at Amazon which means adding latency for internet traversal and being dependent on my internet connectivity for my home functions to work. I am not a fan on cloud hosting for my HA stuff. <br> <br> </div> <div class="gmail_extra">I have been working on a perl implementation of the hue api emulation that is integrated into Misterhouse which means you will be able to select the objects in MH that you want to present to alexa for discovery. I haven't decided on the best way to do this yet.<br> <br> </div> <div class="gmail_extra">I think the limitation is 25 devices per tcp port (emulated hue bridge), so I plan to just add more ports (configurable in mh) and look at the port the request comes in on and respond with that set of devices. <br> <br> <br> </div> <div class="gmail_extra">I'll upload to git once I have something ready to start testing.<br> </div> <div class="gmail_extra"><br> <br> </div> <div class="gmail_extra"> <div class="gmail_quote">On Thu, Dec 22, 2016 at 7:34 PM, Brian Rudy <span dir="ltr"><<a moz-do-not-send="true" href="mailto:[email protected]" target="_blank" class="moz-txt-link-freetext">[email protected]</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div bgcolor="#FFFFFF" text="#000000"> <p>Thanks Wayne,</p> <p>I just picked up a few of the 2nd generation Echo dots to cover the house during Amazon's black Friday sale and have only just stated playing with them using the native ecobee integration and IFTTT. I have done a small amount of research into the ASK and developing Alexa skills with the skills SDK using nodejs/Lambda, but haven't been able to put much time into it yet.<br> </p> <p>I too have no desire to run a Java app alongside MisterHouse and now that formal Alexa Smart Home Skill API specs have been released, I think we can do better natively than what is possible using the Hue API with an external bridge. The mechanics of how to communicate will differ a bit (must use an OAuth 2.0 provider and have open access from Amazon to communicate via HTTPS with MH), but this opens up considerably more possibilities. A few major ones that come to mind are true device discovery (not needing to hard-code MH URLs) and increasing the device limit (up to 300) inherent in the Hue API (up to 75 in batches of 25).<br> </p> <p>I have limited time to play with MH stuff these days, but hope to spend a few hours over the holidays tinkering with this.</p> <p><br> </p> <p>Cheers!</p> <p>-Brian<br> </p> <p><br> </p> <br> <div class="m_-2009997875497826940m_-237447077066054646moz-cite-prefix">On 12/9/16 22:50, Wayne Gatlin wrote:<br> </div> <blockquote type="cite"> <div dir="ltr"> <div> <div> <div>I know this is an old thread, but I am getting an echo and I have started working on the native perl code to integrate the echo with Misterhouse via upnp emulating a hue bridge like the amazon-echo-bridge does. This will eliminate having to run the external java amazon-echo-bridge which seems to be CPU intensive and cumbersome. <br> <br> </div> I don't have the echo yet, so in order to move on I need a quick network capture of the echo discovering the bridge and sending a few commands to a light or 2 using the amazon-echo-bridge. <br> <br> </div> <div>I have also been reading that google home will work with the amazon-echo-bridge, it just has to be set to port 80. Could some one test that? If it does work, send me a capture of that as well? This would be a direct local option which is much better than the cloud methods. <br> </div> <div><br> </div> I also have to figure out a good way to select which objects or voice commands are presented to the echo because from what I see only 25 devices per bridge is supported and from what I can tell its only on or off commands. It looks like I can get around that by using multiple virtual bridges, but some MH systems will likely have hundreds of objects/voice commands so a method of selecting/mapping will be needed. <br> <br> </div> _Wayne <br> <div> <div><br> <br> </div> </div> </div> <div class="gmail_extra"><br> <div class="gmail_quote">On Sun, Aug 9, 2015 at 9:42 AM, Craig <span dir="ltr"><<a moz-do-not-send="true" href="mailto:[email protected]" target="_blank" class="moz-txt-link-freetext">[email protected]</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div dir="ltr">I finally got this running under windows on my mh server (had to use Chrome with the --disable-web-security flag to add devices). Very cool, but does require you to add each command as a device. Does anybody know how hard it would be to set up a bridge where you could pass any mh voice command? I would love to see the bridge functionality in a mh module.<br> </div> <div class="gmail_extra"><br> <div class="gmail_quote">On Fri, Jul 3, 2015 at 8:01 AM, Timothy Spaulding <span dir="ltr"><<a moz-do-not-send="true" href="mailto:[email protected]" target="_blank" class="moz-txt-link-freetext">[email protected]</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I can claim success now.<br> <br> My problem was with using Internet Explorer on the web page to configure the devices.<br> <span class="m_-2009997875497826940m_-237447077066054646m_-7942567462655249663imm_-237447077066054646m_-7942567462655249663HOEnZb"><br> -----Original Message-----<br> From: Timothy Spaulding [mailto:<a moz-do-not-send="true" href="mailto:[email protected]" target="_blank" class="moz-txt-link-freetext">[email protected]</a><wbr>]<br> Sent: Thursday, July 2, 2015 6:43 PM<br> To: The main list for the MisterHouse home automation program<br> </span> <div class="m_-2009997875497826940m_-237447077066054646m_-7942567462655249663HOEnZb"> <div class="m_-2009997875497826940m_-237447077066054646m_-7942567462655249663h5">Subject: Re: [mh] MisterHouse and Echo integration<br> <br> Tom,<br> <br> Thanks for posting this and your steps.<br> <br> I am trying it out, but I am getting stuck at the point of adding devices.<br> <br> I have added my bridge; htttp://autopi:8080/api/device<wbr>s Added a name: Upstairs Landing Lights (have also tried with just a single word for the name) Added the on/off URLs; <a moz-do-not-send="true" href="http://house/set?$Upstairs_Landing_Lights?on" rel="noreferrer" target="_blank">http://house/set?$Upstairs_Lan<wbr>ding_Lights?on</a><br> (that URL works all by itself as well).<br> <br> When I click on add, I don't get anything. No device is added.<br> <br> -----Original Message-----<br> From: Tom [mailto:<a moz-do-not-send="true" href="mailto:[email protected]" target="_blank" class="moz-txt-link-freetext">[email protected]</a>]<br> Sent: Monday, June 29, 2015 4:55 PM<br> To: The main list for the MisterHouse home automation program<br> Subject: [mh] MisterHouse and Echo integration<br> <br> I've also added this info to the wiki...<br> <a moz-do-not-send="true" href="https://github.com/hollie/misterhouse/wiki/Echo-integration-using-amazon-echo-ha-bridge" rel="noreferrer" target="_blank">https://github.com/hollie/mist<wbr>erhouse/wiki/Echo-integration-<wbr>using-amazon-echo-ha-bridge</a><br> ------------------------------<wbr>---------------<br> <br> I found the following bridge which allows the echo to control pretty much any device.<br> <br> It works with the on off commands..<br> <br> ie:<br> Alexa turn on my kitchen lights<br> Alexa turn off my kitchen lights<br> <br> She simply responds with "OK" and since it's handled locally, it is fast. In most cases, my lights are on/off before she finishes saying OK<br> <br> <br> You need to include the URL for the on/off commands.. the URL could be a Perl script to kick off more than a simple lights on/off command<br> <br> <br> <a moz-do-not-send="true" href="https://github.com/armzilla/amazon-echo-ha-bridge" rel="noreferrer" target="_blank">https://github.com/armzilla/am<wbr>azon-echo-ha-bridge</a><br> <br> the requires Java 8<br> <br> here's a description from the github page:<br> <br> -----------<br> emulates philips hue api to other home automation gateways. The Amazon echo now supports wemo and philip hue... great news if you own any of those devices! My house is pretty heavily invested in the z-wave using the Vera as the gateway and thought it would be nice bridge the Amazon Echo to it.<br> <br> Register a device, bind to some sort of on/off (vera style) url<br> -----------<br> <br> <br> <br> <br> <br> <br> Here are the steps I used to install the bridge on my Synology<br> <br> ------------------------------<wbr>------------------------------<wbr>------------<br> <br> Amazon Echo HA Bridge install on Synology (it can be run on pretty much anything.. include Pi's)<br> <br> mkdir<br> /volume1/@appstore/Amazon_Echo<wbr>_HA_Bridge/<br> <br> cd<br> /volume1/@appstore/Amazon_Echo<wbr>_HA_Bridge/<br> <br> curl <a moz-do-not-send="true" href="https://github.com/armzilla/amazon-echo-ha-bridge/releases/download/v0.1.3/amazon-echo-bridge-0.1.3.jar" rel="noreferrer" target="_blank">https://github.com/armzilla/am<wbr>azon-echo-ha-bridge/releases/d<wbr>ownload/v0.1.3/amazon-echo-bri<wbr>dge-0.1.3.jar</a><br> <br> vi listen.sh<br> hohup java -jar amazon-echo-bridge-0.1.3.jar --upnp.config.address=<synolog<wbr>y IP> >> /volume1/@appstore/Amazon_Echo<wbr>_HA_Bridge/log/amazon_bridge.l<wbr>og &<br> <br> (to specify port, add --server.port=yyyy ie: java -jar<br> amazon-echo-bridge-0.1.3.jar --upnp.config.address=<synolog<wbr>y IP><br> --server.port=yyyy)<br> <br> chmod +x listen.sh<br> <br> sh listen.sh<br> <br> logs are in<br> /volume1/@appstore/Amazon_Echo<wbr>_HA_Bridge/log/amazon_bridge.l<wbr>og<br> <br> <br> add/remove devices:<br> <a moz-do-not-send="true" class="m_-2009997875497826940m_-237447077066054646moz-txt-link-freetext">http://</a><synology IP>:8080/configurator.html<br> <br> -----------<br> Bridge server: update the address with your server IP.. i.e.:<br> <a moz-do-not-send="true" class="m_-2009997875497826940m_-237447077066054646moz-txt-link-freetext">http://</a><synology IP>:8080/api/devices<br> <br> <br> Add a new device<br> <br> Name: ie: Kitchen<br> <br> On URL: <a moz-do-not-send="true" class="m_-2009997875497826940m_-237447077066054646moz-txt-link-freetext">http://</a><Misterhouse IP>/ia5/set?$kitchen_light=on<br> Off URL: <a moz-do-not-send="true" class="m_-2009997875497826940m_-237447077066054646moz-txt-link-freetext">http://</a><Misterhouse IP>/ia5/set?$kitchen_light=off<br> <br> <br> ---------<br> <br> go to echo settings<br> <a moz-do-not-send="true" href="http://echo.amazon.com/#settings/connected-home" rel="noreferrer" target="_blank">http://echo.amazon.com/#settin<wbr>gs/connected-home</a><br> and have her Discover Devices<br> <br> or simply say<br> <br> "Alexa discover devices"<br> <br> ------------------------------<wbr>------------------------------<wbr>---------------------------<br> <br> Now you should be able to control your devices as follows:<br> <br> Alexa turn on/off <name><br> <br> Alexa turn on my kitchen light<br> <br> ------------------------------<wbr>------------------------------<wbr>------------------<br> Don't Limit Your Business. Reach for the Cloud.<br> GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business.<br> Configured For All Businesses. Start Your Cloud Today.<br> <a moz-do-not-send="true" href="https://www.gigenetcloud.com/" rel="noreferrer" target="_blank" class="moz-txt-link-freetext">https://www.gigenetcloud.com/</a><br> ______________________________<wbr>__________________________<br> To unsubscribe from this list, go to: <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users" rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/misterhouse-use<wbr>rs</a><br> <br> <br> ------------------------------<wbr>------------------------------<wbr>------------------<br> Don't Limit Your Business. Reach for the Cloud.<br> GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business.<br> Configured For All Businesses. Start Your Cloud Today.<br> <a moz-do-not-send="true" href="https://www.gigenetcloud.com/" rel="noreferrer" target="_blank" class="moz-txt-link-freetext">https://www.gigenetcloud.com/</a><br> ______________________________<wbr>__________________________<br> To unsubscribe from this list, go to: <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users" rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/misterhouse-use<wbr>rs</a><br> <br> <br> ------------------------------<wbr>------------------------------<wbr>------------------<br> Don't Limit Your Business. Reach for the Cloud.<br> GigeNET's Cloud Solutions provide you with the tools and support that<br> you need to offload your IT needs and focus on growing your business.<br> Configured For All Businesses. Start Your Cloud Today.<br> <a moz-do-not-send="true" href="https://www.gigenetcloud.com/" rel="noreferrer" target="_blank" class="moz-txt-link-freetext">https://www.gigenetcloud.com/</a><br> ______________________________<wbr>__________________________<br> To unsubscribe from this list, go to: <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users" rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/misterhouse-use<wbr>rs</a><br> <br> <span class="m_-2009997875497826940m_-237447077066054646HOEnZb"><font color="#888888"> </font></span></div> </div> </blockquote> </div> <span class="m_-2009997875497826940m_-237447077066054646HOEnZb"><font color="#888888"><br> <br clear="all"> <br> -- <br> <div class="m_-2009997875497826940m_-237447077066054646m_-7942567462655249663gmail_signature"> <div dir="ltr">-Craig</div> </div> </font></span></div> <br> ------------------------------<wbr>------------------------------<wbr>------------------<br> <br> ______________________________<wbr>__________________________<br> To unsubscribe from this list, go to: <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users" rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/misterhouse-use<wbr>rs</a><br> <br> <br> </blockquote> </div> <br> </div> <br> <fieldset class="m_-2009997875497826940m_-237447077066054646mimeAttachmentHeader"></fieldset> <br> <pre>------------------------------<wbr>------------------------------<wbr>------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.<a moz-do-not-send="true" href="http://sdm.link/xeonphi" target="_blank" class="moz-txt-link-freetext">http://sdm.link/xeonphi</a></pre> <fieldset class="m_-2009997875497826940m_-237447077066054646mimeAttachmentHeader"></fieldset> <pre>______________________________<wbr>__________________________ To unsubscribe from this list, go to: <a moz-do-not-send="true" class="m_-2009997875497826940m_-237447077066054646moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/misterhouse-use<wbr>rs</a> </pre> </blockquote> </div> ------------------------------<wbr>------------------------------<wbr>------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.<a moz-do-not-send="true" href="http://sdm.link/intel" rel="noreferrer" target="_blank" class="moz-txt-link-freetext">http://sdm.link/intel</a> ______________________________<wbr>__________________________ To unsubscribe from this list, go to: <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users" rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/misterhouse-use<wbr>rs</a> </blockquote> </div> </div> </div> <div class="gmail_extra"> <div class="gmail_quote">On Thu, Dec 22, 2016 at 7:34 PM, Brian Rudy <span dir="ltr"><<a moz-do-not-send="true" href="mailto:[email protected]" target="_blank" class="moz-txt-link-freetext">[email protected]</a>></span> wrote: <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div bgcolor="#FFFFFF" text="#000000"> <p>Thanks Wayne,</p> <p>I just picked up a few of the 2nd generation Echo dots to cover the house during Amazon's black Friday sale and have only just stated playing with them using the native ecobee integration and IFTTT. I have done a small amount of research into the ASK and developing Alexa skills with the skills SDK using nodejs/Lambda, but haven't been able to put much time into it yet. </p> <p>I too have no desire to run a Java app alongside MisterHouse and now that formal Alexa Smart Home Skill API specs have been released, I think we can do better natively than what is possible using the Hue API with an external bridge. The mechanics of how to communicate will differ a bit (must use an OAuth 2.0 provider and have open access from Amazon to communicate via HTTPS with MH), but this opens up considerably more possibilities. A few major ones that come to mind are true device discovery (not needing to hard-code MH URLs) and increasing the device limit (up to 300) inherent in the Hue API (up to 75 in batches of 25). </p> <p>I have limited time to play with MH stuff these days, but hope to spend a few hours over the holidays tinkering with this.</p> <p> </p> <p>Cheers!</p> <p>-Brian </p> <p> </p> <div class="m_-2009997875497826940m_-6990178348780768366moz-cite-prefix">On 12/9/16 22:50, Wayne Gatlin wrote: </div> <blockquote type="cite"> <div dir="ltr"> <div> <div> <div>I know this is an old thread, but I am getting an echo and I have started working on the native perl code to integrate the echo with Misterhouse via upnp emulating a hue bridge like the amazon-echo-bridge does. This will eliminate having to run the external java amazon-echo-bridge which seems to be CPU intensive and cumbersome. </div> I don't have the echo yet, so in order to move on I need a quick network capture of the echo discovering the bridge and sending a few commands to a light or 2 using the amazon-echo-bridge. </div> <div>I have also been reading that google home will work with the amazon-echo-bridge, it just has to be set to port 80. Could some one test that? If it does work, send me a capture of that as well? This would be a direct local option which is much better than the cloud methods. </div> <div> </div> I also have to figure out a good way to select which objects or voice commands are presented to the echo because from what I see only 25 devices per bridge is supported and from what I can tell its only on or off commands. It looks like I can get around that by using multiple virtual bridges, but some MH systems will likely have hundreds of objects/voice commands so a method of selecting/mapping will be needed. </div> _Wayne <div> <div> </div> </div> </div> <div class="gmail_extra"> <div class="gmail_quote">On Sun, Aug 9, 2015 at 9:42 AM, Craig <span dir="ltr"><<a moz-do-not-send="true" href="mailto:[email protected]" target="_blank" class="moz-txt-link-freetext">[email protected]</a>></span> wrote: <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div dir="ltr">I finally got this running under windows on my mh server (had to use Chrome with the --disable-web-security flag to add devices). Very cool, but does require you to add each command as a device. Does anybody know how hard it would be to set up a bridge where you could pass any mh voice command? I would love to see the bridge functionality in a mh module. </div> <div class="gmail_extra"> <div class="gmail_quote">On Fri, Jul 3, 2015 at 8:01 AM, Timothy Spaulding <span dir="ltr"><<a moz-do-not-send="true" href="mailto:[email protected]" target="_blank" class="moz-txt-link-freetext">[email protected]</a>></span> wrote: <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I can claim success now. My problem was with using Internet Explorer on the web page to configure the devices. <span class="m_-2009997875497826940m_-6990178348780768366m_-7942567462655249663im m_-2009997875497826940m_-6990178348780768366m_-7942567462655249663HOEnZb"> -----Original Message----- From: Timothy Spaulding [mailto:<a moz-do-not-send="true" href="mailto:[email protected]" target="_blank" class="moz-txt-link-freetext">[email protected]</a><wbr>] Sent: Thursday, July 2, 2015 6:43 PM To: The main list for the MisterHouse home automation program </span> <div class="m_-2009997875497826940m_-6990178348780768366m_-7942567462655249663HOEnZb"> <div class="m_-2009997875497826940m_-6990178348780768366m_-7942567462655249663h5">Subject: Re: [mh] MisterHouse and Echo integration Tom, Thanks for posting this and your steps. I am trying it out, but I am getting stuck at the point of adding devices. I have added my bridge; htttp://autopi:8080/api/device<wbr>s Added a name: Upstairs Landing Lights (have also tried with just a single word for the name) Added the on/off URLs; <a moz-do-not-send="true" href="http://house/set?$Upstairs_Landing_Lights?on" rel="noreferrer" target="_blank">http://house/set?$Upstairs_Lan<wbr>ding_Lights?on</a> (that URL works all by itself as well). When I click on add, I don't get anything. No device is added. -----Original Message----- From: Tom [mailto:<a moz-do-not-send="true" href="mailto:[email protected]" target="_blank" class="moz-txt-link-freetext">[email protected]</a>] Sent: Monday, June 29, 2015 4:55 PM To: The main list for the MisterHouse home automation program Subject: [mh] MisterHouse and Echo integration I've also added this info to the wiki... <a moz-do-not-send="true" href="https://github.com/hollie/misterhouse/wiki/Echo-integration-using-amazon-echo-ha-bridge" rel="noreferrer" target="_blank">https://github.com/hollie/mist<wbr>erhouse/wiki/Echo-integration-<wbr>using-amazon-echo-ha-bridge</a> ------------------------------<wbr>--------------- I found the following bridge which allows the echo to control pretty much any device. It works with the on off commands.. ie: Alexa turn on my kitchen lights Alexa turn off my kitchen lights She simply responds with "OK" and since it's handled locally, it is fast. In most cases, my lights are on/off before she finishes saying OK You need to include the URL for the on/off commands.. the URL could be a Perl script to kick off more than a simple lights on/off command <a moz-do-not-send="true" href="https://github.com/armzilla/amazon-echo-ha-bridge" rel="noreferrer" target="_blank">https://github.com/armzilla/am<wbr>azon-echo-ha-bridge</a> the requires Java 8 here's a description from the github page: ----------- emulates philips hue api to other home automation gateways. The Amazon echo now supports wemo and philip hue... great news if you own any of those devices! My house is pretty heavily invested in the z-wave using the Vera as the gateway and thought it would be nice bridge the Amazon Echo to it. Register a device, bind to some sort of on/off (vera style) url ----------- Here are the steps I used to install the bridge on my Synology ------------------------------<wbr>------------------------------<wbr>------------ Amazon Echo HA Bridge install on Synology (it can be run on pretty much anything.. include Pi's) mkdir /volume1/@appstore/Amazon_Echo<wbr>_HA_Bridge/ cd /volume1/@appstore/Amazon_Echo<wbr>_HA_Bridge/ curl <a moz-do-not-send="true" href="https://github.com/armzilla/amazon-echo-ha-bridge/releases/download/v0.1.3/amazon-echo-bridge-0.1.3.jar" rel="noreferrer" target="_blank">https://github.com/armzilla/am<wbr>azon-echo-ha-bridge/releases/d<wbr>ownload/v0.1.3/amazon-echo-bri<wbr>dge-0.1.3.jar</a> vi listen.sh hohup java -jar amazon-echo-bridge-0.1.3.jar --upnp.config.address=<synolog<wbr>y IP> >> /volume1/@appstore/Amazon_Echo<wbr>_HA_Bridge/log/amazon_bridge.l<wbr>og & (to specify port, add --server.port=yyyy ie: java -jar amazon-echo-bridge-0.1.3.jar --upnp.config.address=<synolog<wbr>y IP> --server.port=yyyy) chmod +x listen.sh sh listen.sh logs are in /volume1/@appstore/Amazon_Echo<wbr>_HA_Bridge/log/amazon_bridge.l<wbr>og add/remove devices: <a moz-do-not-send="true" class="m_-2009997875497826940m_-6990178348780768366moz-txt-link-freetext">http://</a><synology IP>:8080/configurator.html ----------- Bridge server: update the address with your server IP.. i.e.: <a moz-do-not-send="true" class="m_-2009997875497826940m_-6990178348780768366moz-txt-link-freetext">http://</a><synology IP>:8080/api/devices Add a new device Name: ie: Kitchen On URL: <a moz-do-not-send="true" class="m_-2009997875497826940m_-6990178348780768366moz-txt-link-freetext">http://</a><Misterhouse IP>/ia5/set?$kitchen_light=on Off URL: <a moz-do-not-send="true" class="m_-2009997875497826940m_-6990178348780768366moz-txt-link-freetext">http://</a><Misterhouse IP>/ia5/set?$kitchen_light=off --------- go to echo settings <a moz-do-not-send="true" href="http://echo.amazon.com/#settings/connected-home" rel="noreferrer" target="_blank">http://echo.amazon.com/#settin<wbr>gs/connected-home</a> and have her Discover Devices or simply say "Alexa discover devices" ------------------------------<wbr>------------------------------<wbr>--------------------------- Now you should be able to control your devices as follows: Alexa turn on/off <name> Alexa turn on my kitchen light ------------------------------<wbr>------------------------------<wbr>------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. <a moz-do-not-send="true" href="https://www.gigenetcloud.com/" rel="noreferrer" target="_blank" class="moz-txt-link-freetext">https://www.gigenetcloud.com/</a> ______________________________<wbr>__________________________ To unsubscribe from this list, go to: <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users" rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/misterhouse-use<wbr>rs</a> ------------------------------<wbr>------------------------------<wbr>------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. <a moz-do-not-send="true" href="https://www.gigenetcloud.com/" rel="noreferrer" target="_blank" class="moz-txt-link-freetext">https://www.gigenetcloud.com/</a> ______________________________<wbr>__________________________ To unsubscribe from this list, go to: <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users" rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/misterhouse-use<wbr>rs</a> ------------------------------<wbr>------------------------------<wbr>------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. <a moz-do-not-send="true" href="https://www.gigenetcloud.com/" rel="noreferrer" target="_blank" class="moz-txt-link-freetext">https://www.gigenetcloud.com/</a> ______________________________<wbr>__________________________ To unsubscribe from this list, go to: <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users" rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/misterhouse-use<wbr>rs</a> <span class="m_-2009997875497826940m_-6990178348780768366HOEnZb"><font color="#888888"> </font></span></div> </div> </blockquote> </div> <span class="m_-2009997875497826940m_-6990178348780768366HOEnZb"><font color="#888888"> -- <div class="m_-2009997875497826940m_-6990178348780768366m_-7942567462655249663gmail_signature"> <div dir="ltr">-Craig</div> </div> </font></span></div> ------------------------------<wbr>------------------------------<wbr>------------------ ______________________________<wbr>__________________________ To unsubscribe from this list, go to: <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users" rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/misterhouse-use<wbr>rs</a> </blockquote> </div> </div> <fieldset class="m_-2009997875497826940m_-6990178348780768366mimeAttachmentHeader"></fieldset> <pre>------------------------------<wbr>------------------------------<wbr>------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.<a moz-do-not-send="true" href="http://sdm.link/xeonphi" target="_blank" class="moz-txt-link-freetext">http://sdm.link/xeonphi</a></pre> <fieldset class="m_-2009997875497826940m_-6990178348780768366mimeAttachmentHeader"></fieldset> <pre>______________________________<wbr>__________________________ To unsubscribe from this list, go to: <a moz-do-not-send="true" class="m_-2009997875497826940m_-6990178348780768366moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/misterhouse-use<wbr>rs</a> </pre> </blockquote> </div> ------------------------------<wbr>------------------------------<wbr>------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.<a moz-do-not-send="true" href="http://sdm.link/intel" rel="noreferrer" target="_blank" class="moz-txt-link-freetext">http://sdm.link/intel</a> ______________________________<wbr>__________________________ To unsubscribe from this list, go to: <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users" rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/misterhouse-use<wbr>rs</a> </blockquote> </div> </div> <fieldset class="m_-2009997875497826940mimeAttachmentHeader"></fieldset> <pre>------------------------------<wbr>------------------------------<wbr>------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.<a moz-do-not-send="true" href="http://sdm.link/intel" target="_blank" class="moz-txt-link-freetext">http://sdm.link/intel</a></pre> <fieldset class="m_-2009997875497826940mimeAttachmentHeader"></fieldset> <pre>______________________________<wbr>__________________________ To unsubscribe from this list, go to: <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/misterhouse-<wbr>users</a> </pre> </blockquote> <fieldset class="m_-2009997875497826940mimeAttachmentHeader"></fieldset> <pre>------------------------------<wbr>------------------------------<wbr>------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext moz-txt-link-freetext" href="http://sdm.link/slashdot" target="_blank">http://sdm.link/slashdot</a></pre> <fieldset class="m_-2009997875497826940mimeAttachmentHeader"></fieldset> <pre>______________________________<wbr>__________________________ To unsubscribe from this list, go to: <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/misterhouse-<wbr>users</a> </pre> </blockquote> <fieldset class="m_-2009997875497826940mimeAttachmentHeader"></fieldset> <pre>------------------------------<wbr>------------------------------<wbr>------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext moz-txt-link-freetext" href="http://sdm.link/slashdot" target="_blank">http://sdm.link/slashdot</a></pre> <fieldset class="m_-2009997875497826940mimeAttachmentHeader"></fieldset> <pre>______________________________<wbr>__________________________ To unsubscribe from this list, go to: <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/misterhouse-<wbr>users</a> </pre> </blockquote> <fieldset class="m_-2009997875497826940mimeAttachmentHeader"></fieldset> <pre>------------------------------<wbr>------------------------------<wbr>------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext moz-txt-link-freetext" href="http://sdm.link/slashdot" target="_blank">http://sdm.link/slashdot</a></pre> <fieldset class="m_-2009997875497826940mimeAttachmentHeader"></fieldset> <pre>______________________________<wbr>__________________________ To unsubscribe from this list, go to: <a moz-do-not-send="true" class="m_-2009997875497826940moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/misterhouse-<wbr>users</a> </pre> </blockquote> </div> </div> </div> ------------------------------<wbr>------------------------------<wbr>------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! <a moz-do-not-send="true" href="http://sdm.link/slashdot" rel="noreferrer" target="_blank" class="moz-txt-link-freetext">http://sdm.link/slashdot</a> ______________________________<wbr>__________________________ To unsubscribe from this list, go to: <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users" rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/misterhouse-<wbr>users</a> </blockquote> </div> -- <div class="gmail_signature" data-smartmail="gmail_signature"> <div dir="ltr">-Craig</div> </div> </div> <fieldset class="mimeAttachmentHeader"></fieldset> <pre wrap="">------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! <a class="moz-txt-link-freetext" href="http://sdm.link/slashdot" moz-do-not-send="true">http://sdm.link/slashdot</a></pre> <fieldset class="mimeAttachmentHeader"></fieldset> <pre wrap="">________________________________________________________ To unsubscribe from this list, go to: <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users" moz-do-not-send="true">https://lists.sourceforge.net/lists/listinfo/misterhouse-users</a> </pre> </blockquote> <br> <fieldset class="moz-mime-attachment-header"></fieldset> <pre wrap="" class="moz-quote-pre">------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! <a class="moz-txt-link-freetext" href="http://sdm.link/slashdot">http://sdm.link/slashdot</a></pre> <br> <fieldset class="moz-mime-attachment-header"></fieldset> <pre wrap="" class="moz-quote-pre">________________________________________________________ To unsubscribe from this list, go to: <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users">https://lists.sourceforge.net/lists/listinfo/misterhouse-users</a> </pre> </blockquote> </body> </html> --------------2AFITB0MoqdzAKCXdUzG52z0-- --===============6091818003962180587== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============6091818003962180587== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ________________________________________________________ To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users --===============6091818003962180587==--