Yes, now I can’t check, but yes under custom_components
Also check my previous message if you have hassbian, some messages before if you have AIO
I run on Ubuntu in a venv. I ran the setcap for both /usr/bin/python3.5 & /srv/homeassistant/bin/python3 - not sure if either works. I’m still at the error of:
17-05-02 17:04:10 ERROR (MainThread) [homeassistant.config] Invalid config for [emulated_hue]: [hue1] is an invalid option for [emulated_hue]. Check: emulated_hue->emulated_hue->hue1. (See /home/homeassistant/.homeassistant/configuration.yaml, line 99). Please check the docs at https://home-assistant.io/components/emulated_hue/
17-05-02 17:04:10 ERROR (MainThread) [homeassistant.setup] Setup failed for emulated_hue: Invalid config.
I am not home now.
Did you put it here
custom_components/emulated_hue/
?
crap, no… just under custom_components… fixing now.
You put Alexa and gh on the same IP
Should be on two different IP, I think
Should it be the IP of the device running GH?
I have physical GH and Echo. If I remember correctly I put their IP address
Read this thread, 99% of the issue you can find here
Ok, I changed the GH IP to the RPi running GH. I am not getting any errors now! Thank you!!!
Now if I can just figure out how to control anything from it
Check this URL to see if all works
I could not find a URL in your post.
http://192.168.1.239/description.xml
and
http://192.168.1.239/api/pi/lights
and
http://192.168.1.239:8300/description.xml
abd
http://192.168.1.239:8300/api/pi/lights
Change the URL with your pi IP address
Sorry for the delay… crazy work hours lately.
For my server running HA (and the emulated_hue):
http://192.168.2.100/description.xml - This site can’t be reached - 192.168.2.100 refused to connect.
http://192.168.2.100/api/pi/lights - This site can’t be reached - 192.168.2.100 refused to connect.
http://192.168.2.100:8300/description.xml :
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<URLBase>http://192.168.2.100:8300/</URLBase>
<device>
<deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>
<friendlyName>HASS Bridge (192.168.2.100)</friendlyName>
<manufacturer>Royal Philips Electronics</manufacturer>
<manufacturerURL>http://www.philips.com</manufacturerURL>
<modelDescription>Philips hue Personal Wireless Lighting</modelDescription>
<modelName>Philips hue bridge 2015</modelName>
<modelNumber>BSB002</modelNumber>
<modelURL>http://www.meethue.com</modelURL>
<serialNumber>8300</serialNumber>
<UDN>uuid:2f402f80-da50-11e1-8300-001788255acc</UDN>
</device>
</root>
http://192.168.2.100:8300/api/pi/lights :
{“group.bedroom_lights”: {“modelid”: “HASS123”, “name”: “Bedroom Lights”, “state”: {“bri”: 255, “on”: true, “reachable”: true}, “swversion”: “123”, “type”: “Dimmable light”, “uniqueid”: “group.bedroom_lights”}, “group.ceiling_fan_light”: {“modelid”: “HASS123”, “name”: “Ceiling Fan Light”, “state”: {“bri”: 0, “on”: false, “reachable”: true}, “swversion”: “123”, “type”: “Dimmable light”, “uniqueid”: “group.ceiling_fan_light”}, “group.dining_room”: {“modelid”: “HASS123”, “name”: “Dining Room”, “state”: {“bri”: 255, “on”: true, “reachable”: true}, “swversion”: “123”, “type”: “Dimmable light”, “uniqueid”: “group.dining_room”}, “group.exterior”: {“modelid”: “HASS123”, “name”: “Exterior”, “state”: {“bri”: 0, “on”: false, “reachable”: true}, “swversion”: “123”, “type”: “Dimmable light”, “uniqueid”: “group.exterior”}, “group.kitchen”: {“modelid”: “HASS123”, “name”: “Kitchen”, “state”: {“bri”: 255, “on”: true, “reachable”: true}, “swversion”: “123”, “type”: “Dimmable light”, “uniqueid”: “group.kitchen”}, “group.living_room”: {“modelid”: “HASS123”, “name”: “Living Room”, “state”: {“bri”: 255, “on”: true, “reachable”: true}, “swversion”: “123”, “type”: “Dimmable light”, “uniqueid”: “group.living_room”}, “light.bedroom_fan_3”: {“modelid”: “HASS123”, “name”: “Reading Light”, “state”: {“bri”: 0, “on”: false, “reachable”: true}, “swversion”: “123”, “type”: “Dimmable light”, “uniqueid”: “light.bedroom_fan_3”}, “light.bedroomlamp_level_17_0”: {“modelid”: “HASS123”, “name”: “Bedroom Lamp”, “state”: {“bri”: 75.0, “on”: true, “reachable”: true}, “swversion”: “123”, “type”: “Dimmable light”, “uniqueid”: “light.bedroomlamp_level_17_0”}, “light.lrlamp_level_14_0”: {“modelid”: “HASS123”, “name”: “Living Room Lamp”, “state”: {“bri”: 3.0, “on”: true, “reachable”: true}, “swversion”: “123”, “type”: “Dimmable light”, “uniqueid”: “light.lrlamp_level_14_0”}, “light.tablelamp_level_15_0”: {“modelid”: “HASS123”, “name”: “Table Lamp”, “state”: {“bri”: 3.0, “on”: true, “reachable”: true}, “swversion”: “123”, “type”: “Dimmable light”, “uniqueid”: “light.tablelamp_level_15_0”}, “script.garage_door”: {“modelid”: “HASS123”, “name”: “Garage Door”, “state”: {“bri”: 0, “on”: false, “reachable”: true}, “swversion”: “123”, “type”: “Dimmable light”, “uniqueid”: “script.garage_door”}, “script.restart_ha”: {“modelid”: “HASS123”, “name”: “Reboot System”, “state”: {“bri”: 0, “on”: false, “reachable”: true}, “swversion”: “123”, “type”: “Dimmable light”, “uniqueid”: “script.restart_ha”}, “script.winkreboot”: {“modelid”: “HASS123”, “name”: “Reboot Wink”, “state”: {“bri”: 0, “on”: false, “reachable”: true}, “swversion”: “123”, “type”: “Dimmable light”, “uniqueid”: “script.winkreboot”}, “switch.siren_switch_10_0”: {“modelid”: “HASS123”, “name”: “Siren”, “state”: {“bri”: 0, “on”: false, “reachable”: true}, “swversion”: “123”, “type”: “Dimmable light”, “uniqueid”: “switch.siren_switch_10_0”}}
If I try anything of the Pi running GH I get :
http://192.168.2.3/description.xml - This site can’t be reached - 192.168.2.3 refused to connect.
http://192.168.2.3:8300/description.xml - This site can’t be reached - 192.168.2.3 refused to connect.
you have a physical Google Home?
No sir, just the one running on the Pi3. It lets me interact and ask questions but I was hoping to integrate it into HASS for additional voice control and maybe future projects.
I think you need a physical GH in order for the pi3 to work as (additional) GH and control HASS via emulated_hue.
This may change in the future depending on Google
Copy that, this is what I feared. Thank you for troubleshooting with me nonetheless.
Oh well, at least I got something to play with out of the experiment.
“Account linking for third party services requires owning a Google Home and installing the Google Home application. This affects using services like Uber, or connecting to home automation devices like Hue.”
I just upgraded to HA version 0.44.0 and it breaks the custom emulated hue. I see this in the log…
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 "/usr/local/lib/python3.4/dist-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 "/usr/local/lib/python3.4/dist-packages/homeassistant/setup.py", line 140, in _async_setup_component
component = loader.get_component(domain)
File "/usr/local/lib/python3.4/dist-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 "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/home/pi/.homeassistant/custom_components/emulated_hue/__init__.py", line 55, in <module>
DOMAIN: cv.ordered_dict({
AttributeError: 'module' object has no attribute 'ordered_dict'
Please help.
Oh no no , hope gets fixed