0.116: Entities card row editor, restore snapshots and performance metrics

As far as I know all you have access to is the console

you can SSH to the Host too which I think is what you would need

Also possible to access via Portainer (I think)
image

Use the ssh & web terminal addon.

1 Like

Cheers Nick
So just run the pip install via that addon and that’s it?

If I start fiddling with this then I am unsupported :grinning:

Yeah probably…you’re certainly in at the deep end with that method :grin:

As mentioned above there is work underway to rectify the issue so it’s a choice between waiting or wading into unfamiliar territory and seeing what happens…for me I’m waiting :smile:

I can use the cli to downgrade, I will do that for now :grinning:

1 Like

Using the add on gives you the HASSOS console not the Linux OS cli

Well that is where you want to install the package.

Sorry Mate not possible

Anyway I downgraded and now a new release has been provided 0.116.4 which fixes the issue

You haven’t typed the command for heavens sake.

its not a linux cli for heavens sake. its a console

What do you think the difference is between a linux cli and a console?

???

What do you mean?

I use HomeAssistant (full) (Previously known as Hass.IO) and don’t pay a penny or have any of my data in a cloud.

3 Likes

Quite a lot

Linux cli you can actually talk to the operating system.

A console you cannot access the OS. There is a software platform sitting on top of the OS that you can only do what the console lets you.

If you look carefully at the console you cannot add a package to the OS from it.

Its like a cisco CLI, can you get to the kernel, no you can’t you can only interact with IOS which sits on top of the linux kernel.

That’s absolutely not true.

A HA installation in a venv is definitely more complicated than the docker or HA OS versions. Especially for:

I’d say you chose the wrong install method for your skill level.

4 Likes

Appreciate the feedback and correcting me, honestly. I believe there’s a bit of confusion from someone consuming information at the main website, and without googling differences between all the options, everything is a bit of a blur.

hass.io - It doesn’t cost anything unless you use the cloud to enable some features otherwise not available in this platform. From all the googling, i’m guessing it manages a docker on your behalf and takes a way some of the complexity of managing, at the expense of possibly limiting to what you can do.

docker vs. venv - I personally have very basic UX CL experience and when i started with hass, docker and hass.io, were not an option. Fast forward to today and i have a fairly large configuration (complex for me) running that seems like a daunting task to move to docker or hass.io. Looking at the instructions for docker, from my perspective, they’re definitely more complex to at least follow and understand what you’re copy/paste into the cli. Not to mention that my brain has learned to ignore anything with the new catch phrase ‘node red’.

The blur - https://www.home-assistant.io/docs/installation/, in my opinion, anyone at first glance is forced into the very first option using the “recommended for” column but there’s no pros/cons explained anywhere. Case in point, Difference Home Assistant / Hass.io where there’s an understanding of clearly identifying the options with seemingly an attempt to some improvements in the documentation but a far cry explaining to an outsider the differences.

Gratitude - I will be forever grateful diving into this community years back and getting introduced to a hobby that is simply awesome with the added benefit of filling a centralized smart home gap. The community is the biggest selling point here because waking up with an idea can become a reality relatively quickly within boundaries of course.

My humble opinion - I would love to point a friend/neighbor/colleague to https://www.home-assistant.io/ and them truly within 15min really understand what hass is and all options available to them regarding installation without tabbing away and googling answers. Hass.io, hass.io, hass, venv, docker, node red, hass cloud, all become extremely complicated very rapidly and honestly is a turn off for most.

Python 3.8.x Upgrade Solved - For those reading this and lost into the abyss of upgrading python, the steps below is what worked for me this time around. Looks like majority of the issues had to do with dependencies and recompiling python and re-installing hass.

#Installing dependencies used to build from source
sudo apt install build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libudev-dev unixodbc-dev libpq-dev libwebp-dev libopenjp2-7-dev libjpeg-dev libtiff5-dev libfreetype6-dev libc-dev libffi-dev libbluetooth-dev libtirpc-dev libjemalloc-dev
#Download Python and unpack
cd /tmp
wget https://www.python.org/ftp/python/3.8.6/Python-3.8.6.tgz //replace 3.8.6 with desired version
tar xzvf Python-3.8.6.tgz  //replace 3.8.6 with desired version
cd Python-3.8.6 //replace 3.8.6 with desired version
#Compile and Install
./configure --enable-optimizations
make -j 4  //~20min
sudo make install
python3 --version //Confirm latest version of python installed
#Prepare new installation of hass and backup old installation
sudo systemctl stop [email protected]
cd /srv/
sudo mv /srv/homeassistant /srv/homeassistant_srvbak
sudo mkdir /srv/homeassistant
sudo chown homeassistant:homeassistant -R /srv/homeassistant
sudo su -s /bin/bash homeassistant
cd /home/homeassistant/
mv .homeassistant/ .homeassistant_bak
#Install Python in virtual environment, Hass, and update PIP
cd /srv/homeassistant
python3.8 -m venv . //replace major version 3.8 with desired version
source /srv/homeassistant/bin/activate
pip3 install homeassistant //Or replace with latest version you backed up using ‘pip3 install homeassistant==0.115.6’ command
pip install --upgrade pip
#Copy back configuration files
hass  //Wait a minute, press ctrl + c
deactivate 
cd /home/homeassistant/.homeassistant 
rm -R *
rm -Rf .*
cd .. 
cp -r .homeassistant_bak/* .homeassistant/
cp -r .homeassistant_bak/.storage/ .homeassistant/ //repeat for any missing files by comparing backup directory using the ‘ls -lsa’ command to look for hidden files
exit
sudo reboot //~20-30min
#Cleanup after successful installation
cd /srv/
sudo rm -R /homeassistant_bak
cd /home/homeassistant/
sudo rm -R /.homeassistant_bak
cd /tmp
sudo rm Python-3.8.6.tgz //replace 3.8.6 with desired version
sudo rm -R Python-3.8.6 //replace 3.8.6 with desired version

It also doesn’t exist. Hasn’t been called that for a while now.

All those features are still do-able. They just take more work.

Yes that is a distinct disadvantage, but the people who want an ‘appliance’ type experience rarely hit those limits.

1 Like

Yes you can. Actually you are adding it to the HA container, which is exactly where you want it.

Anyone else having trouble with LIFX since latest update? Lights stopped responding through HA. Integration fails to discover any on network.