---
title: "PART 6 - BUTTONS (SWITCHES) (OpenTUX Pi-Home)"
url: "https://maker.wiznet.io/rena/projects/part-6-buttons-switches-opentux-pi-home/"
markdown_url: "https://maker.wiznet.io/rena/projects/part-6-buttons-switches-opentux-pi-home/md"
type: "UCC: User Created Content"
author: "OpenTUX"
author_url: "https://opentux.eu/solutions/smart-home/how-to/buttons-intelligent-home-diy"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "OpenTUX"
original_url: "https://opentux.eu/solutions/smart-home/how-to/buttons-intelligent-home-diy"
published: "2022-11-03"
language: "en"
hardware: ["Raspberry Pi 4 Model B", "Arduino Mega 2560", "Arduino Ethernet Shield 2"]
likes: 8
views: 2652
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# PART 6 - BUTTONS (SWITCHES) (OpenTUX Pi-Home)

> In smart homes, instead of switches (classic off/on positions) the buttons are preferred (return to original position after pressing)

Original author: OpenTUX (source: https://opentux.eu/solutions/smart-home/how-to/buttons-intelligent-home-diy)

## Components

- **Raspberry Pi 4 Model B** x 1 ([docs](https://datasheets.raspberrypi.com/rpi4/raspberry-pi-4-product-brief.pdf))
- **Arduino Mega 2560** x 1 ([docs](https://www.farnell.com/datasheets/1674878.pdf?_ga=2.12759806.871556650.1519619484-654667508.1508905608&_gac=1.209399078.1518779130.EAIaIQobChMI97my66Sq2QIV77ftCh01kgA_EAMYASAAEgKPyvD_BwE))
- **Arduino Ethernet Shield 2** x 1 ([docs](https://docs.arduino.cc/hardware/ethernet-shield-rev2))

## Article

In the **Pi-Home** project, you can use any standard buttons and switches for 230 V or special ones for 24 V or 12V. In smart homes, instead of switches (classic off/on positions) the **buttons are preferred** (return to original position after pressing) . The reason is obvious, we can attach more different functions to the button (repeated pressing, holding, etc). In our realizations we have a very good experience with classic 230V buttons from **Hager/Berker**, but of course it is possible to use any other brands.

### **What we'll need**

[Part 2 - OpenHAB na Raspberry Pi](https://opentux.eu/solutions/smart-home/how-to/openhab-raspberry-pi-guide)

230V buttons - design is up to you, Hager/Berker recommended

Arduino Mega with Ethernet Shield (DIN holder)

Krone LSA terminals

**Original Link: **[**https://opentux.eu/solutions/smart-home/how-to/buttons-intelligent-home-diy**](https://opentux.eu/solutions/smart-home/how-to/buttons-intelligent-home-diy)

---

Source: https://maker.wiznet.io/rena/projects/part-6-buttons-switches-opentux-pi-home/
