Growing leaf lettuce

I have grown hydroponic lettuce in the past, though not using the Kratky method, instead I used a mistponics method. Having said that the big issue with lettuce growth is keeping it in the correct temperature range, as then tend to start to bloom and send up a stalk when temperatures get into the 80’s this is when they turn bitter.