-
Notifications
You must be signed in to change notification settings - Fork 38
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
base: main
Are you sure you want to change the base?
Bleak port #66
Conversation
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. |
Tested (successfully) BatteryClient and RoverClient on Windows 10. |
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.) |
I used a Raspberry PI 3 Model B and only this I only get this in RNG_CTRL, and even RNG_CTRL_HIST doesn't get anything.
Has this got to do with the |
BT-1 supports only one device at a time, so device_id shouldn't matter. |
It looks like I'm using a rather older version of the BT-1 for the SRNE. Mine looks like https://www.aliexpress.com/item/1005004587282405.html but it works with the Renogy app. I've seen the newer BT-1 but not sure if that matters? |
Tried with device id 1? |
Yes, I tried device_id = 1 and you're right didn't really change anything. I bought the newer BT-1 and will arrive this week I'll see if that changes anything. |
Got the new BT-1 and indeed this one reports the needed values. The older BT-1 may not be using the same protocol. |
This experimental bleak port adds support on Win/Mac/Linux/RPI-4 platforms. Bleak is a platform agnostic BLE client.
TODO