My fleet of RPIs have aged gracefully over the years, most of them still quite content to run Wheezy, but at this point it's impossible to ignore the passage of time - especially when it comes to updates of pretty much any kind. So I am setting out on the mission to create a whole new prototype system based on Bullseye. And now that I have the basic OS and desktop stuff installed, it's time for all the brewery stuff to be loaded. Starting with
Raspberry Pints.
I ran the installer - twice as seems to be required (same thing happened on Buster) - and got the initial installation done. Then I configured in my six flowmeters (using Alamode GPIO 2 and 5 through 9). When I rebooted the system and brought up R'Pints in a Chrome browser on my workstation, this is what I saw:
While that was going on the LED I have connected to the Alamode GPIO 13 (which is the same GPIO that the Alamode's on-board "Blink LED" is wired to) was blinking once roughly every second. My original Arduino sketch mod made that LED blink at the end of a detected pour and was very handy for debugging. This behavior is different. Then,
many minutes later, the screen finally stopped blinking, and the LED changed its blink pattern to a bursty pattern like this:
While the main page blinks I noticed the management pages did not. Even returning from a management page the Main page would blink again.
I went to test my flowmeter setup, walking a known-good meter through the used pins. The bursty LED blink pattern that happens once the screen blinking has stopped isn't interrupted if I blow through a flow meter. Otoh, while the screen is blinking and the LED is doing its one blink per second, it does pause while a flow meter is spinning.
This behavior repeats with every reboot. How long it takes for the screen to stop blinking varies - a lot. As I type this it's been at least ten minutes since a reboot and it's still blinking. Anyway, I pulled up the Pour List and here's what it's seeing: 0 amount pours on every tap pin. Explains why it's not deducting anything from the sample kegs!
As familiar with the original R'Pints as I am, now I am unsure where to look for this problem and thus basically stuck. Advise would be appreciated.
And as long as I'm here, some things I've noted so far:
- there are a max of 4 temperature sensors allowed. My current keezer tracks 5 sensors (floor level, lid level, keg, tower and room). I would enjoy seeing that 4 sensor limit increased to 5
- also, wrt the temperature sensors, what is the "State Pin" shown in the template? My sensors are wired to RPi GPIO 4 (pin 7 ) and when I look at the Temperature History the temperature logging appears to be functional even with all "State Pins" left at "0".
- wrt the Motion Sensor setup: my PIR is on RPi GPIO 9 (pin 21) with its LED on RPi GPIO 10 (pin 19). My old R'Pints setup plays a short audio clip on wake-up and it appears this new setup could do that as well, but it isn't obvious how to input an audio file name and where the file has to be located. Also, what is the significance of "Priority" and how does one use that setting?
I disabled my own working python sketch that implements the PIR and LED with audio playback (via a system call to mpg321 passing the audio file name) and verified it's not running. While it then seemed like the new R'Pints installation is using the PIR to un-blank the display (good) it doesn't seem like it is using the LED (in fact the LED has a soft glow that suggests its IO pin was not configured properly).
And if I enter an audio file name in the "Sound File" box and put the file at the R'Pints root folder (/var/www/html/rpints) I don't get any sound. I tried providing the full path (/var/www/html/rpints.bubbles.mp3) with no joy. And what about the "LED Pin"? Should I be using the GPIO names instead of Pin Numbers"?
Then I looked at the Log page and holy cow!
Date | Process | Category | Text | Occurances |
---|
2023-03-19 16:32:20 | PintDispatch | I | flowmonitor aborted, restarting... | 204 |
2023-03-19 16:32:22 | PintDispatch | I | serial connection stopped... | 174 |
2023-03-19 16:31:39 | FlowMonitor | I | Unable to run Motion Detection:Conflicting edge detection already enabled for this GPIO channel | 2 |
2023-03-19 16:31:24 | FlowMonitor | I | 1Wire Temperature Thread 1 is Running | 2 |
2023-03-19 16:31:24 | FlowMonitor | I | Motion Detector MD-Motion is Running | 2 |
2023-03-19 16:31:08 | FlowMonitor | I | Unable to run Motion Detection:Conflicting edge detection already enabled for this GPIO channel | 2 |
2023-03-19 16:30:53 | FlowMonitor | I | 1Wire Temperature Thread 1 is Running | 2 |
2023-03-19 16:30:53 | FlowMonitor | I | Motion Detector MD-Motion is Running | 2 |
2023-03-19 16:30:38 | FlowMonitor | I | Unable to run Motion Detection:Conflicting edge detection already enabled for this GPIO channel | 2 |
2023-03-19 16:30:36 | FlowMonitor | I | Motion Detector MD-Motion is Running | 2 |
2023-03-19 16:30:21 | FlowMonitor | I | 1Wire Temperature Thread 1 is Running | 1 |
The counts for the two top entries are rising with each second. Woof.
- Ending this on a positive note, I looked through the super long primary "Configuration" page numerous times to see how to disable the Accolades column. With all the other customization settings I was surprised I couldn't find a switch and I was going to request that it be added (already typed it up here even

) but then I stumbled onto the "Customize Tap Display" and there it was in all its glory! Thanks!
Otherwise...hmmm....no idea what's going on here now...
Cheers!
[edit/ps] After a reboot I checked the log file again and it looks "better"
Raspberry Pints Log
Date | Process | Category | Text | Occurances |
---|
2023-03-19 16:45:08 | FlowMonitor | I | 1Wire Temperature Thread 1 is Running | 1 |
2023-03-19 16:45:08 | FlowMonitor | I | Motion Detector MD-Motion is Running | 1 |
2023-03-19 16:45:07 | PintDispatch | I | Not Configured to run Fan | 1 |
2023-03-19 16:45:07 | PintDispatch | I | Fan Control fanControl1 is Running | 1 |
2023-03-19 16:45:07 | PintDispatch | I | starting fan control | 1 |
2023-03-19 16:45:07 | PintDispatch | I | starting command server | 1 |
2023-03-19 16:45:07 | PintDispatch | I | starting device monitors... | 1 |
2023-03-19 16:45:07 | PintDispatch | I | starting WS server | 1 |
2023-03-19 16:44:59 | FlowMonitor | I | Could not import RFID Reader, RFID disabled. Assuming SPI not installed/configured | |
...but the Pour List entries are still all "zero"...