Recommended · for beginners
Raspberry Pi: 4-channel Relay step-by-step with example scripts for home automation
Why people recommend it
Shows a Raspberry Pi switching relays from its GPIO pins through a web page, with PHP calling Python scripts, often linked for home automation.
Watch for: Relays wired straight to GPIO; check your relay board's drive needs