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

Li Time 12.8V 100Ah and 51.4V 100Ah working #84

Closed
garylankford8 opened this issue Nov 12, 2024 · 23 comments
Closed

Li Time 12.8V 100Ah and 51.4V 100Ah working #84

garylankford8 opened this issue Nov 12, 2024 · 23 comments
Labels
bug Something isn't working

Comments

@garylankford8
Copy link

I installed the integration last week, but with no success for integrating these Li Time batteries.

After today's update v.1.9.0, HA found the new devices and configured them.

Entities created are:
Battery (SOC)
Charging
Current
Cycles
Power
Runtime
Shared Energy
Temperature
Voltage
Delta Voltage

@patman15
Copy link
Owner

Cool, thanks for the information. Can you let me know which type of BMS is detected?

@garylankford8
Copy link
Author

garylankford8 commented Nov 13, 2024

Looks like it is using redodo.bms.

Also was able to enable entities for:
Link Quality
Signal Strength

Only problem I see so far is that the 12.8V battery is returning an incorrect temperature. Temp for the 51.4V looks OK.

@patman15
Copy link
Owner

Looks like it is using redodo.bms.

Ok, that makes sense, as the support was added in 1.9.0. Thanks!

Only problem I see so far is that the 12.8V battery is returning an incorrect temperature. Temp for the 51.4V looks OK.

If you could attach me a debug log to this ticket, see README, chapter troubleshooting, I can have a look and probably fix it.

@garylankford8
Copy link
Author

garylankford8 commented Nov 14, 2024

ble-bms-debug.txt

12.8V (LT-12100BG-A07248)

51.4V (L-51100GBN250-A00586)

@patman15
Copy link
Owner

Thanks a lot, I will have a look. Unfortunately, all the apps require an account so I can't verify the integration in real life.
Do you, by chance, know from, e.g. the app, what the battery temperatures were at that time so I can check for the right value?
Thanks, Patrick

@patman15 patman15 added the bug Something isn't working label Nov 14, 2024
@garylankford8
Copy link
Author

garylankford8 commented Nov 14, 2024

No, but I do believe the 51.4V is showing the correct voltage, which doesn't really make sense, right?

At the time of the log, the 12.8V showed 32.0°F (never has showed anything else) and the 51.4V showed 70°Fish.

From the log, the centigrade temps of 0° (32°F) and 22° (71.6°F) seem to compare.

The other thing I am noting is that the 51.4V often displays signal strength as unavailable, even when link quality is high, even 100%.

Edit: I just collected a new log...

bms_ble_2024-11-14.txt

12.8V 62.6°F, 51.4V 57.2°F from Li Time app.

@garylankford8
Copy link
Author

garylankford8 commented Nov 14, 2024

There is a Github project,

https://github.com/chadj/litime-bluetooth-battery

that uses Java to display Li Time data in a Web app.

It displays data correctly.

The address for the app is:

https://chadj.github.io/litime-bluetooth-battery/

The html for the Web app is:

litimeBTtxt.txt

Hope this helps...

@patman15
Copy link
Owner

Will check and fix over the weekend. I already have some changes in mind. I will ping you, when I have a draft fix to test. Thanks again for reporting!

@patman15
Copy link
Owner

@garylankford8, @azisto can you checkout the 1.9.1 pre-release regarding correct temperature presentation? You should be able to see the values of the individual sensors in the sensor attributes, in case you are interested.

@azisto
Copy link

azisto commented Nov 15, 2024

Hi @patman15. The accuracy of the temperature sensor has improved after installing 1.9.1.
How can I add the average cell voltage to the dashboard?
DEBUG (MainThread) [custom_components.bms_ble] BMS data sample {'voltage': 26.688, 'current': 0.0, 'battery_level': 69, 'cycle_charge': 73.49, 'cycles': 3, 'cell#0': 3.336, 'cell#1': 3.336, 'cell#2': 3.336, 'cell#3': 3.336, 'cell#4': 3.336, 'cell#5': 3.336, 'cell#6': 3.336, 'cell#7': 3.336, 'temp#0': 23, 'temp#1': 22, 'temp#2': 23, 'delta_voltage': 0.0, 'cycle_capacity': 1961.301, 'power': 0.0, 'battery_charging': False, 'temperature': 22.667}

@patman15
Copy link
Owner

How can I add the average cell voltage to the dashboard?

Have a look at the FAQ regarding the max voltage. That can be adapted also to average. Let me know if you get stuck!

@azisto
Copy link

azisto commented Nov 15, 2024

Have a look at the FAQ regarding the max voltage. That can be adapted also to average. Let me know if you get stuck!

I did it, thank you.

@garylankford8
Copy link
Author

garylankford8 commented Nov 15, 2024

@garylankford8, @azisto can you checkout the 1.9.1 pre-release regarding correct temperature presentation? You should be able to see the values of the individual sensors in the sensor attributes, in case you are interested.

I go to HACS and Redownload 1.9.1RC, from 'Need a different version'. Under 'Settings', '1 update' appears and 'Restart required'. I click on '1 update', and it shows 'Latest version' v1.9.0 and 'Installed version' v1.9.1RC, with 'Update available'. If I 'Update' it installs v1.9.0, if I 'Skip' it shows v1.9.0 installed. After restart, I always get v1.9.0.

How can I get v1.9.1RC to install?

@patman15
Copy link
Owner

@garylankford8 it should work if you just do your first step. Go to HACS, redownload 1.9.1RC, wait till it is finished, restart. Just tried, worked for me. If not, you can also do a manual installation, by replacing the files.

@garylankford8
Copy link
Author

garylankford8 commented Nov 15, 2024

@garylankford8 it should work if you just do your first step. Go to HACS, redownload 1.9.1RC, wait till it is finished, restart. Just tried, worked for me. If not, you can also do a manual installation, by replacing the files.

OK, that seems to have solved my 12.8V temperature and my 51.4V signal strength issues.

Thanks Patman!

Edit: Spoke too soon on the 51.4V signal strength; it still comes and goes unavailable, but not really very important...

@patman15
Copy link
Owner

patman15 commented Nov 15, 2024

Spoke too soon on the 51.4V signal strength; it still comes and goes unavailable, but not really very important...

This is an issue with the BT system. Depending on the Bluetooth adapter, not sure which one you use, it might indicate that it cannot handle the number of update events of the devices in range. As long as the link quality is good (high), this is not an issue.

@garylankford8
Copy link
Author

This is an issue with the BT system. Depending on the Bluetooth adapter, not sure which one you use, it might indicate that it cannot handle the number of update events of the devices in range. As long as the link quality is good (high), this is not an issue.

Yeah, link quality is high for both batteries. 12.8V shows signal strength continuously. I use a mini x386 to run HAOS, which shows the BT adapter to be Intel Corporate...

I also have multiple bt-proxys and home assistant cloud, so I can see this battery status from almost anywhere, assuming my golf cart stays in wifi-range and I have internet, I guess...

Where can I contribute?

@patman15
Copy link
Owner

Where can I contribute?

Depends on what you want to contribute.

@garylankford8
Copy link
Author

Where can I contribute?

Depends on what you want to contribute.

A.smallish donation... I'm not good for much else, or even much more, lol!

This coding stuff is mostly beyond me, though I'm fairly good at following instructions...

@patman15
Copy link
Owner

patman15 commented Nov 15, 2024

Thanks a lot. There is a buy me a coffee link on the front page if you feel like, appreciated. Any form of feedback is also a great contribution.
Regards, Patrick

@garylankford8
Copy link
Author

Do you have a PayPal account?

@patman15
Copy link
Owner

No, sorry, but never mind. 😊

@patman15
Copy link
Owner

fixed in release v1.9.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants