vitotai / BrewPiLess

Use an ESP8266 to replace RPI and Arduino. Running BrewPi without Pi, therefore, BrewPi-Less
358 stars 135 forks source link

Turning fridge off way too early. #443

Open scottbuckley opened 2 weeks ago

scottbuckley commented 2 weeks ago

I have been having issues for a few days now - I had the fridge at 15C for a few weeks, then I wanted it down to 3C, and it hasn't got there in over 24 hours. I'm getting the same behaviour in both Fridge Set mode and Beer Set mode.\

I would think that the fridge would just stay on for a few hours until it hit the target temperature, but it's still only cooling for 3 minutes, even when it's 10C over the target temperature. Then it is "waiting to cool" for 10 mins and does the same again. I have tried to reduce the min idle time (minCoolIdleTime) - do I need to reboot the BPL at the powerpoint each time I change something from the web terminal?

It feels like I just have a setting somewhere that is telling it not to cool for very long, but I can't figure out what that setting is.

image

Here are the results of "c" in the terminal. let me know if there is more debug info I can send.

12:28:22 ↓ C:{"tempFormat":"C","tempSetMin": 1.0,"tempSetMax": 30.0,"pidMax": 10.000,"Kp": 5.000,"Ki": 0.250,"Kd":-1.500,"iMaxErr": 0.500,"idleRangeH": 1.000,"idleRangeL":-1.000,"heatTargetH": 0.299,"heatTargetL":-0.199,"coolTargetH": 0.199,"coolTargetL":-0.299,"maxHeatTimeForEst":600,"maxCoolTimeForEst":120,"minCoolTime":240,"minCoolIdleTime":120,"minHeatTime":180,"minHeatIdleTime":300,"deadTime":240,"fridgeFastFilt":1,"fridgeSlowFilt":4,"fridgeSlopeFilt":3,"beerFastFilt":3,"beerSlowFilt":4,"beerSlopeFilt":4,"lah":0,"hs":0}

Here are the results of "j":

12:29:48 ↓ D:{"logType":"E","logID":10,"V":[-1]}
12:29:48 ↓ S:{"mode":"f","beerSet":null,"fridgeSet": 3.00,"heatEst": 0.199,"coolEst": 51.258}
12:29:48 ↓ C:{"tempFormat":"C","tempSetMin": 1.0,"tempSetMax": 30.0,"pidMax": 10.000,"Kp": 5.000,"Ki": 0.250,"Kd":-1.500,"iMaxErr": 0.500,"idleRangeH": 1.000,"idleRangeL":-1.000,"heatTargetH": 0.299,"heatTargetL":-0.199,"coolTargetH": 0.199,"coolTargetL":-0.299,"maxHeatTimeForEst":600,"maxCoolTimeForEst":120,"minCoolTime":240,"minCoolIdleTime":120,"minHeatTime":180,"minHeatIdleTime":300,"deadTime":240,"fridgeFastFilt":1,"fridgeSlowFilt":4,"fridgeSlopeFilt":3,"beerFastFilt":3,"beerSlowFilt":4,"beerSlopeFilt":4,"lah":0,"hs":0}