Install RPi relay board
From xPL
The Waveshare RPi Relay Board houses 3 relays controlled by Raspberry Pi General-Purpose Input/Outputs (GPIOs).
They can be controlled by:
- shell commands built from the WiringPi libraries
- C-programs compiled with the C library for Raspberry Pi
- python scripts