BrewPi Remix – What’s Old is New Again

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.
I went through my AMZ history - apparently Sainsmart stopped selling UNO R3 clones in 2014, and the alternatives I'd bought since then are also no longer listed.

Aaanyway...as long as the item includes an Atmel "Atmega 16U2" to go along with the Atmel 328P (the classic socketed DIP controller version) you can't really go wrong. The 16U2 is the USB-Serial bridge chip for true R3 designs, where there are also "half-clones" that rely on a CH340/CH341 bridge chip that can have issues with software that doesn't know how to talk to it.

So, looking at AMZ, I'd be comfortable going with this listing...or pretty much any of the $11-12 listings that address that bridge chip issue...

https://www.amazon.com/ePalZoneXP-ATmega328P-Atmega16U2-Arduino-Compatible-Arduino/dp/B0CRF4NC7Y/

Cheers!
 
I think this is the right place to post a brewpi remix question
🤔

Ive installed brewpi-arduino-uno-revC-0_2_10 onto an Uno and the web software on Ubuntu 20.04. Everything seems fine, no errors in the logs. I realise using non-raspberry hardware is potentially troublesome. Its just I appear to have everything working, and there are no errors. So close yet .....

Ive attached two DS18B20 probes complete with pullup resistor. In devices I refresh and the probes appear as expected. I assign Chamber 1, Chamber device, chamber temp to slot 0 and apply. Likewise for beer device and temp in slot 2, Apply.

But on APPLYing the device config display reverts to "function none" and likewise on refreshing devices with read values checked.

But each of the probes show two correct temperatures (22c), slightly different from eachother which Id expect. If I hold one of them and refresh, the temperature goes up towards 30c which I also expect. So they appear to be working.

But the beer and chamber temperatures are missing from the main display, as are their respective plots. Obviously related to the above.

There is nothing in the apache logs, except gettiltinfo entries (unrelated, right). And nothing in stderror stdout except the data flow on read and save (see below).

Something is obviously amiss, but Im stuck without any error message or other clue. Can anyone please help me diagnose this, or even give me a hint what might be wrong?

I have spent the obligatory few hours trying to sort it out myself, but now hope for the assistance of someone who knows more than me :)

Ive tried both chrome and firefox, but I realise Im clutching at straws.

Here is the output from stdout for what its worth:

Code:
2024-05-10 13:56:15 [N] Available devices received: [{"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 2, "d": 0, "p": 18, "v": 22.0, "a": "28FD6C5704E13D24", "j": 0.0}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 2, "d": 0, "p": 18, "v": 22.125, "a": "28D3F95704E13DE4", "j": 0.0}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 2, "x": 1}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 5, "x": 1}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 6, "x": 1}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 19, "x": 1}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 4, "x": 1}]
2024-05-10 13:56:39 [N] Installed devices received: []
2024-05-10 13:56:39 [N] Available devices received: [{"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 2, "d": 0, "p": 18, "a": "28FD6C5704E13D24", "j": 0.0}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 2, "d": 0, "p": 18, "a": "28D3F95704E13DE4", "j": 0.0}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 2, "x": 1}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 5, "x": 1}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 6, "x": 1}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 19, "x": 1}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 4, "x": 1}
2024-05-10 13:56:53 [N] New JSON received from controller.]
 
fwiw, I've been running the classic BrewPi Arduino version using a Rev C shield clone we developed right here on HomebrewTalk since (checks logs) 2014 and generally when there are issues assigning devices it's due to a corrupt eeprom on the Uno module. Just as generally, wiping the eeprom invariably led to a successful configuration. The last version of the BrewPi Arduino web gui had a "clear eeprom" function built into the Maintenance panel pages, but failing that you can find a sketch for the UNO that will do that via the Arduino IDE...

Cheers!
 
Another BrewPi Remix question...

I have been interested since Elco first came out with brewpi but had a big break from brewing so I'm a few years late. Read through the old and new forums which lead me to piecing things together using LBussy's amazing website. My Raspbian knowledge is zero as my only other project is setting up a Kodi media server for the house.

I am running a genuine raspberry Pi 2 model B in headless mode, genuine Arduino Uno connected by serial port, two DS18B20 with the pullup resistor, and 5v for the probes coming from a mean well RS 15-5 (everything on my table using a breadboard and dupont wires until I can be sure everything works). My first attempt the install completed but I'm guessing the Arduino Uno didn't flash correctly because the webpage couldn't run the script which I thought I fixed by replacing a bad power cable not giving 5v to the Raspberry Pi. With stable 5v I then reformatted my micro SD card, used the Raspberry Pi imager from their website, then followed the instructions in the user documentation from LBussy's website and while installing using the automated installation I encountered the following error. Thank you for any insights you can share.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/brewpi/venv/lib/python3.11/site-packages/pip/_vendor/urllib3/respo nse.py", line 560, in read
with self._error_catcher():
File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
File "/home/brewpi/venv/lib/python3.11/site-packages/pip/_vendor/urllib3/respo nse.py", line 449, in _error_catcher
raise SSLError(e)
pip._vendor.urllib3.exceptions.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_M AC] decryption failed or bad record mac (_ssl.c:2546)



*** ERROR ERROR ERROR ERROR ERROR ***
-------------------------------------
See above lines for error message.
Setup NOT completed.


*** ERROR ERROR ERROR ERROR ERROR ***


-------------------------------------

See above lines for error message.
Setup NOT completed.
 
fwiw, I've been running the classic BrewPi Arduino version using a Rev C shield clone we developed right here on HomebrewTalk since (checks logs) 2014 and generally when there are issues assigning devices it's due to a corrupt eeprom on the Uno module. Just as generally, wiping the eeprom invariably led to a successful configuration. The last version of the BrewPi Arduino web gui had a "clear eeprom" function built into the Maintenance panel pages, but failing that you can find a sketch for the UNO that will do that via the Arduino IDE...

Cheers!
Thankyou for the replies. Im not sure whats going on. I ran the clear eprom empty code program from the IDE. Then uploaded brewpi again, no change. I also read post suggesting a reset immediately prior to upload, which also didnt work. I tried the combination of the two, no change. About to give up I powered off the board yet again and re-downloaded. This time it worked and I can now update the devices. I didnt do anything different I aware of.

I wish I knew what fixed it, all I can say is it wasnt as simple as clearing eprom and re-downloading. I do dislike fixes that I dont understand, but the beer produced thereafter will help me forget.

Thanks again for the help, indirectly it did fix the problem. Whatever it was lol
 
I wish I knew what fixed it, all I can say is it wasnt as simple as clearing eprom and re-downloading
The Uno can be finicky but if it’s running it’s running. I understand the sideways glances you give the system now, but I’m glad it’s going.
 
Back
Top