You need to completely delete the controller from BPR so it won’t keep attempting to connect. Otherwise, yep. That’s it.Got it. So if I just stop the current brew in BPR (just pitched yesterday, so not an issue), reboot BPR just in case, and then run the configurator, it should work or do I need to do something else?
Good question. I think there might be a configuration file somewhere you delete — @LBussy - any thoughts?Sorry, being dense, how do I delete the controller from BPR (I didn't see anything in the interface or in the BPR docs other than resetController)?
Hmm. The goal is to prevent BPR from trying to connect via the USB Serial connection to an attached controller. Does BPR just try to blindly connect to all attached devices, or is there a configuration file somewhere that tells it what serial ports to attach to?It's sort of the reverse - if BPR doesn't see a controller it's mindless. If you had one attached via USB, just remove it. If you are using WiFi, the configuration for that is in /home/brewpi/settings/config.cfg.
sudo systemctl stop brewpi
sudo systemctl disable brewpi
Issuing the above commands, running the FT2 config for devices, and then reenabling/restarting BPR worked. Thanks guys for the help!
Funny you should mention that. When I got up this morning, I saw the following on the controller detail page:Glad to hear it's all working now!
One thing -- I would recommend running the upgrade script (twice) for FT2 tools when you have a chance. I just released v0.0.2 of FT2 Tools to resolve an issue I found yesterday evening where one of my test rigs stopped communicating over serial with the controller. It had been working for a number of days before that, so this seems to be a relatively rare occurrence -- but it's still something I'd rather avoid if possible!
If your controller had already locked up, you will need to manually kill the process to get it to exit/reconnect. The easiest way is to just sudo shutdown -r now and reboot the Pi.Funny you should mention that. When I got up this morning, I saw the following on the controller detail page:
View attachment 875198
I followed your guidance above and the installer noted some updates to components, however, I am still getting the message above after reloading the page. Separately, how do BPR and FT2S interact in terms of staying synced on settings? I was messing around a bit and see that the mode changes seems to stay in sync, but the Beer Profiles do not (looks like they are two separate entities - one set of profiles for BPR and one set for FT2S?)
Our posts (edited mine) crossed in the ether. Rebooting worked. So, to your above, I should stop using the BPR web interface and only use FT2, correct? Are there any feature deltas between the two I need to consider?If your controller had already locked up, you will need to manually kill the process to get it to exit/reconnect. The easiest way is to just sudo shutdown -r now and reboot the Pi.
To answer your question about how things stay synchronized, it's important to understand that there's three components in your system right now:
- A physical controller running firmware of some kind (in your case, an Arduino controller running BrewPi-Remix Firmware)
- Web-based management software
- A script connecting the physical controller to the web interface
When you were using BrewPi-Remix's web interface, your stack looked like this:
Arduino --> BrewPi-Script --> BrewPi-Remix's Web Interface
Now that you're using Fermentrack 2 and S2F, your stack looks like this:
Arduino --> Serial-to-Fermentrack --> Fermentrack 2
BrewPi-Remix (the web interface) is replaced by Fermentrack 2, so they don't even attempt to stay in sync. Settings that are managed in the web-based management software - including temperature profiles - won't sync between the two.
To provide some background as to why: Historically, due to limitations in the capabilities of an Arduino, the temperature profiles have always been implemented by the web interface. The only things the controller knows are that the web interface is executing a profile (in order to display "Beer Profile" on the screen) and the exact temperature it is currently trying to hit. What this means in practice is that if you are partway through a temperature ramp from, say, 70F to 50F, and the point on that slope that the controller is currently at happens to be "64.5F", that is the only information it knows. It does not know that the next step would be "64.4F" - or that it will ultimately reach 50F. If you were to shut down your Pi at this stage (or terminate Serial-to-Fermentrack), you would notice that your controller would just stay at 64.5°F indefinitely.
Once you've rebooted the Pi, let me know how things get on. I've tested this release, but if you have any issues, happy to address!
Correct. The only feature delta I can think of that might matter to you is the lack of specific gravity sensor support. If you use a Tilt (or iSpindel) then you won't be able to use it with Fermentrack 2 for now.Our posts (edited mine) crossed in the ether. Rebooting worked. So, to your above, I should stop using the BPR web interface and only use FT2, correct? Are there any feature deltas between the two I need to consider?
Not unless you want to. The way BPR works is using Apache to manage the web interface, rather than a separate service. To shut it down, you would need to disable the Apache service. With that said, as long as the “brewpi” service is shut down, your web interface isn’t actually doing anything, so you’re good.Do I need to do anything to 'turnoff' the BPR web interface? Was concerned if I use Lee's:
sudo systemctl stop brewpi
sudo systemctl disable brewpi
that it would shut the whole thing down.
Hmmm, disconnected again (reboot brought it back). Do you think it could be because I started this brew monitoring with BPR interface (which is still running) and moved over to FT2S midstream?Not unless you want to. The way BPR works is using Apache to manage the web interface, rather than a separate service. To shut it down, you would need to disable the Apache service. With that said, as long as the “brewpi” service is shut down, your web interface isn’t actually doing anything, so you’re good.
That shouldn’t matter as long as the BrewPi service is stopped.Hmmm, disconnected again (reboot brought it back). Do you think it could be because I started this brew monitoring with BPR interface (which is still running) and moved over to FT2S midstream?
Two feature requests - if possible, it would be good to show the name of the beer profile you are actually running in addition to the fact that you are in Beer Profile mode. Also, it would be good to see where you are holistically in the profile timeline in the progress graphic.
View attachment 875236
View attachment 875237
First off, Thanks to all the contributors of this project. I've been using the og fermentrack pretty much since it's release.
My old pi is getting a little flakey and I'm going to start a 2nd gen setup.
My first issue is my windows pc really doesn't like the desktop brewflasher (beyond the unknown author warnings), it sets off my anti virus as well. Is this correct?
Second. using the online brewflasher, trying to flash esp32 s2 mini. I can't get them to flash. The com port shows it, but firmware will not load. I've messed with the buttons in all the combos I can think of. Any suggestions?
I have successfully flashed a esp32 wroom.
Maybe there's a non-Belkin device programming app out there already?
"There are ways to interface with WeMo devices programmatically, though they primarily rely on the devices' underlying communication protocols rather than a formally published "developer API" from Belkin. Specifically, WeMo devices utilize the Universal Plug and Play (UPnP) protocol over HTTP. This allows for discovery of WeMo devices on the local network and communication using SOAP actions.
While Belkin doesn't provide a fully documented public API for general development, the community has filled the gap by developing libraries and tools that interact with WeMo devices using UPnP and SOAP:
It's important to note that while these methods allow for programmatic control of WeMo devices, Belkin could potentially make changes to the device firmware in the future that could affect compatibility. "
- Libraries in various languages: You can find libraries in different programming languages that simplify communication with WeMo devices. For instance, there's a C# library called WeMosDef and a Python module called PyWeMo.
- UPnP Interaction: The devices themselves expose a SOAP API for retrieving data and controlling them. You can discover WeMo devices on the network using a UPnP broadcast and then access their services and actions.
- REST API Wrappers: Some projects have wrapped the UPnP/SOAP interactions into simpler REST APIs, making it easier to control WeMo devices with HTTP GET calls.
- Third-party Integrations: Platforms like Home Assistant have built-in integrations for WeMo devices, often leveraging the same underlying communication methods.
Wifi BrewPi do not need Wemos, any ESP-12 will do.
Just add the voltage reg and a usb-ttl addapter for programming.
What do you mean? The ESP32-S2 is supported in BrewFlasher, so you should be able to just use it.Is there any way to flash the S2? One of my 8266s died and I very stupidly bought a bunch of S2s as backups.
Sorry, read about all the S2 flashing issues and when it didn't work first time, thought nothing could be done.What do you mean? The ESP32-S2 is supported in BrewFlasher, so you should be able to just use it.
If you're having trouble flashing them, it's likely due to the fact that most modules rely on the ESP32-S2's built in USB support rather than bundling a separate USB-to-UART chip as is done with the ESP32. To use it, you have to hold the "Boot", "Flash", or "0" button as you plug the USB cable into your computer before flashing it. Once it's been flashed once you may not have to do this any more as the bootloader has a hack built into it to handle this, but it's good to remember as the hack doesn't always work.
If it makes you feel any better, I realized I had old firmware on my main BrewPi build last night at 1 am after what can only be described as a chaotic brew day. Normally not an issue, but given part of the point was to test some newer features, not a great discovery to cap the day off!Sorry, read about all the S2 flashing issues and when it didn't work first time, thought nothing could be done.
Did the button sequence and everything worked way it should.
Usually I read things more closely but planning to brew tomorrow and the 8266 not working anymore threw me into rush mode.
I built one of your AIO systems mentioned on your blog, and am currently using it to ferment a Blonde Ale with a newly finished glycol system I built. Everything is working fantastically, except after about 24ish hours the TFT screen goes completely white. Temp control is still happening and the unit is still active and changeable from Fermentrack.net and the local ip address. After power cycling the screen works correctly again for about another 24ish hours. I'm using the Lolin ESP32, TFT, and cable that you recommend as well as the latest ESP32 beta1 available on Brewflasher. What are your thoughts on this being maybe a hardware/heat issue (its been over 100 outside and in the garage since brewday on Sun) vs a potential software issue? Thanks for the help, and just wanna say I'm a big fan of everything youre doing in the homebrew hardware/software realm!
That's awesome, thanks so much for the reply!It’s a hardware issue that software can fix, in this case!
The problem is that when the relays toggle on/off, they’re electrically noisy and can cause the TFT to malfunction. If you log into the controller's web interface, on the Controller Settings screen there should be a toggle for "Reset Screen on Pin Toggle". Turn that on, and hit save.
The reason this is not on by default is that it will cause the screen to flash when heating/cooling turns on/off as the screen resets. If you need it, then it's there - but if you don't, it can be annoying.