# General

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

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

**Page:** 596

---

## [Set Linux shell environment variable](https://discourse.nodered.org/t/set-linux-shell-environment-variable/41762)

<div class="topic-metadata">

**Author:** [@dcaccount](https://discourse.nodered.org/u/dcaccount)\
**Replies:** 3\
**Last updated:** [2 March 2021 04:34 UTC](https://discourse.nodered.org/t/set-linux-shell-environment-variable/41762 "2021-03-02T04:34:05Z")

</div>

Hello, in Node Red I need to set a Linux Shell environment variable, for instance SPEAKVOL=10 I tried everything, also to create a shell file: #!/bin/sh export SPEAKVOL=$1 and then adding an exec node with the comman…

---

## [Help with header code](https://discourse.nodered.org/t/help-with-header-code/41835)

<div class="topic-metadata">

**Author:** [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Replies:** 6\
**Last updated:** [2 March 2021 00:15 UTC](https://discourse.nodered.org/t/help-with-header-code/41835 "2021-03-02T00:15:19Z")

</div>

Hi folks, Can anyone help me with this please. I have mashed up bits of code from various posts and put this in a "widget in group" template, it is to add a button to the header and also modify content and style of som…

---

## [Getting data from firebase](https://discourse.nodered.org/t/getting-data-from-firebase/41848)

<div class="topic-metadata">

**Author:** [@fikerplunk](https://discourse.nodered.org/u/fikerplunk)\
**Replies:** 1\
**Last updated:** [1 March 2021 23:41 UTC](https://discourse.nodered.org/t/getting-data-from-firebase/41848 "2021-03-01T23:41:16Z")

</div>

Hi! I'm a newbie to node-red and I'm trying to get Firebase data to be displayed in the debug and send data to Firebase to change the current information (realtime firebase). But I'm not getting it, I'm using the node-re…

---

## [ meter reading iskra mt831](https://discourse.nodered.org/t/meter-reading-iskra-mt831/41839)

<div class="topic-metadata">

**Author:** [@gerardo](https://discourse.nodered.org/u/gerardo)\
**Replies:** 1\
**Last updated:** [1 March 2021 23:10 UTC](https://discourse.nodered.org/t/meter-reading-iskra-mt831/41839 "2021-03-01T23:10:16Z")

</div>

Hi, I'm realizing an iot project with node-red, we should read the mt831 iskra counter, the counters mount the MK-f38-3 module, it has an rs485 port with IEC 62056-21 communication protocol. How can I take these reading…

---

## [Http command to trigger arduino](https://discourse.nodered.org/t/http-command-to-trigger-arduino/41861)

<div class="topic-metadata">

**Author:** [@karelmartens](https://discourse.nodered.org/u/karelmartens)\
**Replies:** 1\
**Last updated:** [1 March 2021 22:51 UTC](https://discourse.nodered.org/t/http-command-to-trigger-arduino/41861 "2021-03-01T22:51:44Z")

</div>

I need some guidance on creating a simple button that sends an http request to my arduino webserver. The arduino webserver is listening for commands such as: http://myarduinoip/UP http://myarduinoip/DOWN When launchi…

---

## [Concatenate 2 payload](https://discourse.nodered.org/t/concatenate-2-payload/41850)

<div class="topic-metadata">

**Author:** [@Fifisoft57](https://discourse.nodered.org/u/Fifisoft57)\
**Replies:** 1\
**Last updated:** [1 March 2021 20:42 UTC](https://discourse.nodered.org/t/concatenate-2-payload/41850 "2021-03-01T20:42:17Z")

</div>

concatenate 2 payload hello everyone thank you for welcoming me on this forum. here is my problem: I have 2 payload source: 1 {"action\_group":2,"step\_size":43,"state":"brightness\_up\_click","transition":10} 2 : {"co…

---

## [Accessing nodered running on a laptop from a Raspberry Pi](https://discourse.nodered.org/t/accessing-nodered-running-on-a-laptop-from-a-raspberry-pi/41843)

<div class="topic-metadata">

**Author:** [@Euan](https://discourse.nodered.org/u/Euan)\
**Replies:** 3\
**Last updated:** [1 March 2021 19:48 UTC](https://discourse.nodered.org/t/accessing-nodered-running-on-a-laptop-from-a-raspberry-pi/41843 "2021-03-01T19:48:32Z")

</div>

Hi, I'm new to Raspberry Pi. I've tried searching this question on the forum so apologies if it's been asked before. I've loaded node-red on my pi and can access the pi from my laptop using :1880 but when i try the reve…

---

## [Collecting messages and send a avarage](https://discourse.nodered.org/t/collecting-messages-and-send-a-avarage/41841)

<div class="topic-metadata">

**Author:** [@Muschelpuster](https://discourse.nodered.org/u/Muschelpuster)\
**Replies:** 2\
**Last updated:** [1 March 2021 19:02 UTC](https://discourse.nodered.org/t/collecting-messages-and-send-a-avarage/41841 "2021-03-01T19:02:12Z")

</div>

Hello, I'm new at node-red and so here is my first stupid question: I use the smart-meter-node to get values from my eletric-power-meter over a USB-IR-Adapter. That works well and so at first thanks to the developer of…

---

## [Send udp message on eth1](https://discourse.nodered.org/t/send-udp-message-on-eth1/41813)

<div class="topic-metadata">

**Author:** [@kubasmyk](https://discourse.nodered.org/u/kubasmyk)\
**Replies:** 2\
**Last updated:** [1 March 2021 17:50 UTC](https://discourse.nodered.org/t/send-udp-message-on-eth1/41813 "2021-03-01T17:50:33Z")

</div>

Hi whats the best way to send a udp message on eth1 interface? I think the node red is running on eth0. There doesnt seem to be a way to chose that in the udp send node.?? Thanks

---

## [Multiple stores in localfilesystem](https://discourse.nodered.org/t/multiple-stores-in-localfilesystem/41818)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 4\
**Last updated:** [1 March 2021 16:28 UTC](https://discourse.nodered.org/t/multiple-stores-in-localfilesystem/41818 "2021-03-01T16:28:06Z")

</div>

I have implemented 2 stores in localfilesystem, in order to better handle my persistent global variables. This is in settings. js: contextStorage: { lilioStore: { module: "localfilesystem"}, lilioStoreLu…

---

## ["Error: connect ETIMEDOUT" persist error after delete](https://discourse.nodered.org/t/error-connect-etimedout-persist-error-after-delete/41831)

<div class="topic-metadata">

**Author:** [@Xorkz](https://discourse.nodered.org/u/Xorkz)\
**Replies:** 1\
**Last updated:** [1 March 2021 16:23 UTC](https://discourse.nodered.org/t/error-connect-etimedout-persist-error-after-delete/41831 "2021-03-01T16:23:42Z")

</div>

Hi here ! I have a problem.. I've try to install node-red-node-mysql and configure it. During my configuration I have "Error: connect ETIMEDOUT". After Somes try I finally connect mysql to node red and it works corre…

---

## [Raspberry Pi, freeing up unused memory sooner](https://discourse.nodered.org/t/raspberry-pi-freeing-up-unused-memory-sooner/41830)

<div class="topic-metadata">

**Author:** [@adamelli](https://discourse.nodered.org/u/adamelli)\
**Replies:** 1\
**Last updated:** [1 March 2021 16:18 UTC](https://discourse.nodered.org/t/raspberry-pi-freeing-up-unused-memory-sooner/41830 "2021-03-01T16:18:03Z")

</div>

This might be a hardware question. node-red-pi --max-old-space-size=256 Does that need to be run every time? Source: https://nodered.org/docs/getting-started/raspberrypi#running-locally

---

## [Insert into postgre db](https://discourse.nodered.org/t/insert-into-postgre-db/41150)

<div class="topic-metadata">

**Author:** [@ie-lu](https://discourse.nodered.org/u/ie-lu)\
**Replies:** 1\
**Last updated:** [1 March 2021 16:00 UTC](https://discourse.nodered.org/t/insert-into-postgre-db/41150 "2021-03-01T16:00:46Z")

</div>

Hi community, I am using node red 1.2.6 and a POSTGRESQL13 db and want to insert values into the db with the node "postgrestor". My query within the node: INSERT INTO tightnesstest (diffpressure, carrier, toolid, tsp)…

---

## [Help with API Token and message](https://discourse.nodered.org/t/help-with-api-token-and-message/41827)

<div class="topic-metadata">

**Author:** [@sfedo](https://discourse.nodered.org/u/sfedo)\
**Replies:** 2\
**Last updated:** [1 March 2021 16:06 UTC](https://discourse.nodered.org/t/help-with-api-token-and-message/41827 "2021-03-01T16:06:11Z")

</div>

Hello, I'm using API with bearer auth and http request node. I have a function to set the token and 2 inputs as JSON. Atm I'm using it like this: This is the function: msg.headers = { Authorization: "Bearer "+ f…

---

## [Variable Instance for BACnet Read node](https://discourse.nodered.org/t/variable-instance-for-bacnet-read-node/41832)

<div class="topic-metadata">

**Author:** [@qma](https://discourse.nodered.org/u/qma)\
**Replies:** 0\
**Last updated:** [1 March 2021 15:57 UTC](https://discourse.nodered.org/t/variable-instance-for-bacnet-read-node/41832 "2021-03-01T15:57:19Z")

</div>

Hello, I am using "BACnet Read" node, which contains parameters to read from BACnet Device. However, one of the parameters is "Instance". I need to make this instance variable to be modified by the user (or an external …

---

## [Reading excel file on raspberry pi](https://discourse.nodered.org/t/reading-excel-file-on-raspberry-pi/41809)

<div class="topic-metadata">

**Author:** [@Bradley](https://discourse.nodered.org/u/Bradley)\
**Replies:** 13\
**Last updated:** [1 March 2021 15:41 UTC](https://discourse.nodered.org/t/reading-excel-file-on-raspberry-pi/41809 "2021-03-01T15:41:51Z")

</div>

Is it possible to read a excel file in on a raspberry pi os to get data from that excel sheet or is that not possible. I hope you guys can help me becasue i only find it for windows and anwsers for raspberry pi os. \[{"…

---

## [Input state detection using modbus](https://discourse.nodered.org/t/input-state-detection-using-modbus/41786)

<div class="topic-metadata">

**Author:** [@bartoszek](https://discourse.nodered.org/u/bartoszek)\
**Replies:** 5\
**Last updated:** [1 March 2021 14:25 UTC](https://discourse.nodered.org/t/input-state-detection-using-modbus/41786 "2021-03-01T14:25:57Z")

</div>

Hi! I have a board containing 32 digital input and 2 outputs, with an modbus interface. I want to use it as a interface between node red and a bunch of mono-stable buttons to control home lights (and some other stuff, n…

---

## [Where a subflow has been instantiated](https://discourse.nodered.org/t/where-a-subflow-has-been-instantiated/41794)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 12\
**Last updated:** [1 March 2021 14:22 UTC](https://discourse.nodered.org/t/where-a-subflow-has-been-instantiated/41794 "2021-03-01T14:22:57Z")

</div>

Is there a way to find all flows into which a particular subflow has been deployed?

---

## [Node-red-contrib-aggregator fires at wrong time](https://discourse.nodered.org/t/node-red-contrib-aggregator-fires-at-wrong-time/38650)

<div class="topic-metadata">

**Author:** [@christN](https://discourse.nodered.org/u/christN)\
**Replies:** 21\
**Last updated:** [1 March 2021 14:02 UTC](https://discourse.nodered.org/t/node-red-contrib-aggregator-fires-at-wrong-time/38650 "2021-03-01T14:02:53Z")

</div>

I'm using node-red-contrib-aggregator (v1.5.0) to calculate the daily average ad a temperature value. Node-RED v1.2.1 It is installed in an IOCage jail (FreeBSD 11.3-RELEASE-p14) I expected that it would fire at 0:00 …

---

## [Flow variable initialization](https://discourse.nodered.org/t/flow-variable-initialization/41810)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 6\
**Last updated:** [1 March 2021 13:36 UTC](https://discourse.nodered.org/t/flow-variable-initialization/41810 "2021-03-01T13:36:44Z")

</div>

I have several flow variables that need to be initialized at first deploying. I am using the "Setup" tab in a function node for this purpose. Am I right? What happens when NodeRed is restarted?

---

## [Mysql - "Pool closed" error](https://discourse.nodered.org/t/mysql-pool-closed-error/41168)

<div class="topic-metadata">

**Author:** [@stefandersen](https://discourse.nodered.org/u/stefandersen)\
**Replies:** 1\
**Last updated:** [1 March 2021 12:13 UTC](https://discourse.nodered.org/t/mysql-pool-closed-error/41168 "2021-03-01T12:13:33Z")

</div>

I have a Node RED app running on IBM cloud and are using the “node-red-node-mysql” to make queries to a MySql server running on a Windows Server VM in Azure cloud. For long periods of time it works fine, but then at irre…

---

## [Getting error while running with custom settings.js file](https://discourse.nodered.org/t/getting-error-while-running-with-custom-settings-js-file/41606)

<div class="topic-metadata">

**Author:** [@Sudthakur](https://discourse.nodered.org/u/Sudthakur)\
**Replies:** 11\
**Last updated:** [1 March 2021 11:54 UTC](https://discourse.nodered.org/t/getting-error-while-running-with-custom-settings-js-file/41606 "2021-03-01T11:54:35Z")

</div>

Hello, I am facing issue with the setting.js file. I cloned a project from git. when i am running node-red server with "node-red" command it is automatically picking up default settings.js file from ~\\Users\\thakusu.node…

---

## [Package my node.-red application for deployment in an offline environment](https://discourse.nodered.org/t/package-my-node-red-application-for-deployment-in-an-offline-environment/41669)

<div class="topic-metadata">

**Author:** [@violon77](https://discourse.nodered.org/u/violon77)\
**Replies:** 3\
**Last updated:** [1 March 2021 11:27 UTC](https://discourse.nodered.org/t/package-my-node-red-application-for-deployment-in-an-offline-environment/41669 "2021-03-01T11:27:41Z")

</div>

Hello how to package my node.-red application for deployment in an offline environment or in apache server. thx

---

## [Troubleshooting flow that partially stops working](https://discourse.nodered.org/t/troubleshooting-flow-that-partially-stops-working/13961)

<div class="topic-metadata">

**Author:** [@jeff65](https://discourse.nodered.org/u/jeff65)\
**Replies:** 0\
**Last updated:** [3 August 2019 10:59 UTC](https://discourse.nodered.org/t/troubleshooting-flow-that-partially-stops-working/13961 "2019-08-03T10:59:29Z")

</div>

I am having an issue where the Telegram receiver for my chat stops working after some period of time. Node red runs on an Ubuntu 17.04 VM The receiver works and the flow responds to messages sent to the chat after rebo…

---

## [Button node bug report. (Look at bottom)](https://discourse.nodered.org/t/button-node-bug-report-look-at-bottom/41741)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 31\
**Last updated:** [1 March 2021 09:49 UTC](https://discourse.nodered.org/t/button-node-bug-report-look-at-bottom/41741 "2021-03-01T09:49:13Z")

</div>

This was working. Not too old version of NR. \[{"id":"5dcb15fb.24d17c","type":"inject","z":"39ea4ac5.b46c1e","name":"Inject","repeat":"","crontab":"","once":true,"onceDelay":"3","topic":"","payload":"","payloadType":"st…

---

## [S7 in node problem](https://discourse.nodered.org/t/s7-in-node-problem/41785)

<div class="topic-metadata">

**Author:** [@lee1](https://discourse.nodered.org/u/lee1)\
**Replies:** 0\
**Last updated:** [1 March 2021 07:43 UTC](https://discourse.nodered.org/t/s7-in-node-problem/41785 "2021-03-01T07:43:28Z")

</div>

Hi , i am using S7 in node connect to S7-300 PLC, the node show status on line , but in the debugging area, showing failure(bad values). have you experienced this problem?

---

## [Insert variable into a change node](https://discourse.nodered.org/t/insert-variable-into-a-change-node/41779)

<div class="topic-metadata">

**Author:** [@nappyjim](https://discourse.nodered.org/u/nappyjim)\
**Replies:** 2\
**Last updated:** [1 March 2021 07:41 UTC](https://discourse.nodered.org/t/insert-variable-into-a-change-node/41779 "2021-03-01T07:41:00Z")

</div>

This is Home Assistant related, but I believe someone here may be able to help. I found similar question on here, but it dealth with a http response. \[{"id":"9d4d90de.91179","type":"tab","label":"Flow 5","disabled":fa…

---

## [Node-red-contrib-xbee wont install](https://discourse.nodered.org/t/node-red-contrib-xbee-wont-install/41766)

<div class="topic-metadata">

**Author:** [@Rezcue](https://discourse.nodered.org/u/Rezcue)\
**Replies:** 13\
**Last updated:** [1 March 2021 07:40 UTC](https://discourse.nodered.org/t/node-red-contrib-xbee-wont-install/41766 "2021-03-01T07:40:01Z")

</div>

Im trying to install node-red-contrib-xbee in Node-Red on Rasbian. Get this error.... npm 2021-02-28T20:02:52.971Z \[err\] ERR! code 1 2021-02-28T20:02:52.971Z \[err\] npm ERR! path /home/pi/.node-red/node\_modules/node-re…

---

## [XBee collect data](https://discourse.nodered.org/t/xbee-collect-data/38706)

<div class="topic-metadata">

**Author:** [@Martin10](https://discourse.nodered.org/u/Martin10)\
**Replies:** 6\
**Last updated:** [1 March 2021 07:16 UTC](https://discourse.nodered.org/t/xbee-collect-data/38706 "2021-03-01T07:16:32Z")

</div>

Hi, i use XBee modules with breadboard on which i can connect sensors and i want to collect this data via Node-red. I saw this video, which use XBee with NR, but don't understand how to collect sensor data from the XBee.…

---

## [Sensor Values in Function Node](https://discourse.nodered.org/t/sensor-values-in-function-node/41748)

<div class="topic-metadata">

**Author:** [@wdwithmp](https://discourse.nodered.org/u/wdwithmp)\
**Replies:** 4\
**Last updated:** [1 March 2021 06:14 UTC](https://discourse.nodered.org/t/sensor-values-in-function-node/41748 "2021-03-01T06:14:25Z")

</div>

Apologies in advance for the question, new to node red. I am trying to use a function node to create a string that I can then pass as a payload to a call service node that will be used for tts when i use the below is s…

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

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