-
Notifications
You must be signed in to change notification settings - Fork 4
[Discussion] how to integrate this project in your setup #29
Comments
Just re-adding comments: @zepiaf commented @clauderobi commented |
Hassos is a linux flavor used with home assistant, it allows plugins in forms of docker images and has addons that allow running specific code. As for @clauderobi said I concur : running in a small docker image is probably the cleanest way, even if it's not as a plugin for HassOS / home assistant. My suggestion would be to install portainer as an addon and adding the container from there. Creating a basic container should be in the TODO list for this project anyway as it simplifies deployment in any case (custom platform like @clauderobi or homeassistant for the rest of us) I think that writing a simple Dockerfile should not prove difficult, however I have no idea how to get an image in a public registry that anyone can just fetch from docker. |
The docker image and github actions to build it is actually something I wanted to do so I can easily run it in my k8s cluster. I was waiting on two things:
This would give us an image that automatically rebuild when a new version is released. I suggest using ghcr.io image registry instead of docker hub. Until then I run the following in my shell to run mqtt.py every 15 minutes: Regarding the hassos addon, there is one that was built for pyhydroquebec https://github.com/arsenicks/pyhydroquebec-hass-addons it could be a good starting point to get one going for this project. |
I'm wondering if @titilambert has heard of us and if he's interested in this. If you see the mention and want to give your opinion, you're most welcome to do so :) |
I saw that gitlab offers some sort of registry. It's probable we can update docker on main branch update but at some point it will need some more "strict" PR review/merge and probably some test / beta / dev branches to avoid breaking everything when there are some changes. The code is not quite settled as we're still figuring out a lot of stuff. |
Hello, I would love sync with you guys to get more power and create something really cool ! |
The easiest way I think would be to get some "live" channel like IRC / telegram / signal / or anything. I'm not active on any of these platforms anymore but I'm happy for us to pick one and have some more exchange on this :) What do you guys think ? |
I am on discord for the k8s@home and home-assistant servers, I could start a new server on discord if that is a platform that suit you. |
home assistant discord, good idea: https://discord.gg/c5DvZ4e |
I was actually thinking of a separate one for thy HQ intgrations : https://discord.gg/uHYnEHA2 |
How would you integrate it in HassOS ?
I tried using AppDaemon 4 Add-on without luck, it looks like that only works with official python projects from https://pypi.org/
Maybe I could figure out how they package their projects and fit your project somehow?
Otherwise I could setup another VM with Python 3 on it and use MQTT Integration in HassOS but that would involve managing an extra machine just for that, I wish I could package everything in a single VM.
Thanks for your great work, I can't wait to use it!
Originally posted by @jchretien in #16 (comment)
The text was updated successfully, but these errors were encountered: