Custom Component: HACS

Hello,

I have a problem, I updated mini-media-player with HACS by clicking upgrade at 4:08 this afternoon and immediately after that. I lost the connection to Hassio but nothing shows up in the log. I rebooted my raspberry and looked at the files on the microSD but again nothing shows up. it doesn’t even connect to my router (no connection to LAN)

Do you know what would be the next step ?

If nothing is printed to the logs, you have big issues.
Like corrupted SD card big :frowning:

Upgrading that card did not cause that, but it might have been the last push over the edge.
To not get off topic here, please start a new tread if you need help troubleshooting, or join the Discord server.

1 Like

Ok that’s what I thought but asked just in case. Thanks for your very quick answer !

Hi, forgive the ignorant question here. I have just installed HACS and all seems to have gone well I guess. I have not been able to figure out how to access the component though. I am using the ui-lovelace.yaml file in my HA directory to build my frontend. Would I be correct in assuming that I have to add a card to that file in order to view HACS? I have dug through all the docs in the downloaded zip file and have not been able to make any headway. All I have been able to find is the sensor that the component creates so am assuming all is well there. Help?

Ok, disregard the above. I am visually impaired and missed the addition of the community to the list on the sidebar. Sorry.

If you installed it correctly, it appears in the sidebar.
20190711_23%3A11%3A20_001

LOL, modified the post. I am visually impaired and missed the addition to the sidebar. Thanks for the quick response.

So the component does work, I just get this error when I attempt to validate my config. Any suggestions where I might start to debug it ?

now I’m getting this

image

was working this morning change work on some automation nothing to with this

here are some of the logs

2019-07-12 16:19:23 ERROR (MainThread) [homeassistant.setup] Error during setup of component hacs
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 955, in _create_direct_connection
    traces=traces), loop=self._loop)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 825, in _resolve_host
    self._resolver.resolve(host, port, family=self._family)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/resolver.py", line 30, in resolve
    host, port, type=socket.SOCK_STREAM, family=family)
  File "uvloop/loop.pyx", line 1464, in getaddrinfo
socket.gaierror: [Errno -3] Try again

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 153, in _async_setup_component
    hass, processed_config)
  File "/config/custom_components/hacs/__init__.py", line 89, in async_setup
    await configure_hacs(hass, github_token, config_dir)
  File "/config/custom_components/hacs/__init__.py", line 159, in configure_hacs
    hacs.hacs_github = await hacs.aiogithub.get_repo("custom-components/hacs")
  File "/usr/local/lib/python3.7/site-packages/backoff/_async.py", line 131, in retry
    ret = await target(*args, **kwargs)
  File "/config/custom_components/hacs/aiogithub.py", line 56, in get_repo
    response = await self.session.get(url, headers=headers)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 476, in _request
    timeout=real_timeout
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 522, in connect
    proto = await self._create_connection(req, traces, timeout)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 854, in _create_connection
    req, traces, timeout)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 959, in _create_direct_connection
    raise ClientConnectorError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:None [Try again]
2019-07-12 16:19:23 ERROR (MainThread) [homeassistant.helpers.entity] Update for binary_sensor.car_wash fails

Post an issue on github as per the instructions.

1 Like

Thanks done and got it fix

1 Like

I love this! It is super fast and easy to add new cards!

Any chance the aarlo and Kuna camera components will ever be added? For some reason I’m having trouble getting it all working again, and this would make it soooo much easier! Either way seriously thanks for all the work and skills you put into our community!

2 Likes

The components can be added if their github repositories are done per the instructions. Try adding them to HACS, and if that doesn’t work, contact the authors and ask them to sort it out.

2 Likes

I will give it a go!

I have installed a couple of Lovelace custom cards. And they work great. But after a day or so they disappear from the HACS installed page. So it only looks like I have HACS installed. Making it harder to manage and upgrade. Any idea why and how to fix?

My guess is that you are hit this https://custom-components.github.io/hacs/faq/#known-limitations

1 Like

I’m having an issue with HACS crashing my HASS.IO instance when I attempt to view the SMARTTHINQ component. I previously installed the component, but now it’s saying there is an update available.

As has been said many times, post an issue on github.

Version 0.12.0 has been released

https://github.com/custom-components/hacs/releases/0.12.0

4 Likes

Available version: 0.12.1 is reported here.

12.1 was released an 1hr ago