# Switch Pi GPIO via Node Red not ok, via HA Dashboard ok?

**URL:** <https://discourse.nodered.org/t/switch-pi-gpio-via-node-red-not-ok-via-ha-dashboard-ok/86561>\
**Category:** General\
**Tags:** node-red-dashboard, home-assistant\
**Created:** [19 March 2024 13:34 UTC](https://discourse.nodered.org/t/switch-pi-gpio-via-node-red-not-ok-via-ha-dashboard-ok/86561 "2024-03-19T13:34:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DerKlotz74](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/derklotz74/32/89423_2.png) [@DerKlotz74](https://discourse.nodered.org/u/DerKlotz74)\
**Post date:** [19 March 2024 13:34 UTC](https://discourse.nodered.org/t/switch-pi-gpio-via-node-red-not-ok-via-ha-dashboard-ok/86561/1 "2024-03-19T13:34:09Z")

</div>

Hello,  
i´m still at the beginning using HA and Node Red. I´m at a point where i like to use Node Red for small automations.

Where I am currently failing is the physical switching of relays that are connected to the Pi. In the HA Dashboard I manage to switch the two relays back and forth. When I use Node Red, the relays switch in the flow, but not physically.  
Is it somehow because I have installed rpi\_gpio in the configuration under custom components and declared the GPIOs in configuration.yaml?  
I have attached some screenshots.

Thank you

Answers are also welcome in German 🙂

Translated with [DeepL.com](http://DeepL.com) (free version)

 ![Configuration YAML](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/2/92a73bbc1a54a8ab57e69315a6a87a901693da54.png)  
 ![GPIOs](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/a/0a01d81e446f459573db87d1ff028b2c6726c8e4.png)  
 ![HA Dashboard switching ok](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/c/0c6b9068df924e69ed90bd33a7bba2d2b30fc5c9.png)  
 ![off](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/7/e791e8db47855f229366a9876e27cea1b8acca15.png)  
 ![on](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/e/fe240c472012ec33729400e7368eddbec1887652.png)

---

<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:** [17 June 2024 13:34 UTC](https://discourse.nodered.org/t/switch-pi-gpio-via-node-red-not-ok-via-ha-dashboard-ok/86561/2 "2024-06-17T13:34:10Z")

</div>

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