Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install? #28

Open
jmalm opened this issue Jul 27, 2024 · 9 comments
Open

How to install? #28

jmalm opened this issue Jul 27, 2024 · 9 comments
Labels

Comments

@jmalm
Copy link

jmalm commented Jul 27, 2024

How do I install this integration?

I'm running Home Assistant 2024.3.1 in a docker container, with HACS 1.34.0.

I've done the following:

  1. In HACS, added https://github.com/junalmeida/homeassistant-torque as a custom repository
  2. In HACS > Custom repositories, clicked on Torque Logger
  3. On the Torque Logger page, clicked Download

I get the following logs in home assistant:

homeassistant  | 2024-07-27 15:14:34.678 INFO (MainThread) [custom_components.hacs] <Integration junalmeida/homeassistant-torque> Running pre installation steps
homeassistant  | 2024-07-27 15:14:34.679 INFO (MainThread) [custom_components.hacs] <Integration junalmeida/homeassistant-torque> Pre installation steps completed
homeassistant  | 2024-07-27 15:14:34.679 INFO (MainThread) [custom_components.hacs] <Integration junalmeida/homeassistant-torque> Running installation steps
homeassistant  | 2024-07-27 15:14:36.465 ERROR (MainThread) [custom_components.hacs] Download failed - Got status code 404 when trying to download https://github.com/junalmeida/homeassistant-torque/releases/download/main/torque_logger.zip
homeassistant  | Traceback (most recent call last):
homeassistant  |   File "/config/custom_components/hacs/base.py", line 730, in async_download_file
homeassistant  |     raise HacsException(
homeassistant  | custom_components.hacs.exceptions.HacsException: Got status code 404 when trying to download https://github.com/junalmeida/homeassistant-torque/releases/download/main/torque_logger.zip
homeassistant  | 2024-07-27 15:14:36.467 ERROR (MainThread) [custom_components.hacs] <Integration junalmeida/homeassistant-torque> Failed to download https://github.com/junalmeida/homeassistant-torque/releases/download/main/torque_logger.zip
homeassistant  | 2024-07-27 15:14:36.467 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [134938234596928] Error handling message: Unknown error (unknown_error) admin from 193.150.201.23 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36)
homeassistant  | Traceback (most recent call last):
homeassistant  |   File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response
homeassistant  |     await func(hass, connection, msg)
homeassistant  |   File "/config/custom_components/hacs/websocket/repository.py", line 234, in hacs_repository_download
homeassistant  |     await repository.async_install()
homeassistant  |   File "/config/custom_components/hacs/repositories/base.py", line 893, in async_install
homeassistant  |     await self.async_install_repository(version=version)
homeassistant  |   File "/config/custom_components/hacs/repositories/base.py", line 990, in async_install_repository
homeassistant  |     raise HacsException("Could not download, see log for details")
homeassistant  | custom_components.hacs.exceptions.HacsException: Could not download, see log for details

Is HACS not able to add a repo that doesn't have any releases? How do I install it manually?

The instructions say "Click install", but I can't find anywhere to click install.

@jmalm
Copy link
Author

jmalm commented Jul 29, 2024

I managed to install it using instructions at https://community.home-assistant.io/t/how-to-make-default-torque-integration-work-in-home-assistant/528970/49.

But in the home assistant logs I get the following error:

homeassistant  | 2024-07-29 06:01:02.773 ERROR (MainThread) [custom_components.torque_logger] Missing profile name from torque data.

In Torque Pro, my profile is called "Kia e-Niro". Is there some config in Torque Pro that I'm missing? I don't see any configuration that can be done in Torque logger.

@JOHLC
Copy link

JOHLC commented Jul 29, 2024

I managed to install it using instructions at https://community.home-assistant.io/t/how-to-make-default-torque-integration-work-in-home-assistant/528970/49.

But in the home assistant logs I get the following error:

homeassistant  | 2024-07-29 06:01:02.773 ERROR (MainThread) [custom_components.torque_logger] Missing profile name from torque data.

In Torque Pro, my profile is called "Kia e-Niro". Is there some config in Torque Pro that I'm missing? I don't see any configuration that can be done in Torque logger.

Force close and reopen Torque on your phone when you see this, and it usually fixes that message for me

@nikito7
Copy link

nikito7 commented Aug 10, 2024

Code needs updates

@TurnrDev
Copy link

Have you considered making this HACs compatible?

@JOHLC
Copy link

JOHLC commented Aug 14, 2024

Have you considered making this HACs compatible?

This is HACS compatible. You just have to add it as a custom repo:
image
image

@nikito7
Copy link

nikito7 commented Aug 14, 2024

Have you considered making this HACs compatible?

This is HACS compatible. You just have to add it as a custom repo: image image

Install fails. Code needs update

@TurnrDev
Copy link

Installation via HACs fails it it's trying to download the latest release but you have none

Copy link

stale bot commented Sep 14, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 14, 2024
@TurnrDev
Copy link

Not stale you silly bot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants