ovrsmartbridge / ovrsmartbridge-addon

Home Assistant Addon for OpenVR Sensors and Notifications
2 stars 0 forks source link

HACS integration - running Home Assistant without a supervisor #1

Open Archomeda opened 2 years ago

Archomeda commented 2 years ago

Hey there!

I've been looking for something exactly like your add-on, however I don't run Home Assistant with the supervisor, so I cannot use the add-on. Is there any chance that you're able to create an alternative option, e.g. via HACS?

dreiekk commented 2 years ago

Hi there, thanks for your message!

At first, we did write this as an HACS integration instead of a supervisor addon. However, I'm not really profound in writing (async) python code which an integration would require. We didn't find a way to make a stable connection between home-assistant and the client at that time.

Writing this as an addon - which is actually just a docker container - allows me to easily expose the ports of our own websocket server for the client connection and use a programming language that I feel more comfortable with.

At the moment there is no plan to write an integration.

But as I write this, we could possibly extend the client to talk directly to the Websocket API instead of creating our own websocket server in the addon.

Maybe we'll take a look at this at a later date.

Archomeda commented 2 years ago

Thanks for the response! It would be amazing if it's possible to do that. The idea is great, keep it up 😀