Problems Hassio with Raspberry pi 2

Hi all,

I’m really new in this community and maybe this is solved in a previous topic. But I haven’t found anything related to it neither here nor google.

I downloaded the image for Rpi2 and I installed it successfully. But problems came later…

I have discovered that “hass” command in ssh doesn’t exist (command not found).
Also, I installed configurator add-on and when I try to change configurator.yaml (in /config path), it doesn’t load it. When I open this add-on, no files are loaded (and I have seen in other videos that this file is loaded automatically). Furthermore, there is no homeassistant block inside.

And finally, when I try to find out homeassistant path (or .homeassistant), there is no path with that name. I needed to create mannually a custom_components path (the first one) in /config path.

Am I doing something wrong?.

You’ve installed hassio. Things are different.

Not sure if that command is supposed to work in the SSH Add-on. The SSH add-on is a separate container, that ISN’T the home assistant container. For reference, hassio installed in the manner in which you installed it, is running on HassOS which is a Docker host/manager. The supervisor (hassio) and home assistant are running in docker containers on HassOS. Every add-on is a separate container.

No idea what this means, but stop watching out of date videos. The file isn’t there at all?

Correct. Read the documentation. The homeassistant block is not there by default any more, because they want you to use the frontend to configure the system as much as possible.

Because you are running hassio, and not in a python virtual environment. There are no other users on the system, and there is no /home/homeassistant

Doesn’t sound like it, except you are relying on videos and not following the documentation.

Both the community and core SSH servers support the Hassio CLI. Commands:

Right. Not the hass command.

Ok, thanks all for your responses.
So, let’s suppose I want to install this in Hass.io:

https://github.com/vincenzosuraci/hassio_meross_sensor_switch

I’ve copied everything to /config/custom_components/meross

And also, Ive rebooted the system. How do I know that everything was installed succesfully?.
How do I know that a custom component has been detected?. Any kind of log somewhere or whatever?. Because reading that link, meross_iot framework must be downloaded automatically and I don’t know how to check that…

Thanks.

Are you possibly trying to follow Home assistant instructions on a HASSIO installation?

Have you tried the configuration portion of it?

You set the configuration and run a check on the configuration. If the configuration is clean you restart home assistant.

Instructions on the link provided are for Hassio OR Home Assistant.

1 Like

Well, checking logs this is what I see:

This is the error I get in logs:

Error loading custom_components.meross. Make sure all dependencies are installed Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/loader.py", line 355, in _load_file module = importlib.import_module(path) File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/config/custom_components/meross/__init__.py", line 8, in <module> from meross_iot.cloud.exceptions.CommandTimeoutException import CommandTimeoutException ModuleNotFoundError: No module named 'meross_iot'

So, the problem is meross_iot has not been downloaded.
So… the question is why, because it is supposed to be downloaded automatically (as you can see in their instructions…) Any Idea?

Thanks!