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
docker container stop (docker ps -a -q)
docker container rm (docker ps -a -q)
docker volume prune
docker volume ls
docker volume rm fermentrack-tools_postgres_data_backups fermentrack-tools_postgres_data fermentrack-tools_fermentrack_logs fermentrack-tools_fermentrack_data
This is the sensor board I have - How would it connect to the main board.
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
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
Yup, exactly.
You'd use RJ45's like these..
https://www.aliexpress.com/item/32736146888.html
Cheers!
Chris
Found these on amazon (quicker delivery
So no wiring just insert and solder and make sure you run the wires from the sensors in the correct order?
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
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
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.
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
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 corrutionCode:bool isValidmDNSName( const char * mdns_name ) { char c; while ( (c = *mdns_name++) ) if ( c != '.' && !isalnum(c) ) return false; return true; }
View attachment 737553
Should I be using one of the other Dev branches instead ?
New version coming (very) soon.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?
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?
There a couple of solder bridges that you'd need to sort out, as @Thorrak said on the RJ45 and there's one on the D1Mini, between 3V3 and D8, you might also have a dry joint on the GND. There could be another couple of dry joints on the surface mount components?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?
Glad to see the "Low Delay" version for glycol being added. I've been using V.0.11 with glycol in Fridge Const. mode for several years now. what are the specifics of this new "Low Delay" version. Do I still need to use just the frig sensor and set PID values to {0,0,0}, etc.?
LowDelay | Normal | |
MIN_COOL_OFF_TIME | 60 | 300 |
MIN_HEAT_OFF_TIME | 300 | 300 |
MIN_COOL_ON_TIME | 20 | 180 |
MIN_HEAT_ON_TIME | 180 | 180 |
MIN_COOL_OFF_TIME_FRIDGE_CONSTANT | 60 | 600 |
MIN_SWITCH_TIME | 600 | 600 |
COOL_PEAK_DETECT_TIME | 1800 | 1800 |
HEAT_PEAK_DETECT_TIME | 900 | 900 |
I currently have a working Fermentrack setup using the Arduino controller. I am building a ESP8266 controller for the wifi. Can I flash the ESP and test the new controller build with my current fermentrack Pi configuration or would I need a new fermentrack install on the Pi? Im afraid of messing up my current well functioning controller. Can multiple different controllers be used if I wanted the arduino for one fermenter and the ESP for another?
There a couple of solder bridges that you'd need to sort out, as @Thorrak said on the RJ45 and there's one on the D1Mini, between 3V3 and D8, you might also have a dry joint on the GND. There could be another couple of dry joints on the surface mount components?
For testing I can recommend @LBussy 's firmware available in BrewFlasher, it's under other, WiFi reset & Sensor/Wiring Test. It's VERY useful when putting your system together and debugging your cabling!
Did you have the dockerized version or the non-docker version?I updated my Fermentrack software last night. I now get a "504 Gateway Time-out" I cannot access it on my Pi or remotely. Can someone tell me how to erase the original on my Pi and load the Newest version. Thank you.
have you tried just unplugging and replugging in the pi? id say if nothing else, you could delete all the indices for fermentrack and run the setup all over again. all you should need to do then is add the brewpi device back, which should already be on your network. lose profiles and names, but it would get you unstuck. If you had a spare SD, could just install everything from scratch to the pi and such and hang onto the existing SD for a 'fix' later?I really need to know how to make this work again. My fermantrack is down and It is locked at 64 degrees, I need to ferment another batch and I need to know how to unistall what is and start fresh or fix what I have.
Enter your email address to join: