Nefit easy client

We’re a step in the right direction here.
Home-assistant will start now. get the following error message

version: 0.108.1
Hardware: Intel Nuc

error message:
Logger: homeassistant.setup
Source: custom_components/nefiteasy/init.py:82
First occurred: 9:56:05 PM (1 occurrences)
Last logged: 9:56:05 PM

Error during setup of component nefiteasy
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 171, in _async_setup_component
hass, processed_config
File “/config/custom_components/nefiteasy/init.py”, line 62, in async_setup
client = NefitEasy(hass, credentials)
File “/config/custom_components/nefiteasy/init.py”, line 82, in init
from aionefit import NefitCore
ModuleNotFoundError: No module named ‘aionefit’

Now you dont have aionefit installed… What did you do?
Please also install the latest (gitlab/github) version of slixmpp using pip.

Few posts above it would come with hass update? Did it come? And else, on hassos hoe can I update slixmpp manually then?

Well I have also the latest hass release and it did not update slixmpp to contain the commit for slixmpp. The latest RELEASE for slixmpp is from january last year: https://pypi.org/project/slixmpp/

Option A: The easiest is to open a ssh connection to your OS where hassio is installed, then execute:
sudo docker exec -it homeassistant /bin/bash

Option B is to install Portainer addon.
Go to web UI.
Then go to the homeassistant container
Open console

If you succeeded getting in the container console:
Execute pip install --upgrade git+https://lab.louiz.org/poezio/slixmpp.git
Now it will build and install slixmpp from the repository

Then restart home assistant

After updating Home Assistant, this will be reset unfortunately. If this works, I will see if I can get hass to install the git version instead (using manifest.json).

I run hassos… so I cant really go to the container?

Of course you can!

Yes did what you described… but FFS home assistant again not starting!

What is the error?

And to be sure you did it right, can you give me the output of this (while still in the docker container):
cd /usr/local/lib/python3.7/site-packages/slixmpp
and then
ls -l

Now hass is started again, then no error… but this is output:

That can’t be right. The time says 08:13.
Please try one more time
pip install --upgrade git+https://lab.louiz.org/poezio/slixmpp.git
and then check the time again. They need to be updated, so also the time will change to now.

Now better… will reboot again

It reboots at once now (will monitor next days)… but still

1 Like

Great to hear! This warning is normal and you can ignore it.

Thanks for the support will let you know!

I have the exact same problem. Just updated through HACS and now my Pi isn’t booting anymore. :frowning: How did you got back into Hassio?

Note that if you update home assistant, it will also reinstall all the (pip) packages and thus reset to slixmpp 1.4.2.

Can you access the pi using ssh?

Yes, I can, ksya.

Try the steps in post Nefit easy client
If might not work if the homeassistant container is crashed…
If it does, then remove nefiteasy from config, restart hassio and then do the steps in that post.

2 Likes

Thanks! That did the job. But if I understand you correctly, I’ll have to uncomment nefiteasy in config every time before updating Hassio?