Hi there
Yes, i already did the PID tunning, i have an E3D with a sock, but the weird thing is that the malfunction happens only while autoleveling, if there is no temp error after autoleveling the printing goes perfect, the temperature is very stable.
referring to the filament monitoring, i tried like you said and looks like works 🙂