First, everything about the Sonoff stinks like cheap Cheese, so good bet it is not UL listed. RoHS and CE is nothing, and UL/CSA listings are often forged by those offshore manufacturers.
Mains electrical is serious business, and the stuff is already very cheap - $20 for a proper smart switch for instance. The only reason that price seems high is you have found this thing that is cheaper in several ways, most bad. Who cares? There will always be a cheaper piece-o-junk out there. Your time is valuable too.
In NEC jurisdictions you cannot install things not approved by your local inspector, who does not run his own testing lab, but simply gets a list of approved appliances from UL or similar entity. NEC 110.
You cannot mount outside a junction box
An electrical device cannot be mounted outside a junction box as you plan, unless the labeling or instructions tell you to install it that way - the labeling and instructions are part of the UL listing, the listing is contingent on it being installed properly, and it is illegal to install it contrary to those instructions (NEC 110.3).
Parallel switches in your plan are semi-OK
The fact that the Sonoff has netural coming in is simply due to the fact that it is a powered device and needs neutral for its own power. Whether it is switching neutral, I cannot guess: It may be possible to bypass its neutral output and serve the neutral from the other side - that depends (again) on the UL approved labeling and instructions on the device.
If that's the case, then having both the smart switch and the plain switch feed the light should be fine. The key rule is that in any cable, currents must be equal - cancel each other out. That is to avoid eddy-current heating.
Low voltage remote switches are even better
If Deepesh Golani's method of accessing the internal switch works, and (again) is supported by UL approved labeling or instructions, that is an even better way since it does not involve significant currents. If that power is low voltage, you would escape the requirement to use Class 1 wiring techniques, and could run remote switches with thermostat wire for instance.
The MA-FQ4M dimmer doesn't dim its output directly -- it's designed to communicate over the powerline with a compatible canopy module instead, which is why it didn't dim your chandelier. It shouldn't cause your fan to hum when used with the proper canopy module, though -- I'd suspect that your real problem is with the fan itself (perhaps the windings are slightly loose inside the fan motor or something like that).
As to why the fan didn't work with a single pole switch, I suspect it's because the canopy module wasn't seeing the right signals to turn the fan on. Either that, or you simply goofed when you wired the switch.
Best Answer
You are probably able to fix this but you are probably not legally entitled to make changes to the wiring without the landlord's permission.
My guess is that he connected a wire to the wrong side of the switch.
In the UK you cannot mix outlets and lights on the same circuit but I don't know if this is permitted in Spain.