I was getting the same 5-e (S-e) error. This is what I did to fix the problem. You know when you push the soldering tip into the front colored part of the sleeve assembly and you get that click that means it seated properly? And then you push that front part of the sleeve assembly into the handle part and you get that other click that means that it has seated properly? Well, when I was pushing the colored part of the sleeve assembly (with the soldering tip seated properly in it) into the handle part it would push the soldering tip back out, unseating the tip, breaking the connection and causing the temperature sensor error.
So, once I got the colored sleeve in the handle part I would push the soldering tip into the colored sleeve AGAIN and it would click into the sleeve again making a good connection. No more 5-e error. Maybe this will help you. I hope so, good luck.