I have a Samsung DV410 Gas Dryer. Towards the end of last year it started powering off mid cycle. It then worked fine until a few days ago, when summer finally hit and it was really hot and humid in the house ~80F. When I use the dryer, sometimes the control panel will start to dim, sometimes is shuts off completely. The dryer does not have to be running for this to happen, just the control panel. Sometimes it works perfectly fine. I've contemplated exploratory surgery checking all the connections but I thought I would ask around before I attempt it.
Here is a video of the behavior when it happens right away.