# GPIOs initialize not as expected

**URL:** <https://discourse.nodered.org/t/gpios-initialize-not-as-expected/59042>\
**Category:** General\
**Created:** [26 February 2022 22:03 UTC](https://discourse.nodered.org/t/gpios-initialize-not-as-expected/59042 "2022-02-26T22:03:56Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Post date:** [27 February 2022 20:22 UTC](https://discourse.nodered.org/t/gpios-initialize-not-as-expected/59042/21 "2022-02-27T20:22:18Z")

</div>

That would be simpler. In such case value 1 means activate relay.

---

<div class="post-metadata">

**Author:** ![Hoinz](https://avatars.discourse-cdn.com/v4/letter/h/f17d59/32.png) [@Hoinz](https://discourse.nodered.org/u/Hoinz)\
**Post date:** [27 February 2022 20:47 UTC](https://discourse.nodered.org/t/gpios-initialize-not-as-expected/59042/22 "2022-02-27T20:47:24Z")

</div>

Perfect. Easy enough for me as a beginner 😉

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/b/cb48e6db029f372e8c3ef2838a77f45e309755e3.png)

Works perfectly. Now I can deploy whatever I like even at midnight without disturbing anyone else 😉

---

<div class="post-metadata">

**Author:** ![Hoinz](https://avatars.discourse-cdn.com/v4/letter/h/f17d59/32.png) [@Hoinz](https://discourse.nodered.org/u/Hoinz)\
**Post date:** [28 February 2022 20:46 UTC](https://discourse.nodered.org/t/gpios-initialize-not-as-expected/59042/23 "2022-02-28T20:46:40Z")

</div>

> [@Andrei](#):
>
> Something like this flow or similar... where the gate node would replace of the trigger node in your flow. The switch node(gate) would forward the message when the rule is true.

Thanks Andrei for your idea, but I fear this will be too advanced for me - I am not a programmer. Anyway, thanks for your thoughts.

---

<div class="post-metadata">

**Author:** ![Hoinz](https://avatars.discourse-cdn.com/v4/letter/h/f17d59/32.png) [@Hoinz](https://discourse.nodered.org/u/Hoinz)\
**Post date:** [28 February 2022 20:48 UTC](https://discourse.nodered.org/t/gpios-initialize-not-as-expected/59042/24 "2022-02-28T20:48:03Z")

</div>

> [@edje11](#):
>
> Try deploying only the modified nodes.

And thanks edje for this hint too. I normally just click "the big red button" but should evaluate to partial deployment in future as suggested.

---

<div class="post-metadata">

**Author:** ![Hoinz](https://avatars.discourse-cdn.com/v4/letter/h/f17d59/32.png) [@Hoinz](https://discourse.nodered.org/u/Hoinz)\
**Post date:** [28 February 2022 20:49 UTC](https://discourse.nodered.org/t/gpios-initialize-not-as-expected/59042/25 "2022-02-28T20:49:55Z")

</div>

Thank you all, I think this discussion can be closed as "solved" now.

---

<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:** [14 March 2022 20:50 UTC](https://discourse.nodered.org/t/gpios-initialize-not-as-expected/59042/26 "2022-03-14T20:50:32Z")

</div>

Closed on 14 March 2022 20:50 UTC

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

[Previous page](https://discourse.nodered.org/t/gpios-initialize-not-as-expected/59042.md?page=1)
