armzilla / amazon-echo-ha-bridge

emulates philips hue api to other home automation gateways
Apache License 2.0
732 stars 168 forks source link

Devices discovered by Echo but reported as not responding when I try to control them #37

Open mph070770 opened 9 years ago

mph070770 commented 9 years ago

I’ve completed the setup and have a hue device recognised by Echo. I used FHEM home automation software, and a light is turned on with:

myurl/fhem?cmd=set%20LOUNGELIGHT%20on&XHR=1

When I say “alexa lounge light on” it replies by saying “sorry the device lounge light is not responding”

Any ideas why? I’m running with a raspberry Pi connected to ethernet. My FHEM server is on the same ethernet network.

Thanks

Raptortail commented 8 years ago

Did you ever figure this out? I'm having the same issue.

audiofreak9 commented 8 years ago

The Echo requires an HTTP 200 response from the device it sends the URL to, http://forum.micasaverde.com/index.php/topic,31920.msg234958/topicseen.html#msg234958

armzilla commented 8 years ago

Is FHEM returning a different http response code? I am reluctant to support anything besides the 2xx codes.

On Fri, Oct 23, 2015, 07:35 audiofreak9 notifications@github.com wrote:

The Echo requires an HTTP 200 response from the device it sends the URL to, http://forum.micasaverde.com/index.php/topic,31920.msg234958/topicseen.html#msg234958

— Reply to this email directly or view it on GitHub https://github.com/armzilla/amazon-echo-ha-bridge/issues/37#issuecomment-150592415 .