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

Keep connection alive #38

Open
fhempy opened this issue Oct 5, 2020 · 2 comments
Open

Keep connection alive #38

fhempy opened this issue Oct 5, 2020 · 2 comments

Comments

@fhempy
Copy link

fhempy commented Oct 5, 2020

Hi,

have your tried to connect to eq3bt only once and keep the connection alive? I don't think that it would drain the battery too much. Would you mind adding such a functionality to python-eq3bt?

@rytilahti
Copy link
Owner

Hi, I haven't tried to see if these devices keep on notifying about updates if you keep it open (but I'd expect it to do so). The problem is not just battery draining (which is likely causes), but it will also block other accesses to the device.

Anyway, I'm open for PRs that add optional support for continuous listening mode. I'm not going to work on that myself, as I don't use these devices anymore.

@fhempy
Copy link
Author

fhempy commented Oct 6, 2020

Thanks for your reply. I created a PR with some updates.

It would be great if you could release a new version to pip as well. Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants