I hate to say it, but still getting the 502 Bad Gateway error.
After running the above upgrade script, and that ran error free. But, still the error when loading Fermentrack. I did reboot, but still no luck.
Noooooo! I'll send you a PM.
I hate to say it, but still getting the 502 Bad Gateway error.
After running the above upgrade script, and that ran error free. But, still the error when loading Fermentrack. I did reboot, but still no luck.
So is this going to work on jessie? Or is this just stretch?
I also have issues with install both brewpi-esp8266 scrips and fermentrack on stretch. I get error with php on the scripts, and undescribed error with fermentrack. Both on stretch lite.
I keep getting error messages when trying to flash new firmware and access parts of the django site admin. I’m on stretch and raspberry zero.
the upgrade script.Is this a fresh install or one that used the Python 2 —> Python 3 upgrade script?
the upgrade script.
Just pushed an alternative fix. Update from GitHub, access the firmware flash main page, and everything should work again. If it doesn’t, let me know.the upgrade script.
Doh. Let me take a look when I get home. Sorry about that.
Now I can not setup devices... From the log it states that when I attempt to add beer sensor:
Mar 19 2018 21:29:00 Received applyDevice request, updating to: {"c": 1, "f": 5, "h": 2, "j": 0.0, "a": "28FF96B881160383", "p": 12, "b": 0, "i": 0}
Mar 19 2018 21:29:05 Device updated to: {"i":0,"t":0,"c":-128,"b":-30,"f":-80,"h":64,"d":-2,"p":44}
Mar 19 2018 21:29:05 Controller debug message: ERROR 7: Invalid config for device owner type 2 beer=0 chamber=1
Mar 19 2018 21:29:05 Installed devices received: []
Mar 19 2018 21:29:05 Controller debug message: ERROR 3: Device definition update specification is invalid
Mar 19 2018 21:29:05 Available devices received: [{"f": 0, "c": 1, "j": 0.0, "b": 0, "v": 21.938, "a": "28FF96B881160383", "d": 0, "i": -1, "h": 2, "t": 0, "p": 12}, {"f": 0, "c": 1, "j": 0.0, "b": 0, "v": 22.0, "a": "28FFA75B8216046C", "d": 0, "i": -1, "h": 2, "t": 0, "p": 12}, {"f": 0, "c": 1, "x": 1, "b": 0, "d": 0, "i": -1, "h": 1, "t": 0, "p": 16}, {"f": 0, "c": 1, "x": 1, "b": 0, "d": 0, "i": -1, "h": 1, "t": 0, "p": 14}, {"f": 0, "c": 1, "x": 1, "b": 0, "d": 0, "i": -1, "h": 1, "t": 0, "p": 13}]
@Thorrak - I´m still not able to set any devices. I have tried every solution I have found, but no success. Any ideas?
What device type are you using (ESP8266 or Arduino) and how is it connected (WiFi or Serial)?
Are you running under Python 2 or 3?
Are you using BrewPi-www or Fermentrack?
Works liks s charm! Cheers!Should be fixed now. Had a bug in my earlier fix. Told you editing from my phone was a bad idea.
What device type are you using (ESP8266 or Arduino) and how is it connected (WiFi or Serial)?
Are you running under Python 2 or 3?
Are you using BrewPi-www or Fermentrack?
I noticed something similar too, that after i did a fresh install of both Stretch, Fermentrack and a fresh flash of my ESP8266 (from serial to wifi and then back to serial again) i found that, when i set up my device it remembered all of my old probes, heater, coller etc, so i think the ESP must somehow retain old settings even when it's flashed?
Now that flashing the the "Wifi Reset" isn't a problem anymore, I tried it but my DS18B20 isn't found. Any tips on were to start? I'm pretty sure the breakout board is v1.1...Do you have an LCD hooked up? If so, try flashing the "WiFi Reset" firmware. It does a test of your DS18B20 sensors and will let you know if they might happen to be in parasitic mode (which could cause that)
Separately, with the RJ-11 breakout board - which version of the board do you have? Is it v1.1 (the one linked here)? Check the pinout text on the back of the board, and compare it to see. There was an earlier version (v1.0) which requires a different type of RJ-11 cable than most people have.
I noticed something similar too, that after i did a fresh install of both Stretch, Fermentrack and a fresh flash of my ESP8266 (from serial to wifi and then back to serial again) i found that, when i set up my device it remembered all of my old probes, heater, coller etc, so i think the ESP must somehow retain old settings even when it's flashed?
I had a working version of Fermentrack running on a Pi Zero W (Arduino, wifi, Jessie) and ran the upgrade. I then ran the Python 3 upgrade and now I get a 502 error. I've tried reinstalling and get this error:
Starting Fermentrack supervisor: circusd: /home/fermentrack/fermentrack/utils/updateCronCircus.sh: line 37: /home/fermentrack/venv/bin/circusd: No such file or directory
failed, please see logfile.
This seems reminiscent of the circus errors I had when I first tried to install on Stretch a few months ago. Was that ever cleared up? Any suggestions for getting it running again?
Now that flashing the the "Wifi Reset" isn't a problem anymore, I tried it but my DS18B20 isn't found. Any tips on were to start? I'm pretty sure the breakout board is v1.1...
Update: one of my cables work when I connect them directly to the ESP8266 but not through the breakout board. The RJ11 cable is completely new so I don't think that is the problem. Bad soldering?
I'm actually going to release new boards in the not-too-distant future that switch to using RJ-45 specifically to address this point. For the "v1.0" breakout board I assumed that RJ-11 cables were all straight through (where the lefthandmost pin on one end of the cable matched the lefthandmost pin on the other). This was apparently incorrect. For most phone cables, the wiring is actually crossover.
If the cable you have has color-coded wires inside, if say the Yellow wire was on the left on one end of the cable, for the v1.1 board it should be on the right on the other end of the cable. If it isn't color coded, you can tell based on how the "plugs" are attached.
"Straight" cable - Plugs are attached facing opposite directions:
View attachment 563038
"Crossover" cable - Plugs are attached facing the same direction:
View attachment 563037
Easy way to tell:
For most of the RJ-11 cables that I own, there is a "seam" running down the underside of one side of the cable. If both of the "clip" sides of the heads are on the same side (seam or no-seam) then it's crossover. Otherwise, it's straight.
Again - for v1.1 of the board, you need a 4 wire crossover cable.
You could still do it, the labels on the RJ11 breakout will be incorrect.And there you have it, my cables are straight. And I just can’t connect the cables on the board in a different way?
I released a patch that should fix all this, thanks to the help of @georgedamonkey and @CadiBrewer . To make it work, redo the python 3 upgrade script -
As the 'pi' user, run:
curl -L install-python3.fermentrack.com | sudo bash
What's the trick? I did the update curl -L install-python3.fermentrack.com | sudo bash and now I have the dreaded 502 error.That did it. Thanks for sticking with this @Thorrak, I appreciate it.
What's the trick? I did the update curl -L install-python3.fermentrack.com | sudo bash and now I have the dreaded 502 error.
Ok I rebooted the Pi and Bingo I'm back in businessWhat's the trick? I did the update curl -L install-python3.fermentrack.com | sudo bash and now I have the dreaded 502 error.
attached is the info with tilt and temp so i'm not going mad it does work...??? just doesn't log to fermentrack?
Aside from the graph, do you see the temp/gravity appear in the “dashboard panels” on either the main fermentrack page or the devices dashboard?
That would definitely be part of it.Not sure whether the stderr.log will help but hopefully it's attached, spewing out errors at the moment but nothing in the last hour.
Enter your email address to join: