• Please visit and share your knowledge at our sister communities:
  • If you have not, please join our official Homebrewing Facebook Group!

    Homebrewing Facebook Group

Native ESP8266 BrewPi Firmware - WiFi BrewPi, no Arduino needed!

Homebrew Talk

Help Support Homebrew Talk:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Hello!

Currently amidst a fermentrack and BrewPi-esp8266 combo build at the movement.In short this is amazing, and fermentrack is really good and well integrated with the BrewPi-Esp8266 firmware/implementation. So pretty committed to retaining this arrangement.
However I have some hardware questions, which may have come about my previous ignorance between BrewPi-Esp8266 and BrewPiLess. Namely, whether there is a BrewPi-Esp8266 fork that has the physical up and down buttons configured and LCD timeout? (I think I might have a duff LCD board at the moment anyway..) As, forgive me if I am wrong, I could spot anything in the default fermentrack config tools.

I did have a search around this forum, but I think my search abilities are lacking, as didn’t come up to a categorical answer. Heard about Config.h file adjustments, but I guess I would have to recompile or something (this is where my expertise runs out) before flashing a bin to the esp8266. So thought this would be a good place to ask in the first instance!
Thanks!
 
Hello!

Currently amidst a fermentrack and BrewPi-esp8266 combo build at the movement.In short this is amazing, and fermentrack is really good and well integrated with the BrewPi-Esp8266 firmware/implementation. So pretty committed to retaining this arrangement.
However I have some hardware questions, which may have come about my previous ignorance between BrewPi-Esp8266 and BrewPiLess. Namely, whether there is a BrewPi-Esp8266 fork that has the physical up and down buttons configured and LCD timeout? (I think I might have a duff LCD board at the moment anyway..) As, forgive me if I am wrong, I could spot anything in the default fermentrack config tools.

I did have a search around this forum, but I think my search abilities are lacking, as didn’t come up to a categorical answer. Heard about Config.h file adjustments, but I guess I would have to recompile or something (this is where my expertise runs out) before flashing a bin to the esp8266. So thought this would be a good place to ask in the first instance!
Thanks!

Unfortunately there is not. I was going to make one, but got distracted and ended up running off in a different direction. That will eventually get released but it’s behind another project at the moment which is absorbing my development cycles.
 
Unfortunately there is not. I was going to make one, but got distracted and ended up running off in a different direction. That will eventually get released but it’s behind another project at the moment which is absorbing my development cycles.

Thanks Thorrak! I think I’ll go for the path of least resistance and put the ability to put the buttons in at a later date, once the firmware allows!

Really impressive stuff though!!
 
following on from my comments about a duff LCD above (getting two lines of white squares despite any contrast setting), assuming it’s some dodgy connections somewhere (power pin is nicely at 5V , but SCA and SCL are a tad shy ). But wanted to confirm whether the I2C address still needs to be 0x27?
 
following on from my comments about a duff LCD above (getting two lines of white squares despite any contrast setting), assuming it’s some dodgy connections somewhere (power pin is nicely at 5V , but SCA and SCL are a tad shy ). But wanted to confirm whether the I2C address still needs to be 0x27?
Nope - the firmware will auto detect any device at any address on the I2C bus. I would double check the wires for SCA and SCL - that’s the most likely culprit as long as the I2C backpack is good.
 
Nope - the firmware will auto detect any device at any address on the I2C bus. I would double check the wires for SCA and SCL - that’s the most likely culprit as long as the I2C backpack is good.
Cheers! I think I have tracked it down to my logic level converter. Bought the thing that looked “right” in the pictures on Amazon, but didn’t read the description. A think turned up in the post that looked right with same form factor and hastily put into place. However on looking closely at it it’s not what was pictured. Live and learn I suppose!
 
Cheers! I think I have tracked it down to my logic level converter. Bought the thing that looked “right” in the pictures on Amazon, but didn’t read the description. A think turned up in the post that looked right with same form factor and hastily put into place. However on looking closely at it it’s not what was pictured. Live and learn I suppose!
Yeah - Unfortunately there are two different pinouts for the level shifters out there - both with the same footprint. It's really frustrating. Sorry that it got you in this case!
 
I'm curious if anyone made progress on glycol with the ESP? I see the initial commit LBussy put out there about a year ago but haven't gone much further. I wanted to see if there was progress before I dug into things myself. My glycol chiller is coming along. I plan to use constant fridge to handle it for now, but profiles would be nice.
 
Hey guys, I've lost my dashboard (504 Bad Gateway) and I've been trying to run the Fix Environment script, but it's failing. Here's the last snippit:

Code:
chown: changing ownership of '/home/fermentrack/venv/lib/python3.7/site-packages/django/contrib/redirects/migrations/django.po': Structure needs cleaning
chown: cannot access '/home/fermentrack/venv/lib/python3.7/site-packages/django/contrib/sites/LC_MESSAGES': Structure needs cleaning
chown: cannot access '/home/fermentrack/venv/lib/python3.7/site-packages/django/contrib/sessions/LC_MESSAGES': Structure needs cleaning
chown: changing ownership of '/home/fermentrack/venv/lib/python3.7/site-packages/django/conf/locale/nb/__pycache__/django.mo': Structure needs cleaning
chown: changing ownership of '/home/fermentrack/venv/lib/python3.7/site-packages/django/conf/locale/nb/__pycache__/django.po': Structure needs cleaning
chown: cannot access '/home/fermentrack/venv/lib/python3.7/site-packages/django/conf/locale/__pycache__/LC_MESSAGES': Structure needs cleaning

Any ideas?
 
Hey guys, I've lost my dashboard (504 Bad Gateway) and I've been trying to run the Fix Environment script, but it's failing. Here's the last snippit:

Code:
chown: changing ownership of '/home/fermentrack/venv/lib/python3.7/site-packages/django/contrib/redirects/migrations/django.po': Structure needs cleaning
chown: cannot access '/home/fermentrack/venv/lib/python3.7/site-packages/django/contrib/sites/LC_MESSAGES': Structure needs cleaning
chown: cannot access '/home/fermentrack/venv/lib/python3.7/site-packages/django/contrib/sessions/LC_MESSAGES': Structure needs cleaning
chown: changing ownership of '/home/fermentrack/venv/lib/python3.7/site-packages/django/conf/locale/nb/__pycache__/django.mo': Structure needs cleaning
chown: changing ownership of '/home/fermentrack/venv/lib/python3.7/site-packages/django/conf/locale/nb/__pycache__/django.po': Structure needs cleaning
chown: cannot access '/home/fermentrack/venv/lib/python3.7/site-packages/django/conf/locale/__pycache__/LC_MESSAGES': Structure needs cleaning

Any ideas?

Yikes - I can't recall hearing "structure needs cleaning" errors before. Your SD card sounds like it is either corrupt or pretty darn close to being corrupt. I would back up your data folder, your database, and your secretsettings.py file ASAP and migrate everything to a fresh install on a new SD card.
 
Yikes. Okay!
Yikes - I can't recall hearing "structure needs cleaning" errors before. Your SD card sounds like it is either corrupt or pretty darn close to being corrupt. I would back up your data folder, your database, and your secretsettings.py file ASAP and migrate everything to a fresh install on a new SD card.


Yikes! I guess I'll try to get a new card tomorrow!
 
You know, I'm thinking about going a different way here: If I set up a VM running RPi OS, can I run Fermentrack on that? I guess I'd need to flash firmware manually from my PC. But I can do that, so long as I can get the bin files.

Any concerns with that @Thorrak?
 
You know, I'm thinking about going a different way here: If I set up a VM running RPi OS, can I run Fermentrack on that? I guess I'd need to flash firmware manually from my PC. But I can do that, so long as I can get the bin files.

Any concerns with that @Thorrak?
None whatsoever. Secret confession: my main Fermentrack install the past few months has been running in an Ubuntu VM on my NAS.

For flashing firmware, there’s always BrewFlasher ;)
 
Also, containerized Fermentrack running in docker is coming soon (but it won’t use SQLite so it’s not yet ideal for migrating existing installations)
Are you migrating to Mongo? I would love to be able to run Fermentrack on my Synology.
 
Nah, Docker.

My primary install of Fermentrack is actually in a VM on my Synology right now. I'm hoping the docker version will work just as well.
Gotcha I was curious what DB you were moving to with the docker version. I am also willing to beta test on my Synology (DS918+) in Docker if you need any testing.
 
Last edited:
Attached is a controller wiring layout (PDF vector illustration) that uses one of Thorrak's PCBs. I hope someone finds it useful.

thumb.png

thumbnail

It's in the public domain, no copyright. It's a native Adobe Illustrator PDF and should also open without much trouble in InkScape in case you want to modify it, create a derivative work or grab pieces for your own diagram. If you spot any errors, let me know.
 

Attachments

  • Fermentrack Controller Layout.pdf
    1.5 MB
Last edited:
Attached is a controller wiring layout (PDF vector illustration) that uses one of Thorrak's PCBs. I hope someone finds it useful.

View attachment 712464
thumbnail

It's in the public domain, no copyright. It's a native Adobe Illustrator PDF and should also open without much trouble in InkScape in case you want to modify it, create a derivative work or grab pieces for your own diagram. If you spot any errors, let me know.

That's awesome! Thank you! What did you use to create that?
 
Thanks! Adobe Illustrator.

I dunno, Lee... the Fermentrack GUI looks pretty good. Someone had to pick the right CSS template.
 
I've had a go myself, but I can't work it out.

I'm trying to get this to run this on a Sonoff Dual R2 v1.4?

I've tried changing the pins in config.h in platform.io/Visual Studio Code, but I can't get it to build.

That aside, is it even possible?

I want it to connect to fermentrack as a controller, with fermentrack running on a separate server (done). stand-alone webpage would be handy but not required, LCD handy but not required. iSpindel integration is also a requirement.

Can someone please point me in the right direction?

Cheers!
 
Just found this after weeks of looking. sorry,

Not yet.

If someone has a link to the pinout, porting it should be a 5 minute job -- depending on the size of the flash chip they include.

8285 Pinout/GPIO#
Pin 10/GPIO 12 Heating (Built in Relay# 1)
Pin 24/GPIO 5 Cooling (Built in Relay# 2)
Pin 18/GPIO 9 Onewire (Button1 header on PCB)

Other connections
Pin 12/GPIO 13 Blue LED
Pin 19/GPIO 10 Case button (Assign to door?/log event trigger).

For LCD
Pin 14/GPIO 2 I2C SDA TestPoint 2 on back of PCB (IO2)
Pin 9/GPIO 14 I2C SCL Top of R26

Appreciate any and all assistance.
 
Hi gents, is there a way to decrease the compressor delay in fermentrack? It seems way too long.
 
Back
Top