BrewPiLess trouble - timeouts, error, can't connect to server, controller not updating data

Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum

Help Support Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum:

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

rkhanso

Well-Known Member
Joined
Jan 24, 2017
Messages
774
Reaction score
174
Location
Plymouth, MN - terrible tap water for brewing
I have a newish install of BrewPiLess. It's been on/off having trouble. I initially thought it was a WiFi problem, but am not sure now.
I intitially set a static IP address in the BrewPiLess GUI and also had a static set in my Firewall DHCP server. I removed the Static from BPL and it's only at the DCHP server now. I can get a continuous ping from Windows PC to BPL ESP32. No trouble at all, even when the GUI is not updating and I'm seeing the trouble below.

The GUI is giving me messages:
  • Failed to connect to server.
  • Controller not updating data.
  • waiting for update from script ...
No temps are showing up in the GUI. The serial monitor (http://192.168.2.250/testcmd.htm) seems to be putting out valid data only intermittently. (at the time of this capture, it was 11:08). The web pages become unresponsive or can't save changes. All the while my constant ping to the ESP32 is successful. Trying a different browser has the same results.

Code:
10:59:33 ↓ h:[{"i":-1,"t":0,"c":1,"b":0,"f":0,"h":1,"d":0,"p":19,"x":1},{"i":-1,"t":0,"c":1,"b":0,"f":0,"h":1,"d":0,"p":27,"x":1},{"i":-1,"t":0,"c":1,"b":0,"f":0,"h":1,"d":0,"p":26,"x":1},{"i":-1,"t":0,"c":1,"b":0,"f":0,"h":1,"d":0,"p":18,"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":34,"x":1},{"i":-1,"t":0,"c":1,"b":0,"f":0,"h":5,"d":0,"p":-1,"j": 0.000}]
11:1:46 ↓ A:{"rssi":-72,"st":0,"md":"f","bt":-20000,"bs":-20000,"ft":-20000,"fs":3999,"rt":-20000,"sl":"Idling for 06m12","tu":"F","ptc":"o","pt":0,"ptctp":0,"ptclo":0,"ptcup":400,"pm":0,"psi":0,"G":{"u":0,"t":-25000,"r":-999,"g":-1000}}
11:1:46 ↓ C:{"tempFormat":"F","tempSetMin": 33.8,"tempSetMax": 86.0,"pidMax": 18.000,"Kp": 5.000,"Ki": 0.250,"Kd":-1.500,"iMaxErr": 0.898,"idleRangeH": 1.799,"idleRangeL":-1.799,"heatTargetH": 0.537,"heatTargetL":-0.357,"coolTargetH": 0.357,"coolTargetL":-0.537,"maxHeatTimeForEst":600,"maxCoolTimeForEst":1200,"minCoolTime":180,"minCoolIdleTime":300,"minHeatTime":180,"minHeatIdleTime":300,"deadTime":600,"fridgeFastFilt":1,"fridgeSlowFilt":4,"fridgeSlopeFilt":3,"beerFastFilt":3,"beerSlowFilt":4,"beerSlopeFilt":4,"lah":0,"hs":0}
11:1:47 ↓ C:{"tempFormat":"F","tempSetMin": 33.8,"tempSetMax": 86.0,"pidMax": 18.000,"Kp": 5.000,"Ki": 0.250,"Kd":-1.500,"iMaxErr": 0.898,"idleRangeH": 1.799,"idleRangeL":-1.799,"heatTargetH": 0.537,"heatTargetL":-0.357,"coolTargetH": 0.357,"coolTargetL":-0.537,"maxHeatTimeForEst":600,"maxCoolTimeForEst":1200,"minCoolTime":180,"minCoolIdleTime":300,"minHeatTime":180,"minHeatIdleTime":300,"deadTime":600,"fridgeFastFilt":1,"fridgeSlowFilt":4,"fridgeSlopeFilt":3,"beerFastFilt":3,"beerSlowFilt":4,"beerSlopeFilt":4,"lah":0,"hs":0}
11:1:50 ↓ A:{"rssi":-73,"st":0,"md":"f","bt":-20000,"bs":-20000,"ft":-20000,"fs":3999,"rt":-20000,"sl":"Idling for 08m25","tu":"F","ptc":"o","pt":0,"ptctp":0,"ptclo":0,"ptcup":400,"pm":0,"psi":0,"G":{"u":0,"t":-25000,"r":-999,"g":-1000}}
11:1:50 ↓ lt":4,"beerSlopeFilt":4,"lah":0,"hs":0}
11:1:54 ↓ C:{"tempFormat":"F","tempSetMin": 33.8,"tempSetMax": 86.0,"pidMax": 18.000,"Kp": 5.000,"Ki": 0.250,"Kd":-1.500,"iMaxErr": 0.898,"idleRangeH": 1.799,"idleRangeL":-1.799,"heatTargetH": 0.537,"heatTargetL":-0.357,"coolTargetH": 0.357,"coolTargetL":-0.537,"maxHeatTimeForEst":600,"maxCoolTimeForEst":1200,"minCoolTime":180,"minCoolIdleTime":300,"minHeatTime":180,"minHeatIdleTime":300,"deadTime":600,"fridgeFastFilt":1,"fridgeSlowFilt":4,"fridgeSlopeFilt":3,"beerFastFilt":3,"beerSlowFilt":4,"beerSlopeFilt":4,"lah":0,"hs":0}
11:4:6 ↓ A:{"rssi":-72,"st":0,"md":"f","bt":-20000,"bs":-20000,"ft":-20000,"fs":3999,"rt":-20000,"sl":"Idling for 08m32","tu":"F","ptc":"o","pt":0,"ptctp":0,"ptclo":0,"ptcup":400,"pm":0,"psi":0,"G":{"u":0,"t":-25000,"r":-999,"g":-1000}}
11:6:31 ↓ A:{"rssi":-72,"st":0,"md":"f","bt":-20000,"bs":-20000,"ft":-20000,"fs":3999,"rt":-20000,"sl":"Idling for 10m45","tu":"F","ptc":"o","pt":0,"ptctp":0,"ptclo":0,"ptcup":400,"pm":0,"psi":0,"G":{"u":0,"t":-25000,"r":-999,"g":-1000}}
11:6:31 ↓ lopeFilt":3,"beerFastFilt":3,"beerSlowFilt":4,"beerSlopeFilt":4,"lah":0,"hs":0}
11:6:35 ↓ A:{"rssi":-72,"st":0,"md":"f","bt":-20000,"bs":-20000,"ft":-20000,"fs":3999,"rt":-20000,"sl":"Idling for 13m10","tu":"F","ptc":"o","pt":0,"ptctp":0,"ptclo":0,"ptcup":400,"pm":0,"psi":0,"G":{"u":0,"t":-25000,"r":-999,"g":-1000}}
11:6:35 ↓ lt":4,"beerSlopeFilt":4,"lah":0,"hs":0}

The browser is seeing this:

1685376651075.png


and

1685376492318.png



When this trouble is happening, the only thing in the GUI that seems to work is being able to change the password.

Not sure how to troubleshoot/fix this. Can someone help?
 
Last edited:

Latest posts

Back
Top