ppanagiotis / pymusiccast

Group MusicCast Speakers with Home Assistant
MIT License
37 stars 8 forks source link

Media player entity not created #14

Closed str2der closed 3 years ago

str2der commented 3 years ago

I have installed the pymusiccast via Hacs. The files (and the pycache folder) is located in:

/config/custom_components/musiccast_yamaha/

I have also added the following to Configuration.yaml:

media_player:

However - when I restart HA, it doesn't create a media player entity as I was expecting. Am I doing something wrong?

ppanagiotis commented 3 years ago

Is 192.168.1.192 accessible through your home assistant? try telnet 192.168.1.192 80 from your home assistant device.

str2der commented 3 years ago

Hi! Thanks for reaching out!

I'm running HA on a virtual Ubuntu server that is running in Oracle VM Virtualbox on a Win10 machine.

From the Win10 machine I can open 192.168.1.192 in Chrome to access the web interface of the Musiccast unit. When trying with Telnet from the Win10 machine I get "Connection to host lost" after a while.

Don't know if the information is of any use, but in Configuration.yaml I already have the following, working as it should:

vacuum:

So it seems that the HA server can at least access that IP address correctly.

str2der commented 3 years ago

Managed to get it working!

Don't actually know what was wrong from the beginning, but I re-installed the component. Made sure all Musiccasts were not in standby and then added all the Musiccasts to configuration.yaml

ppanagiotis commented 3 years ago

Great! Have fun.