Brew Pi should fail safe

This morning I woke up to find my brew pi had been heating constantly overnight (13 hours on the display) :frowning:

From looking at the display on the spark, it for some reason lost connection to the thermometers attached to it.

I was rushing out the door to leave for work this morning when I noticed so only had time to quickly disconnect everything and move the beer outside to prevent further damage, so donā€™t have all the information at this point.

My concern here is that the brew pi has entered an error state (not having any temperature information) but has continued to operate rather than failing safe and stopping all operation.

I canā€™t think of any circumstance where, upon failure of the thermometer input, that youā€™d want the brew pi to continue either heating or cooling.

  1. Continuing operation and heating or cooling constantly is dangerous. Had I not noticed this could quite easily become a fire hazard.
  2. Running the equipment constantly like this is highly likely to damage it.
  3. Any beer in the system is most likely safest at a fail safe room temperature rather than being continually heated or cooled.

Iā€™ll post up any more information I can gather when I get home after work later.

I would suggest that this should be investigated immediately given the potential risks this problem exposes users to.

Which version of the firmware were you running?

This scenario was possible with 0.4.3 where a bug in the particle firmware could cause a complete device freeze.
We fixed this in 0.4.4 where we fixed the bug in question and introduced a hardware watchdog timer that should do a hardware reset if the device hangs for more than 60 seconds.

The default is already that if the sensors are lost, the heater and cooler are turned off.

Hi Elco,

Thanks for the update - awesome to hear that there is a fix for this already.

Iā€™ll check my firmware when I get home from work and will update the thread.

Cheers

Hi again Elco,

So I was on 0.4.3 and can confirm from the graphs that there was some kind of ā€œcrashā€ around 2.40am last night, after which the heater was on constantly until I noticed this morning.

Iā€™ve updated the the system now to 0.4.4 so hopefully Iā€™ll not see this issue again. Thanks for fixing it, really important one :slight_smile:

Now I need to decide if the beer is salvagable after a rather long ā€œhop standā€ā€¦ :confused:

This is why you should add a mechanical fail safe thermostat inline with the heater. I have one set at 30 degrees.