Cant add HASC integration

Hi,
I am following based on the tutorial here or here.
Ive created the folder custom_components in \\Homeassistant\config\ and copied all files.
I have now path \\Homeassistant\config\custom_components\hacs\

After HA restart I am not able to add integration.
Nothing is found udner integrations.

Running 4.16 HA on raspberry pi 3b+.

Any ideas please? :slight_smile:

edit: I already did everything based on instruction from topic here

Did you refresh the browser cache?

yes. I now tried to delete all the files copied before via samba and copy them again via SSH with scp command. no luck :confused:

Version β€œ4.16” is the Home Assistant OS version. What version of Home Assistant are you running? Please check your Home Assistant logs for any errors.

version HA is Home Assistant 0.117.6

Thank you. here is my log.
nothing related to HASC by my guess:

2020-11-15 22:37:39 ERROR (MainThread) [homeassistant.components.yeelight.config_flow] Failed to get capabilities from 192.168.31.8: timeout
2020-11-15 22:37:39 ERROR (MainThread) [homeassistant.components.yeelight.config_flow] Failed to import 192.168.31.8: cannot connect
2020-11-15 22:38:32 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.bedroom_temperature is taking over 10 seconds
2020-11-15 22:38:41 WARNING (SyncWorker_30) [homeassistant.components.mitemp_bt.sensor] Polling error
2020-11-15 22:38:41 WARNING (SyncWorker_38) [homeassistant.components.mitemp_bt.sensor] Polling error Could not read data from Mi Temp sensor 4C:65:A8:D9:BE:41
2020-11-15 22:38:42 WARNING (MainThread) [homeassistant.components.sensor] Updating mitemp_bt sensor took longer than the scheduled update interval 0:00:30
2020-11-15 22:38:51 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.bedroom_battery is taking over 10 seconds
2020-11-15 22:38:59 WARNING (SyncWorker_5) [homeassistant.components.mitemp_bt.sensor] Polling error
2020-11-15 22:39:12 WARNING (SyncWorker_3) [homeassistant.components.mitemp_bt.sensor] Polling error Could not read data from Mi Temp sensor 4C:65:A8:D9:BE:41
2020-11-15 22:39:12 WARNING (SyncWorker_12) [homeassistant.components.mitemp_bt.sensor] Polling error Could not read data from Mi Temp sensor 4C:65:A8:D9:BE:41
2020-11-15 22:39:22 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.bedroom_battery is taking over 10 seconds
2020-11-15 22:39:42 WARNING (MainThread) [homeassistant.components.sensor] Updating mitemp_bt sensor took longer than the scheduled update interval 0:00:30
2020-11-15 22:40:12 WARNING (MainThread) [homeassistant.components.sensor] Updating mitemp_bt sensor took longer than the scheduled update interval 0:00:30

It seems, that already solved.
I did couple of time again and again.
I think, that its role could play also the fact, that files are copies over ssh, not through samba.
HASC appeared after not one cache clear in google chrome, but few consecutive clearings … WHAT?

During initilization phase I get these errors:

Logger: homeassistant.config_entries
Source: components/frontend/__init__.py:196
First occurred: 0:41:31 (1 occurrences)
Last logged: 0:41:31

Error setting up entry for hacs
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 234, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/config/custom_components/hacs/__init__.py", line 30, in async_setup_entry
    return await hacs_ui_setup(hass, config_entry)
  File "/config/custom_components/hacs/operational/setup.py", line 66, in async_setup_entry
    return await async_startup_wrapper_for_config_entry()
  File "/config/custom_components/hacs/operational/setup.py", line 91, in async_startup_wrapper_for_config_entry
    startup_result = await async_hacs_startup()
  File "/config/custom_components/hacs/operational/setup.py", line 139, in async_hacs_startup
    await async_setup_frontend()
  File "/config/custom_components/hacs/operational/setup_actions/frontend.py", line 38, in async_setup_frontend
    hacs.hass.components.frontend.async_register_built_in_panel(
  File "/usr/src/homeassistant/homeassistant/components/frontend/__init__.py", line 196, in async_register_built_in_panel
    raise ValueError(f"Overwriting panel {panel.frontend_url_path}")
ValueError: Overwriting panel hacs

Can someone help me please?

It’s HACS, not HASC. I recommend running the command-line script to install it rather than trying to copy the files over: https://hacs.xyz/docs/installation/manual_cli

Rob

1 Like

I’ll second that.

Files??? What do you mean FILES? You download ONE file from the releases page and then unzip that into /config/custom_components/HACS directory.

no. /config/custom_components/hacs I believe.

EDIT, yep, the install script does

echo "Creating HACS directory"
mkdir hacs

Yeah but copying files is going to end in tears. Copy and extract the release zip file.

Yep. Running the script is very much the best way (IMHO).