Lol! Well, yeah, kinda - except for the "bearing down" thing.
I'm pretty sure I've never opened any of my FermCams while in a vehicle 😁
Cheers!
I'm pretty sure I've never opened any of my FermCams while in a vehicle 😁
Cheers!
it was bird's eggs under his deck I think, so the RF had no issue with spaced wood decking.Somehow I remember you building an IoT camera to watch some eggs. The details escape me, but are you speaking from experience here?
🤔
It wasn't a choir either, it was a dance troupe as I recall, but to be fair - they deserved it.it was bird's eggs under his deck I think, so the RF had no issue with spaced wood decking.
Totally different.
There were some bugs with the calibration implementation that I recently recall squishing -- but I can't recall if they were in Fermentrack or BrewPi-ESP. Let me dig through the code and I'll let you know what I find.Hi all!
I have been using Fermentrack for years and I am very happy with it (rPI3+Arduino UNO). I updated to the docker version without problem but have the probes in a refrigerator and I need to calibrate them since 2 give me different temperatures (a big difference of 0.7ºC).
The problem is that in the probe configuration, I subtract these 0.7º from the offset and it is not recorded, or it appears the offset recorded with "0.012" for example, that is to say: either the offset is not recorded or this is a wrong number.
I have the software in the latest version, I have reset the EEPROM and it does not solve the problem.
What do you think could happen and how to solve it?
Thank you in advance!
Special Thanks for day_trippr and Thorrak! thanks them I have my system working for years!
It's been awhile since I brewed, almost a year. It looks like Fermentrack isn't able to connect/find to tiltbridge.local. I can connect with laptop, etc. to tiltbridge.local. I did update the tiltbridge from 1.1.3 to 1.2.1, so not sure if that is the issue.
There were some bugs with the calibration implementation that I recently recall squishing -- but I can't recall if they were in Fermentrack or BrewPi-ESP. Let me dig through the code and I'll let you know what I find.
Hi all!
Could you look at something Thorrak?
Apart from this and addressed to everyone:
Has anyone else had temperature probe calibration problems in Fermentrack?
TY in advance 🍻
Hey, thanks for your fast response 👌🏼Hey - Apologies, I did look before but didn't find anything interesting, and then got distracted before I came back here to report on what I found. From digging through Fermentrack's code, it looks like the changes I was remembering were made several years back.
I'm anticipating that the issue here is in the way that the (string) calibration offset is being converted to BrewPi's internal temperature format. If you look in your device's log when you set a calibration amount, what is the string that is being sent to the device?
Hey, thanks for your fast response 👌🏼
The process I did for this test is: disable the sensor, enable it again by adding a test offset (I.e. -1.5) , see stdout log to check.
Here are the images, I don't see any offset in the log, I've tried it several times.
It is curious that sometimes an offset appears (always wrong) and in others there is no offset. I have tried to do an EEPROM reset, I have reconfigured the sensors without noticing any changes.
I need to run an errand before I can try to push out a change to fix this, but I can see the offset being applied here:
View attachment 841117
I think the problem is that the offset is being sent as a float, and the Arduino firmware strictly expects it to be a string. I'm pretty sure I can fix this in the BrewPi Script implementation, but need to double check some code in the BrewPi-ESP firmware first to make sure that won't break anything.
It wouldn't matter if you did -- it's Fermentrack that has to.Good. I haven't tried to put the offset in quotation marks, maybe that will work.
@TheFlangerBeer - The image has finished building. To install it, from your fermentrack tools directory run ./install.sh -i devI need to run an errand before I can try to push out a change to fix this, but I can see the offset being applied here:
View attachment 841117
I think the problem is that the offset is being sent as a float, and the Arduino firmware strictly expects it to be a string. I'm pretty sure I can fix this in the BrewPi Script implementation, but need to double check some code in the BrewPi-ESP firmware first to make sure that won't break anything.
Hi man.@TheFlangerBeer - The image has finished building. To install it, from your fermentrack tools directory run ./install.sh -i dev
Let me know if this resolves the issue!
That's my fault. The command should be:Hi man.
Not only has it not worked, but it can't load Fermentrack.
I have attached the installation process with the errors, and also the access screen to my IP (192.168.1.128). it can't access this website and open Fermentrack 😢
Thanks for your effort and help man but… it doesn’t work. In resume: No changes.🤷♂️That's my fault. The command should be:
./install.sh -i docker-dev
I forgot the "docker-" part.
Just to make sure everything is doing what I expect, do you mind quoting the logs here again?Thanks for your effort and help man but… it doesn’t work. In resume: No changes.🤷♂️
I installed twice with no errors.
No offset:
Probe beer: 23.125°C
Probe chamber: 23.813
All probes inside a flask with water.
Reference thermometer: 23.1°C
(So we need apply a -0.7 offset to chamber):
Offset -0.7 on chamber probe with this result:
Probe beer: 23.188°C
Probe chamber: 23.563
Temp cal. Offset: -0.25
Again new attemps to set chamber temp. Offset sent -0,7. Shown (not always) -0,25Just to make sure everything is doing what I expect, do you mind quoting the logs here again?
Can you paste them here?Again new attemps to set chamber temp. Offset sent -0,7. Shown (not always) -0,25
What do you mean? I posted stderr.log, stdout.log. Do you mean screen capture?Can you paste them here?
I appreciate it. The logs are very helpful, as the hardware you’re using (Arduino) isn’t what have set up on my end, so I'm debugging through you, unfortunately.What do you mean? I posted stderr.log, stdout.log. Do you mean screen capture?
Ok here is it.
Do you mean other logs? if so, which ones and how can I get them?
TY
----
EDIT: Well, I did it again:
I reinstalled Docker again: ./install.sh -i docker.dev
Then I set beer prove offset to "-0.7" again.
In the new stdlog and stderr you can see that I asked for -0-7 offset and interrnally Fermentrack "translate" it to "0.25".
So no changes, I am sorry to report to you bad news man, ty for your effort and support
Bingo!Te lo agradezco. Los registros son muy útiles, ya que el hardware que estás usando (Arduino) no es el que configuré por mi parte, así que desafortunadamente estoy depurando a través de ti.
No veo nada obvio en el lado de Fermentrack que pueda causar esto, ya que todo parece estar siendo convertido y enviado correctamente al controlador, por lo que tendré que construir un controlador por mi parte para depurar esto. parece. ¿Estoy en lo cierto al decir que estás utilizando el firmware BrewPi-Remix de @LBussy para tu Arduino?
Bingo!
In any case, I would not want this to involve a lot of work time or effort, it is not a vital thing and I can take into account the temperature difference when programming the fermentation.
I have been using it for several years now so if something works then "don't touch it" (kiss principle). The problem arose when changing a defective probe and seeing the phase difference of almost 1ºC. I'm not very sure but I think the firmware may be this:
brewpi-arduino-uno-revc-0.2.13+da7e14a9.hex
Good luck with it and as always, thank you
my_strtol called with -0.7 - Converted to 0
stringToFixedPoint called my_strtol with -0.7 - Converted to 0
my_strtol called with 7 - Converted to 7
Converted temperature difference: -358 (512=1)
calibrationAdjust: -12 (16=1)
Your involvement and commitment are worth applauding.I'm at a bit of a loss at the moment, unfortunately. I built a slimmed-down proof-of-concept based on Lee's code that can be run in a C++ shell, and best that I can tell it seems to be doing the conversion appropriately:
Code:my_strtol called with -0.7 - Converted to 0 stringToFixedPoint called my_strtol with -0.7 - Converted to 0 my_strtol called with 7 - Converted to 7 Converted temperature difference: -358 (512=1) calibrationAdjust: -12 (16=1)
Internally, BrewPi tracks temperatures as whole numbers, stored with either 512 steps-per-degree precision or 16 steps-per-degree precision. When I convert -0.7, it comes back with -358/512 (-0.6992) from the initial conversion which it then converts to -12/16 (-0.75) which is what it stores. If you were seeing -0.75 rather than -0.7 this would explain it -- and be OK -- but to see it convert to -0.25 makes no sense.
The only thing that I can think is that the command being sent to the controller is different somehow from the command the controller thinks that it sees.
I'll have to think a bit outside the box here to see if I can figure out how to debug this. I'll let you know what I come up with.
Hello! I have a problem: I am not an expert in this and I am not sure I do it right, I have several doubts.@TheFlangerBeer - I've created a test firmware that will print some debugging info to the log that I can use to (hopefully!) figure out what is going on. If you have a moment, can you flash the correct one of the following two firmware to your Arduino:
RevC: https://www.kegscreen.com/brewpi-beta/brewpi-arduino-uno-revc-0.2.13+f1fa1.hex
I2C: https://www.kegscreen.com/brewpi-beta/brewpi-arduino-uno-i2c-0.2.13+f1fa1.hex
Once flashed, can. you attempt to set the device up (with calibration offset) and then post the logs here?
Well, so I have to assume that I have outdated firmware on my Arduino.Don't worry about it. I got some time this evening, so I assembled a new Pi/Fermentrack/Uno/DS18b20 setup. Unfortunately, everything seems to work as expected on my end:
View attachment 841949
View attachment 841950
I don't know why things don't work on your end, but don't see anything that I can do at this point to fix your issue. Sorry about that.
Inside Fermentrack if you go to the device menu and click "Flash Device" it will take you to the device flashing workflow which will allow you to then select the firmware you want to flash.Well, so I have to assume that I have outdated firmware on my Arduino.
I'll look into how to update it.
What firmware do you have?
Is an Arduino Uno RevC like mine?
thanks for everything
I agree. It could be something I'm doing wrong (I'm not an expert) but The most appropriate thing would be to leave it as it is.That’s weird on both counts. Without looking at the blame log, I don’t anticipate that @LBussy changed anything meaningful with the temperature calibration code, so I’m surprised that you’re having issues with the legacy firmware. Additionally, you should be able to flash any firmware you want onto your Arduino regardless of what might have been flashed there before.
With that in mind - at this point my recommendation would be that if you’re comfortable with uncalibrated temps to leave it alone. It sounds like there might be something going on with your Arduino if it won’t let you flash a different firmware so it’s not worth risking unless you’re comfortable potentially needing to replace it.
You are correct. When we put the I2C LED code in I had to shorten some strings (16 characters as I remember) to get the code to fit. I also added the screen reset on timer. Other than that, the code is unmolested.I don’t anticipate that @LBussy changed anything meaningful with the temperature calibration code,
Hi thorrak,Without having tested the board myself I can’t guarantee anything, but looking at the specs it seems like a standard ESP32 so you should be perfectly fine. If you’ve already got the controller just flash the ESP32 IIC LCD firmware to it with BrewFlasher and see if the WiFi AP spins up. If it does, you’re good to go.
If you are designing your own PCB/circuit then it’s your call as to whether you use a TFT or an old-school LCD. Pinouts for both are on GitHub.
If you want to use an LCD, you will need an LCD2004 module with an I2C backpack. This one looks like it might work, but you can probably get it for half the price on Amazon. Depending on the specific board you get, it may expect 5V logic, so you may need to add a bidirectional level shifter to your design.
For TFTs, you’ll need a 320x240 TFT with an ILI9341 driver. This one should work if you only use the SPI pins, but it’s not a backpack style I’ve personally used so I can’t guarantee it. Like with the LCD, you can probably get one (with just an SPI interface, which is all you need) for half that price on AliExpress or Amazon. The size is a matter of personal preference, but it needs to have the right driver chip (ILI9341), resolution (320x240), and expose/run off the SPI pins (MOSI, MISO, etc).
Enter your email address to join: