# "Pi Keyboard" not working after Node-Red upgraded from 1.3.7 to 2.1.3 (Raspberry Pi 3b+)

**URL:** <https://discourse.nodered.org/t/pi-keyboard-not-working-after-node-red-upgraded-from-1-3-7-to-2-1-3-raspberry-pi-3b/53820>\
**Category:** General\
**Created:** [16 November 2021 10:55 UTC](https://discourse.nodered.org/t/pi-keyboard-not-working-after-node-red-upgraded-from-1-3-7-to-2-1-3-raspberry-pi-3b/53820 "2021-11-16T10:55:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trubochkin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trubochkin/32/20137_2.png) [@Trubochkin](https://discourse.nodered.org/u/Trubochkin)\
**Post date:** [16 November 2021 10:55 UTC](https://discourse.nodered.org/t/pi-keyboard-not-working-after-node-red-upgraded-from-1-3-7-to-2-1-3-raspberry-pi-3b/53820/1 "2021-11-16T10:55:45Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/c/2c7f2e29aead3957e9399cb701db6c1be47f3c79.png)  
"Houston, we have a problem!"  
I am using a barcode scanner that works like a keyboard. It worked fine, but after the Node-Red update, the "Pi Keyboard" went to the "Stopped" status (blinking with OK). The debug message is empty. For updating I used this script

> bash \<(curl -sL [https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered](https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)) --confirm-pi --confirm-install --nodered-version=2.1.3

Who knows what the problem might be?

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [16 November 2021 11:05 UTC](https://discourse.nodered.org/t/pi-keyboard-not-working-after-node-red-upgraded-from-1-3-7-to-2-1-3-raspberry-pi-3b/53820/2 "2021-11-16T11:05:11Z")

</div>

Do the other Pi nodes work?

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/c/ece39d19f5246f70dc763e8f259ccb4e486ac57e.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [16 November 2021 11:09 UTC](https://discourse.nodered.org/t/pi-keyboard-not-working-after-node-red-upgraded-from-1-3-7-to-2-1-3-raspberry-pi-3b/53820/3 "2021-11-16T11:09:43Z")

</div>

Also, stop node-red and start it again in a terminal, and post the full output here please. When posting use the `</>` button at the top of the forum entry window and paste it in (not a screenshot please). To stop and start you can use  
`node-red-stop`  
`node-red-start`

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [16 November 2021 11:36 UTC](https://discourse.nodered.org/t/pi-keyboard-not-working-after-node-red-upgraded-from-1-3-7-to-2-1-3-raspberry-pi-3b/53820/4 "2021-11-16T11:36:55Z")

</div>

And do you have the latest pi-gpio installed as well ? [node-red-node-pi-gpio (node) - Node-RED](https://flows.nodered.org/node/node-red-node-pi-gpio)

---

<div class="post-metadata">

**Author:** ![Trubochkin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trubochkin/32/20137_2.png) [@Trubochkin](https://discourse.nodered.org/u/Trubochkin)\
**Post date:** [16 November 2021 13:11 UTC](https://discourse.nodered.org/t/pi-keyboard-not-working-after-node-red-upgraded-from-1-3-7-to-2-1-3-raspberry-pi-3b/53820/5 "2021-11-16T13:11:44Z")

</div>

Yes GPIO in/out is work. Keyboard and Mouse not work

---

<div class="post-metadata">

**Author:** ![Trubochkin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trubochkin/32/20137_2.png) [@Trubochkin](https://discourse.nodered.org/u/Trubochkin)\
**Post date:** [16 November 2021 13:18 UTC](https://discourse.nodered.org/t/pi-keyboard-not-working-after-node-red-upgraded-from-1-3-7-to-2-1-3-raspberry-pi-3b/53820/6 "2021-11-16T13:18:51Z")

</div>

The issue is temporarily resolved, installed the previous version of node-red-node-pi-gpio (v1.2.3).The problem is in node-red-node-pi-gpio version 2.0.0, it doesn't work with keyboard and mouse.  
node-red-node-pi-gpiov 1.2.3 works well with the new version of Node-Red (v2.1.3).  
Therefore, be careful when installing a new version of Node-Red, because by default it installs node-red-node-pi-gpio@latest (v2.0.0). It took me half a day to find the reason ))

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [16 November 2021 23:33 UTC](https://discourse.nodered.org/t/pi-keyboard-not-working-after-node-red-upgraded-from-1-3-7-to-2-1-3-raspberry-pi-3b/53820/7 "2021-11-16T23:33:05Z")

</div>

Hopefully now fixed in gpio version 2.0.1

---

<div class="post-metadata">

**Author:** ![Trubochkin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trubochkin/32/20137_2.png) [@Trubochkin](https://discourse.nodered.org/u/Trubochkin)\
**Post date:** [17 November 2021 17:26 UTC](https://discourse.nodered.org/t/pi-keyboard-not-working-after-node-red-upgraded-from-1-3-7-to-2-1-3-raspberry-pi-3b/53820/8 "2021-11-17T17:26:53Z")

</div>

Yes... it's working! Thanks!

---

<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:** [1 December 2021 17:26 UTC](https://discourse.nodered.org/t/pi-keyboard-not-working-after-node-red-upgraded-from-1-3-7-to-2-1-3-raspberry-pi-3b/53820/9 "2021-12-01T17:26:54Z")

</div>

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