Home AMX User Forum AMX General Discussion
Options

Amazon Echo

2»

Comments

  • Options
    amdpoweramdpower Posts: 110
    Unfortunately, it appears so. The NX can connect over https but with the Echo you need to actually SERVE https. I know the internal webserver does that but I couldn't find a way to do it through code and I called AMX and they didn't appear to know of a way either.
  • Options
    ericmedleyericmedley Posts: 4,177
    amdpower wrote: »
    Unfortunately, it appears so. The NX can connect over https but with the Echo you need to actually SERVE https. I know the internal webserver does that but I couldn't find a way to do it through code and I called AMX and they didn't appear to know of a way either.


    It's always something...
  • Options
    nickmnickm Posts: 152
    I have custom Alexa skills talking to my AMX systems using a NodeJS app in the middle. Works very nicely. I listen for HTTPS requests (my own RESTful API) in Node, as well as a regular TCP port for the NX to IP_CLIENT_OPEN to the Node app. I then just send custom messages from Node to the NX. Takes a bit of work, but it's been a great learning experience.

    Bonus points for encrypting the session with a verified certificate.
  • Options
    I have done this using a bit of software called home automation bridge it lets me send http get and such i then have a http to serial bridge i built using an arduino . It works but this would be nicer
  • Options
    ericmedleyericmedley Posts: 4,177
    nickm wrote: »
    I have custom Alexa skills talking to my AMX systems using a NodeJS app in the middle. Works very nicely. I listen for HTTPS requests (my own RESTful API) in Node, as well as a regular TCP port for the NX to IP_CLIENT_OPEN to the Node app. I then just send custom messages from Node to the NX. Takes a bit of work, but it's been a great learning experience.

    Bonus points for encrypting the session with a verified certificate.

    I'm usually not a fan of having a go-between box, especially when that box is some flavor of computer lurking in a dark corner of the eq room. I have successfully used a cool little EPROM hard-burned OS LINUX box (no moving parts - bare essentials - if stuck, power cycle and back up) The thing was around $100 and has been pretty bullet proof. I won't bore you with what it was doing, but suffice it to say it was pretty much what we're describing here; enabling the AMX system to do a little web style interaction that normally couldn't be done.
  • Options
    it can be done with a http to https tunnel like stunnel i am using using it on a linux wm that is running on my nas . there is an example of this plus alexa that someone wrote and shared .here is a link
    http://codeandcogitation.com/2017/08/integrating-the-amazon-echo-to-amx-crestron-or-other-home-automation-device/ this works very well and is just sending txt back to amx . kind regards
Sign In or Register to comment.