user 40839
Well-Known Member
- Joined
- Jul 13, 2009
- Messages
- 1,176
- Reaction score
- 86
Yup, easy peasy. Just went into the Django admin panel, and replaced the ttyACM with rfcomm0 and rfcomm1 respectively.The Bluetooth support is a non standard option, so it isn't as smooth as the initial install, but it's pretty straight forward. Follow the instructions in @day_trippr's thread for How To Brewpi Over Bluetooth to program the HC-05 modules. If you've already done that and they are recognized by your Raspberry Pi, no need to do that again. Disconnect the USB and then use the Bluetooth program in the Pi desktop to find and connect to that Bluetooth module. Make sure you check the options to automatically bind. Then make note of the port that it hooks up on. The first one is most likely rfcomm0. Then go to Fermentrack and pull up the device configuration for that controller. Under the serial port option, instead of "auto" you'll use "/dev/rfcomm0" or whatever port you used on the Pi. I can't remember if I checked or unchecked the udev checkbox, so try it both ways if it doesn't work. Do your controllers one at a time and it should work.
Only problem - for some reason, the pi isn't keeping the pairing after a reset. I can pair them manually using
Code:
sudo rfcomm bind 0 98:D3:34:90:D5:73 1
sudo rfcomm bind 1 98:D3:33:80:E0:6A 1
and previously, adding those to the beginning of the /home/pi/.config/lxsession/LXDE-pi/autostart file did the trick. Not now - wonder if it's because of a newer version of Raspbian.