Open DenkBrettl opened 5 days ago
Ok, while the BLE setup has been running for a while and was mostly stable, it has always had some moments where it would just hang. I've been thinking about a watchdog process that would monitor that there are new values from the BMS within a certain time frame. Let me know if you think this is a good idea and I might find some time in the next weeks to implement that.
Due to the instability, I'll switch back to serial connection.
I had the same thing, gone back to 1.32
Unfortunately I troubleshooted this over 100 hours and found no real solution to all this Bluetooth problems. Therefore I decided to not put any other effort into the Bluetooth part. Another reason is, that the users apparently do not appreciate the work I do and they cannot immagine how much time consuming this all is.
For that 1-2 donations, if at all, a month on over 9.000 dbus-serialbattery installations it is not worth it. If everyone would donate 1 €/year then the motivation would be another, but that is not the case.
Feel free to open a PR :-)
Unfortunately I troubleshooted this over 100 hours and found no real solution to all this Bluetooth problems. Therefore I decided to not put any other effort into the Bluetooth part. Another reason is, that the users apparently do not appreciate the work I do and they cannot immagine how much time consuming this all is.
For that 1-2 donations, if at all, a month on over 9.000 dbus-serialbattery installations it is not worth it. If everyone would donate 1 €/year then the motivation would be another, but that is not the case.
Feel free to open a PR :-)
Maybe do not participate in a free project if your motivation is money ? We are using a tool you work on in exchange we are helping you making it better by beta testing it, we are also using our time to improve this tool. Maybe your are using too much of your time on this project.... do something else in parallel ? It work in 1.32... it fail in 1.42 .. obviously the "segmentation fault" bug comes from those modifications.
My motivation is not money, but a lot of people think they can have something like premium support for free or paying once 5 bucks. Then they expect that I have to help them spending hours to analyze their problem, which is not fair.
Obviously you never contributed by coding in such a project. Testing is a lot easier and less time consuming.
Anyway, that was only a statement from me, why I will not develop this part further. On 9000 users there should not only be one person to contribute code ;-)
My motivation is not money, but a lot of people think they can have something like premium support for free or paying once 5 bucks. Then they expect that I have to help them spending hours to analyze their problem, which is not fair.
Obviously you never contributed by coding in such a project. Testing is a lot easier and less time consuming.
Anyway, that was only a statement from me, why I will not develop this part further. On 9000 users there should not only be one person to contribute code ;-)
In the case of this thread.. it's not a user asking for premium service, it's a user that detected a bug and took his time to report it. I also had this bug and did not reported it ... cause i did report bugs in the past and the experience was not fun. But yes .. got the exact same bugDenkBrett, Line 12 segmentation fault... and i suppose many people have it. About people that want a five start support, just send them to the discussion forum and focus on what you like about this project.
About reducing user questions or interactions, cause i know it can be annoying, i suggest keeping beta in the beta state for longer.... cause average people do not install beta, that reduce the number of people that could react to a potential problem. When a beta is stable on 500 installs (or whatever is a good number in this case) for a month (meaning all bugs sovled)... time to get it to stable and expose it to more people. But i suppose you know that.
Just to give my perspective: I didn't mean to ask for support. I wanted to achieve two things: 1) raise awareness for the issue and gauge whether others were affected too 2) start looking into debugging this problem.
I understand things can be sometimes frustrating and I appreciate your openness about this. I'm sorry if this bug report made you feel like you should have given support, it was not the intention.
Looking forward, I think it would be good to mark the BLE support as unstable in the meanwhile in order for people to know what they're getting themselves into. I'm happy to send a PR for a docs update, if you think this would be a sensible thing to do. I'm also still interested in your opinion about the watchdog functionality that I proposed above.
No problem, all good. That with the premium support was not related to this issue.
The BLE and CAN driver are already marked as not stable in the docs on the install page...
Describe the bug
When running v1.4.20240928, I regularly get segfaults in the python binary using a JKBMS via BLE.
I've downgraded again to v1.3.20240705 and this one has run fine since a day now. I know this is hard to debug, but I'm happy to help. If you know how to enable core dumps on this, it would be helpful, otherwise I can research it.
How to reproduce
Install latest release, wait for a certain time (few hours), segfaults regularly occur.
Expected behavior
No segfaults
Driver version of the currently installed driver
v1.4.20240928
Driver version of the last known working driver
v1.3.20240705
Venus OS device type
Raspberry Pi 4
Venus OS version
v3.42
BMS type
JKBMS (Heltec BMS)
Cell count
16
Battery count
2
Connection type
Bluetooth
Config file
Relevant log output
Any other information that may be helpful
No response