Hi everyone, I have Echo working with the Hue Emulation perfectly. I recently got a google Home and would like this to be available as well via HA. Is this possible at all ? if so how please.
No matter what i do google home (app ) will not see any of the devices that Alexa can.
Or is it a case of one hue emulation only ? i do use letsencrypt as well so not sure if this is causing the issue
Thanks in advance
Rits
Same issue minus the letsencrypt. Any leads yet? I looking at HA-Bridge now.
Has the listen port been set to 80 in your config ?
GH only works on port 80 and unless otherwise specified Emulated Hue defaults to port 8300.
Try the trouble shooting at the bottom of the Emulated Hue components page ( except replace 8300 with 80 ). Once I got that working everything else fell into place.
Also, if you are running your HA server on Linux you’ll run into trouble trying to open port 80.
I did have it set to 80 but no luck. I did not try the troubleshooting. I tried HA_Bridge and no luck either. I will retry tonight using the multiple emulated hue along with the troubleshooting.
Thanks for replying. I have tried the troubleshooting and can see the the descriptor and devices as well… Port 80 didnt work for me either. I was going to look into HA_bridge but sounds like Corey didn’t have any luck there either.
If i disable type:alexa and just have type:google_home, google home app can see everything.
Any help would be appreciated if you have any luck.
Hi Claudio,
Thanks for that, i have tried to do as stated in your link but am struggling to get anywhere
i have copied the files into srv\homeassistant\lib\python3.4\site-packages\homeassistant\components\emulated_hue
but http://192.168.1.207:8301/description.xml displays nothing. i am at a loss , and as you might guess new to this.
also ran sudo setcap ‘cap_net_bind_service=+ep’ /usr/bin/python3.4
Do you have some steps i can follow by any chance
emulated_hue:
hue1:
type: alexa
listen_port: 8301
hue2:
type: google_home
listen_port: 80
which version of HASS are you using?
Since yesterday with the new 0.44 the component is not working anymore (works with 0.43.x)
darn it !!! just updated to 0.44 this morning
ehhh, yep, that’s the problem. If you do not need the extra components of 0.44 you can revert to 0.43.2
Just downgrade your HA using this:
Input which version you want.
sudo pip3 install homeassistant==0.XX.X
Thank you. I have downgraded now to 0.43.2
i get
2017-05-08 12:38:52 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/lib/python3.4/asyncio/tasks.py”, line 233, in _step
result = coro.throw(exc)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/setup.py”, line 60, in async_setup_component
return (yield from task)
File “/usr/lib/python3.4/asyncio/futures.py”, line 388, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.4/asyncio/tasks.py”, line 286, in _wakeup
value = future.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/asyncio/tasks.py”, line 237, in _step
result = next(coro)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/setup.py”, line 140, in _async_setup_component
component = loader.get_component(domain)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py”, line 141, in get_component
module = importlib.import_module(path)
File “/usr/lib/python3.4/importlib/init.py”, line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 2254, in _gcd_import
File “”, line 2237, in _find_and_load
File “”, line 2226, in _find_and_load_unlocked
File “”, line 1200, in _load_unlocked
File “”, line 1129, in _exec
File “”, line 1471, in exec_module
File “”, line 321, in _call_with_frames_removed
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/emulated_hue/init.py”, line 55, in
DOMAIN: cv.ordered_dict({
AttributeError: ‘module’ object has no attribute ‘ordered_dict’
in the log file.
Ignore my last message please… turns out the downgrade hadnt worked so was still running 0.44.0. once i moved to 0.43.2 all seems to be working in terms of being able to see responses on http://192.168.1.XX:8301/api/pi/lights
http://192.168.1.XX/api/pi/lights
http://192.168.1.XX/description.xml
and http://192.168.1.XX:8301/description.xml.
i will test once i get home if i can see them on GH and Alexa discovery. Fingers crossed. will let you all know
Hopefully there will be an update which enables this to work with future versions.
I bought a physical Google Home today and want to get it as well as my rPi Google Assistant integrated. I set the multiple emulated hue back up but am not getting anything for the GH. I see a comment above that it wasn’t working after the 0.43.2 - is this still the case? I’m running 0.46
How can I get both GH and Alexa working?
Nevermind… I think I found it in this post:
I have both working under emulated_hue running hass.io on my rpi3, I also struggled to get Google Home working and paired, I’ve managed to get it working with the default config and pair Hass with Google home with android google home apk version 1.19.26.
Then struggled again to get it working along with Alexa on my config, which end up like this:
emulated_hue:
type: google_home
host_ip: my.rpi3.hass.server.ip
listen_port: 80
emulated_hue 1:
type: alexa
and both are working together along as expected
I give up. Initially I was having duplicated devices show up for Google Home but by changing the nicknames on the extras that seemed to satisfy it. Then every morning since adding the GH I have had issues with Echo/Alexa having duplicate entries. Alexa is the primary interface to HA in my home with Dots spaced throughout the home so for now I have removed everything GH from my configuration as well as the multiple emulated_hue. #1 rule is that the wife has to be happy or everything goes back to dumb-house.
The only things I can think of is I have my Wink Hub (V1) set to reboot at 2 am each morning and this throws Alexa off or I am just unlucky with the multiple emulated hue.
Cant you try one or two days without Alexa rebooting? I have both running for at least one week without any problem. Removing, adding or renaming components haven’t gave any problem aswell everything works flawless after hass reboot
I can try later this week probably. I do want both connected as it is the primary reason for having them in my home.
I tried Sthope’s suggestion and it appears to work on both alexa and google_home. its only been a day since i cahanged the config …will keep an eye on it and report back.
Wow…I did not know it was that easy to run both GH and Alexa with HA. Did you add anything else besides the config? Also, will the host_ip
change if I am usint letsencrypt?