[Version 2 Release] RaspberryPints - Digital Taplist Solution

Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum

Help Support Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
what pins were you using with the Mega?

Originally, I was using pin 2 to test, but that was a couple days ago before I reached out for help here. In the latest failed attempt before moving to the Nano I was on Mega pin 6, so maybe that was the issue. I might try back on pin 2 or one of the others you mentioned.

Nano pins 5 and 6 are working great, but based on the link you sent, should I use pins 2 and 3 instead? I plan to use the Nano in the final build anyway, so I am happy with the progress so far.

Thanks!
 
what pins were you using with the Mega? there is a limited number of pins that can be used because the logic uses interrupts to get the count for the pour.

seems like pins 2, 3, 18, 19, 20, 21 are available to use ( attachInterrupt() - Arduino Reference )

This is one downside to the logic but its more accurate to use interrupts then the loop to check for high/low state

Wait - I'm confused. This implies (strongly!) that the only Arduino pins that can be used are the ones that support external interrupts. If that was the case nobody could have more than a few meters in service, but clearly there are a ton of folks (like me) with way more meters on Unos than the 2 shown...

Cheers!
 
way more meters on Unos than the 2 shown...
Correct so im confused as well but they are allowed to be used for now.

I will need to update the logic to handle pins that do not support interrupts to use the old logic to poll them though im not sure if there is an easy way to tell if the pin doesnt support interupts
 
Wait - I'm confused. This implies (strongly!) that the only Arduino pins that can be used are the ones that support external interrupts. If that was the case nobody could have more than a few meters in service, but clearly there are a ton of folks (like me) with way more meters on Unos than the 2 shown...

Cheers!
Yeah, got six on my Uno.

2,5,6,7,8 & 9
 
Hi Randr+, just randomly thought I would backup the DB, clicked the backup in the install and got this.

Validating Entries...Success!
Checking DB connectivity...Success Connecting to Database!
Checking config folder permissions...Success!
backing RaspberryPints...
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 191297792 bytes) in /var/www/html/install/includes/configprocessor.php on line 174

Is this a hardware limitation? Is there anything I can do about it?

Cheers!
 
Yeah, got six on my Uno.
2,5,6,7,8 & 9

Right - the pins I advised to Alamode users start out with those, followed by 10 and 11, then "maybe" 12 as that one's tied to an Alamode level-shifter.
Then 13, which also has the "Blink" LED, and which in RandR+'s version is used as a heartbeat indicator, so that one's no longer viable...

Cheers!
 
For the record I have not yet switched my keezer from the "Classic 2.0.1" R'Pints but I have a recent-ish version of RandR+'s kit running on a test bed with an Alamode hat. I just verified that - through whatever implementation lies under the hood (I haven't looked yet) - it does count an SF800 on the pins I use (2 and 5 through 9), so I expect it will work for any non-conflicted digital IO pin on an Uno or Alamode.

I don't think I have a free Mega otherwise I'd check that one out as well...

Cheers!
 
Hi all, got the RandR version of RaspberryPints up and running. I am nowing adding a temperature probe. The temp probe is connected to the gpio4 and 3.3v and ground pins on the pi (no arduino). I believe I have connected it successfully and I can cat the file from the command line and get results back.

Code:
pi@rpints:/sys/bus/w1/devices/28-01205fdf7e7b $ cat w1_slave
46 00 4b 46 7f ff 0c 10 12 : crc=12 YES
46 00 4b 46 7f ff 0c 10 12 t=4375

However the probe is not showing up in the Admin portal. I took a look through the logs and saw this error in error.log:

Code:
[Tue Sep 21 10:50:02.124756 2021] [php7:warn] [pid 661] [client 192.168.1.39:60301] PHP Warning:  fsockopen(): unable to connect to localhost:48866 (Connection refused) in /var/www/html/admin/trigger.php on line 45, referer: http://beerbot.local/admin/temp_probe_list.php

Any ideas?
 
However the probe is not showing up in the Admin portal. I took a look through the logs and saw this error in error.log:
that error indicates that the web interface could not contact the python to do an update (i.e turn on Temp Probes)

Did you initially setup Rpints with Temp Probes? It needs the python to read the file. Check if you have /var/log/rpints.log if so check there for errors if not then you may not have enabled the python to read the temp probes
 
that error indicates that the web interface could not contact the python to do an update (i.e turn on Temp Probes)

Did you initially setup Rpints with Temp Probes? It needs the python to read the file. Check if you have /var/log/rpints.log if so check there for errors if not then you may not have enabled the python to read the temp probes

I didn't before.

I have redone the install by curl/sudo bash and selecting reinstall and saying Yes to wanting the temp probes but still have same issue.

I don't seem to have a /var/log/rpints.log

Any recommendations on what to try next?
 
Any recommendations on what to try next?
I see the issue, i never put logic in the install script to install the python service if you are not using the flowmeters.

I will find time to update that but in the mean time you can rerun the installer, reconfigure Rpints and have it install Flow Meters it shouldnt hurt anything if there isnt a arduino connected to the pi
 
I see the issue, i never put logic in the install script to install the python service if you are not using the flowmeters.

I will find time to update that but in the mean time you can rerun the installer, reconfigure Rpints and have it install Flow Meters it shouldnt hurt anything if there isnt a arduino connected to the pi

Thanks for looking in to this!
 
Probably in the wrong thread, but I tried to export a beer com file from Brewfather yesterday. When I tried to upload it, I got a “couldn’t run query” error. When I clicked on the beer, it had some parts of my recipe but left off 3 grains, it also didn’t show the style. Any help?
 
Probably in the wrong thread, but I tried to export a beer com file from Brewfather yesterday. When I tried to upload it, I got a “couldn’t run query” error. When I clicked on the beer, it had some parts of my recipe but left off 3 grains, it also didn’t show the style. Any help?
Xml file
 
When I tried to upload it, I got a “couldn’t run query” error. When I clicked on the beer, it had some parts of my recipe but left off 3 grains, it also didn’t show the style. Any help?
Can you send me the XML File and I will try it to see if i can find the error
 
Can you send me the XML File and I will try it to see if i can find the error
<?xml version="1.0" encoding="ISO-8859-1"?>
<RECIPES>
<RECIPE>
<NAME>Borderline</NAME>
<VERSION>1</VERSION>
<TYPE>All&#32;Grain</TYPE>
<NOTES/>
<STYLE>
<NAME>Black&#32;IPA</NAME>
<CATEGORY>IPA</CATEGORY>
<VERSION>1</VERSION>
<CATEGORY_NUMBER>21</CATEGORY_NUMBER>
<STYLE_LETTER>B</STYLE_LETTER>
<STYLE_GUIDE>BJCP&#32;&#50;&#48;&#49;&#53;</STYLE_GUIDE>
<TYPE>IPA</TYPE>
<OG_MIN>1.05</OG_MIN>
<OG_MAX>1.085</OG_MAX>
<FG_MIN>1.01</FG_MIN>
<FG_MAX>1.018</FG_MAX>
<IBU_MIN>50</IBU_MIN>
<IBU_MAX>90</IBU_MAX>
<COLOR_MIN>25</COLOR_MIN>
<COLOR_MAX>40</COLOR_MAX>
</STYLE>
<BREWER>Brotherhood&#32;Brewing</BREWER>
<BATCH_SIZE>20.819765</BATCH_SIZE>
<BOIL_SIZE>28.39</BOIL_SIZE>
<BOIL_TIME>60</BOIL_TIME>
<EFFICIENCY>70</EFFICIENCY>
<OG>1.062</OG>
<FG>1.015</FG>
<ABV>6.17 %</ABV>
<EST_ABV>6.17 %</EST_ABV>
<IBU>70.6</IBU>
<EST_OG>1.062 SG</EST_OG>
<EST_FG>1.015 SG</EST_FG>
<EST_COLOR>38 SRM</EST_COLOR>
<CARBONATION>2.4</CARBONATION>
<HOPS>
<HOP>
<BF_ID>default-219e4a4e</BF_ID>
<NAME>Columbus&#47;Tomahawk&#47;Zeus&#32;&#40;CTZ&#41;</NAME>
<VERSION>1</VERSION>
<ALPHA>15.5</ALPHA>
<AMOUNT>0.0141</AMOUNT>
<USE>Boil</USE>
<TIME>60</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
<HOP>
<BF_ID>default-36ce1e32</BF_ID>
<NAME>Simcoe</NAME>
<VERSION>1</VERSION>
<ALPHA>13</ALPHA>
<AMOUNT>0.014174761999999999</AMOUNT>
<USE>Boil</USE>
<TIME>20</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
<HOP>
<BF_ID>default-7f594625</BF_ID>
<NAME>Galena</NAME>
<VERSION>1</VERSION>
<ALPHA>14.2</ALPHA>
<AMOUNT>0.014199999999999999</AMOUNT>
<USE>Boil</USE>
<TIME>10</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
<HOP>
<BF_ID>default-36ce1e32</BF_ID>
<NAME>Simcoe</NAME>
<VERSION>1</VERSION>
<ALPHA>13</ALPHA>
<AMOUNT>0.014199999999999999</AMOUNT>
<USE>Boil</USE>
<TIME>10</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
<HOP>
<BF_ID>default-219e4a4e</BF_ID>
<NAME>Columbus&#47;Tomahawk&#47;Zeus&#32;&#40;CTZ&#41;</NAME>
<VERSION>1</VERSION>
<ALPHA>15.5</ALPHA>
<AMOUNT>0.0070999999999999995</AMOUNT>
<USE>Boil</USE>
<TIME>10</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
<HOP>
<BF_ID>default-7f594625</BF_ID>
<NAME>Galena</NAME>
<VERSION>1</VERSION>
<ALPHA>14.2</ALPHA>
<AMOUNT>0.014199999999999999</AMOUNT>
<USE>Boil</USE>
<TIME>5</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
<HOP>
<BF_ID>default-36ce1e32</BF_ID>
<NAME>Simcoe</NAME>
<VERSION>1</VERSION>
<ALPHA>13</ALPHA>
<AMOUNT>0.014199999999999999</AMOUNT>
<USE>Boil</USE>
<TIME>5</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
<HOP>
<BF_ID>default-219e4a4e</BF_ID>
<NAME>Columbus&#47;Tomahawk&#47;Zeus&#32;&#40;CTZ&#41;</NAME>
<VERSION>1</VERSION>
<ALPHA>15.5</ALPHA>
<AMOUNT>0.0070999999999999995</AMOUNT>
<USE>Boil</USE>
<TIME>5</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
<HOP>
<BF_ID>default-ea130494</BF_ID>
<NAME>Chinook</NAME>
<VERSION>1</VERSION>
<ALPHA>13</ALPHA>
<AMOUNT>0.0567</AMOUNT>
<USE>Dry&#32;Hop</USE>
<TIME>4320</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
<HOP>
<BF_ID>default-36ce1e32</BF_ID>
<NAME>Simcoe</NAME>
<VERSION>1</VERSION>
<ALPHA>13</ALPHA>
<AMOUNT>0.0567</AMOUNT>
<USE>Dry&#32;Hop</USE>
<TIME>4320</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
</HOPS>
<FERMENTABLES>
<FERMENTABLE>
<BF_ID>default-108df1f</BF_ID>
<NAME>Pilsner&#32;Malt</NAME>
<SUPPLIER>Avangard</SUPPLIER>
<ORIGIN>Germany</ORIGIN>
<VERSION>1</VERSION>
<TYPE>Grain</TYPE>
<AMOUNT>2.721554</AMOUNT>
<YIELD>81</YIELD>
<COLOR>1.7</COLOR>
<ADD_AFTER_BOIL>false</ADD_AFTER_BOIL>
<NOT_FERMENTABLE>false</NOT_FERMENTABLE>
<IBU_GAL_PER_LB>0</IBU_GAL_PER_LB>
</FERMENTABLE>
<FERMENTABLE>
<BF_ID>default-72225b4</BF_ID>
<NAME>Vienna&#32;Malt</NAME>
<SUPPLIER>Avangard</SUPPLIER>
<ORIGIN>Germnay</ORIGIN>
<VERSION>1</VERSION>
<TYPE>Grain</TYPE>
<AMOUNT>1.814369</AMOUNT>
<YIELD>82</YIELD>
<COLOR>3</COLOR>
<ADD_AFTER_BOIL>false</ADD_AFTER_BOIL>
<NOT_FERMENTABLE>false</NOT_FERMENTABLE>
<IBU_GAL_PER_LB>0</IBU_GAL_PER_LB>
</FERMENTABLE>
<FERMENTABLE>
<BF_ID>default-si-ryen</BF_ID>
<NAME>Rye&#32;Malted</NAME>
<SUPPLIER>Simpsons</SUPPLIER>
<ORIGIN>UK</ORIGIN>
<VERSION>1</VERSION>
<TYPE>Grain</TYPE>
<AMOUNT>0.907185</AMOUNT>
<YIELD>78</YIELD>
<COLOR>2.0304569</COLOR>
<ADD_AFTER_BOIL>false</ADD_AFTER_BOIL>
<NOT_FERMENTABLE>false</NOT_FERMENTABLE>
<IBU_GAL_PER_LB>0</IBU_GAL_PER_LB>
</FERMENTABLE>
<FERMENTABLE>
<BF_ID>default-acEyKOGQv6yLYat6Ukh6hRKz6aULo0</BF_ID>
<NAME>Blackprinz&#32;Malt</NAME>
<SUPPLIER>Briess</SUPPLIER>
<ORIGIN>US</ORIGIN>
<VERSION>1</VERSION>
<TYPE>Grain</TYPE>
<AMOUNT>0.226796</AMOUNT>
<YIELD>71.47</YIELD>
<COLOR>676.5</COLOR>
<ADD_AFTER_BOIL>false</ADD_AFTER_BOIL>
<NOT_FERMENTABLE>false</NOT_FERMENTABLE>
<IBU_GAL_PER_LB>NaN</IBU_GAL_PER_LB>
</FERMENTABLE>
<FERMENTABLE>
<BF_ID>default-a84cbb8</BF_ID>
<NAME>Chocolate</NAME>
<SUPPLIER>Briess</SUPPLIER>
<ORIGIN>US</ORIGIN>
<VERSION>1</VERSION>
<TYPE>Grain</TYPE>
<AMOUNT>0.226796</AMOUNT>
<YIELD>75.8</YIELD>
<COLOR>473.4</COLOR>
<ADD_AFTER_BOIL>false</ADD_AFTER_BOIL>
<NOT_FERMENTABLE>false</NOT_FERMENTABLE>
<IBU_GAL_PER_LB>NaN</IBU_GAL_PER_LB>
</FERMENTABLE>
<FERMENTABLE>
<BF_ID>default-c7477f7</BF_ID>
<NAME>Special&#32;B&#32;Malt</NAME>
<SUPPLIER/>
<ORIGIN>Belgium</ORIGIN>
<VERSION>1</VERSION>
<TYPE>Grain</TYPE>
<AMOUNT>0.113398</AMOUNT>
<YIELD>65.2</YIELD>
<COLOR>180</COLOR>
<ADD_AFTER_BOIL>false</ADD_AFTER_BOIL>
<NOT_FERMENTABLE>false</NOT_FERMENTABLE>
<IBU_GAL_PER_LB>0</IBU_GAL_PER_LB>
</FERMENTABLE>
</FERMENTABLES>
<YEASTS>
<YEAST>
<BF_ID>default-d33dc0</BF_ID>
<NAME>American&#32;Ale</NAME>
<VERSION>1</VERSION>
<TYPE>Ale</TYPE>
<FORM>Liquid</FORM>
<AMOUNT>2</AMOUNT>
<LABORATORY>Wyeast&#32;Labs</LABORATORY>
<PRODUCT_ID>1056</PRODUCT_ID>
<DISPLAY_AMOUNT>2 pkg</DISPLAY_AMOUNT>
<ATTENUATION>77</ATTENUATION>
</YEAST>
</YEASTS>
<MASH>
<BF_ID>default</BF_ID>
<NAME>High&#32;fermentability</NAME>
<VERSION>1</VERSION>
<GRAIN_TEMP>20</GRAIN_TEMP>
<MASH_STEPS>
<MASH_STEP>
<NAME>Temperature</NAME>
<VERSION>1</VERSION>
<TYPE>Temperature</TYPE>
<STEP_TEMP>66.7</STEP_TEMP>
<STEP_TIME>60</STEP_TIME>
<INFUSE_AMOUNT>32.06</INFUSE_AMOUNT>
</MASH_STEP>
</MASH_STEPS>
</MASH>
<EQUIPMENT>
<NAME>Red&#8217;s</NAME>
<VERSION>1</VERSION>
<BOIL_SIZE>28.39</BOIL_SIZE>
<BATCH_SIZE>20.819765</BATCH_SIZE>
<TRUB_CHILLER_LOSS>0.984207</TRUB_CHILLER_LOSS>
<LAUTER_DEADSPACE/>
<BOIL_TIME>60</BOIL_TIME>
<HOP_UTILIZATION>100</HOP_UTILIZATION>
<EVAP_RATE>20.00041563930962</EVAP_RATE>
<CALC_BOIL_VOLUME>true</CALC_BOIL_VOLUME>
</EQUIPMENT>
<BF_FERMENTATION_PROFILE_ID>default</BF_FERMENTATION_PROFILE_ID>
<BF_FERMENTATION_PROFILE_NAME>Ale</BF_FERMENTATION_PROFILE_NAME>
<FERMENTATION_STAGES>1</FERMENTATION_STAGES>
<PRIMARY_AGE>14</PRIMARY_AGE>
<PRIMARY_TEMP>18.333333</PRIMARY_TEMP>
</RECIPE>
</RECIPES>
 
<?xml version="1.0" encoding="ISO-8859-1"?>
<RECIPES>
<RECIPE>
<NAME>Borderline</NAME>
<VERSION>1</VERSION>
<TYPE>All&#32;Grain</TYPE>
<NOTES/>
<STYLE>
<NAME>Black&#32;IPA</NAME>
<CATEGORY>IPA</CATEGORY>
<VERSION>1</VERSION>
<CATEGORY_NUMBER>21</CATEGORY_NUMBER>
<STYLE_LETTER>B</STYLE_LETTER>
<STYLE_GUIDE>BJCP&#32;&#50;&#48;&#49;&#53;</STYLE_GUIDE>
<TYPE>IPA</TYPE>
<OG_MIN>1.05</OG_MIN>
<OG_MAX>1.085</OG_MAX>
<FG_MIN>1.01</FG_MIN>
<FG_MAX>1.018</FG_MAX>
<IBU_MIN>50</IBU_MIN>
<IBU_MAX>90</IBU_MAX>
<COLOR_MIN>25</COLOR_MIN>
<COLOR_MAX>40</COLOR_MAX>
</STYLE>
<BREWER>Brotherhood&#32;Brewing</BREWER>
<BATCH_SIZE>20.819765</BATCH_SIZE>
<BOIL_SIZE>28.39</BOIL_SIZE>
<BOIL_TIME>60</BOIL_TIME>
<EFFICIENCY>70</EFFICIENCY>
<OG>1.062</OG>
<FG>1.015</FG>
<ABV>6.17 %</ABV>
<EST_ABV>6.17 %</EST_ABV>
<IBU>70.6</IBU>
<EST_OG>1.062 SG</EST_OG>
<EST_FG>1.015 SG</EST_FG>
<EST_COLOR>38 SRM</EST_COLOR>
<CARBONATION>2.4</CARBONATION>
<HOPS>
<HOP>
<BF_ID>default-219e4a4e</BF_ID>
<NAME>Columbus&#47;Tomahawk&#47;Zeus&#32;&#40;CTZ&#41;</NAME>
<VERSION>1</VERSION>
<ALPHA>15.5</ALPHA>
<AMOUNT>0.0141</AMOUNT>
<USE>Boil</USE>
<TIME>60</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
<HOP>
<BF_ID>default-36ce1e32</BF_ID>
<NAME>Simcoe</NAME>
<VERSION>1</VERSION>
<ALPHA>13</ALPHA>
<AMOUNT>0.014174761999999999</AMOUNT>
<USE>Boil</USE>
<TIME>20</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
<HOP>
<BF_ID>default-7f594625</BF_ID>
<NAME>Galena</NAME>
<VERSION>1</VERSION>
<ALPHA>14.2</ALPHA>
<AMOUNT>0.014199999999999999</AMOUNT>
<USE>Boil</USE>
<TIME>10</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
<HOP>
<BF_ID>default-36ce1e32</BF_ID>
<NAME>Simcoe</NAME>
<VERSION>1</VERSION>
<ALPHA>13</ALPHA>
<AMOUNT>0.014199999999999999</AMOUNT>
<USE>Boil</USE>
<TIME>10</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
<HOP>
<BF_ID>default-219e4a4e</BF_ID>
<NAME>Columbus&#47;Tomahawk&#47;Zeus&#32;&#40;CTZ&#41;</NAME>
<VERSION>1</VERSION>
<ALPHA>15.5</ALPHA>
<AMOUNT>0.0070999999999999995</AMOUNT>
<USE>Boil</USE>
<TIME>10</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
<HOP>
<BF_ID>default-7f594625</BF_ID>
<NAME>Galena</NAME>
<VERSION>1</VERSION>
<ALPHA>14.2</ALPHA>
<AMOUNT>0.014199999999999999</AMOUNT>
<USE>Boil</USE>
<TIME>5</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
<HOP>
<BF_ID>default-36ce1e32</BF_ID>
<NAME>Simcoe</NAME>
<VERSION>1</VERSION>
<ALPHA>13</ALPHA>
<AMOUNT>0.014199999999999999</AMOUNT>
<USE>Boil</USE>
<TIME>5</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
<HOP>
<BF_ID>default-219e4a4e</BF_ID>
<NAME>Columbus&#47;Tomahawk&#47;Zeus&#32;&#40;CTZ&#41;</NAME>
<VERSION>1</VERSION>
<ALPHA>15.5</ALPHA>
<AMOUNT>0.0070999999999999995</AMOUNT>
<USE>Boil</USE>
<TIME>5</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
<HOP>
<BF_ID>default-ea130494</BF_ID>
<NAME>Chinook</NAME>
<VERSION>1</VERSION>
<ALPHA>13</ALPHA>
<AMOUNT>0.0567</AMOUNT>
<USE>Dry&#32;Hop</USE>
<TIME>4320</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
<HOP>
<BF_ID>default-36ce1e32</BF_ID>
<NAME>Simcoe</NAME>
<VERSION>1</VERSION>
<ALPHA>13</ALPHA>
<AMOUNT>0.0567</AMOUNT>
<USE>Dry&#32;Hop</USE>
<TIME>4320</TIME>
<FORM>Pellet</FORM>
<TEMPERATURE/>
<HOP_TEMP/>
</HOP>
</HOPS>
<FERMENTABLES>
<FERMENTABLE>
<BF_ID>default-108df1f</BF_ID>
<NAME>Pilsner&#32;Malt</NAME>
<SUPPLIER>Avangard</SUPPLIER>
<ORIGIN>Germany</ORIGIN>
<VERSION>1</VERSION>
<TYPE>Grain</TYPE>
<AMOUNT>2.721554</AMOUNT>
<YIELD>81</YIELD>
<COLOR>1.7</COLOR>
<ADD_AFTER_BOIL>false</ADD_AFTER_BOIL>
<NOT_FERMENTABLE>false</NOT_FERMENTABLE>
<IBU_GAL_PER_LB>0</IBU_GAL_PER_LB>
</FERMENTABLE>
<FERMENTABLE>
<BF_ID>default-72225b4</BF_ID>
<NAME>Vienna&#32;Malt</NAME>
<SUPPLIER>Avangard</SUPPLIER>
<ORIGIN>Germnay</ORIGIN>
<VERSION>1</VERSION>
<TYPE>Grain</TYPE>
<AMOUNT>1.814369</AMOUNT>
<YIELD>82</YIELD>
<COLOR>3</COLOR>
<ADD_AFTER_BOIL>false</ADD_AFTER_BOIL>
<NOT_FERMENTABLE>false</NOT_FERMENTABLE>
<IBU_GAL_PER_LB>0</IBU_GAL_PER_LB>
</FERMENTABLE>
<FERMENTABLE>
<BF_ID>default-si-ryen</BF_ID>
<NAME>Rye&#32;Malted</NAME>
<SUPPLIER>Simpsons</SUPPLIER>
<ORIGIN>UK</ORIGIN>
<VERSION>1</VERSION>
<TYPE>Grain</TYPE>
<AMOUNT>0.907185</AMOUNT>
<YIELD>78</YIELD>
<COLOR>2.0304569</COLOR>
<ADD_AFTER_BOIL>false</ADD_AFTER_BOIL>
<NOT_FERMENTABLE>false</NOT_FERMENTABLE>
<IBU_GAL_PER_LB>0</IBU_GAL_PER_LB>
</FERMENTABLE>
<FERMENTABLE>
<BF_ID>default-acEyKOGQv6yLYat6Ukh6hRKz6aULo0</BF_ID>
<NAME>Blackprinz&#32;Malt</NAME>
<SUPPLIER>Briess</SUPPLIER>
<ORIGIN>US</ORIGIN>
<VERSION>1</VERSION>
<TYPE>Grain</TYPE>
<AMOUNT>0.226796</AMOUNT>
<YIELD>71.47</YIELD>
<COLOR>676.5</COLOR>
<ADD_AFTER_BOIL>false</ADD_AFTER_BOIL>
<NOT_FERMENTABLE>false</NOT_FERMENTABLE>
<IBU_GAL_PER_LB>NaN</IBU_GAL_PER_LB>
</FERMENTABLE>
<FERMENTABLE>
<BF_ID>default-a84cbb8</BF_ID>
<NAME>Chocolate</NAME>
<SUPPLIER>Briess</SUPPLIER>
<ORIGIN>US</ORIGIN>
<VERSION>1</VERSION>
<TYPE>Grain</TYPE>
<AMOUNT>0.226796</AMOUNT>
<YIELD>75.8</YIELD>
<COLOR>473.4</COLOR>
<ADD_AFTER_BOIL>false</ADD_AFTER_BOIL>
<NOT_FERMENTABLE>false</NOT_FERMENTABLE>
<IBU_GAL_PER_LB>NaN</IBU_GAL_PER_LB>
</FERMENTABLE>
<FERMENTABLE>
<BF_ID>default-c7477f7</BF_ID>
<NAME>Special&#32;B&#32;Malt</NAME>
<SUPPLIER/>
<ORIGIN>Belgium</ORIGIN>
<VERSION>1</VERSION>
<TYPE>Grain</TYPE>
<AMOUNT>0.113398</AMOUNT>
<YIELD>65.2</YIELD>
<COLOR>180</COLOR>
<ADD_AFTER_BOIL>false</ADD_AFTER_BOIL>
<NOT_FERMENTABLE>false</NOT_FERMENTABLE>
<IBU_GAL_PER_LB>0</IBU_GAL_PER_LB>
</FERMENTABLE>
</FERMENTABLES>
<YEASTS>
<YEAST>
<BF_ID>default-d33dc0</BF_ID>
<NAME>American&#32;Ale</NAME>
<VERSION>1</VERSION>
<TYPE>Ale</TYPE>
<FORM>Liquid</FORM>
<AMOUNT>2</AMOUNT>
<LABORATORY>Wyeast&#32;Labs</LABORATORY>
<PRODUCT_ID>1056</PRODUCT_ID>
<DISPLAY_AMOUNT>2 pkg</DISPLAY_AMOUNT>
<ATTENUATION>77</ATTENUATION>
</YEAST>
</YEASTS>
<MASH>
<BF_ID>default</BF_ID>
<NAME>High&#32;fermentability</NAME>
<VERSION>1</VERSION>
<GRAIN_TEMP>20</GRAIN_TEMP>
<MASH_STEPS>
<MASH_STEP>
<NAME>Temperature</NAME>
<VERSION>1</VERSION>
<TYPE>Temperature</TYPE>
<STEP_TEMP>66.7</STEP_TEMP>
<STEP_TIME>60</STEP_TIME>
<INFUSE_AMOUNT>32.06</INFUSE_AMOUNT>
</MASH_STEP>
</MASH_STEPS>
</MASH>
<EQUIPMENT>
<NAME>Red&#8217;s</NAME>
<VERSION>1</VERSION>
<BOIL_SIZE>28.39</BOIL_SIZE>
<BATCH_SIZE>20.819765</BATCH_SIZE>
<TRUB_CHILLER_LOSS>0.984207</TRUB_CHILLER_LOSS>
<LAUTER_DEADSPACE/>
<BOIL_TIME>60</BOIL_TIME>
<HOP_UTILIZATION>100</HOP_UTILIZATION>
<EVAP_RATE>20.00041563930962</EVAP_RATE>
<CALC_BOIL_VOLUME>true</CALC_BOIL_VOLUME>
</EQUIPMENT>
<BF_FERMENTATION_PROFILE_ID>default</BF_FERMENTATION_PROFILE_ID>
<BF_FERMENTATION_PROFILE_NAME>Ale</BF_FERMENTATION_PROFILE_NAME>
<FERMENTATION_STAGES>1</FERMENTATION_STAGES>
<PRIMARY_AGE>14</PRIMARY_AGE>
<PRIMARY_TEMP>18.333333</PRIMARY_TEMP>
</RECIPE>
</RECIPES>
It left out the rye, blackprinz, and chocolate malts. I tried two other xml files as well, and it did the same thing, left out a few ingredients and didn’t show the style/bcjp category
 
It left out the rye, blackprinz, and chocolate malts. I tried two other xml files as well, and it did the same thing, left out a few ingredients and didn’t show the style/bcjp category
Thanks, it doesnt like the malts because the SRM is > 99
if you log into the database through the terminal (sudo mysql -D <databasename>) where database name default is raspberrypints
you can run these commands to allow > 99

ALTER TABLE fermentables MODIFY srm DECIMAL(7,1) NOT NULL ;
ALTER TABLE srmRgb MODIFY srm DECIMAL(7,1) NOT NULL ;
ALTER TABLE accolades MODIFY srm DECIMAL(7,1) NOT NULL ;


the beer style didnt add to to a lack of min abv, run these commands to remove that requirement:

ALTER TABLE beerStyles CHANGE COLUMN `abvMin` `abvMin` DECIMAL(3,1) NULL ;
ALTER TABLE beerStyles CHANGE COLUMN `abvMax` `abvMax` DECIMAL(3,1) NULL ;
ALTER TABLE beerStyles CHANGE COLUMN `ibuMin` `ibuMin` DECIMAL(3,0) NULL ;
ALTER TABLE beerStyles CHANGE COLUMN `ibuMax` `ibuMax` DECIMAL(3,0) NULL ;
ALTER TABLE beerStyles CHANGE COLUMN `srmMin` `srmMin` DECIMAL(7,1) NULL ;
ALTER TABLE beerStyles CHANGE COLUMN `srmMax` `srmMax` DECIMAL(7,1) NULL ;



I ran those on my system and the XML worked as expected. I will get those committed sometime this week so an update to the system will do them for everyone else.
 
Trying to add some bottled beers, but keep running into "No Active Bottles." I was able to do this many updates ago; what am I missing?
 
but keep running into "No Active Bottles."
it will say that till you hit save.

By default if you have no bottles it will say no active bottles and give you a row to fill in bottle information on
 
hey all, having some issues with Step 6: RPints Installation Wo/Flow Meters. I have tired to look over this entire thread and done a few searches, but not having any luck pinpointing the solve to the issue. I'm follow the original instruction, but know that there has been a fix to adding "html" portion to the command once the Raspberry2.0.1 file is unzipped. I can't seem to get the sudo mv RaspberryPints-x.x.x.x/* /var/www/html command to work.

is there a post or a thread out there that will walk me through? cant seem to establish the web host portion. Also full disclosure, I know zero about computer, but have a buddy helping me limp along.
 
Last edited:
Greetings, @ruski! And welcome to the forums at HomebrewTalk :mug:

Unfortunately you found the original and now "legacy" version of RaspberryPints, which we got working in 2014, but due to numerous and major operating system release changes since (mostly due to database manager changes) is no longer viable on a fresh installation. Back then we were using RaspberryPi OS version "Wheezy", and were still able to work using "Jessie". But when "Stretch" came out things started breaking, and then "Buster" was the kill shot for the project, legacy-wise.

Fortunately, HBT member @RandR+ took upon himself to drastically rewrite/rewire/reconstruct RaspberryPints to work under Buster, and brought a ton of cool functions and features along as well. With help from another member the initial installation command is reduced to just this, run from a command prompt:

Code:
curl -L install.rpints.com | sudo bash

- Select Apache as the web server
- Use /var/www/html/rpints as the install path
- Answer "Y" to keep RPINTS as the default webpage

- IF the script fails ("ERROR: apache2 test failed.") just run the curl command again

- Select RandR+ version
Most of the rest is obvious (I think) but then again it's been awhile since I ran this, so feel free to ask questions of the group, someone will chime in :)

Cheers!
 
Thank
Greetings, @ruski! And welcome to the forums at HomebrewTalk :mug:

Unfortunately you found the original and now "legacy" version of RaspberryPints, which we got working in 2014, but due to numerous and major operating system release changes since (mostly due to database manager changes) is no longer viable on a fresh installation. Back then we were using RaspberryPi OS version "Wheezy", and were still able to work using "Jessie". But when "Stretch" came out things started breaking, and then "Buster" was the kill shot for the project, legacy-wise.

Fortunately, HBT member @RandR+ took upon himself to drastically rewrite/rewire/reconstruct RaspberryPints to work under Buster, and brought a ton of cool functions and features along as well. With help from another member the initial installation command is reduced to just this, run from a command prompt:

Code:
curl -L install.rpints.com | sudo bash

- Select Apache as the web server
- Use /var/www/html/rpints as the install path
- Answer "Y" to keep RPINTS as the default webpage

- IF the script fails ("ERROR: apache2 test failed.") just run the curl command again

- Select RandR+ version
Most of the rest is obvious (I think) but then again it's been awhile since I ran this, so feel free to ask questions of the group, someone will chime in :)

Cheers!
Thanks, I did finally find that command and have everything working with RandR+ version.

Final question, once I make edit/changes in the Admin back end, is there a way to refresh the display? or do you just have to reboot?
 
Admin back end, is there a way to refresh the display? or do you just have to reboot?
usually changes to the admin page trigger a refresh to the clients, if not hitting refresh on the client will show the changes without a reboot of the Pi
 
usually changes to the admin page trigger a refresh to the clients, if not hitting refresh on the client will show the changes without a reboot of the Pi
not sure that it's doing it or perhaps not enough time is passing (been 5+mins) if i do ctrl F5 that works.
 
So I've been messing around with Rpints now for a couple weeks, big thanks to @RandR+ and @bscuderi . I decided to do a fresh install on a clean Buster image, but for the life of me I can't get the flowmeters working anymore. I've done multiple fresh Buster/Rpints installs and no luck. I am just testing out with an Arduino Mega, which I had working fine a week or two ago, but now nothing on the fresh install. The logs are not showing anything related to the Arduino. The sketch seems to upload fine to the Mega, although I do only see "alive" in the serial monitor when I check on my PC, not sure if that is normal or not. Anyone have any thoughts? I can provide more info as needed, I'm just not quite sure where to go from here.

I too have been working off a Mega and just updated both Pi and Pints. I am on serial connection to the Pi (ttyS0) and updated the .ino sketch and line247 of FlowMontior.py for baud 115200. I am getting 'alive' responses from the Mega but nothing beyond that. My log looks like:

2021-10-30 00:07:59 RPINTS: listening to Arduino 2021-10-30 00:08:04 RPINTS: alive 2021-10-30 00:08:04 RPINTS: Arduino was restarted, restart flowmonitor 2021-10-30 00:08:04 RPINTS: closing serial connection to Arduino... 2021-10-30 00:08:05 RPINTS: flowmonitor aborted, restarting... 2021-10-30 00:08:05 RPINTS: resetting Arduino 2021-10-30 00:08:05 RPINTS: Creating Serial Listener 2021-10-30 00:08:06 RPINTS: waiting for Arduino to come alive 2021-10-30 00:08:09 RPINTS: Arduino alive... 2021-10-30 00:08:09 RPINTS: getting config data for Arduino 2021-10-30 00:08:09 RPINTS: Arduino config, about to send: C:4:11:12:51:53:0:300:200:30:250:0:0:1| 2021-10-30 00:08:09 RPINTS: Waiting for Config Response 2021-10-30 00:08:14 RPINTS: Arduino says: alive
and it repeats infinitely. I never got the auto update for the sketch upload to work, so I always manually update the Arduino sketch and 'touch' the .ino file so it is newer than the hex. I cannot get past the config response from the Arduino now. :(

seems like pins 2, 3, 18, 19, 20, 21 are available to use
Those aren't the only pins available. The sketch is calling PCINT pins. On the Mega there are 23 to select from. Conveniently there are also the same number for the Uno. Just don't use the same for the LED and serial and you'll be fine. Check out the pinout diagram- Mega - Uno

Also looking through the python files there is now an MQTT listener?! (One of the reason I hit that upgrade button) Awesome stuff. Are we able to send temperature and flowmeter updates to the listener? Rather than dealing with the Arduino, I can, theoretically, run the flow meters through an ESP as a traditional pulsecount sensor and send the (calibrated) number of pulses as a pour to the Pi?
 
I am getting 'alive' responses from the Mega but nothing beyond that. My log looks like:
in the python/Config.py change False#True to just True on lines 13 and 16 and restart the flowmon service
#logging settings for flowmon
config['flowmon.debug' ] = False#True

#logging settings for pintdispatch
config['dispatch.debug' ] = False#True


this will trace out more information about why the logic is restarting


Are we able to send temperature and flowmeter updates to the listener?
Yes if you send the same message format as the arduino you can use MQTT to update RPints using a ESP
for a pour its
P;<USER_ID/-1>;<PIN>;<POUR_COUNT>
for temp its
T;<PROBE>;<TEMP>;TEMPUNIT>;<DATE>
 
not sure that it's doing it or perhaps not enough time is passing (been 5+mins) if i do ctrl F5 that works.
it should be near instant, but you need to have the flowmon service running even if there are no flowmeters are hooked up to it.
If you set the connection to MQTT (either in python/Config.py - flowmon.port or during the installation/reconfiguration when running the install script) it will avoid looking for an arduino and just run the refresh webserver.
 
in the python/Config.py change False#True to just True on lines 13 and 16 and restart the flowmon service
#logging settings for flowmon
config['flowmon.debug' ] = False#True

#logging settings for pintdispatch
config['dispatch.debug' ] = False#True


this will trace out more information about why the logic is restarting

Strangely I had this already set to True and what I posted earlier was all that was being logged. Turned it off last night and just sat down to investigate. Powered back up the Pi and Arduino and everything is normal again! Ran a pour and calibrated the tap, and that is where the error occurred:
Code:
2021-10-30 20:05:43 RPINTS: got a update: U;-1;11;251
2021-10-30 20:05:43 RPINTS: Sending Status;N;-1;0;0;0;0;0;|
2021-10-30 20:05:44 RPINTS: got a pour: P;-1;11;254
 Pourpour on pin: 11, count: 254, conversion: 1643.55, amount: 0.15454351860302, amountUnit: gal, user: N/A
Error: Can't open display: (null)
Failed creating new xdo instance
2021-10-30 20:05:44 RPINTS: restarting fan timer after pour
2021-10-30 20:05:44 RPINTS: count update: RPU:FLOW:11=254:-1
2021-10-30 20:05:45 RPINTS: Reset Tap during loop Pin 11 0
2021-10-30 20:05:45 RPINTS: Sending Status;N;-1;0;0;0;0;0;|
2021-10-30 20:09:12 RPINTS: reconfigure trigger: all
2021-10-30 20:09:12 RPINTS: resetting alamode config from db
2021-10-30 20:09:12 RPINTS: config update: REFRESH
2021-10-30 20:09:12 RPINTS: Sending Status;N;-1;1;0;0;0;0;|
2021-10-30 20:09:13 RPINTS: Arduino reconfig in progress...
2021-10-30 20:09:13 RPINTS: closing serial connection to Arduino...
2021-10-30 20:09:14 RPINTS: flowmonitor aborted, restarting...
2021-10-30 20:09:14 RPINTS: resetting Arduino
2021-10-30 20:09:14 RPINTS: Creating Serial Listener
2021-10-30 20:09:15 RPINTS: waiting for Arduino to come alive
and then there is no alive response from the Arduino. I am going to try and refresh the install from the install script (assuming though this is already what clicking upgrade already does?)

Yes if you send the same message format as the arduino you can use MQTT to update RPints using a ESP
for a pour its
P;<USER_ID/-1>;<PIN>;<POUR_COUNT>
for temp its
T;<PROBE>;<TEMP>;TEMPUNIT>;<DATE>
Awesome! I assume the listener is listening on port 1883? I will have to give this a try.
 
and then there is no alive response from the Arduino. I am going to try and refresh the install from the install script (assuming though this is already what clicking upgrade already does?)
Hmmm, it looks like it it detected a start of a pour but not enough to trigger a pour then it got an update trigger from the admin screen causing it to restart. Not sure why the Arduino didnt respond after the reset though.
The update just stops the service pulls the latest from git, applies SQL updates and starts the service. should be close enough to the same as a fresh install without autouploading the sketch.

I assume the listener is listening on port 1883?
You need to setup the following in the Config.py file to get MQTT running.
config['mqtt.host']=
config['mqtt.port']=
config['mqtt.user']=
config['mqtt.password']=

the host should be the IP of the pi
port is whatever is free on the pi (1883 should work)
User and password are used to authenticate any connection attempt
 
you can change the sizes in the styles.css file (under the Rpints directory)
if you add font-size:yypx (where yy is the font size you want) you will change the font size
it will be helpful to familiarize yourself with the developer tools in the web browser, they allow you to select elements and see their display styles and modify them for that session (i.e. refresh and they are reverted)
for example to make the beer name 70px change

table .name{
text-align: left;
vertical-align: middle;
padding: 5px;

}
to
table .name{
text-align: left;
vertical-align: middle;
padding: 5px;
font-size:70px;
}

is this the accurate way to adjust the Font size for the Beer Names? I made this edit in the style.css (or thought that I did) and nothing. but then I see the post from here:

https://www.homebrewtalk.com/thread...-digital-taplist-solution.487694/post-9154605
showing that it should be done from the BeerListTable.php file. is there a right or wrong way?
 
showing that it should be done from the BeerListTable.php file. is there a right or wrong way?
Technically doing it the BeerListTable.php will work, but its not proper CSS as its inline and causes the style.css file to break
That being said doing it there guarantees that the change will work as it overrides all CSS before it and any complicated CSS from the style.css file.
 
I apologize in advance for being that guy and asking without doing enough research, there is just so much in this thread I don't know where to begin. I am attempting to get setup with Raspberry Pints and I have done good so far until we get to step 4 Step 4: Package Installation W/Flow Meters - RaspberryPints (download mySQL, PHP, etc). The instructions include PHP5 and mysql-client but those have been deprecated evidently. So I installed PHP7 and mariadb-client.

From there I was fine with grabbing the latest version of RaspberryPints from GitHub, unzipping, and moving to the /var/www folder. When I go to connect to the PI via IP address, I get the Apache2 Debian Default Page. I'm thinking there needs to be a file at /var/www/html/ location that is for Raspberry Pints but I'm not sure. Is there a newer version everyone is going off of or can someone let me know if I might be missing something?


Sorry for the complete newbie question, it is my first time really working with the Pi and I'm learning as I go here. Thanks in advance!
 
Back
Top