Hello all,
Please help. Been struggling for a few days now. HA seem to die while starting with harmony enabled in the config.
HA gets stuck on startup and never fully boots while trying to setup harmony remote. Below are the relevant lines from the log:
May 29 22:55:11 HomeControl hass[10466]: INFO:homeassistant.components.remote:Setting up remote.harmony
......
May 29 22:55:14 HomeControl hass[10466]: INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state sensor.yr_symbol=4; attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK., entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=4;content_type=image/png, friendly_name=yr Symbol @ 2017-05-29T22:55:14.129985+08:00>, old_state=<state sensor.yr_symbol=unknown; attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK., entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png, friendly_name=yr Symbol @ 2017-05-29T22:55:11.075866+08:00>, entity_id=sensor.yr_symbol>
May 29 22:55:14 HomeControl hass[10466]: INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=sensor>
May 29 22:55:19 HomeControl hass[10466]: WARNING:homeassistant.setup:Setup of remote is taking over 10 seconds.
May 29 22:55:21 HomeControl hass[10466]: WARNING:homeassistant.components.remote:Setup of platform harmony is taking over 10 seconds.
Above is the last line I ever see. I think HA actually dies never finishes starting. My “top” command does not show its running anymore…
what i have done:
I installed the latest version of : pyharmony and I can issue a : harmony -discover
command and I get results back.
I can even successfully send a commands to my aircon, TV and fan to turn them ON and OFF from terminal:
harmony --harmony_ip MY_IP --harmony_port 5222 --loglevel DEBUG send_command --device_id 54927877 --command 'Power OFF'
So my pyharmony seem installed correctly.
pip list shows: pyharmony (1.0.16)
I did NOT install the the “remote” component because I think it is already coming pre-installed with the latest HA version (0.45) which I updated just a few days ago. Is this a mistake? Did I actually still need to do the below? I actually checked my python3.4 installed components and I can see “remote” there.
I have a component directory: /srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/remote
pi@HomeControl:/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/remote $ ls -l
total 36
-rw-r--r-- 1 homeassistant homeassistant 1546 May 29 00:09 demo.py
-rw-r--r-- 1 homeassistant homeassistant 6420 May 29 00:09 harmony.py
-rw-r--r-- 1 homeassistant homeassistant 5144 May 29 00:09 __init__.py
-rw-r--r-- 1 homeassistant homeassistant 3343 May 29 00:09 itach.py
-rw-r--r-- 1 homeassistant homeassistant 2129 May 29 00:09 kira.py
drwxr-xr-x 2 homeassistant homeassistant 4096 May 29 00:09 __pycache__
-rw-r--r-- 1 homeassistant homeassistant 1004 May 29 00:09 services.yaml
Also since the HA is looking to configure it, it must be installed…
So again I did NOT do below:
svn export https://github.com/iandday/home-assistant/trunk/homeassistant/components/remote
Copy this folder into your HASS components folder
cp -TRv ./remote /usr/local/lib/python3.4/dist-packages/homeassistant/components
my config file looks like this: (I do NOT use secrets and just inline my email and password)
remote:
- platform: harmony
name: Living Room
username: [email protected]
password: MyPassword
host: 10.168.10.77
port: 5222
I really don’t know what is wrong with my setup.
Thank you for your ideas and help.