For what it’s worth I still have the problem of hass not being able to auto install pyharmony:
(homeassistant_venv) homeassistant@homepi:~ $ hass --script check_config
Testing configuration at /home/homeassistant/.homeassistant
16-11-20 17:44:44 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.remote.harmony. Make sure all dependencies are installed
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/loader.py", line 139, 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 "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/remote/harmony.py", line 17, in <module>
import pyharmony
ImportError: No module named 'pyharmony'
16-11-20 17:44:44 ERROR (MainThread) [homeassistant.loader] Unable to find component remote.harmony
16-11-20 17:44:44 ERROR (MainThread) [homeassistant.bootstrap] Unable to find platform remote.harmony
Failed config
General Errors:
- Platform not found: remote.harmony
Successful config (partial)
SEEMS to be working fine after a manual install but I haven’t had much experience with it working so I’ll confirm later after I’ve figured it out a bit… Is there any way to have the current_activity in the Remote tile? I haven’t figured that out yet and I just have it separate with both the default Remote tile and:
i’m in
(hass_venv) hass@raspberrypi:/tmp$
when i
pip install master.zip
and get
Successfully installed pyharmony-1.0.11
upon completion
however still get:
pi@raspberrypi:~ $ python3 pyharmony
python3: can’t open file ‘pyharmony’: [Errno 2] No such file or directory
or
(hass_venv) hass@raspberrypi:/home/pi$ python3 pyharmony
python3: can’t open file ‘pyharmony’: [Errno 2] No such file or directory
and a hass restart still shows the JSON failure in the log
EDIT: success! fyi…
close/stop hass
uninstall pyharmony
delete old harmony_conf
apt-get update/upgrade
reboot
hass now automatically downloads pyharmony 1.0.11, makes the new conf file etc, and the component works again!
Thank you Iandday for this fantastic component!
I have it connecting with 2 harmony hubs and will be configuring homeassistant to trigger activities.
I also have an older version of the hub, called Harmony Link.
I see that the readme for some versions of pyharmony refer to support for Link/Hub,
Is there any chance support can be added for the link? (I know it’s asking a lot, but maybe it is not too different than hub)
I will be happy to help if I can. The Link is easy to find for less than $20, so it is a cheap alternative with very similar function to hub.
I cant for the life of me figure out how to install this on a all in one installation.
Is anyone so kind to post which commands i have to run in order to install this?
Well i did all that and i still cant boot HA.
Is it possible that because my password for harmony contains special charachters such as ! or @ it fails somewhere?
Edit: that was it the whole time i used " " and it worked
However I’m not sure how I’d trigger a Volume down command. According to the conf file, the receiver is ’ 30557844 - Onkyo AV Receiver’ and the command is ‘VolumeDown’ but I do now know how I’d format this data.
more of a rube goldberg implementation, but what about a Input slider? Min of 1, max of ten, and an initial value of 5. An automation can trigger the appropriate script depending if the value is less or greater than 5, then you can reset the slider to 5 once the volume change script is executed. Might not be great for rapid adjustment of the volume with the delays.
Everything’s working flawlessly over here with version 1.0.11. Thanks for the fix and the constant improvements. This component has come a long way since 0.2.0.
Mine also works this morning after updating, thanks so much @iandday for continued hard work!
Out of interest, why do you need the authentication?
I am sure you may have seen harmonyhubjs-client, which seems to interact locally only? Link: https://github.com/swissmanu/harmonyhubjs-client