I am implementing a power-off function for my Ender 3 using OctoPi. For that, I need a relay and I happened to have one.
Unfortunately, after connection relay to Raspberry Pi GPIO pin, the relay was always on and not listening to any commands from OctoPi.
It appears this module was designed for 5v logic levels and Raspberry Pi works with 3.3v logic levels.
Just desolder optocoupler and add 3K resistor like in a photo and now you can use it from Raspberry Pi or any other 3.3V board.