# Node red failure in simple example led on

**URL:** <https://discourse.nodered.org/t/node-red-failure-in-simple-example-led-on/90927>\
**Category:** General\
**Created:** [13 September 2024 01:07 UTC](https://discourse.nodered.org/t/node-red-failure-in-simple-example-led-on/90927 "2024-09-13T01:07:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![centurion\_aqp](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@centurion\_aqp](https://discourse.nodered.org/u/centurion_aqp)\
**Post date:** [13 September 2024 01:07 UTC](https://discourse.nodered.org/t/node-red-failure-in-simple-example-led-on/90927/1 "2024-09-13T01:07:37Z")

</div>

Good evening everyone, please if someone could tell me why I can't do the simple example of turning on a led connected to GPIO17, when I click on the inject, the led doesn't turn on, however the console indicates the event and text.

12 Sep 18:53:19 - [warn] [rpi-gpio out:LED] Invalid input: 1726185199649

I've already restarted the node red several times, I even tried the GPIO17 with a simple turn on routine as well and it works.

 ![Falla node red - simple led on](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/8/2829af880f968d0f291c691e71824cf1b405ca02.jpeg)

I appreciate your support in advance.

Note: I'm a Spanish speaker and I'm using Google Translate.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [13 September 2024 02:34 UTC](https://discourse.nodered.org/t/node-red-failure-in-simple-example-led-on/90927/2 "2024-09-13T02:34:08Z")

</div>

Hola @centurion_aqp , welcome to the forum

> [@centurion\_aqp](#):
>
> 12 Sep 18:53:19 - [warn] [rpi-gpio out:LED] Invalid input: 1726185199649

You are injecting a timestamp.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/d/5d7ec2d3ea2f06de4dbc21cd3e83b71fa8d585fe.png)

It should be a 0 or 1

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/f/2faa430d2eab8250fc8b11ffb8530d48522540bb.png)

---

<div class="post-metadata">

**Author:** ![centurion\_aqp](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@centurion\_aqp](https://discourse.nodered.org/u/centurion_aqp)\
**Post date:** [13 September 2024 03:09 UTC](https://discourse.nodered.org/t/node-red-failure-in-simple-example-led-on/90927/3 "2024-09-13T03:09:56Z")

</div>

@jbudd

Thank you very much, indeed changing the data type worked correctly

Greetings from Peru

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [13 September 2024 04:34 UTC](https://discourse.nodered.org/t/node-red-failure-in-simple-example-led-on/90927/4 "2024-09-13T04:34:58Z")

</div>

(Hi. Just to help others the reply that _solved the problem_.....  
Click on the button/box marked `solution`.  
Then if someone else has the same problem, they can see what the _answer_ is.)

---

<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:** [27 September 2024 04:35 UTC](https://discourse.nodered.org/t/node-red-failure-in-simple-example-led-on/90927/5 "2024-09-27T04:35:31Z")

</div>

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