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

lighter library #84

Open
muscaiu opened this issue Nov 21, 2019 · 5 comments
Open

lighter library #84

muscaiu opened this issue Nov 21, 2019 · 5 comments

Comments

@muscaiu
Copy link

muscaiu commented Nov 21, 2019

Is there any chance you will make a lighter library to be used without things like Homebridge?
I'm sure other people like me are interested in using it to read the Mi sensor on a simple Express Node server or something similar.

@hannseman
Copy link
Owner

Yes this is something that I’ve been meaning to do. I’ll look into publishing a new package ASAP.

@Hypfer
Copy link

Hypfer commented Jan 25, 2020

@hannseman you might want to take a look at https://github.com/Hypfer/Cybele

It should hopefully probably maybe provide a framework to do so. Utilizing BlueZ via DBUS to completely ditch that broken noble module

Feedback/PRs much appreciated

@hannseman
Copy link
Owner

@Hypfer that's a very interesting approach. It would unfortunately require dropping support for non-linux systems.

Since there's so many issues with the noble module (almost all open issues are noble / node-bluetooth-hci-socket related) I actually might consider moving to use bluez over dbus instead. One could imagine a homebridge-mi-hygrothermograph 3.0 which uses dbus and windows / MacOS users could stay on 2.0 and receive patches for breaking issues. 🤔

@alan-strohm
Copy link

I'd like to reuse the parser for an integration with room-assistant. The parser has very few dependencies (i.e. it could be used with either noble or Cybele) so it would be an ideal candidate for a separate package. Is that something you'd be interested in doing, @hannseman ?

@muscaiu
Copy link
Author

muscaiu commented Feb 9, 2021

I used to have a way (library) to scan for bluetooth device id's in range like a year ago (i didn't document it....)
What are you guys using to detect the Mi sensors mac or id?

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

4 participants