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

    Homebrewing Facebook Group

BrewPi@ESP8266, no need of RPI and Arduino.

Homebrew Talk

Help Support Homebrew Talk:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Screen scrambling is part of the joy of using those displays. I rarely get them, but my case routes the display lines far away from any others.

The other BrewPi-based firmware projects use a periodic screen reset because sometimes this just happens.
So whats the fix? Re route the display wires? My fermentrack temp controllers refresh every so often and I assume thats why.
 
Yep, I stole that idea from @Thorrak. You can try to re-route them, or just leave them hanging free for a bit to see if it helps. If it does you know that’s it. If not, raise an issue on GitHub and suggest he refresh the display.
 
Yep, I stole that idea from @Thorrak. You can try to re-route them, or just leave them hanging free for a bit to see if it helps. If it does you know that’s it. If not, raise an issue on GitHub and suggest he refresh the display.
They are hanging free, they run from the board to the display and arent bunched with any other wires. So this is just a display issue and wont affect my temperature settings at all then? With the other issues Im having with my brewpi/fermntrack controllers this seems to be the most reliable at the moment.
 
Hi. Is it possible to turn on and off chamber fan from gui? Saw under devices that it's possible to set a pin to chamber fan.
 
So you're not asking so much if it's possible now but rather you are suggesting an enhancement. The best place to do that is probably the issues list.
Thanks, didn't think of that 🙂
I have two 140mm noctua fans inside my chamber and even though theire not very noisy it would be nice to be able to turn them off when I don't need them 🙂
 
The fan is controlled by the "core", original BrewPi Arduino code, and it will be turned on if and only if heating or cooling is active.
It's nice that you have all the source code, and so you can do whatever you like.
 
The fan is controlled by the "core", original BrewPi Arduino code, and it will be turned on if and only if heating or cooling is active.
It's nice that you have all the source code, and so you can do whatever you like.
Thanks, didn't know that 🙂
No need to run the fans when cooling and heating is off?
 
I have built my brewpiless and configured it,boxed it and pretty pleased. I have been looking at this info on the vitotai wiki

https://github.com/vitotai/BrewPiLess/wiki/Log-data-to-clouds
I can't quite workout if I can relay on to Brewspy the ferment info. Brewspys parameters are
service type HTTP
Token theusahusuhasuh asuhaesu
Server address brew-spy.com
Server port 80
Server URL /api/ispindel

Brewspy wants these parameters and I can't work out if that's translatable for the brewpiless to forward on via the log to cloud option.
Any ideas / a worked example of what I should add to get this going please? I suspect the token data will be the downfall
 
Last edited:
Okay I've done it, built the brewpiless, configured with oled display, two temperature sensors and the ispindel sending to it as well. Thanks for the advice.

I've had the help of Yiannos the brewspy developer and he has given this advice to allow logging to brewspy as well as to the brewpiless webpage.

"Add Generic HTTP Logging with the following options:

Log time period 600 seconds (10 mins) is fine
Service Type: Generic HTTP
Method: POST
URL: http://brew-spy.com/api/ispindel
Data Type: application/json
Format: { token: 'XXX', angle: %t, temperature: %b, gravity: %g, battery: %v }

replace XXX with the token in the setup tab of your ispindel in BrewSpy, keep the quotes (')
If you prefer Plato instead of SG, replace %g with %p "




Don't forget to turn the remote logging option on and also to update and submit on the web page of the logging option.
 
Last edited:
I've wired the brewpiless all up but on the graph screen at the top on left side I have Invalid state

No power is going to either relay. Pretty sure they are wired up okay. Any ideas, I set it to beer constant at 2 celsius.
brewpiless not working.JPG


I've searched around and can't seem to find what this means on any of the brewpiless info. I am using a double SSR as recommended on this forum and have them set up non inverted in the devices.
 
Last edited:
Yup. Remove jumper, put 5V on the 3 pin header side (JVCC) and put 3.3V on the 4 pin header side (VCC).
GNDs are indeed internally connected...

Cheers!
I have now wired up the SSR using this method, it differs from the circuit diagram that is here
https://raw.githubusercontent.com/vitotai/BrewPiLess/master/doc/image/BPL_simple.jpg
Now on devices page I have this
brewpiless devices.JPG

and a red light on the SSR on the side nearest the 4 pin header.

If I change to non inverted for device 2,3,4 the red light moves to near the 3 pin header.

But still no power coming out of either of the two relays.

Could it be my 2 amp powersupply via USB to the USB port on the ESP8266 Lolin MCU?
 
I have now wired up the SSR using this method, it differs from the circuit diagram that is here
https://raw.githubusercontent.com/vitotai/BrewPiLess/master/doc/image/BPL_simple.jpg
Now on devices page I have this

and a red light on the SSR on the side nearest the 4 pin header.

If I change to non inverted for device 2,3,4 the red light moves to near the 3 pin header.

But still no power coming out of either of the two relays.

Could it be my 2 amp powersupply via USB to the USB port on the ESP8266 Lolin MCU?


Are you using SSRs or an Relay Module with usually blue or black blocks?
Usually, you should set "Inverted" for Relay modules, and "non inverted" for SSR.

Try connect direct from 3V3 and the GND to the input of the SSR or relay module, and see if it "clicks".
Measure the voltage of the output PINs.

That's all I can suggest.
 
Are you using SSRs or an Relay Module with usually blue or black blocks?
Usually, you should set "Inverted" for Relay modules, and "non inverted" for SSR.
Thanks for the reply I'm using the blue block one and have them set to inverted.

I haven't heard any clicks at any stage, when you say connect 3v3 and ground is that direct from the esp8266 to which bit of the blue block relay ie bit with 4 pins or the three pin bit?
I first set it up with the jumper on the three pin bit and 3.3 going to the VCC on the 4 pin as per the vitotai instructions I linked to above.

Then I removed the jumper and put 3.3 to the JVCC on the three pins and connected the 5V from the esp8266 to the VCC on the 4 pins. I didn't connect another ground to the ground on the 3 pins as @day_trippr had said they were connected grounds between the 4 and 3 pins.
No better so I then connected a ground as a later post by @LBussy did say to connect ground.

The fact that the chamber cooler and chamber fan devices both say they are active suggests to me that the esp is sending the signal but the relay can't action it due either to a lack of voltage perhaps or a wiring error, but I can't see a wiring error.

I have put a multimeter on the 240v side and have power coming in ie live on input and at the middle of each 3 terminals that i have connected that live to on the relays the com 1 and com 2
My lives to the devices are screwed into the terminals to the left of these when you look from the blue block side ( the NO1 and NO2 terminals).

So it appears that the relays aren't doing there thing.

I was using the pin that said Vin 5V from bottom left of the esp8266 as my source of 5V assuming it had power from the usb, but no power on this with multimeter. I think that means I would put 5 V into this if I wasn't using the usb to power the board, so i'm not supplying 5V to the relay only 3.3 and it's not working.

I'll use a separate 5 V power supply and put that onto the JVCC and use the ground from that power supply , and use the 3.3 from the esp onto the VCC of the 4 pins and a ground from the esp.

Might be onto something here.

Is a 5V 1.0 amp powersupply enough to run the relay?
 
Last edited:
What does the main gui page say? Is it set to "do something" or is it set to "Off"?

Cheers!
Many things come up
have attached a screen grab of what I think is the main GUI page

line across the bottom light blue waiting to cool comes up top right corner ( where idle is in this grab ), darker blue cooling, gap is idle and grey is waiting to peak , so I think the logic is all working.
brewpiless and spindle.JPG
 
Last edited:
Thanks @day_trippr
Am I still okay to try a separate 5 V 1.0 amp power supply onto JVCC and use the ground from that powersupply onto the ground ( where the 3 pins are).
Then use the 3.3 V out from esp8266 to VCC on the 4 pins and use a ground from the esp?

As mentioned by you in a previous post?
 
Back
Top