I downloaded and installed v0.60. on Lubuntu last week, but have just been told that I need v0.61.0 in order to get access to the Logitech Media Server support that I want. I’ve tried upgrading my installation (using python3 -m pip install --upgrade homeassistant), but I still have v0.60.0.
Is there any way that I can get upgraded to 0.61.0?
What was your install method ontop of lubuntu? If you used a virtual environment install did you enter that environment prior to running the upgrade command?
From reading the forums, there appears to be a number of issues with 0.61.0, you may want to hold off for a 0.61.1 so the issues can be fixed.
What are you trying to do with Logitech media server? I’ve been running for several months with zero problems. This is my setup:
media_player:
- platform: squeezebox
host: 192.168.0.3
I’m trying to use Google Home/IFTTT to play songs/albums using LMS. I have that same config in my configuration.yaml, but I don’t see the squeezebox_call_method service listed on the Services page of the HA GUI. I’ve just been told that Squeezebox support was only added in HA 0.61.0. What version do you have?
I believe that I did use a virtual environment to install HA, and used “sudo su -a /bin/bash homeassistant” to get into the environment and attempt the upgrade. Does that make sense? (I have had no prior experience of virtual environments in Linux).
Make sure you upgraded via the instructions for a virtual environment if that is how you installed.
It looks like the squeeze box component was added before version 0.7 so along time ago.
However 0.61.0 includes:
Add 2 media_player services and 1 custom service to Squeezebox platform (@ericpignet - #10969) (media_player.squeezebox docs)
Which is what you are trying to use.
I would check the version file in your configuration directory, see what it says. If it is still on a previous release, my guess is you didn’t properly execute the upgrade.
That su command changes you to a different user, but doesn’t put you into the virtual environment. For that, you need to cd into the directory which contains the virtual environment, then run the activate script. Something like:
cd /srv/homeassistant
source bin/activate
when you’re into the virtual environment, your prompt should change to show it. Then run the pip3 upgrade from there.
Thanks - I managed to get into the virtual environment and ran the pip install/upgrade. It indicated that HA 0.61.0 was installed. So I stopped and restarted HA, and now when I try to access the web console it is hanging with the message “Loading data”
???
whats the log of the service running HA?
If you use broadlink, todoist, mopar, snapcast, those are broken and will hang the front end until 0.61.1 comes out (shortly).
Ah yes I can see some “unable to find component broadlink” messages in there - I’m using a broadlink. Is downgrading possible or do I need to wait for 0.61.1?
3 options:
-
Wait for 0.61.1. Upgrade.
-
Comment out the broadlink component and live without it until 0.61.1 comes out.
-
Downgrade. Probably best to make a new virtual environment, activate it, then install fresh:
pip3 install homeassistant==0.60.1
Thanks for that.
I’m tempted to downgrade but think I might find the 2nd virtual environment a bit confusing. What’s the reason for recommending a new one?
I haven’t tried to set LMS playback on my Google home yet, but I am running squeezelite-armv6hf on a Pi Zero W. I don’t see any logging in home-assistant.log, but it is logged in /var/log/syslog:
squeezelite_2?token=e1aafea5cf29ac52f4921e679d8975bf07a07e128877e756af1304c91d796f9d&cache=18e90e8ab473aa6e, media_album_name=BBC Archives, media_duration=456, media_title=Hallowed be thy name, media_content_type=music, media_position=439, friendly_name=SqueezeLite 2 @ 2018-01-16T14:35:21.438641-08:00
I find strange things can happen when you start upgrading and downgrading in the same environment. If you create a temporary one, you can just rm -rf it when 0.61.1 comes out.
The 0.61.1 release was just tagged, so I think it is probably a matter of hours until it comes out.
Edit: looks to be up right now, actually.
Haha thanks great timing - yes I just upgraded and I now have both the Broadlink and Squeezebox back.
I still can’t get HA to recognise the Squeezebox URL/command from IFTTT though… :0(