This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Comments
Can you have a look what might be missing or should be changed?
thank you
what kind of device are you trying to switch?
Can't find anything in your screenshot that looks wrong tho...
You are sure the bearer token is correct right? Other devices are working?
can you explain how I could find out how to trace/log what's happening, or just test it further. Aside of filling in as per your instructions, I have no idea what's happening, or how I could test this in a different way (I am not a developer).
Could you try to end the url with a '/' as well?
When the switch is is off I get a response: {"status":200,"result":{"onoff":false}},
and when I manually turn it on I get a response: {"status":200,"result":{"onoff":true}}.
And I am sure the bearer token is also correct.
What happens when you press test from the ha-bridge UI? Any error?
You did spam the TEST ON and TEST OFF buttons? It just flooded my screen with errors while something is wrong..
but pressing the buttons like off & on does not trigger anything.
However I just got this error, not sure what to do with it:
And you are sure HA-Bridge has access to the same network as your homey? You could try the cloud id url to check if that works: https://YOURCLOUDID.homey.athom.com/api/manager/devices/device/${device.targetDevice}/state
I see you got the target set in the settings, so that url should work with the bearer token and the cloud id.
I don't know anymore: Taking copy-past from: http://192.168.1.24/?bearer_token=f14e418.... (the whole string), into the URL as you suggested and getting a message that this homey is not connected.
But if that isn't the case i am out of options as well <span></span>
all i can say is check your input 1 char at a time...make 1000% sure their aint errors in there..
Thank you for the tutorial. Works great for me.
Christoph
Not much in that error btw...you did tried multiple devices right?
Nice one.. havent tried this yet, but looking forward to it.. im a REAL github beginner, but i hope i can make it work.. when the "app" is installed, will alexa do the rest of the work, or is there a lot of manuel tweaking before it gets up and running?
@swtt thanks for the help and thinking about the options. I now have my virtual hue bridge fully working and have successfully connected it also with my Harmony remote to switch my lights with the TV remote.
Is that correct? Then I will definetly install RPi tommorow
I have configured 3 lights: 1 kaku light switch, one is a kaku power plug and one a Fibaro controlled dimmer switch. All 3 work (for now just tested with "onoff" function). They work on the Harmony remote (hue detected the bridge automatically) and also on the official Hue app (although it requires manual IP address to be entered). All good and reliable. I do not have an Echo, so I just assume it is working for your set up.
I also tried connecting ha-bridge to the Hue function from "the voice" TV show, but that has not worked. Probably not able to get this done as it is not 100% compatible with the real Hue bridge.
I've just set up Heimdall and want to activate the Armed function using Habridge
Thanks
Anything special needed when running this in a Docker?
\Edit: Not sure why, but the devices are found now.