Smeg E2 code is usually not filling or overfilling.
What does the machine do
It should as a general guide
Drain pump operate then stop (get rid of stale water)
Fill, wash, drain (rinse cycle)
Fill, tablet, heat, wash, drain (Main wash cycle)
Fill, wash, drain (2nd rinse cycle)
Fill...