marvinroger / hass-addon-tiko

Control your tiko / Mon Pilotage Elec heaters from Home Assistant
10 stars 1 forks source link

How install on the HA Core version #3

Closed dlevequeIT closed 8 months ago

dlevequeIT commented 8 months ago

Hello, I'm french and have recently onboarded on MonPilotageElec from Engie. I found your addon but I'm on the Core version of Home Assistant and the setup button don't work for this setup. I tried to clone the repo in custom_content folder but it doesn't recognize on HA. So how install/configue please?

marvinroger commented 8 months ago

Hey,

Do you execute HA Core directly or are you running it through a Docker Container?

This add-on is not a native HASS integration as it's not written in Python. You have to run it from Docker, either as an add-on with HASS Supervised, HA OS, or directly as a Docker container (e.g. with Docker Compose)

dlevequeIT commented 8 months ago

Yes it's correct, I installed home assistant manually on my Ubuntu server (without docker) by using the command: pip3 install homeassistant==2024.1.5

So if I understand well, I should reinstalled by using the docker container to operate "Mon Pilotage Elec" into HA?

marvinroger commented 8 months ago

If you look at https://www.home-assistant.io/installation/:

image

You see that add-ons are supported in HA OS and HA Supervised. You've chosen the HA Core path which does not provide support for add-on.

For advanced use-cases like yours, I've made the add-on runnable outside of HA OS / Supervised, but the container (not the HA container, but the add-on container) needs to be ran through Docker anyway. You can use the docker cli directly or use something like docker compose.

I'm closing this issue as the add-on officially supports HA OS / Supervised only. 😉

dlevequeIT commented 8 months ago

Thanks for the complete answer, I saw that indeed. I also saw that the docker version which not able to resolve the limitation.

You told me that I can use the Docker Cli to install but I not really have knowledge in docker creation/management. Could you explain me how to setup on my customed server please ?