zewelor / bt-mqtt-gateway

A simple Python script which provides a Bluetooth to MQTT gateway, easily extensible via custom workers. See https://github.com/zewelor/bt-mqtt-gateway/wiki for more information.
MIT License
549 stars 117 forks source link

Installation on Hassio #127

Open magicmatt007 opened 4 years ago

magicmatt007 commented 4 years ago

Is your feature request related to a problem? Please describe. First of all sorry for any dumb questions. I'm still a beginner.... I'd like to install this bt-mqtt-gateway on my Hassio running on a raspberry PI. I already have a Mosquito MQTT broker running on it. Normally, I install via the Hass-Io Add-On Store or the HACS (home assistant community store). I don't know, if and how I can install this package on my system.

Describe the solution you'd like In a perfect world, I'd like to have this available either in the Hass-Io Add-On Store or alternatively being able to plug this repository into the HACS.

Describe alternatives you've considered None.

Additional context None

zewelor commented 4 years ago

I'm not sure HACS can handle it ( it needs to be run outside of HA ).

For Hass-Io this can make more sense, then why use this, instead of built in bluetooth integrations, from HA ? Idea was to put it on different device, to extend BT range.

Happy to accept PRs for this.

magicmatt007 commented 4 years ago

Hi Zewelor,

I'm actually trying to integrate my Linak Desk on my Hassio. Your bt-mqtt-gateway mentions that it would support it. As I already have a MQTT broker running anyway for zigbee2mqtt, I thought it would be easy to add bt-mqtt. I'm happy to skipp the mqtt broker and use the bt directly on my hassio. But I wouldn't know how to :-) Do you know?

zewelor commented 4 years ago

If you are running hassio ( docker ) then you can use docker image to run gateway. Other option would be to create some custom component, for linak desk ( that would allow most features for sure ).

magicmatt007 commented 4 years ago

How would I create "some custom component"? Thx

bbbenji commented 4 years ago

It is all nicely documented on the HA website. https://developers.home-assistant.io/docs/en/creating_component_index.html