nickl111 / beerlogger

Monitor fermentation activity with a Raspberry Pi Zero W and Tilt Hydrometer
MIT License
0 stars 0 forks source link

bluetooth keeps dying #37

Closed nickl111 closed 4 years ago

nickl111 commented 4 years ago

there is a hardware or system problem with bluetooth on the pi :(

The service randomly dies with a "Could not open device" error message. Restarting the bluetooth service seems to fix it so we need to try to catch this error (from hcitool?) and restart it ourselves.

nickl111 commented 4 years ago

Actually this works, it's just that the service file had not been updated on install and had the wrong pidfile in it