# \#gpio

**URL:** https://community.openhab.org/tag/gpio/484.md

[Latest](https://community.openhab.org/latest.md) · [Categories](https://community.openhab.org/categories.md) · [Tags](https://community.openhab.org/tags.md)

---

## [MQTTany - GPIO and more over MQTT](https://community.openhab.org/t/mqttany-gpio-and-more-over-mqtt/81450)

<div class="topic-metadata">

**Author:** [@CrazyIvan359](https://community.openhab.org/u/CrazyIvan359)\
**Replies:** 70\
**Last updated:** [April 20, 2026, 7:49pm UTC](https://community.openhab.org/t/mqttany-gpio-and-more-over-mqtt/81450 "2026-04-20T19:49:03Z")

</div>

MQTTany v0.14.1 \>\>\> Raspberry Pi 4 support is here in v0.14.1! \<\<\< MQTTany is the evolution of a simple Python program I wrote to allow me to control the GPIO pins on a Raspberry Pi 3 from my openHAB server. MQTTany is…

---

## [Gpio binding not working with RPi 5 and new Trixie](https://community.openhab.org/t/gpio-binding-not-working-with-rpi-5-and-new-trixie/166951)

<div class="topic-metadata">

**Author:** [@maheshdada1](https://community.openhab.org/u/maheshdada1)\
**Replies:** 7\
**Last updated:** [February 26, 2026, 12:32am UTC](https://community.openhab.org/t/gpio-binding-not-working-with-rpi-5-and-new-trixie/166951 "2026-02-26T00:32:05Z")

</div>

Hi there, As I’m planning to update rpi 4 to RPi 5, but I come across the issue that GPIO binding is not compatible with RPi 5, is any update about this, that GPIO binding will supported by rpi5,

---

## [Default GPIO PIN state after openHAB reboot with Docker](https://community.openhab.org/t/default-gpio-pin-state-after-openhab-reboot-with-docker/165292)

<div class="topic-metadata">

**Author:** [@arsenico42](https://community.openhab.org/u/arsenico42)\
**Replies:** 1\
**Last updated:** [August 4, 2025, 1:50pm UTC](https://community.openhab.org/t/default-gpio-pin-state-after-openhab-reboot-with-docker/165292 "2025-08-04T13:50:27Z")

</div>

Hi everybody, I have to control a door triggering a zero level activation relay for a short period (700ms). With “zero level activation relay” I mean that the relay is excited when Raspberry voltage is zero volts on a …

---

## [OpenHab 3.1 and remote GPIO on the same Raspberry Pi](https://community.openhab.org/t/openhab-3-1-and-remote-gpio-on-the-same-raspberry-pi/126895)

<div class="topic-metadata">

**Author:** [@olivier](https://community.openhab.org/u/olivier)\
**Replies:** 44\
**Last updated:** [September 2, 2024, 10:42pm UTC](https://community.openhab.org/t/openhab-3-1-and-remote-gpio-on-the-same-raspberry-pi/126895 "2024-09-02T22:42:42Z")

</div>

Hello, I am trying to upgrade from Openhab 2 to Openhab 3.1. It almost works but unfortunatelly, I am using many GPIO ports on my Openhab Raspberry pi 3B and, after 10 hours trying, I still cannot make them work. I thi…

---

## [Set initial value to high of gpio](https://community.openhab.org/t/set-initial-value-to-high-of-gpio/151134)

<div class="topic-metadata">

**Author:** [@maheshdada1](https://community.openhab.org/u/maheshdada1)\
**Replies:** 1\
**Last updated:** [November 11, 2023, 1:57pm UTC](https://community.openhab.org/t/set-initial-value-to-high-of-gpio/151134 "2023-11-11T13:57:37Z")

</div>

Hello, I’m using openhab 2.5 early, Now I have update to openhab 4, As in openhab 2.5 there is option for set the initialValue: high, like this how can I set initial valu of gpio high in openhab 4 Please help with th…

---

## [\[GPIO\] New GPIO Binding for OH3](https://community.openhab.org/t/gpio-new-gpio-binding-for-oh3/113943)

<div class="topic-metadata">

**Author:** [@nbauer](https://community.openhab.org/u/nbauer)\
**Replies:** 95\
**Last updated:** [September 27, 2023, 9:49am UTC](https://community.openhab.org/t/gpio-new-gpio-binding-for-oh3/113943 "2023-09-27T09:49:25Z")

</div>

Hi there! I developed a GPIO Binding for openHAB 3. It is expected to be available in openHAB 3.1. If you want to test it before the official release, you have to type the following commands in the openHAB console (not …

---

## [Problem with GPIO One Wire Binding Sensor DS18B20](https://community.openhab.org/t/problem-with-gpio-one-wire-binding-sensor-ds18b20/143751)

<div class="topic-metadata">

**Author:** [@Matthiasw\_Film](https://community.openhab.org/u/Matthiasw_Film)\
**Replies:** 2\
**Last updated:** [January 25, 2023, 3:16am UTC](https://community.openhab.org/t/problem-with-gpio-one-wire-binding-sensor-ds18b20/143751 "2023-01-25T03:16:55Z")

</div>

Hello everyone I have a problem with my sensors. I use a raspberry pi 4 4gb model and Temperatur sensors DS18B20, InfluxDB and Grafana for visualisation. All is up to date My Sensor show +1,30°C and the correct Tempe…

---

## [GPIO 1-Wire Temp sensors on Raspberry Pi with openHABian](https://community.openhab.org/t/gpio-1-wire-temp-sensors-on-raspberry-pi-with-openhabian/20941)

<div class="topic-metadata">

**Author:** [@dijit](https://community.openhab.org/u/dijit)\
**Replies:** 29\
**Last updated:** [January 16, 2023, 3:51pm UTC](https://community.openhab.org/t/gpio-1-wire-temp-sensors-on-raspberry-pi-with-openhabian/20941 "2023-01-16T15:51:47Z")

</div>

This tutorial explains how to connect multiple Maxim DS18b20 1-wire temperature sensors to a GPIO pin on a Raspberry Pi, and pull those temperature readings into OpenHAB. This is a re-write of my previous post on this i…

---

## [OH3 GPIO binding: "(-41) no permission to update GPIO"](https://community.openhab.org/t/oh3-gpio-binding-41-no-permission-to-update-gpio/143246)

<div class="topic-metadata">

**Author:** [@wezzix](https://community.openhab.org/u/wezzix)\
**Replies:** 1\
**Last updated:** [January 14, 2023, 4:40pm UTC](https://community.openhab.org/t/oh3-gpio-binding-41-no-permission-to-update-gpio/143246 "2023-01-14T16:40:36Z")

</div>

I’m getting an error when setting up the GPIO binding with a digital input on a recent standard installation. The GPIO output is working however. I already ran the Fix permissions option in openhabian-config. Platform…

---

## [\[SOLVED\] GPIO-Binding seems to stop working after certain time](https://community.openhab.org/t/solved-gpio-binding-seems-to-stop-working-after-certain-time/134949)

<div class="topic-metadata">

**Author:** [@BillGOH](https://community.openhab.org/u/BillGOH)\
**Replies:** 14\
**Last updated:** [November 27, 2022, 12:00pm UTC](https://community.openhab.org/t/solved-gpio-binding-seems-to-stop-working-after-certain-time/134949 "2022-11-27T12:00:49Z")

</div>

Hello, I use a reed-connector (ELV Energy-Sensor Gas 2 für Gaszähler, ES-GAS-2 | Haustechnik) to count my gas usage. It is connected to my Raspbery Pi 4B via a GPIO pin. I installed pigpiod and the GPIO-binding; via a r…

---

## [GPIO input, delay](https://community.openhab.org/t/gpio-input-delay/139850)

<div class="topic-metadata">

**Author:** [@Espen](https://community.openhab.org/u/Espen)\
**Replies:** 0\
**Last updated:** [October 10, 2022, 7:38pm UTC](https://community.openhab.org/t/gpio-input-delay/139850 "2022-10-10T19:38:37Z")

</div>

Hi, Using the GPIO binding for a doorbell push button, but the button pressed is not registered if the button press has too short duration. A normal push/release is not enough. Holding the button for apx 1-2 sec trigger…

---

## [Remote 1wire](https://community.openhab.org/t/remote-1wire/112238)

<div class="topic-metadata">

**Author:** [@GeertClaes](https://community.openhab.org/u/GeertClaes)\
**Replies:** 5\
**Last updated:** [July 12, 2022, 1:32pm UTC](https://community.openhab.org/t/remote-1wire/112238 "2022-07-12T13:32:59Z")

</div>

Hi All, I installed some DS18B20 on a pi, added Samba and shared the /sys/bus/w1/devices/28-… folder. On the (windows) OH, I installed the OneWireGPIO (2.5.4) binding, and instead of the local (linux) path, I put in …

---

## [openHAB 3.3.0-SNAPSHOT Z-Wave Binding and link to GPIO Input](https://community.openhab.org/t/openhab-3-3-0-snapshot-z-wave-binding-and-link-to-gpio-input/135767)

<div class="topic-metadata">

**Author:** [@luciano2010er](https://community.openhab.org/u/luciano2010er)\
**Replies:** 0\
**Last updated:** [May 7, 2022, 8:56pm UTC](https://community.openhab.org/t/openhab-3-3-0-snapshot-z-wave-binding-and-link-to-gpio-input/135767 "2022-05-07T20:56:19Z")

</div>

Hello all. I am using a Raspberry Pi Model 3 2015 with installed openHABian 3.3.0-SNAPSHOT version. On the Raspberry is connected the RaZberry Z-Wave tranceiver. Now I am trying to trigger an input from GPIO interface t…

---

## [GPIO Binding - Issues w/ multiple alerts](https://community.openhab.org/t/gpio-binding-issues-w-multiple-alerts/124579)

<div class="topic-metadata">

**Author:** [@aplack](https://community.openhab.org/u/aplack)\
**Replies:** 0\
**Last updated:** [July 14, 2021, 6:37pm UTC](https://community.openhab.org/t/gpio-binding-issues-w-multiple-alerts/124579 "2021-07-14T18:37:37Z")

</div>

Hello, Long time lurker here getting serious about existing OpenHAB 3.1 installations. I have a Raspberry Pi (192.168.2.253) connected to a number of switch sensors connected to the GPIO pins. I also have Open HAB loca…

---

## [GPIO Binding Updates](https://community.openhab.org/t/gpio-binding-updates/133634)

<div class="topic-metadata">

**Author:** [@jeremyrumpf](https://community.openhab.org/u/jeremyrumpf)\
**Replies:** 0\
**Last updated:** [February 23, 2022, 6:13pm UTC](https://community.openhab.org/t/gpio-binding-updates/133634 "2022-02-23T18:13:01Z")

</div>

Posting a reply I made on another thread as a new topic to possibly get better visibility All, I am working on a project where I wish to include some contact sensors in a building into openhap using a remote RPi and th…

---

## [Default GPIO PIN state after openHAB reboot](https://community.openhab.org/t/default-gpio-pin-state-after-openhab-reboot/131413)

<div class="topic-metadata">

**Author:** [@arsenico42](https://community.openhab.org/u/arsenico42)\
**Replies:** 2\
**Last updated:** [January 11, 2022, 10:21am UTC](https://community.openhab.org/t/default-gpio-pin-state-after-openhab-reboot/131413 "2022-01-11T10:21:50Z")

</div>

Hi everybody, I have to control a door triggering a zero level activation relay for a short period (700ms). With “zero level activation relay” I mean that the relay is excited when Raspberry voltage is zero volts on a …

---

## [Raspi-config Command not found](https://community.openhab.org/t/raspi-config-command-not-found/120929)

<div class="topic-metadata">

**Author:** [@Dale\_Mercier](https://community.openhab.org/u/Dale_Mercier)\
**Replies:** 16\
**Last updated:** [September 26, 2021, 8:36pm UTC](https://community.openhab.org/t/raspi-config-command-not-found/120929 "2021-09-26T20:36:43Z")

</div>

Platform information: Hardware: Raspberry pi 3B+ OS: OpenHab 3.0.1 Release Build Release: Raspbian GNU/linux 10 (buster) Good day all. So I am trying to get GPIO binding working on my openhab in order to control re…

---

## [GPIO counter misreading due to bouncing](https://community.openhab.org/t/gpio-counter-misreading-due-to-bouncing/125319)

<div class="topic-metadata">

**Author:** [@Ansgar](https://community.openhab.org/u/Ansgar)\
**Replies:** 9\
**Last updated:** [August 16, 2021, 7:23pm UTC](https://community.openhab.org/t/gpio-counter-misreading-due-to-bouncing/125319 "2021-08-16T19:23:32Z")

</div>

Dear Community, My task seems to be very common: I want to use the GPIOs of the Raspberry Pi to read in the Gas consumtion in my house. The Gas volume meter offers to read an impuls triggered by a magnet every 1l by m…

---

## [State of GPIO input is changing in infinite loop (ON-OFF-ON-OFF...)](https://community.openhab.org/t/state-of-gpio-input-is-changing-in-infinite-loop-on-off-on-off/125377)

<div class="topic-metadata">

**Author:** [@hal\_sk](https://community.openhab.org/u/hal_sk)\
**Replies:** 2\
**Last updated:** [August 10, 2021, 2:57pm UTC](https://community.openhab.org/t/state-of-gpio-input-is-changing-in-infinite-loop-on-off-on-off/125377 "2021-08-10T14:57:26Z")

</div>

Hello, After upgrading from OpenHAB 2.x to OpenHAB 3.x I would like to use GPIO inputs on my Raspberry Pi. When I apply voltage to my GPIO input (in this case GPIO-10) the switch item stays on. That’s good. But when I d…

---

## [Simple GPIO example](https://community.openhab.org/t/simple-gpio-example/36062)

<div class="topic-metadata">

**Author:** [@Kees\_van\_Gelder](https://community.openhab.org/u/Kees_van_Gelder)\
**Replies:** 33\
**Last updated:** [January 13, 2021, 6:30pm UTC](https://community.openhab.org/t/simple-gpio-example/36062 "2021-01-13T18:30:44Z")

</div>

I have been mostly using openhab via MQTT commands to Arduino’s and ESP8266’s but ofcourse have been eying the mainly unused pins on my Raspberry Pi. In all honesty however, when I glanced over the various articles deali…

---

## [GPIO-Binding with 2nd raspberry](https://community.openhab.org/t/gpio-binding-with-2nd-raspberry/17030)

<div class="topic-metadata">

**Author:** [@schrigga](https://community.openhab.org/u/schrigga)\
**Replies:** 22\
**Last updated:** [December 22, 2020, 7:33am UTC](https://community.openhab.org/t/gpio-binding-with-2nd-raspberry/17030 "2020-12-22T07:33:51Z")

</div>

Hi, I startet to build my own smart home with openhab. Up to now i could successfully build in a reed contact in a second pi zero. From the openhab server, it is possible to see if it is open or closed in the garage. T…

---

## [Gpio -\> error: Cannot retrieve item](https://community.openhab.org/t/gpio-error-cannot-retrieve-item/91968)

<div class="topic-metadata">

**Author:** [@Isbjoern](https://community.openhab.org/u/Isbjoern)\
**Replies:** 8\
**Last updated:** [May 1, 2020, 6:48am UTC](https://community.openhab.org/t/gpio-error-cannot-retrieve-item/91968 "2020-05-01T06:48:17Z")

</div>

I am up to use GPIO for a LED status board. I have openhab 2.4.0-1 running on a raspberry 3. I installed GPIO binding. The user via adduser was there already. The sysfs-\>sys is also there. I made up an items file in \\O…

---

## [I want to bind alexa, but the problem is in item](https://community.openhab.org/t/i-want-to-bind-alexa-but-the-problem-is-in-item/94317)

<div class="topic-metadata">

**Author:** [@shamil](https://community.openhab.org/u/shamil)\
**Replies:** 12\
**Last updated:** [March 10, 2020, 5:50pm UTC](https://community.openhab.org/t/i-want-to-bind-alexa-but-the-problem-is-in-item/94317 "2020-03-10T17:50:53Z")

</div>

Hi I installed gpio binding, wrote item and sitemap, I added item to paper ui myself (through paper ui the LED does not work, I don’t know if it should work through paper ui or just basic ui), everything works fine in b…

---

## [Using a knob (potentiometer) with the raspberry pi](https://community.openhab.org/t/using-a-knob-potentiometer-with-the-raspberry-pi/92438)

<div class="topic-metadata">

**Author:** [@andrelung](https://community.openhab.org/u/andrelung)\
**Replies:** 6\
**Last updated:** [February 9, 2020, 10:28pm UTC](https://community.openhab.org/t/using-a-knob-potentiometer-with-the-raspberry-pi/92438 "2020-02-09T22:28:29Z")

</div>

I am developing a small “button board”, which will be used to control some home appliances. So far, I just wired up some buttons to the GPIO pins of my raspberry and added them via the GPIO-binding. Here is a picture of …

---

## [Reading a button input using the GPIO binding](https://community.openhab.org/t/reading-a-button-input-using-the-gpio-binding/88056)

<div class="topic-metadata">

**Author:** [@Rapti](https://community.openhab.org/u/Rapti)\
**Replies:** 1\
**Last updated:** [December 19, 2019, 9:07pm UTC](https://community.openhab.org/t/reading-a-button-input-using-the-gpio-binding/88056 "2019-12-19T21:07:29Z")

</div>

Hello! I want to connect a simple button to the GPIO pins of my Raspberry Pi which is also running OpenHAB 2. Controling pin output using a Switch item works perfectly without issues, but I’m having trouble using a pin …

---

## [Controlling a RaspberryPi GPIO pin with MQTT](https://community.openhab.org/t/controlling-a-raspberrypi-gpio-pin-with-mqtt/40912)

<div class="topic-metadata">

**Author:** [@Kees\_van\_Gelder](https://community.openhab.org/u/Kees_van_Gelder)\
**Replies:** 34\
**Last updated:** [August 1, 2019, 10:59am UTC](https://community.openhab.org/t/controlling-a-raspberrypi-gpio-pin-with-mqtt/40912 "2019-08-01T10:59:29Z")

</div>

In a recent Tutorial, I explained how to address the GPIO pins on a Raspberry from within Openhab, but that was when Openhab is actually on the same RaspberryPi whose pins you wanted to address. So what if it is another…

---

## [\[SOLVED\] Can not access to GPIO from OpenHab running in docker container](https://community.openhab.org/t/solved-can-not-access-to-gpio-from-openhab-running-in-docker-container/77758)

<div class="topic-metadata">

**Author:** [@Eugene](https://community.openhab.org/u/Eugene)\
**Replies:** 4\
**Last updated:** [July 12, 2019, 2:03pm UTC](https://community.openhab.org/t/solved-can-not-access-to-gpio-from-openhab-running-in-docker-container/77758 "2019-07-12T14:03:01Z")

</div>

Platform information: Hardware: Orange PI Zero 512MB OS: Armbian 5.90 Orangepizero Debian buster next 4.19.57 Docker version: 18.09.7 Docker image: openhab/openhab:2.4.0-armhf-debian openHAB version: 2.4.0 Issue of t…

---

## [GPIO pull-up / down issue](https://community.openhab.org/t/gpio-pull-up-down-issue/74252)

<div class="topic-metadata">

**Author:** [@Dario\_Martino](https://community.openhab.org/u/Dario_Martino)\
**Replies:** 8\
**Last updated:** [May 14, 2019, 4:25pm UTC](https://community.openhab.org/t/gpio-pull-up-down-issue/74252 "2019-05-14T16:25:44Z")

</div>

Hi everyone, I have a problem setting up Pull-up / down resistors for GPIO buttons. So, my buttons without any resistor work fine, but as there’s no resistors, i occasionally have unwanted button presses. So I decided …

---

## [How to configure rollershutters on gpio's](https://community.openhab.org/t/how-to-configure-rollershutters-on-gpios/73113)

<div class="topic-metadata">

**Author:** [@lewy0111](https://community.openhab.org/u/lewy0111)\
**Replies:** 2\
**Last updated:** [April 26, 2019, 8:06am UTC](https://community.openhab.org/t/how-to-configure-rollershutters-on-gpios/73113 "2019-04-26T08:06:07Z")

</div>

Platform information: Hardware: ARM/1GB/16GB OS: ARMBIAN 5.75 (on orangepipc) Java Runtime Environment: 1.8.0\_212 openHAB version: 2.4.0 (Build) Issue of the topic: Hi everyone, I have 8 roller shutters controlled …

---

## [Raspian Jessie / GPIO input](https://community.openhab.org/t/raspian-jessie-gpio-input/3448)

<div class="topic-metadata">

**Author:** [@Jeroen](https://community.openhab.org/u/Jeroen)\
**Replies:** 100\
**Last updated:** [March 17, 2019, 6:43pm UTC](https://community.openhab.org/t/raspian-jessie-gpio-input/3448 "2019-03-17T18:43:25Z")

</div>

Decided last week to change the OS on my Raspberry Pi 2 model B from Wheezy to Jessie (Debian 8) including the OH 1.7.1. Have done a fresh installation of the OS and OH. Openhab is starting up correctly and the existing…

[Next page](https://community.openhab.org/tag/gpio/484.md?match_all_tags=true&page=1&tags%5B%5D=gpio)
