I'm one who has had problems with Sonoffs. I set up two Sonoff SVs to control garden irrigation solenoid valves, one to top up my pool and one to water some pot plants. One of the Sonoffs was rock solid, but the other was - well, NOT! I had ongoing problems with it dropping off my network, spontaneously restarting , etc etc. I was using them in what is called "isolated" mode, which means the power they are switching is different from the power that runs them. The power to actuate the valves needs to be 24V AC, so that was supplied by a plugpack. Power to run the Sonoffs was supplied by a second 5V DC plugpack. I thought the problems might be related to power (voltage being pulled too low), so I changed the plugpack that runs them to a 12V DC one (the SVs can run off 5-24V DC). But it made no difference. It's not the filesystem corruption issue mentioned above - if I put the failing one back on the programmer, everything is still intact and it responds normally.
This setup was intended to replace two Wemo Switches, each with its own 24V AC transformer - they worked, but it seemed a bit clumsy to me to use two transformers when really only one 24VAC source should be necessary. But I could not resolve the problems, so with considerable disappointment I went back to the Wemos - clumsy yes, but they have the huge advantage that they do actually work. I might investigate some other brands of ESP8266 relay controllers, but for the moment I'm out of the game, sadly. Trying to think of something else I could use the good Sonoff for! ;-)