How old was the failed relay?well, when i got home, i plugged in the fermenter again (the controller and relays are self-contained on the fermenter). sure enough, as soon as i plugged it in the heater started up again. while it was plugged in and heating up, i unplugged the control wires from the controller to the relay board; the heater kept going. that told me that the relay was stuck in the on position. so, i'm just gonna replace the relay with two proper SSR's like these:
https://www.amazon.com/BEM-14840DA-3-32V-24-480V-Output-Single/dp/B00E1LC1VK/ref=sr_1_9?crid=QJG4RY4F47VJ&keywords=ssr+relay&qid=1576636225&sprefix=SSR+,aps,396&sr=8-9
How old was the failed relay?
Cut it open like in the video and see if the contacts are welded together.3-4 weeks is a premature failure.About 3-4 weeks old. It was the third one to fail.
My setup is outside, so when there’s no beer in the fermenter, I have the temp set to ~40 just to keep things from getting too frosty. So the relay is cycling periodically, but nothing ridiculous like in your video
Cut it open like in the video and see if the contacts are welded together.3-4 weeks is a premature failure.
About 3-4 weeks old. It was the third one to fail.
My setup is outside, so when there’s no beer in the fermenter, I have the temp set to ~40 just to keep things from getting too frosty. So the relay is cycling periodically, but nothing ridiculous like in your video
Could the in-rush current be overtaxing the relay? What are you controlling with these relays?
I suppose that a simple heater that is a few hundred watts wouldn't be anywhere close, however.
Current wiring
1500 watts? Wth are you heating??
The GPIO pins used for relays are configured as "active low" in the gui, which means "inactive high". You need to "un-invert" those two control signals in Device setup so they will be "high active"...
Cheers!
Well, 1500 Watts @ 120v is 12.5 amps and your initial relays were only designed for 10 amps.
Edit: Correction, as it looks like your relays were good to 15 amps at 125V. Probably a little closer than I would want to be, but not out of limits.
Edit2: Hopefully the SSR's solve your problem. I agree with Day_trippr IRT inverting the pins.
1500 watts? Wth are you heating??
The GPIO pins used for relays are configured as "active low" in the gui, which means "inactive high". You need to "un-invert" those two control signals in Device setup so they will be "high active"...
Cheers!
1. Is there a way to toogle which graphs are plotted in the Dashboard chart? With the "normal" brewpi www I toogled everything exept the beer-temp and the chamber-temp off. I don't need to see the beer or fridge setting.
1. Is there a way to toogle which graphs are plotted in the Dashboard chart? With the "normal" brewpi www I toogled everything exept the beer-temp and the chamber-temp off. I don't need to see the beer or fridge setting.
2. Is there a way to see the measured gravity from my iSpindel in Plato unit? Since here in Germany we normaly don't use SG but Plato, I would always have to convert with a converter to get an accurate number I can relate to. Since I've been using the iSpindel for a couple of brews now, I know that the firmware of the iSpindel itself can show the gravity either in SG or Plato.
Anyway, I did a clean install of Raspbian Buster on my Pi 2. Then I went through the Fermentrack install using the single command fully automated method. The installation completed with no errors, however I'm getting the 502 bad gateway error that it looks like some folks were getting back in 2018. Appreciate any help!
View attachment 658920
Hi,
I'm picking my build up after 4 years of stagnation (life). There's been a heck of a lot done since then! Thanks for all the hard work!
Anyway, I did a clean install of Raspbian Buster on my Pi 2. Then I went through the Fermentrack install using the single command fully automated method. The installation completed with no errors, however I'm getting the 502 bad gateway error that it looks like some folks were getting back in 2018. Appreciate any help!
View attachment 658920
I was having the same issue, here is the nginx and circusd logs from my pi.
View attachment 659267 View attachment 659268
It looks like circus has been upgraded recently, https://github.com/circus-tent/circus/releases. I updated the pyzmq package to the latest and restarted my pi. Fermentrack appears to be working now.
Thanks for noticing that - sure enough that looks like the issue! I've patched both master and dev to fix this going forward.
Hi. Fermentrack is amazing. Hats off to the author. I cannot get my tilt readings to update though.
I decided to go down the TiltBridge route as an option but cannot flash the ESP32 I purchased which is a shame as it's a perfect form.
https://www.amazon.com/gp/product/B07R48W8R8/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1
This is the log
esptool.py v2.8
Serial port /dev/ttyUSB0
Connecting.....
Chip is ESP32-PICO-D4 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: d8:a0:1d:56:e2:94
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
A fatal error occurred: Timed out waiting for packet header
i Thorrak thanks for your drawing, so if i have it right i need 2 temp sensors, 1 breakout board, 1 mainboard and some RJ45 connectors and cable. do you have a link for these boards and BOM of parts required. I do not at this moment intend using a LCD screen but may do in future. Many thanksSure thing. Excuse my terrible handwriting/lack of artistic talent, but here's generally what a build looks like/how it works:
View attachment 656562
Hi.
I've looked around and read through the posts but I can't seem to get continuous reading from my blue tile. I added a Tiltbridge to the set up in case this was the issue. The PI and the tiltbridge are maybe 3ft from the device itself. The tilt iphone app keeps updating but fermentrack only shows the gravity the same which was the reading at the start of the log. I do have the tiltbridge paired with my tempreture controller which is recording fine.
private4587 said:i Thorrak thanks for your drawing, so if i have it right i need 2 temp sensors, 1 breakout board, 1 mainboard and some RJ45 connectors and cable. do you have a link for these boards and BOM of parts required. I do not at this moment intend using a LCD screen but may do in future. Many thanks
i Thorrak thanks for your drawing, so if i have it right i need 2 temp sensors, 1 breakout board, 1 mainboard and some RJ45 connectors and cable. do you have a link for these boards and BOM of parts required. I do not at this moment intend using a LCD screen but may do in future. Many thanks
Hi.
I've looked around and read through the posts but I can't seem to get continuous reading from my blue tile. I added a Tiltbridge to the set up in case this was the issue. The PI and the tiltbridge are maybe 3ft from the device itself. The tilt iphone app keeps updating but fermentrack only shows the gravity the same which was the reading at the start of the log. I do have the tiltbridge paired with my tempreture controller which is recording fine.
Thanks in advance if anybody can help
Neal
Hi all,
Have spent several days trying to work this through, but have now hit a wall and hoping someone in here can help.
Have installed Fermentrack on a laptop that has Debian Jesse. Have got through the setup, ESP8266 flash, but can't setup the sensors & pins. Looks like a firmware issue but have tried a few different versions of firmware (.11 and .10 as recommended), reflashed a few times all to no avail.
Connection Debug looks like this :
Tests Performed
Test Parameter Pass/Fail Output
Device Status Test active Passed Device active & managed by Circus
DNS Lookup Test 192.168.0.14 Passed 192.168.0.14
Connection Test 192.168.0.14 Passed Connected
Controller Response Test 192.168.0.14 Failed
Cached IP Test 192.168.0.14 Passed Available
Connection Test 192.168.0.14 Passed Connected
Controller Response Test 192.168.0.14 Failed
I've been using the IP address because the dns resolution on the .local names doesn't appear to be working.
Log looks like this :
Jan 03 2020 03:10:55 Connection type WiFi selected. Trying TCP serial (WiFi)
Jan 03 2020 03:10:55 Connecting to BrewPi 192.168.0.14 (via 192.168.0.14) on port 23
Jan 03 2020 03:11:04 Successfully connected to controller.
Jan 03 2020 03:11:04 Notification: Script started, with no active beer being logged
Jan 03 2020 03:11:14 Checking software version on controller...
Jan 03 2020 03:11:14 Found BrewPi v0.2.4, running commit 00000000, running on an ESP 8266 on port 192.168.0.14:23
Jan 03 2020 03:11:14 BrewPi version received was 0.2.4 which this script supports in 'legacy' branch mode.
Jan 03 2020 03:11:14 Bound to TCP socket on port 2285, interface localhost
Jan 03 2020 03:11:15 Installed devices received: []
Jan 03 2020 03:11:18 Available devices received: [{"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 2, "d": 0, "p": 12, "v": 27.188, "a": "28124294970603B4", "j": 0.0}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 2, "d": 0, "p": 12, "v": 26.688, "a": "286B3D94970603B8", "j": 0.0}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 16, "x": 1}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 14, "x": 1}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 13, "x": 1}]
Jan 03 2020 03:11:31 Lost connection to controller on read. Attempting to reconnect.
Jan 03 2020 03:11:36 Lost connection to controller on write. Attempting to reconnect.
Jan 03 2020 03:11:36 Serial Error: [Errno 9] Bad file descriptor)
Jan 03 2020 03:11:39 Unable to connect to BrewPi 192.168.0.14 on port 23. Exiting.
Jan 03 2020 03:12:48 Error: controller is not responding to new data requests. Exiting.
Hmm. What is the behavior you are seeing? Is it connecting for awhile, then dying? Are you not able to get it to work at all?
The connection test you posted is weird, as it looks like it is connecting then dying pretty soon thereafter — which appears to be supported by the logs as well.
Do you happen to have another installation of Fermentrack running (or BrewPi remix)? Have you tried the serial firmware?
Thanks for the quick reply.
I don't think there is any other installation running although I may have tried to install BrewPi on it a while back when I was mucking around and looking at software options a few months back. This is my first crack at an auto ferm system. I've built the ESP8266 hardware. I had the latest brewpiless firmware running on it without any issues but wanted to try fermentrack.
I haven't tried the serial firmware, I could try that if it helps debug.
BPL shouldn’t create any issues. The reason I was asking is that if something else tries to connect to the controller (like a second install of Fermentrack, BrewPi Remix, the debug connection script, what have you) it will prompt the controller to disconnect the existing connection to accept the new one. The serial firmware would help debug if the issue is hardware/firmware/script related or connection related.
That said - what symptoms exactly are you experiencing here?
Sorry I missed your initial questions.
Initial connection appears to go OK. LCD output appears on the device dashboard. When I go to try and Configure sensors and pins, all the devices show up as expected but when I try to assign a device to a function I get "Failed to write the configuration to the controller"
Logs :
Jan 03 2020 03:13:11 BrewPi version received was 0.2.4 which this script supports in 'legacy' branch mode.
Jan 03 2020 03:13:11 Bound to TCP socket on port 2285, interface localhost
Jan 03 2020 03:13:12 Installed devices received: []
Jan 03 2020 03:13:14 Available devices received: [{"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 2, "d": 0, "p": 12, "v": 27.188, "a": "28124294970603B4", "j": 0.0}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 2, "d": 0, "p": 12, "v": 26.688, "a": "286B3D94970603B8", "j": 0.0}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 16, "x": 1}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 14, "x": 1}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 13, "x": 1}]
Jan 03 2020 05:41:55 Received applyDevice request, updating to: {"i": 0, "c": 1, "b": 1, "f": 9, "h": 2, "p": 12, "j": null, "a": "28124294970603B4"}
Jan 03 2020 05:41:58 Device updated to: {"i":0,"t":0,"c":-106,"b":19,"f":40,"h":0,"d":0,"p":3}
Jan 03 2020 05:41:58 Controller debug message: ERROR 8: Cannot assign device type 0 to hardware 2
Jan 03 2020 05:41:58 Installed devices received: []
Jan 03 2020 05:41:58 Controller debug message: ERROR 3: Device definition update specification is invalid
Jan 03 2020 05:41:58 Available devices received: [{"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 2, "d": 0, "p": 12, "v": 27.563, "a": "28124294970603B4", "j": 0.0}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 2, "d": 0, "p": 12, "v": 26.625, "a": "286B3D94970603B8", "j": 0.0}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 16, "x": 1}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 14, "x": 1}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 13, "x": 1}]
Jan 03 2020 05:42:01 Installed devices received: []
Jan 03 2020 05:42:01 Available devices received: [{"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 2, "d": 0, "p": 12, "v": 27.563, "a": "28124294970603B4", "j": 0.0}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 2, "d": 0, "p": 12, "v": 26.625, "a": "286B3D94970603B8", "j": 0.0}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 16, "x": 1}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 14, "x": 1}, {"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 13, "x": 1}]
That sounds like the classic flash initialization issue. Have you tried hitting the “Reset EEPROM” button? Alternatively, flash the wiring test firmware and let it run to completion - it will also initialize everything for you.
It... helps when it’s a known bug.I really should have read through that full page before posting, my apologies. Yes resetting the EEPROM fixed it.
Thanks so much for the great piece of work and great support.
Right this second, I do not. I went through and redesigned all the PCBs over the past few weeks to attempt to align the footprints (and combine designs when possible) but am waiting on my sample PCB to arrive so I can test before I make the designs public. Given some issues I had with a similar design I don’t want to make this one public until I’m assured that it won’t - at a minimum - suffer from the same issue that design had.
As part of this effort I also pulled together BOMs that can either be uploaded directly to DigiKey or through creative searching at AliExpress for each of the PCBs. That said, you are correct - the easiest builds for an ESP8266-based BrewPi controller would need the parts you listed plus the D1 Mini, power supply, and relay.
Enter your email address to join: