• 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.
I just released my latest project - BrewFlasher Web Edition! Flash BrewPi-ESP8266 (amongst other projects!) to your controller, straight from your web browser.

This project took all the magic of BrewFlasher, and stuck it in a web app. Flash any ESP8266/ESP32 firmware supported by BrewFlasher, straight from your web browser. No downloads needed.

BrewFlasher Web Edition is available at: BrewFlasher Web Edition

The code is open source, and is available at GitHub.

Note - Due to the APIs required, BrewFlasher Web Edition only works in recent desktop versions of Google Chrome, Microsoft Edge, and Opera. If you don't use one of those browsers, try BrewFlasher desktop edition instead.

I just tested the new webversion and it works great! :thumbsup:
The option to see the logs&console is also very nice to have.:ban:

Maybe just a small remark: the button to start the flash is not overall active, only the upperpart of this button works, you have to make sure that the mouse cursor changes from pointer to a hand before you can click the button.

20220119_103127_small.jpg
20220119_103143_small.jpg


But for me its a Big 👍👏
 
I just tested the new webversion and it works great! :thumbsup:
The option to see the logs&console is also very nice to have.:ban:

Maybe just a small remark: the button to start the flash is not overall active, only the upperpart of this button works, you have to make sure that the mouse cursor changes from pointer to a hand before you can click the button.

View attachment 756243 View attachment 756244

But for me its a Big 👍👏
Heeeey, guess who made a last minute change and didn't notice that it made half the button non-responsive.

Thanks for catching that - should now be fixed!
 
Hey everyone, I'm having difficulty with my iSpindel. I've added it can get the readings, have added gravity points to calibrate, and updated the coefficients. However, it's not calculating the gravity correctly (even when it's exactly one of the calibration points)

1642773084377.png
1642773102949.png
1642773119725.png



Any great ideas?
 
Hi
i'm also getting
502 Bad Gateway
nginx/1.10.3
When trying to upgrade.

Tried this after my upgrade:
apt-get update --allow-releaseinfo-change
apt-get upgrade
sudo reboot
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
curl -L install.fermentrack.com | bash

but only gets command dosen't exist..

Help appreciated!!
 
Hi
i'm also getting
502 Bad Gateway
nginx/1.10.3
When trying to upgrade.

Tried this after my upgrade:
apt-get update --allow-releaseinfo-change
apt-get upgrade
sudo reboot
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
curl -L install.fermentrack.com | bash

but only gets command dosen't exist..

Help appreciated!!

Did you have the docker or non-docker version?
 
Ehhh, Where can i see what version? 🥳
It’s an old brewpi build upgraded to fermentrack 2 years ago
 
Last edited:
So i tested with:
docker run hello-world
docker version
docker info

And the reply is that it dosen,t exists


SOLVED!!!
 
Last edited:
I also just bumped in to this issue when updating from the UI, however using: curl -L install.fermentrack.com | bash
still required me to use this before it would work: sudo apt-get update --allow-releaseinfo-change

I also got an error on the redis install, which I assume is because redis is already running?
*** ERROR: Port 6379 is required by Redis, but is currently in use. Installation cannot continue.

Seems the script doesn't stop the docker containers when it tries to run the update, so it was erroring. I manually stopped all containers and it allowed me to run the script: docker stop $(docker ps -a -q)

Also as the script progresses after stopping the docker containers to allow it to install, it then seems to get stuck on:
Waiting for PostgreSQL to become available...

It could just be me being impatient but it's perhaps been doing that for at least 10 minutes

Looking at docker it seems* to be running but I'm not sure what the readiness probe is testing for:

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3f4fcee59ed2 jdbeeler/fermentrack:latest "/entrypoint python …" 16 minutes ago Up 16 minutes fermentrack-tools_django_run_1
4f638f73035b fermentrack_postgres "docker-entrypoint.s…" 16 minutes ago Up 16 minutes fermentrack-tools_postgres_1
61f35551caac fermentrack_redis "docker-entrypoint.s…" 16 minutes ago Up 16 minutes fermentrack-tools_redis_1

Exec'ing in I can see postgrsql is running:
pi@brewerypi:~ $ docker exec fermentrack-tools_postgres_1 pg_isready
/var/run/postgresql:5432 - accepting connections

I updated the os with apt-get update, did a reboot and then re-ran the install script, it seems to get further now but I get this error:

::: Waiting for Fermentrack install to initialize and become responsive.
::: Fermentrack may take up to 3 minutes to first boot as the database is being initialized.
..........................................................................................missing.
*** ERROR: Unable to find an initialized, responsive instance of Fermentrack

Weirdly the application seems to be running despite the error :s

I have exactly the same issue. The solution was to stop the containers and also prune the volumes. So commands to do this are:
Stopping the Containers:
Code:
docker container stop (docker ps -a -q)
Removing them to be re-created by install:
Code:
docker container rm (docker ps -a -q)
Pruning the Volumes: (This was critical for me)
Code:
docker volume prune
You might also want to list the volumes and delete indervidually if required
Code:
docker volume ls
Code:
docker volume rm fermentrack-tools_postgres_data_backups fermentrack-tools_postgres_data fermentrack-tools_fermentrack_logs fermentrack-tools_fermentrack_data

I hope this helps get your install working
Thanks to Thorrak!
John
 
Does anybody know of a location (or page# on a thread) that has a ESPN8266 wiring diagram akin to the ardunio diagram I have used previously. I already have controllers and fermentrack but want to investigate converting my Uno R3 installs to ESPN8266 boards to take advantage of the wireless connection.
 
1648322393868.png


I managed to find this diagram on page on page 84 (thankyou 100 amps). I have the PCB on order (including sessor PCB's) and all of the parts (including a 3d printer to really make it look finished). I'm generally a software guy so to avoid electronics and soldering as much as possible. This is more of a general question but which the diagram above does the PCB's internal circuitry connect any components or do I need to solder a wire to the hole or do I solder a pin (standout?) to the hole and connect a wire to it? Also how does the sensor PCB connect to this board and does anybody have a diagram for that? Do still need the resistor with the sensors as well or this taken car of with the board? Thanks in advance. Thorrak and Lbussy ,in particular, have done a fantastic service to this community.

Update:

1648323481044.png


I have ordered a different board than above but it looks like the shifter is missing. Do I just put a 4 set of pins in the LCD and relay holes , solder and the run dupont cables from the pins here to the lcd and relay?

1648323698659.png

This is the sensor board I have - How would it connect to the main board.

Sorry for all the questions - Thanks in advance.

Neal
 
Last edited:
The component at the bottom of the sensor board in the middle and bottom left on the main board (rectangle with 8 angled holes) will be an RJ45 socket. That's how the sensors get attached to the main board.

Hope that helps

Chris

Thanks Chris.

So I add a RJ45 socket to each board and then run an ethernet cable between the two ? Do the 8 holes on each board offer integrated pins that I'm not guessing. I didn't think RJ45 connectors had mounting pins or is just glued to the boards?

Am i missing something? I've been using fermentrack for a few years but on Uno's so the majority of it makes sense just not the PCB and connectors?

Cheers

Neal
 
Yup, exactly.



You'd use RJ45's like these..

https://www.aliexpress.com/item/32736146888.html
Cheers!

Chris


Thanks Dude.

1648326610552.png


Found these on amazon (quicker delivery) but I did not know these existed. So no wiring just insert and solder and make sure you run the wires from the sensors in the correct order? I need to run a standard patch cable between the two board and butcher one to attach to the sensors? Do I still need the little resistor in all that or does the simplify the sensor creation by just pairing the same wires togther and attach to the hacked side of the RJ45 cable? Again thanks for the answers.
 
Found these on amazon (quicker delivery

Excellent!

So no wiring just insert and solder and make sure you run the wires from the sensors in the correct order?

If you follow the tracings on the boards, I'm pretty sure that the wires are in the correct orientation and it'll be plug 'n play.

Do I still need the little resistor in all that or does the simplify the sensor creation by just pairing the same wires togther and attach to the hacked side of the RJ45 cable

You will still need the resistor, but one should suffice using these boards. I don't see a spot on the boards for a resistor a'la KegCop, so you will have to hack the cable and install inline.

Hope that helps

Chris
 
Hi Guys.

I've read through page 69 and I thought I was good but still cannot find any document that helps me work out what solders where. Most of the images are of completed ESP8266 boards but one showed small electronics soldered in the R4 / R5/ R1 etc positions? Is this still needed? What is the advantage of the circuit board over just connecting the devices together if I need to also solder in small resistors that were not needed if the ESP8266 had just a dupont wire to the screen for example. I did read up to page 69 (still going) before posting again. A lot of the links to documents are broken in the post , probably due to it's age. Is there an updated area I should be looking?

Thanks in advance.

Neal


1648424679414.png
 
Hi Guys.

I've read through page 69 and I thought I was good but still cannot find any document that helps me work out what solders where. Most of the images are of completed ESP8266 boards but one showed small electronics soldered in the R4 / R5/ R1 etc positions? Is this still needed? What is the advantage of the circuit board over just connecting the devices together if I need to also solder in small resistors that were not needed if the ESP8266 had just a dupont wire to the screen for example. I did read up to page 69 (still going) before posting again. A lot of the links to documents are broken in the post , probably due to it's age. Is there an updated area I should be looking?

Thanks in advance.

Neal


View attachment 764255

Hi Neal,

Wish I had clued in to this yesterday, but it appears the board you are showing here is one designed for surface mount electronics which are mounted below the D1Mini. Those pads you see are where the components are soldered to the board. There was another board that used through hole mounts for the resistors and capacitors, etc required.

I've never fiddled with surface mount stuff before so I can't help with how they attach. All the other stuff mounts through holes either directly or through the use of terminal blocks or male pin headers.

Awful sorry for any confusion I may have caused.

Chris
 
The transistors and R under the D1 mini are the level shifters for the 5V display.
There is also the 4k7 pull up for the one wire bus.
 
Does anybody know of a location (or page# on a thread) that has a ESPN8266 wiring diagram akin to the ardunio diagram I have used previously. I already have controllers and fermentrack but want to investigate converting my Uno R3 installs to ESPN8266 boards to take advantage of the wireless connection.

The best visual I used for building on the bench was this:Schematic

But using the Fermentrack pinouts for the ESP8266 here:Pinouts

Then power the ESP8266 using micro USB. My build was just this, no shield or breakout board.
 
Hi folks, I've just started to re-look at my esp8266 brewpi project that I built back in 2017/18
View attachment 737558
I added the buzzer function back using an arduino active buzzer module and successfully built the master branch 0.08 and 0.09 versions, this was on another machine using platformio. I have moved over to another pc running ubuntu and so have done a fresh install of platformio and downloaded a fresh copy the master branch before I started to implement the buzzer again.
Trying to compile gave lots of warnings about SPIFFS depreciating and several errors, one error was solved by making the WiFiManager as a local library and changing platformio.ini to reflect the change the other error was 'i' was not declared in this scope in the function 'bool isValidmDNSName(String)' in brewpi-esp8266.cpp I'm not a good coder so after googling a bit I ended up rewriting to be
Code:
bool isValidmDNSName( const char * mdns_name )
{
        char c;
        while ( (c = *mdns_name++) )
          if ( c != '.' && !isalnum(c) )
            return false;
         return true;
}
this has allowed it to successfully compile but i'm getting corruption on the LCD screen, the last update in the master branch says was to fix lcd corrution
View attachment 737553

Should I be using one of the other Dev branches instead ?

Did you find the solution to the LCD corruption? I'm running into the same issue after making a few changes to the firmware.
 
HI - Soldered as best I could - ESP is flashed and even connected to the Wifi. Have connected it to fermentrack using wifi.

once connected to the board I power the screen on but do not see any image. Am I meant to see the Fridge on screen or do i need to do something else to see this?
 

Attachments

  • eps5.jpg
    eps5.jpg
    644.8 KB
  • eps4.jpg
    eps4.jpg
    1.7 MB
  • eps3.jpg
    eps3.jpg
    979.9 KB
  • eps2.jpg
    eps2.jpg
    948.3 KB
  • eps1.jpg
    eps1.jpg
    1.1 MB
HI - Soldered as best I could - ESP is flashed and even connected to the Wifi. Have connected it to fermentrack using wifi.

once connected to the board I power the screen on but do not see any image. Am I meant to see the Fridge on screen or do i need to do something else to see this?

Have you tried adjusting the pot on the back of the display? Looks to me as if the contrast or brightness is turned way up.

PXL_20220411_175108006.MP~2.jpg

Hope that helps.

Chris
 
HI - Soldered as best I could - ESP is flashed and even connected to the Wifi. Have connected it to fermentrack using wifi.

once connected to the board I power the screen on but do not see any image. Am I meant to see the Fridge on screen or do i need to do something else to see this?

Be careful -- Without checking a schematic, you appear to have a solder bridge between two of the pins for the RJ-45 jack on the bottom of the board. Might be good to clip that if you can.
 
Back
Top