Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring to use in a standalone project, e.g. ble2mqtt #220

Closed
nicolaerosia opened this issue Dec 27, 2020 · 4 comments
Closed

Refactoring to use in a standalone project, e.g. ble2mqtt #220

nicolaerosia opened this issue Dec 27, 2020 · 4 comments

Comments

@nicolaerosia
Copy link

nicolaerosia commented Dec 27, 2020

Hello,

I'm running HA in a Docker container/or in cloud and I'm unable to forward hci adapter to the container.
I was wondering if you would accept factoring out the logic so this project could be used standalone, to publish to MQTT like zigbee2mqtt does (with advertisement to homeassistant/ so it automatically picks up devices).

What do you think?

Best regards,
Nicolae

Later Update: after a bit of google, I found this: https://github.com/devbis/ble2mqtt/ but it's active, not passive, and does not support all the devices this repo supports

@quarcko
Copy link

quarcko commented Dec 28, 2020

Hello,

Just posting to show there is interest in this function from more ppl!
I currently use this:
https://github.com/ChristianKuehnel/plantgateway
But it is as well quite limited active scanner to mqtt.
Also there is as well this one (never tried it so don't know):
https://github.com/ThomDietrich/miflora-mqtt-daemon

So there are lots of active solution, lets see this one goes MQTT as well!

@nicolaerosia
Copy link
Author

check devbis/ble2mqtt#1, the developer added support for one sensor.

@Ernst79
Copy link
Collaborator

Ernst79 commented Dec 29, 2020

I think it would be easier to put your bets on ble2mqtt. It shouldn’t be that difficult to add other devices in ble2mqtt, now they have support for passive mode for one device. Just look up the relevant parts in our code and copy it into ble2mqtt. I don’t expect ble_monitor will be converted to support Mqtt, but I’m not sure about @Magalex2x14 plans.

@Ernst79
Copy link
Collaborator

Ernst79 commented Feb 7, 2021

Closing this issue. Please continue in #34

@Ernst79 Ernst79 closed this as completed Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants