I have been going through many similar threads and trying to piece together a solution with bits and pieces of information from them, but I am still having huge swings in temperature.
My Setup:
Raspberry pi 1
Arduino Uno with Rev C shield connected to two SSRs
An old fridge and a 150W infrared heating bulb.
Currently I have a beer carbonating in a keg. The beer-temperature probe is taped to the side (I know, not the best, but this keg doesn’t have a thermowell) and the fridge-probe is taped to the upper back wall of the fridge, behind the keg. The heating bulb is on the righ side of the keg midway in.
At the time of the screenshots I had disabled the temperature control after waking up and seeing the huge swings that have been going on all night. As you can see I had a similar story the day before, and the steady rise in temperature in the middle of the first screenshot happens while I have the brewpi turned off. Then I decide to cool it down again, and while cooling down I was ok with the progress, but after it gets close to the set temperature it start swinging wildly up and down.
It seems to me that the brewpi is heating for way to long each time, therefore the temp goes too far up and the brewpi then thinks cooling for way too long is the answer and up and down we go.
Here are some of my settings. Please let me know if you need more info.