BrewPiLessGX

Homebrew Talk

Help Support Homebrew Talk:

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

IDMaynard

Well-Known Member
Joined
May 17, 2022
Messages
118
Reaction score
46
I know there is another thread on this subject but I did not see this topic in the discussion.
I recently purchased Thorrak's "All-in-One" ESP32 board. I am wondering if anyone else have tried to install BrewPiLess (GX or otherwise) on this newer board?
In Vitotai's code you can changed the board type to a Thorrak board but this is the older board.
The new board Thorrak changed the heat, cool, door, and one-wire pin-out.
I attempted to change the numbers to match the new board but not sure that is the correct way to address this.
Any guidance would be greatly appreciated.
Oh I did ask Vitotai if in the next update he/she could add Thorrak's new board to the code. :)
 
BrewPiLessGx is designed to utilize existing ESP32 (ESP32S3) modules with touch-enabled TFT displays. I haven't thoroughly studied Thorrak's "All-in-One" ESP32 board, but from a quick look, it doesn't seem to use a touch TFT display. So, I'm not sure why you would want to use BrewPiLessGx with it.

The core of BrewPiLessGx is almost identical to BrewPiLess, with the main differences being the addition of new features, such as HomeKit. Since I have already switched to BrewPiLessGx, any new features will be implemented there first. These new features are probably not very significant, and unless there is strong demand, I may not bother porting them back to BrewPiLess.

Modifying pin configurations is simple and can be found in the BrewPiLess documentation. This is an open-source project, so you are free to make any changes, just as you can use any hardware you like. Please understand that I cannot accommodate and respond to everyone's requests.
 
BrewPiLessGx is designed to utilize existing ESP32 (ESP32S3) modules with touch-enabled TFT displays. I haven't thoroughly studied Thorrak's "All-in-One" ESP32 board, but from a quick look, it doesn't seem to use a touch TFT display. So, I'm not sure why you would want to use BrewPiLessGx with it.

The core of BrewPiLessGx is almost identical to BrewPiLess, with the main differences being the addition of new features, such as HomeKit. Since I have already switched to BrewPiLessGx, any new features will be implemented there first. These new features are probably not very significant, and unless there is strong demand, I may not bother porting them back to BrewPiLess.

Modifying pin configurations is simple and can be found in the BrewPiLess documentation. This is an open-source project, so you are free to make any changes, just as you can use any hardware you like. Please understand that I cannot accommodate and respond to everyone's requests.
Am I not understanding what Thorrak's board says? Isn't a TFT interface a touchscreen?
Here is the specific board I purchased along with the ESP 32 I am using.
1738992389469.png
 
AS a follow-up do you have a board design out there that I can purchase that will work with the GX version?
 
Maybe others on the thread have input. I have tried to use Thorrak's new all in one board with a couple different versions of BrewPiLess (4.3, 4.3.1 & 4.4), no of which seem to work. I have changed the pin out to match what his ne board requires (Heat 25, Cool 26, OneWire 13), I am making the change to this section of the config.h file. I am leaving the board assignment as Brewshield since Thorrak_PCB uses a ESP8266 controller. Does anyone know if I can simply reassign the NODECMU pins (ESP8266) to actuatorpin(ESP32)? Or am I completely off target here?

1739027465765.png
 
Am I not understanding what Thorrak's board says? Isn't a TFT interface a touchscreen?
Here is the specific board I purchased along with the ESP 32 I am using.
View attachment 868527

TFT = " thin-film-transistor" which is a (rather old) display technology.
Does not signify tactile input abilities...

Cheers!

What @day_trippr is saying here is correct -- TFT is just shorthand here for the display technology. That said, both the D32 Pro's TFT module and the breakout boards I use for the box headers on my AIO boards should break out the touchscreen pins if memory serves. I don't use them in my sketches, but they should be there.

Maybe others on the thread have input. I have tried to use Thorrak's new all in one board with a couple different versions of BrewPiLess (4.3, 4.3.1 & 4.4), no of which seem to work. I have changed the pin out to match what his ne board requires (Heat 25, Cool 26, OneWire 13), I am making the change to this section of the config.h file. I am leaving the board assignment as Brewshield since Thorrak_PCB uses a ESP8266 controller. Does anyone know if I can simply reassign the NODECMU pins (ESP8266) to actuatorpin(ESP32)? Or am I completely off target here?

View attachment 868541

I do not use BrewPiLessGX and thus cannot provide any specific advice as to how to get it to work with my boards, but looking at this screenshot my guess is that you're in the right neighborhood, just not the right place. The problem I immediately see is the second line -
Code:
#if SONOFF_NEWGEN
. If you aren't using that board definition (again, you may be - I do not know/use this project and thus cannot tell you!) then the pin defines you are adding will never be reached/used.
 
What @day_trippr is saying here is correct -- TFT is just shorthand here for the display technology. That said, both the D32 Pro's TFT module and the breakout boards I use for the box headers on my AIO boards should break out the touchscreen pins if memory serves. I don't use them in my sketches, but they should be there.



I do not use BrewPiLessGX and thus cannot provide any specific advice as to how to get it to work with my boards, but looking at this screenshot my guess is that you're in the right neighborhood, just not the right place. The problem I immediately see is the second line -
Code:
#if SONOFF_NEWGEN
. If you aren't using that board definition (again, you may be - I do not know/use this project and thus cannot tell you!) then the pin defines you are adding will never be reached/used.
I appreciate the feedback. I will see if I can set up a Thorrak_PCB_2 board definition and assign the pins you are using and get it to be functional.
 
What @day_trippr is saying here is correct -- TFT is just shorthand here for the display technology. That said, both the D32 Pro's TFT module and the breakout boards I use for the box headers on my AIO boards should break out the touchscreen pins if memory serves. I don't use them in my sketches, but they should be there.



I do not use BrewPiLessGX and thus cannot provide any specific advice as to how to get it to work with my boards, but looking at this screenshot my guess is that you're in the right neighborhood, just not the right place. The problem I immediately see is the second line -
Code:
#if SONOFF_NEWGEN
. If you aren't using that board definition (again, you may be - I do not know/use this project and thus cannot tell you!) then the pin defines you are adding will never be reached/used.
 
AS a follow-up do you have a board design out there that I can purchase that will work with the GX version?

I don't design boards. You can find all hardware information on the README of the project on Github.

Maybe others on the thread have input. I have tried to use Thorrak's new all in one board with a couple different versions of BrewPiLess (4.3, 4.3.1 & 4.4), no of which seem to work. I have changed the pin out to match what his ne board requires (Heat 25, Cool 26, OneWire 13), I am making the change to this section of the config.h file. I am leaving the board assignment as Brewshield since Thorrak_PCB uses a ESP8266 controller. Does anyone know if I can simply reassign the NODECMU pins (ESP8266) to actuatorpin(ESP32)? Or am I completely off target here?

View attachment 868541

I am sorry that being not a native English speaker I don't understand your question. All I got from your post is that it didn't work and you've made some change to config.h Too limited clues to crack this case for me. Maybe provide more information, like what configuration do you use might help. Just to clarify, do you Compile, and Flash your device? Someone did change the config.h without compiling and flashing his device but thought it would work by modifying the config.h.
 
Last edited:
Did you edit your post? Regardless - yes, it is designed to work with my BrewPi-ESP project and Fermentrack (legacy or 2).
I don't believe I did. Anyway, thanks for the info. I will see what I can do to get the code running.
 
I don't design boards. You can find all hardware information on the README of the project on Github.



I am sorry that being not a native English speaker I don't understand your question. All I got from your post is that it didn't work and you've made some change to config.h Too limited clues to crack this case for me. Maybe provide more information, like what configuration do you use might help. Just to clarify, do you Compile, and Flash your device? Someone did change the config.h without compiling and flashing his device but thought it would work by modifying the config.h.
So I modified the pin assignment for the ESP32 type board. to reflect the pins that Thorrak uses to control his board (i.e. OneWire = 13, Heat = 25, Cool = 26), I disabled the rotarySwitchPin 25 since I am using it for heat). I compiled the config file and uploaded the whole program via Visual Studio. Here is the section of code I modified. I left the board assignment so Brewshield since that seems to be the one that uses an ESP32 controller.
1739191708824.png
 
The "Board" variable is just for ESP8266, to group a set of PIN assignments. It doesn't mater for ESP32. What is the value of "default_envs" in platformio.ini you compiled with?
 
The "Board" variable is just for ESP8266, to group a set of PIN assignments. It doesn't mater for ESP32. What is the value of "default_envs" in platformio.ini you compiled with?
the only active one is default_envs = ESP32_debug all the rest are commented out. Do I need to change that to a different setting?
 
the only active one is default_envs = ESP32_debug all the rest are commented out. Do I need to change that to a different setting?
I don't have ESP32_debug in my platformio.ini of BrewPiLess project. There is ESP32_debug in BrewPiLessGx, but the Config.h of BPLGx does't look like what yours. Where did you get the source from?
 
I don't have ESP32_debug in my platformio.ini of BrewPiLess project. There is ESP32_debug in BrewPiLessGx, but the Config.h of BPLGx does't look like what yours. Where did you get the source from?
Sorry, I have been trying multiple versions of your program (BPLGX, BPL 4.4, and 4.3) that screen shot of the Config.h is from 4.3 and the default_envs is as follows.
default_envs = esp32, esp32-oled, esp8266, esp8266-oled, esp8266-glycol, esp8266-tw, esp8266-spanish, esp8266-portuguese-br, esp8266-slovak, esp8266-ispindel, esp8266-it, esp8266-norwegian, thorrax, sonoff, sonoff-esp8285, d1pro, sonoff-am2301
 
How did you upload/flash exactly? Why did you mean by saying "not working"? Have you tried Thorrax's code? did it work?
 
How did you upload/flash exactly? Why did you mean by saying "not working"? Have you tried Thorrax's code? did it work?
I use Visual Studio to upload/flash. What I am saying is that when I assign the pins that Thorrak uses for his new "all in one" board (OneWire data: 13, Heat: 25, Cool: 26), the program uploads fine, when I attempt to assign those pins to the relative functions (i.e. heat, cool, and thermo-probe) BrewPiLess does not accept them). Thorrak doesn't offer any help for BrewPiLess, he only uses Fermentrack and BrewPi, both of which use an Arduino or RaspberryPi to control the board. I like your interface and the fact that you do not require an additional board (Arduino/RaspberryPi) to run your program. I was hoping that it would be relatively simple to add the pins that Thorrak's new board requires (his old board used and ESP8266, his ne board uses an ESP32).
 
Is there a section in BrewPiLess that calls out Thorrax's(Thorrak's) code?

Thorrak is right.

I am trying to make sure we are on the same page. I don't know how you upload by selecting ALL configuration. Are you using a Mac? Is your ESP32 has the same driver IC as mine? I want to make sure the the flashing by platformio is exactly what I thought. Because in my environment, I also don't think it would work for me. I don't even know what "reject" in your sentence means, so I want to make sure your hardware works.
 
Back
Top