My error log is peppered with these warnings when it’s running
Executing <Task finished coro=<_handle_async_response() done, defined at /usr/local/lib/python3.7/site-packages/homeassistant/components/websocket_api/decorators.py:14> result=None created at /usr/local/lib/python3.7/site-packages/homeassistant/core.py:291> took 0.270 seconds
and Executing <TimerHandle _async_create_timer.<locals>.fire_time_event created at /usr/local/lib/python3.7/site-packages/homeassistant/core.py:1260> took 0.124 seconds
Try to copy the aioheos.py file over as i mentioned earlier. I believe there is still a version numbering issue with lampy’s aioheos. You can either remove the aioheos directory’s in \config\deps\lib\python3.7\site-packages and it’ll pull the new one after a restart or you can copy that file over manually and it should fix the warning messages.
See the readme file for an automation example to play a favourite when coming home.
Let me know if I broke something (I’m not a python/homeassistant developer)!
How do I make the volume control visible? Or get a list of my favorite channels?
My main problem though is, when I press ‘stop’ the entitity goes offline and it’s not possible to hit play again.
Can somebody give me an uncomplicated instruction how can i get this to work? I have paste the heos.py file to the location homeassitant->component->media player and made the entry in the configuration.yaml file. But after restart the HA indicates about invalid config. Have I forgot something?
@zhe , Hast du noch etwas anderes bei dir gemacht dass es bei dir geklappt hat? Vielleich muss ich noch etwas dazu installieren?
I have modified the aesink code for both the HA component and the aioheos api to allow for multiple speakers. I am not sure if anyone else has done this and if not how I would get this out? I don’t want to setp on aesink’s toes. It still has some issues when speakers are linked and if the speakers goes “off” there is no way to bring it back unless you use the heos app (people have mentioned this in the past)
Somewhere in this thread it was mentioned that dependencies ain’t installed correctly, because this is a custom plugin. You have to install it manually:
ps: ich bleib beim englisch damit es auch alle verstehen
edit:
Actually the log file complains about the directory, because it will stop working soon. The correct path working for future as well version is:
“Home Assistant\custom_components\heos\media_player.py”
Thank you. That’s what I was looking for.
Can you share how to add favorites? I got it working with a script now, but I believe there are better ways than that. Do you maybe know how to play spotify playlists as well?
I did script way as well. Although I think you can specify favorites right in the player. For Spotify I just have that in a script as well, basically I use a spotify media player that switches input to HEOS when it starts playing.
Hi,
I have the same question, how do I use a request from HA. I use the custom HA for over a year and want to use the added functionality. So if anyone can point me in the right direction…
And I also hope it will be included in the official platform.
One mor question: if you switch of the Heos (completely) you need to restart HA to get playing information (probably a TCP timeout). Does anyone know to fix this?
Keep up the good work.