×Read this message from Erik, founder of YouMagine

Raspberry Pi 8-channel relay box

A 230V 8-channel relay box running on Domoticz


Creative Commons Attribution Noncommercial Share Alike

Commercial use is not allowed, you must attribute the creator, you may remix this work and the remixed work should be made available under this license.

Learn more or download attribution tags


Simple relay box, using a Raspberry Pi and an 8-channel optically detached relay. Could be used for 230V or 110V systems. This version is build with 8 Schuko sockets, as these are standard for European mainland.

The frames are screwed into the mounting points of the Tem ABS box, on which the PCB's of the RPi, power adapter and relay are mounted. Most of the cable holders are glued into place using hot glue. The relay cable holder is mounted 'floating', since the 8x 2.5mm2 cables will keep it securely in place.

The system is running on Raspbian with Domoticz and can be used stand-alone or as a remote Domoticz slave within an existing Domoticz environment. For connectivity an usb wifi module was used.

Materials and methods

Print list:
- 1x switch-box-relay-frame
- 1x switch-box-relay-cable-holder
- 1x switch-box-rpi-frame
- 1x switch-box-rpi-cable-holders
- 1x switch-box-usbpsu-frame

Part list:
- 1x Ebay EWH-Shop Stromverteiler
- 1x Ebay Chenmiju2009 AC / DC 5V 2A 2000mA USB Power Supply
- 1x Ebay Satisfyelectronics 8 Channel DC 5V Relay Module for Raspberry Pi
- 1x Weipu SP1310 / P 9 II
- 1x Weipu SP1312 / S 9
- 1x Weipu SP2110 / S 3 I
- 1x Weipu SP2112 / P 3
- 1x Weipu SP2110 CAP
- 1x Weipu SP2111 CAP
- 1x Weipu SP1311 / SP1312 CAP
- 1x Weipu SP1310 TYPE II CAP
- 2x Wago 222-415
- 4x Wago 222-413
- 20x jumper cable
- 1x 2.5mm2 wire blue
- 1x 2.5mm2 wire green/yellow
- 1x 2.5mm2 wire brown
- 1x 2.0mm2 wire black
- 12x small screw
- 12x smaller screw
- 1x Raspberry Pi 1 B
- Hot Glue

Part links:
- http://www.ebay.com/itm/Stromverteiler-Steckdosenverteiler-Baustromverteiler-Wandverteiler-Stromkasten-/171062899753
- http://www.ebay.com/itm/AC-DC-5V-2A-2000mA-EU-Plug-USB-Power-Supply-Adapter-Charger-Android-Tablet-PC-/351329828596
- http://www.ebay.com/itm/8-Channel-DC-5V-Relay-Module-Arduino-Raspberry-Pi-DSP-AVR-PIC-ARM-/191674534102
- https://www.conrad.nl/nl/ip68-connector-serie-sp13-aantal-polen-9-kabelsteker-3-a-sp1310-p-9-ii-weipu-1-stuks-734746.html
- https://www.conrad.nl/nl/ip68-connector-serie-sp13-aantal-polen-9-apparaatbus-voor-frontmontage-3-a-sp1312-s-9-weipu-1-stuks-736435.html
- https://www.conrad.nl/nl/ip68-connector-serie-sp2110-s-3-i-aantal-polen-3-kabelbus-30-a-sp2110-s-3-i-weipu-1-stuks-736913.html
- https://www.conrad.nl/nl/ip68-connector-serie-sp2112-p-3-aantal-polen-3-apparaatstekker-voor-frontmontage-30-a-sp2112-p-3-weipu-1-stuks-738224.html
- https://www.conrad.nl/nl/afdichtkap-afdichtkap-sp2110-weipu-1-stuks-734417.html
- https://www.conrad.nl/nl/afdichtkap-afdichtkap-sp2111-weipu-1-stuks-734469.html
- https://www.conrad.nl/nl/afdichtkap-afdichtkap-caps-for-sp1311-sp1312-weipu-1-stuks-736518.html
- https://www.conrad.nl/nl/afdichtkap-afdichtkap-caps-for-sp1310-type-ii-weipu-1-stuks-736485.html
- https://www.conrad.nl/nl/wago-222-413-verbindingsklem-flexibel-008-4-mm-massief-008-25-mm-aantal-polen-3-1-stuks-grijs-oranje-522374.html
- https://www.conrad.nl/nl/wago-222-415-verbindingsklem-flexibel-008-4-mm-massief-008-25-mm-aantal-polen-5-1-stuks-grijs-oranje-522475.html



Issues are used to track todos, bugs or requests. To get started, you could create an issue.


501258aedfeddbe4d1a2372846f2cd10?default=blank&size=40nuehm.anno0 added this to the ToDo collection ago
0012010ef571a5f02e9a9c255b2aeb45?default=blank&size=40Renato Gomes added this to the Raspberry collection ago
E867866674e2fb57e39a5fe45f1c0084?default=blank&size=40BikingViking added this to the Raspberry Pi collection ago
72cd94185de6a472d9803533d70a0be7?default=blank&size=40MrLRichards added this to the Raspberry Pi - Arduino collection ago
52ae5026c89480086db98862dbdd4eb2?default=blank&size=40Daniel Richterek added this to the Raspberry Pi collection ago
9feb62945c6a6d48f9cd5ce3e482b73d?default=blank&size=40Chuck Burgess added this to the Tech collection ago
Mini youmagine avatarMarcel Klapwijk published this design ago