# Unable to open/dev/gpiomem no such file or directory (version 4.1.0)

**URL:** https://discourse.nodered.org/t/unable-to-open-dev-gpiomem-no-such-file-or-directory-version-4-1-0/99033
**Category:** General
**Created:** [13 September 2025 07:09 UTC](https://discourse.nodered.org/t/unable-to-open-dev-gpiomem-no-such-file-or-directory-version-4-1-0/99033 "2025-09-13T07:09:55Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![corne](https://avatars.discourse-cdn.com/v4/letter/c/f04885/32.png) [@corne](https://discourse.nodered.org/u/corne)
#### Post date: [13 September 2025 07:09 UTC](https://discourse.nodered.org/t/unable-to-open-dev-gpiomem-no-such-file-or-directory-version-4-1-0/99033/1 "2025-09-13T07:09:55Z")

</div>

Hi im new to node red, am trying to read the values of a dht 22 sensor but shows unable to open /dev/gpiomem no such file or directory

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [13 September 2025 08:14 UTC](https://discourse.nodered.org/t/unable-to-open-dev-gpiomem-no-such-file-or-directory-version-4-1-0/99033/2 "2025-09-13T08:14:06Z")

</div>

First off, welcome to the forum!

It would help if you provided more information.

What version of NR are you running?

What platform are you running NR on?

How is the sensor connected to NR? (hard wired, connected to another device and sending the data to NR?

What node are you using to access the sensor?

It would be helpful if you provided your flow

---

<div class="post-metadata">

### Author: ![corne](https://avatars.discourse-cdn.com/v4/letter/c/f04885/32.png) [@corne](https://discourse.nodered.org/u/corne)
#### Post date: [13 September 2025 14:38 UTC](https://discourse.nodered.org/t/unable-to-open-dev-gpiomem-no-such-file-or-directory-version-4-1-0/99033/3 "2025-09-13T14:38:50Z")

</div>

Hi, Thanks, im using version 4.1.0, im running it from a pi 5 and it is sending the response to the same pi 5 gpio pins

---

<div class="post-metadata">

### Author: ![corne](https://avatars.discourse-cdn.com/v4/letter/c/f04885/32.png) [@corne](https://discourse.nodered.org/u/corne)
#### Post date: [13 September 2025 14:39 UTC](https://discourse.nodered.org/t/unable-to-open-dev-gpiomem-no-such-file-or-directory-version-4-1-0/99033/4 "2025-09-13T14:39:47Z")

</div>

the node is rpi dht22

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [13 September 2025 17:29 UTC](https://discourse.nodered.org/t/unable-to-open-dev-gpiomem-no-such-file-or-directory-version-4-1-0/99033/5 "2025-09-13T17:29:33Z")

</div>

It’s always wise to do a search to see if someone else has run into the same issue you are having. For instance this thread might be informative:

> [@Rpi-dht22 node RasPi 5 Bookworm "TypeError: failed to initialize"](https://discourse.nodered.org/t/rpi-dht22-node-raspi-5-bookworm-typeerror-failed-to-initialize/96825/6):
>
> Pretty sure they don't. I believe the basic issue is that the IO hardware on the Pi5 was changed, but Node-red on any Pi running Bookworm is likely to have problems with GPIOs. I do have BME280 and BME680 sensors. I do not have a Pi 5 and I am very reluctant to connect wires to my Pi 4 GPIO pins. It's too easy to kill the Pi. They are connected instead to ESP boards running Tasmota and (once Tasmota is configured) send the readings automatically over MQTT. There are suggested fixes online. …

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [12 November 2025 17:29 UTC](https://discourse.nodered.org/t/unable-to-open-dev-gpiomem-no-such-file-or-directory-version-4-1-0/99033/6 "2025-11-12T17:29:49Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
