# General

**URL:** https://discourse.nodered.org/c/general/7.md?page=342

[Latest](https://discourse.nodered.org/latest.md) · [Categories](https://discourse.nodered.org/categories.md) · [Tags](https://discourse.nodered.org/tags.md)

**Page:** 343

---

## [Update to version 3.0 on Raspbi 2](https://discourse.nodered.org/t/update-to-version-3-0-on-raspbi-2/65761)

<div class="topic-metadata">

**Author:** [@nosered1966](https://discourse.nodered.org/u/nosered1966)\
**Replies:** 7\
**Last updated:** [30 July 2022 13:52 UTC](https://discourse.nodered.org/t/update-to-version-3-0-on-raspbi-2/65761 "2022-07-30T13:52:15Z")

</div>

Hi all, I am using version 2.1.4 on a raspberry pi 2b and everything works fine. Does an update to version 3.0 make sense or do I run into problems with this old device? In addition: Do I need to do separate steps to …

---

## [How to set up a TCP server on the red node, how to send the information to the client](https://discourse.nodered.org/t/how-to-set-up-a-tcp-server-on-the-red-node-how-to-send-the-information-to-the-client/65788)

<div class="topic-metadata">

**Author:** [@kyx101](https://discourse.nodered.org/u/kyx101)\
**Replies:** 4\
**Last updated:** [30 July 2022 11:32 UTC](https://discourse.nodered.org/t/how-to-set-up-a-tcp-server-on-the-red-node-how-to-send-the-information-to-the-client/65788 "2022-07-30T11:32:23Z")

</div>

Establish a TCP server on the red node, how to send information to the client, and use the echo method will cause other ports to be polluted.

---

## [Trigger output once](https://discourse.nodered.org/t/trigger-output-once/65665)

<div class="topic-metadata">

**Author:** [@kelvin](https://discourse.nodered.org/u/kelvin)\
**Replies:** 6\
**Last updated:** [30 July 2022 09:39 UTC](https://discourse.nodered.org/t/trigger-output-once/65665 "2022-07-30T09:39:43Z")

</div>

Hello everyone, I'm here asking , i currently have an issue when i have multiple true inject nodes going into 1 debug node, however when i inject 3 times it's give me 3 output values , but since the value are the same i…

---

## [How to automatically create global variables using an array](https://discourse.nodered.org/t/how-to-automatically-create-global-variables-using-an-array/65464)

<div class="topic-metadata">

**Author:** [@jaimmor](https://discourse.nodered.org/u/jaimmor)\
**Replies:** 7\
**Last updated:** [30 July 2022 05:02 UTC](https://discourse.nodered.org/t/how-to-automatically-create-global-variables-using-an-array/65464 "2022-07-30T05:02:07Z")

</div>

Hello all, Newb here, trying to learn. I have a node that will be passing down two string values that I want to assign to two different global variables, var1 and var2 I am having trouble with my code on how to do tha…

---

## [Need motion sensor filter flow to output an 'on' only once while restarting a 10 minute counter. No more "on" outputs until after 10 mins of no motion](https://discourse.nodered.org/t/need-motion-sensor-filter-flow-to-output-an-on-only-once-while-restarting-a-10-minute-counter-no-more-on-outputs-until-after-10-mins-of-no-motion/65795)

<div class="topic-metadata">

**Author:** [@AgingTechNerd](https://discourse.nodered.org/u/AgingTechNerd)\
**Replies:** 3\
**Last updated:** [30 July 2022 02:54 UTC](https://discourse.nodered.org/t/need-motion-sensor-filter-flow-to-output-an-on-only-once-while-restarting-a-10-minute-counter-no-more-on-outputs-until-after-10-mins-of-no-motion/65795 "2022-07-30T02:54:17Z")

</div>

Made lots of progress with node red flows so I'm almost embarrassed to ask this question: I have my driveway motion sensor which just sends on and then a quick off. I want to use that to trigger a "Driveway motion" text…

---

## [Node-red-contrib-play-sound](https://discourse.nodered.org/t/node-red-contrib-play-sound/65800)

<div class="topic-metadata">

**Author:** [@maartengeerlingd](https://discourse.nodered.org/u/maartengeerlingd)\
**Replies:** 1\
**Last updated:** [30 July 2022 00:39 UTC](https://discourse.nodered.org/t/node-red-contrib-play-sound/65800 "2022-07-30T00:39:40Z")

</div>

Does anyone have an example of this node running on a ubuntu machine? I can't get it to play any sound. When I start an mp3 it auto stops directly. I image it has something to do with the options you can provide. I h…

---

## [Verify a Shopify Webhook Signature](https://discourse.nodered.org/t/verify-a-shopify-webhook-signature/65803)

<div class="topic-metadata">

**Author:** [@Landsailor](https://discourse.nodered.org/u/Landsailor)\
**Replies:** 0\
**Last updated:** [29 July 2022 23:41 UTC](https://discourse.nodered.org/t/verify-a-shopify-webhook-signature/65803 "2022-07-29T23:41:20Z")

</div>

I am trying to figure out how to verify a signature header sent with a Shopify Webhook, but there's something that I'm missing. It feels like it should be possible using this crypto-js palette but I can't seem to get it …

---

## [How to get a Flic button to work with docker and a Pi3](https://discourse.nodered.org/t/how-to-get-a-flic-button-to-work-with-docker-and-a-pi3/65786)

<div class="topic-metadata">

**Author:** [@CypherMK](https://discourse.nodered.org/u/CypherMK)\
**Replies:** 4\
**Last updated:** [29 July 2022 22:58 UTC](https://discourse.nodered.org/t/how-to-get-a-flic-button-to-work-with-docker-and-a-pi3/65786 "2022-07-29T22:58:11Z")

</div>

I use a Flic bluetooth button connected to my Pi3.I have an issue converting from an installed node red using the bash script (Running on Raspberry Pi : Node-RED) going to a docker version. When I use the same config fil…

---

## [Need help with State nodes. Trying to get the state of a Shelly 1 detached switch as trigger for a flow](https://discourse.nodered.org/t/need-help-with-state-nodes-trying-to-get-the-state-of-a-shelly-1-detached-switch-as-trigger-for-a-flow/65025)

<div class="topic-metadata">

**Author:** [@AgingTechNerd](https://discourse.nodered.org/u/AgingTechNerd)\
**Replies:** 26\
**Last updated:** [20 July 2022 23:04 UTC](https://discourse.nodered.org/t/need-help-with-state-nodes-trying-to-get-the-state-of-a-shelly-1-detached-switch-as-trigger-for-a-flow/65025 "2022-07-20T23:04:52Z")

</div>

HA/Node Red noob here. Been watching lots of videos about the flows and inject, debug nodes etc. Been spinning my wheels on the details of triggering on a Shelly device. I've played with the various State nodes to read …

---

## [Debian OS "nodered.service: Main process exited, code=killed, status=5/TRAP"](https://discourse.nodered.org/t/debian-os-nodered-service-main-process-exited-code-killed-status-5-trap/65714)

<div class="topic-metadata">

**Author:** [@raspberry](https://discourse.nodered.org/u/raspberry)\
**Replies:** 30\
**Last updated:** [29 July 2022 17:00 UTC](https://discourse.nodered.org/t/debian-os-nodered-service-main-process-exited-code-killed-status-5-trap/65714 "2022-07-29T17:00:12Z")

</div>

Hey all, This is the first time I am using Node-RED on Raspberry PI OS that has been installed into a PC. I didn't know this was even possible until recently, but the install was a success and now I'm trying to get my n…

---

## [All injector buttons greyed out](https://discourse.nodered.org/t/all-injector-buttons-greyed-out/65784)

<div class="topic-metadata">

**Author:** [@stevegroom](https://discourse.nodered.org/u/stevegroom)\
**Replies:** 7\
**Last updated:** [29 July 2022 16:31 UTC](https://discourse.nodered.org/t/all-injector-buttons-greyed-out/65784 "2022-07-29T16:31:08Z")

</div>

I was experimenting with dashboard elements and global context on NodeRed 3.0.1. I was using the injector node buttons to simulate various actions. At some point all the injector buttons (across this and all other flows…

---

## [Auto start corresponding to "node-red-pi --max-old-space-size=256"](https://discourse.nodered.org/t/auto-start-corresponding-to-node-red-pi-max-old-space-size-256/65687)

<div class="topic-metadata">

**Author:** [@Jeff2](https://discourse.nodered.org/u/Jeff2)\
**Replies:** 28\
**Last updated:** [29 July 2022 12:49 UTC](https://discourse.nodered.org/t/auto-start-corresponding-to-node-red-pi-max-old-space-size-256/65687 "2022-07-29T12:49:49Z")

</div>

Hi, My Raspberry Pi doesn't like the "node-red-start" command line (provides errors), but is OK with "node-red-pi --max-old-space-size=256" command line. Therefore, I would like to know what is the corresponding comman…

---

## [Shorten message](https://discourse.nodered.org/t/shorten-message/65781)

<div class="topic-metadata">

**Author:** [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Replies:** 3\
**Last updated:** [29 July 2022 12:34 UTC](https://discourse.nodered.org/t/shorten-message/65781 "2022-07-29T12:34:29Z")

</div>

Hi guys, i got the following msg from Kodi over MQTT "{"val": "Titel"}" and i just want to see the titel on the Dashboard without the rest. My function works but its not flexible Thanks in advance

---

## [Node-red-contrib-netatmo-homecoach issue with Node Red 2.2.2](https://discourse.nodered.org/t/node-red-contrib-netatmo-homecoach-issue-with-node-red-2-2-2/65758)

<div class="topic-metadata">

**Author:** [@DRF](https://discourse.nodered.org/u/DRF)\
**Replies:** 2\
**Last updated:** [29 July 2022 11:56 UTC](https://discourse.nodered.org/t/node-red-contrib-netatmo-homecoach-issue-with-node-red-2-2-2/65758 "2022-07-29T11:56:58Z")

</div>

Hello, On Node-Red (v2.2.2) I have installed the node-red-contrib-netatmo-homecoach library (v1.0.0) and the node "get home coaches data" does not have the edit button to introduce the credentials in order to connect to…

---

## [\`substr\` is deprecated](https://discourse.nodered.org/t/substr-is-deprecated/65777)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 4\
**Last updated:** [29 July 2022 11:08 UTC](https://discourse.nodered.org/t/substr-is-deprecated/65777 "2022-07-29T11:08:41Z")

</div>

Hi, Help me understand please ... I have a function and variable var\_push is a string value "06.10"; the function work fine... If I change the function (image) I have a alert? warning? (image) Why? Where is …

---

## [Node-red: telegram](https://discourse.nodered.org/t/node-red-telegram/65733)

<div class="topic-metadata">

**Author:** [@thanhbinh](https://discourse.nodered.org/u/thanhbinh)\
**Replies:** 4\
**Last updated:** [29 July 2022 10:08 UTC](https://discourse.nodered.org/t/node-red-telegram/65733 "2022-07-29T10:08:36Z")

</div>

Hello everyone, I'm working telegram related to node-red I want to display data from PLC to telegram, but I don't know how to do it.

---

## [Package.json missing](https://discourse.nodered.org/t/package-json-missing/65748)

<div class="topic-metadata">

**Author:** [@quickquestion](https://discourse.nodered.org/u/quickquestion)\
**Replies:** 5\
**Last updated:** [29 July 2022 09:12 UTC](https://discourse.nodered.org/t/package-json-missing/65748 "2022-07-29T09:12:02Z")

</div>

Hi, everytime i try to clone my repo from gitlab to my Debian 11.0 Vm it tells me that the package.json file is missing but on my windows pc it all works. Does somebody know what i can do to fix it?

---

## [New to Node-Red.. is this possible?](https://discourse.nodered.org/t/new-to-node-red-is-this-possible/65694)

<div class="topic-metadata">

**Author:** [@EaB11](https://discourse.nodered.org/u/EaB11)\
**Replies:** 9\
**Last updated:** [29 July 2022 02:18 UTC](https://discourse.nodered.org/t/new-to-node-red-is-this-possible/65694 "2022-07-29T02:18:59Z")

</div>

hi.. i have just discovered Node-Red and was wondering if it may be able to help me with a little project i have in mind... I want to create a small device with one button that a user can press and it sends either a key…

---

## [Pi OS 11 64 bit, NR 3.0, Node 16, 11 IoT devices, using node-red-contrib-tuya-smart-device modules, load consistently over 100%?](https://discourse.nodered.org/t/pi-os-11-64-bit-nr-3-0-node-16-11-iot-devices-using-node-red-contrib-tuya-smart-device-modules-load-consistently-over-100/65503)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 8\
**Last updated:** [29 July 2022 02:09 UTC](https://discourse.nodered.org/t/pi-os-11-64-bit-nr-3-0-node-16-11-iot-devices-using-node-red-contrib-tuya-smart-device-modules-load-consistently-over-100/65503 "2022-07-29T02:09:26Z")

</div>

NR 3.0, Node 16, Pi 3B, 11 IoT devices, using node-red-contrib-tuya-smart-device modules, load consistently over 100%? Anyone else seeing something similar? The Pi is running 64 bit OS 11, BTW. Just a sanity check que…

---

## [Help with Filesystem](https://discourse.nodered.org/t/help-with-filesystem/65393)

<div class="topic-metadata">

**Author:** [@jgreenmt](https://discourse.nodered.org/u/jgreenmt)\
**Replies:** 31\
**Last updated:** [29 July 2022 01:02 UTC](https://discourse.nodered.org/t/help-with-filesystem/65393 "2022-07-29T01:02:34Z")

</div>

Hello, I am running Node-RED on a raspberry pi 4. For future projects I would like a reliable way to read files from other raspberry pi's on the same network, as well as, windows 10 computers. To give a little context,…

---

## [Audio File Upload](https://discourse.nodered.org/t/audio-file-upload/65718)

<div class="topic-metadata">

**Author:** [@jgreenmt](https://discourse.nodered.org/u/jgreenmt)\
**Replies:** 17\
**Last updated:** [29 July 2022 01:00 UTC](https://discourse.nodered.org/t/audio-file-upload/65718 "2022-07-29T01:00:31Z")

</div>

Hello, I am trying to understand the best way to upload an audio file using the dashboard to be able to save to the local system running Node-RED. I am running the latest version of Node-RED (v3.0.0) on a Raspberry Pi …

---

## [Synchronizing lights state before toggling them](https://discourse.nodered.org/t/synchronizing-lights-state-before-toggling-them/65722)

<div class="topic-metadata">

**Author:** [@srvmonchy](https://discourse.nodered.org/u/srvmonchy)\
**Replies:** 5\
**Last updated:** [28 July 2022 21:47 UTC](https://discourse.nodered.org/t/synchronizing-lights-state-before-toggling-them/65722 "2022-07-28T21:47:24Z")

</div>

Hi there, Brand new on on this forum and on node red... always a first time ! I am running node-red /w homeassistant and loving it. I am trying to set up the long click action on a switch to toggle a group of 3 differ…

---

## [NodeRed clears context when switching projects](https://discourse.nodered.org/t/nodered-clears-context-when-switching-projects/65757)

<div class="topic-metadata">

**Author:** [@SSHIntoMe](https://discourse.nodered.org/u/SSHIntoMe)\
**Replies:** 8\
**Last updated:** [28 July 2022 20:18 UTC](https://discourse.nodered.org/t/nodered-clears-context-when-switching-projects/65757 "2022-07-28T20:18:55Z")

</div>

Is there any way to retain the context data written to "file", when switching between different projects. I uncheck the "Clear Context when switching projects" setting, however, Nodered physically deletes the context fo…

---

## [RPi GPIO low - floating or low?](https://discourse.nodered.org/t/rpi-gpio-low-floating-or-low/65656)

<div class="topic-metadata">

**Author:** [@JoshNZ](https://discourse.nodered.org/u/JoshNZ)\
**Replies:** 12\
**Last updated:** [28 July 2022 18:42 UTC](https://discourse.nodered.org/t/rpi-gpio-low-floating-or-low/65656 "2022-07-28T18:42:42Z")

</div>

Hi all, Just a quick question that a google search hasn't been able to clarify, if I use an rpi-gpio out node and set it to low, is it really held low (by means of the internal pull-down resistors) or is it just floatin…

---

## [Add security to the flow or to a node](https://discourse.nodered.org/t/add-security-to-the-flow-or-to-a-node/65759)

<div class="topic-metadata">

**Author:** [@fsaavedra](https://discourse.nodered.org/u/fsaavedra)\
**Replies:** 1\
**Last updated:** [28 July 2022 18:13 UTC](https://discourse.nodered.org/t/add-security-to-the-flow-or-to-a-node/65759 "2022-07-28T18:13:07Z")

</div>

Good afternoon to all this great community, Along with the hello, I have the problem of having a flow in which there are nodes that some people have to access, but other nodes that do not, so I would like to hide or sec…

---

## [AND logic not working with localhost inputs](https://discourse.nodered.org/t/and-logic-not-working-with-localhost-inputs/65152)

<div class="topic-metadata">

**Author:** [@hectorbach2](https://discourse.nodered.org/u/hectorbach2)\
**Replies:** 7\
**Last updated:** [28 July 2022 17:02 UTC](https://discourse.nodered.org/t/and-logic-not-working-with-localhost-inputs/65152 "2022-07-28T17:02:27Z")

</div>

I'm a newb on this programming people and need help, Im using AND logic with local inputs but it is not working however when use ultimate inject the AND logic works fine, can some one watch what do I need to change? what…

---

## [Suggest Best Courses and Books to Learn JavaScript](https://discourse.nodered.org/t/suggest-best-courses-and-books-to-learn-javascript/65705)

<div class="topic-metadata">

**Author:** [@Lokeshjoshi](https://discourse.nodered.org/u/Lokeshjoshi)\
**Replies:** 6\
**Last updated:** [28 July 2022 15:42 UTC](https://discourse.nodered.org/t/suggest-best-courses-and-books-to-learn-javascript/65705 "2022-07-28T15:42:03Z")

</div>

Hello everyone, I am in the Third Year of Engineering and I want to learn JavaScript, I saw many YouTube Videos to learn javascript but I am finding it very difficult to understand the logic, can anyone please recommend …

---

## [How to work with multiple inputs and saved vars](https://discourse.nodered.org/t/how-to-work-with-multiple-inputs-and-saved-vars/65633)

<div class="topic-metadata">

**Author:** [@NickB](https://discourse.nodered.org/u/NickB)\
**Replies:** 8\
**Last updated:** [28 July 2022 15:42 UTC](https://discourse.nodered.org/t/how-to-work-with-multiple-inputs-and-saved-vars/65633 "2022-07-28T15:42:00Z")

</div>

Hi, I have an Ikea 'volume button' what I use for my sonos. This works. The only annoying thing: when I adjust the volume with something else then the Ikea button, you have a volume 'jump' the next time you use the but…

---

## [Set Call Service Node Data to Payload Value](https://discourse.nodered.org/t/set-call-service-node-data-to-payload-value/65751)

<div class="topic-metadata">

**Author:** [@Teleportist](https://discourse.nodered.org/u/Teleportist)\
**Replies:** 3\
**Last updated:** [28 July 2022 14:23 UTC](https://discourse.nodered.org/t/set-call-service-node-data-to-payload-value/65751 "2022-07-28T14:23:59Z")

</div>

I've looked everywhere, but amazingly can't find an answer to this, seemingly simple problem. I'm fairly new to Node Red, so please go gently on me. I'm trying to use a call service node to set the brightness and ultim…

---

## [Read Data from Omron machine (use OmFins protocoll)](https://discourse.nodered.org/t/read-data-from-omron-machine-use-omfins-protocoll/65410)

<div class="topic-metadata">

**Author:** [@matteovi](https://discourse.nodered.org/u/matteovi)\
**Replies:** 6\
**Last updated:** [28 July 2022 13:24 UTC](https://discourse.nodered.org/t/read-data-from-omron-machine-use-omfins-protocoll/65410 "2022-07-28T13:24:40Z")

</div>

Hi, i'm trying to connect pvc Omron CJ2M machine to node red and reading data... I've tryed more type of connections, but all connections don't work. I copy here my flow, hoping someone could help me... \[ { …

[Previous page](https://discourse.nodered.org/c/general/7.md?page=341)

[Next page](https://discourse.nodered.org/c/general/7.md?page=343)
