When trying to set up alexa I installed ha-bridge and now when homeassistant starts I get this error and the emulated hue cannot see home assisant and vice versa. any ideas?
2017-06-18 13:21:30 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform hue
Traceback (most recent call last):
File "/home/hass/.local/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 160, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/lib/python3.5/asyncio/tasks.py", line 392, in wait_for
return fut.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/hass/.local/lib/python3.5/site-packages/homeassistant/components/light/hue.py", line 138, in setup_platform
allow_in_emulated_hue, allow_hue_groups)
File "/home/hass/.local/lib/python3.5/site-packages/homeassistant/components/light/hue.py", line 149, in setup_bridge
config_file_path=hass.config.path(filename))
File "/home/hass/.homeassistant/deps/phue.py", line 629, in __init__
self.connect()
File "/home/hass/.homeassistant/deps/phue.py", line 753, in connect
self.register_app()
File "/home/hass/.homeassistant/deps/phue.py", line 707, in register_app
response = self.request('POST', '/api', data)
File "/home/hass/.homeassistant/deps/phue.py", line 666, in request
return json.loads(str(result.read(), encoding='utf-8'))
File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)