Git Product home page Git Product logo

Comments (9)

mfiumano avatar mfiumano commented on June 15, 2024

It might also help to know that my Green Test buttons in the bottom of the configurator work, while the blue test buttons next to the current devices in configurator don't work...

from amazon-echo-ha-bridge.

armzilla avatar armzilla commented on June 15, 2024

Caused by: org.apache.http.ProtocolException: Target host is not specified
makes me think this is a problem with the url you are trying to hit.
can you provide the result of a GET on http://:8080/api/devices ?

from amazon-echo-ha-bridge.

mfiumano avatar mfiumano commented on June 15, 2024

pi@raspberrypi ~ $ wget http://192.168.1.27:8080/api/devices
--2015-08-25 11:15:49-- http://192.168.1.27:8080/api/devices
Connecting to 192.168.1.27:8080... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/json]
Saving to: `devices'

[ <=>
                ] 798         --.-K/s   in 0s

2015-08-25 11:15:49 (5.80 MB/s) - `devices' saved [798]

pi@raspberrypi ~ $ cat devices
[{"content":[{"id":"d1e8db0c-b45c-4c92-9486-65039cc73205","name":"Family
Room
Light","deviceType":"switch","offUrl":"","onUrl":"","httpVerb":null,"contentType":null,"contentBody":null},{"id":"de66d3aa-2a42-4927-8ca1-a71ffa5a08a6","name":"Living
Room Light","deviceType":"switch","offUrl":"
http://192.168.1.7:3480/data_request?id=action&output_format=json&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=0&DeviceNum=31
","onUrl":"
http://192.168.1.7:3480/data_request?id=action&output_format=json&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=1&DeviceNum=31
","httpVerb":null,"contentType":null,"contentBody":null}],"facets":[],"totalPages":1,"totalElements":2,"first":true,"sort":null,"numberOfElements":2,"last":true,"size":2,"number":0}]

On Tue, Aug 25, 2015 at 12:46 AM, Arm Suwarnaratana <
[email protected]> wrote:

Caused by: org.apache.http.ProtocolException: Target host is not specified
makes me think this is a problem with the url you are trying to hit.
can you provide the result of a GET on http://:8080/api/devices ?


Reply to this email directly or view it on GitHub
#28 (comment)
.

from amazon-echo-ha-bridge.

audiofreak9 avatar audiofreak9 commented on June 15, 2024

@mfiumano I am by no means proposing a solution to your problem, but I wanted to mention that I have found the Echo responds and works better when I name my devices without the word 'Light'. You used "Family Room Light", I'd suggest "Family Room" instead. The word 'Light' is a trigger word for the Echo.

from amazon-echo-ha-bridge.

mfiumano avatar mfiumano commented on June 15, 2024

Ok, thank you, i don't think that is the problem in this case, since my logs scroll on the RPi Hue Bridge and look like Echo 'got it' and is sending the right thing to the RPi, although the Bridge doesn't seem to be sending the right thing out to the Vera. Missing a 'Target Host' or something or other.... But it is definitely something to consider moving forward to make sure that Echo 'gets it' consistently. I was thinking that having three words might be too much for it anyway..... 'Living + Room + Light'.

from amazon-echo-ha-bridge.

audiofreak9 avatar audiofreak9 commented on June 15, 2024

@mfiumano You mentioned the Green Test buttons work, while the Blue Buttons do not. Have you tried the Green Test buttons when you "Edit" one of your existing devices?

from amazon-echo-ha-bridge.

mfiumano avatar mfiumano commented on June 15, 2024

There's a good chance I'm just an idiot. Not sure, but when i got home it was working.....sigh.

from amazon-echo-ha-bridge.

audiofreak9 avatar audiofreak9 commented on June 15, 2024

At least it's working! That's the ultimate goal.

from amazon-echo-ha-bridge.

michaelhinchey avatar michaelhinchey commented on June 15, 2024

@audiofreak9 I dont seem to have an issue with naming anything with lights. Occasionally I get the there is more than one device with the name light. I think if Alexa hears your wording clearly she does the command more often than not without the more than one device prompt. If this happens more than a few times I generally just clear and rediscover. I have only had to do this once though. Just speak clearly and more slowly. Not deep down south slow, but slow enough after the Alexa prompt. Also training Alexa may help. I have only done this in my bedroom because I tend to speak more softly in there so I dont wake my significant other.

from amazon-echo-ha-bridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.