patman15 / BMS_BLE-HA

This integration allows to monitor Bluetooth Low Energy (BLE) battery management systems (BMS) from within Home Assistant.
GNU Lesser General Public License v2.1
42 stars 8 forks source link

Charging or not charging? That is the question. #56

Open 7wells opened 1 month ago

7wells commented 1 month ago

Checklist

Describe the issue

Hi Patrick!

Can you maybe please let me know how your integration works if the battery is conneted to a land line?

I.e., my RC car is connected to 240 V, which is also shown on the original hardware display on the wall with a corresponding symbol. As far as I understood, the room battery (I am not talking about the starter battery) is charged via this land line (or it is charged via solar panels if there is enough sunlight).

It puzzles me that the charging status (entity binary_sensor.car_battery2_aufladen in my case) is changing several times between "charging" and "not charging", while the battery shows 49% and 13,2 V. In between, many times all is "unavailable" again. I would not expect these many changes of charging status. Could they be related to a poor signal connection?

charging

In this end, this might not have anything to do with your integration but is simply what is going on, i.e. charging status changes like this (maybe some glitch with the charging board).

Aynway, if you have time to share your thoughts, this would be nice. If not, no worries! 😊

Have a good weekend!

Kind regards 7wells

patman15 commented 1 month ago

Can you maybe please let me know how your integration works if the battery is connected to a land line?

Charging/not charging is only an indication for a current (>0) flow into the battery. Actually, there has been a bug in v1.6.3, https://github.com/patman15/BMS_BLE-HA/issues/51, that some values were incorrectly reported. Explanation for the pattern could be that the charge controller is maintain the SoC and therefore constantly charges a bit. On the otherhand together with your reported issue https://github.com/patman15/BMS_BLE-HA/issues/35#issuecomment-2379997699 I'm not so sure as it might be a wrong readout (still/again). Only debug logs can tell. :wink:

patman15 commented 2 weeks ago

@7wells I found 1.5 issues that hit especially on bad connections. So maybe you are able to test this branch? It should enhance the amount of reported data, not sure how much in your case, but worth a try. Can you please let me know if it helps? I'd like to have some real world proof point before merging. Thanks!

7wells commented 2 weeks ago

@patman15 Sorry, I just saw your comment today by accident, because I did not receive a notification from GitHub.

Is this still an open question? If yes, how should I install it?

PS: When I click on your branch link, I seem to land on master. Since I'm not really an expert of GitHub, I'm not sure how to proceed. Thanks for your guidance.

patman15 commented 2 weeks ago

@7wells Hi! The question is still active, but I have already merged the branch to master. Thus, you can simply install v1.7.1 as mentioned in the other ticket of you. If you could run this version I would hope it behaves better. Debug logs would be really good to have better insights in case there are still troubles. Thanks!