light control octoprint

I've tried a few different instructions how to control 2-channel relay. one to turn on the printer's power supply and the other to turn on the lights. with octoprint's own instructions i got the relay to work as it should but it has no light control. so far i haven't managed to get like octon side lights on and off as well as printer on and off sections but the relays don't work even though octon says the commands work.

does anyone have a clear instruction, preferably a video on how to get the right code to make the relays work?

the driver is raspberry pi 4b

+1 except I have a 3B+