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

Bleak port #66

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Bleak port #66

wants to merge 6 commits into from

Conversation

cyrils
Copy link
Owner

@cyrils cyrils commented Apr 3, 2024

This experimental bleak port adds support on Win/Mac/Linux/RPI-4 platforms. Bleak is a platform agnostic BLE client.

  • Supports Windows 10, version 16299 (Fall Creators Update) or greater
  • Supports Linux distributions with BlueZ >= 5.43
  • OS X/macOS support via Core Bluetooth API, from at least OS X version 10.11

TODO

  • Update documentation
  • Test RoverClient / RoverHistoryClient
  • Test BatteryClient
  • Test InverterClient
  • Test MacOS
  • Test Linux
  • Test Windows

@mavenius
Copy link
Contributor

mavenius commented Jul 5, 2024

FYI I tested this on Linux with a BT-2 connected to three batteries (daisy-chained) and was able to pull values.

I also tested on Linux with a BT-2 connected to a 60A Rover, and was able to pull values.

@mavenius
Copy link
Contributor

mavenius commented Jul 11, 2024

Tested (successfully) BatteryClient and RoverClient on Windows 10.

@cyrils
Copy link
Owner Author

cyrils commented Jul 12, 2024

Did you see any stability improvements in long term compared to main version?

@mavenius
Copy link
Contributor

Did you see any stability improvements in long term compared to main version?

I haven't done any long term testing; just a few minutes on each platform. I can do so (for one at a time, at least) through next week though.

That said, it seemed solid so far. On main, I get errors probably 3/10 or more times I try to read. Now that I have error tracking, I can get more precise data on that (including with the bleak branch.)

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

Successfully merging this pull request may close these issues.

2 participants