ylabonte / proconip-hass

Home Assistant integration for the Pool Digital ProCon.IP swimming pool control system. All relevant pool controller info as sensors in Home Assistant and various options to switch all relays as desired.
MIT License
3 stars 3 forks source link

Cannot add as repository #54

Closed kriede closed 9 months ago

kriede commented 9 months ago

System Health details

System Information

version core-2024.2.1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.1
os_name Linux
os_version 6.1.63-haos-raspi
arch aarch64
timezone Europe/Berlin
config_dir /config
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 11.5 -- | -- update_channel | stable supervisor_version | supervisor-2024.01.1 agent_version | 1.6.0 docker_version | 24.0.7 disk_total | 938.2 GB disk_used | 11.1 GB healthy | true supported | true board | rpi5-64 supervisor_api | ok version_api | ok installed_addons | Grafana (9.1.3), InfluxDB (5.0.0), Mosquitto broker (6.4.0), Studio Code Server (5.15.0), Cloudflared (5.1.3), Terminal & SSH (9.9.0), Matter Server (5.1.2)
Dashboards dashboards | 1 -- | -- resources | 0 views | 0 mode | storage
Recorder oldest_recorder_run | 1. Februar 2024 um 00:06 -- | -- current_recorder_run | 10. Februar 2024 um 17:24 estimated_db_size | 729.79 MiB database_engine | sqlite database_version | 3.44.2

Checklist

Describe the issue

When I try to add your integration as a repository, as described in your readme.md. I get the following error: https://github.com/ylabonte/proconip-hass is not a valid add-on repository

image

Reproduction steps

  1. goto Settings / Add-ons / Add-on Store
  2. Select ... / Repositories and add this URL as repository: https://github.com/ylabonte/proconip-hass
  3. CLick Add and you'll see the error.

Debug logs

Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:138
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 21:24:50 (14 occurrences)
Last logged: 21:44:25

Failed to to call /store/repositories - https://github.com/ylabonte/proconip-hass is not a valid add-on repository
Failed to to call /store/repositories - Cmd('git') failed due to: exit code(128) cmdline: git clone -v --recursive --depth=1 --shallow-submodules -- https://github.com/ylabonte/proconip-hass/tree/main/custom_components/proconip_pool_controller /data/addons/git/a4b6b054 stderr: 'Cloning into '/data/addons/git/a4b6b054'... fatal: repository 'https://github.com/ylabonte/proconip-hass/tree/main/custom_components/proconip_pool_controller/' not found '
Failed to to call /store/repositories - Cmd('git') failed due to: exit code(128) cmdline: git clone -v --recursive --depth=1 --shallow-submodules -- https://github.com/ylabonte/proconip-hass/tree/main/custom_components /data/addons/git/1e21c07e stderr: 'Cloning into '/data/addons/git/1e21c07e'... fatal: repository 'https://github.com/ylabonte/proconip-hass/tree/main/custom_components/' not found '
Failed to to call /store/repositories - https://github.com/ylabonte/proconip-hass/ is not a valid add-on repository

Diagnostics dump

install error => no integration diagnostics available

ylabonte commented 9 months ago

Hi, the problem is: you are trying to install the integration as addon. For the installation of custom integrations you will first have to install HACS. But I have to admit, the UI is pretty similar to the one for installing addons... 😉 An alternative would be to download the integration manually and place the _customintegrations directory inside of your Home Assistant config directory (so that you have _config/custom_components/proconip_poolcontroller). But I think the HACS way of installing custom integrations is much more convenient.

This should solve your probelm. But I will wait a few days with closing this ticket, in case you have any follow up questions.