-
Notifications
You must be signed in to change notification settings - Fork 61
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
Tilt on Buster bluetooth issues? #414
Comments
@thorrak what I did here is lower the UART baud rate based on a convo with Noah.
|
Sort of hard to see what you mean there. Do you mean the Tilt stopped responding? If so, some questions for you since I am seeing something similar in BPR:
I believe this is in the Aioblescan, just not sure why yet. It does not happen often enough on my test system to really be able to catch it. |
Yes sorry, Fermentrack stopped recording Tilt readings.
|
Hmm. Are you running the latest version of Fermentrack? |
Would you |
fermentrack@raspberrypi:~ $ cat /usr/bin/btuart HCIATTACH=/usr/bin/hciattach uart0=" if [ "$uart0" = "$serial1" ] ; then |
and yes, running the latest version of fermentrack from Master |
If this happens often enough that you would notice a difference, edit the
Then reboot since I've not bothered to figure out which systemd process it is. See if that helps. If you are not comfortable making this change by hand, let me know and I can cobble together a command for you. |
ok, made the changes and rebooted. waiting to see.... |
OK, receiving data, fingers crossed that it is stable! |
I've seen it flake out anywhere between a couple of hours and > a day. Here's a graph showing that: I'd love to find a better way to detect it, but the library is semi-silent on it. It's one of my most annoying issues right now. :) I'm tracking it within my own work as Issue #1. |
That's great news! It also gives me a place to go to maybe help generate some additional "bad data" to dind an upstream fix overall, |
First of all, thanks to both of you for all your effort and work on Fermentrack. LOVING it! I'll keep you updated if anything changes. |
I don't maintain Fermentrack - I just happen to be using the same libraries in BrewPi Remix so having a larger sample of people is beneficial to both "sides." The logging interval impacts space and performance. If you are not having issues with either then don't sweat it. |
Thanks.
I had this issue so bad I restarted every night. So I rebuilt the Pi. Can you explain what’s going on and how this helps?
\\Greg
|
|
For 2 above: @thorrak you can use this if you like:
It will update ALL baud rates in that file (only one would be applicable) to 115200. For 1 above (a script a few of you can test) you can try this:
This runs as root (and will reload and run as root if you skip the sudo) because it needs to restart the Bluetooth daemon. It might take an hour or so for DNS to update so if you get a |
Still not a single disconnect or spike in SG! |
I have 3b and a 3b+. The 3B had this issue. I just changed btuart and the Tilt connected on restart.
Thanks
\\Greg
|
Closing this as I believe it has since been resolved. There’s a a new Tilt stack coming with #724 as well, so if this reoccurs after that goes live I want to separate the issue. |
I have been doing a lot of experimenting with Fermentrack and my new Tilt, and after a bit of head scratching, I believe I am running into bluetooth issues on Raspbian Buster. I am running the Dec 29th Fermentrack on two different rPi of the same hardware version 3B+. One has Stretch, and the other Buster. With the same setup/config (only one powered at a time) I see good connectivity in Stretch, and in Buster the Tilt stops logging after 5-15m. It appears to not be the hardware, I have switched the OS between the two different rPi and the issue sticks with the Buster OS version.
The text was updated successfully, but these errors were encountered: