I use BSS138 to shift the output voltage of ESP8266 up to 5 V. Then the output is sent to the input pins of G3MB-202P.
When I turn on D4/D7/D8 pin, voltage appears on screw connectors, but it barely moves 40 W fan. Additionally, it generates a buzzing sound. I suppose it is related to the fact that G3MB-202P turns off on zero and level shifter does not provide constant “flat” current to the input. Unfortunately, I don't have an oscilloscope to check it.
My multimeter says that voltage drop on G3MB-202P is 1.2 V when D4/D7/D8 is low and 2.6 V when it is high.
I'm additionally surprised because I have (almost) the same circuit built on breadboard modules, and it works — 40 W water pumps are working without giving strange sounds.
Edit BSS138 circuit is a copy of this module schematic is available under documents ⇾ schematic link. I use this module in my prototype and it works.
My prototype has modules based on G3MB-202P which includes some additional elements like screw terminals LED diode and resistors. I don't have schemas, but I doubt if they affect the circuit.
I'm newbie in SMD soldering, so some elements may be not connected perfectly, but I test my circuit for resistance with multimeter.
After talk witj @winny I've updated my circuit to use transistor as a regular DC SSR