# Latest

**URL:** https://discourse.nodered.org/latest.md?page=872

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

**Page:** 873

---

## [Turning an array of acceleration values into individual records for influxdb](https://discourse.nodered.org/t/turning-an-array-of-acceleration-values-into-individual-records-for-influxdb/41871)

<div class="topic-metadata">

**Author:** [@seismo](https://discourse.nodered.org/u/seismo)\
**Replies:** 3\
**Last updated:** [2 March 2021 08:09 UTC](https://discourse.nodered.org/t/turning-an-array-of-acceleration-values-into-individual-records-for-influxdb/41871 "2021-03-02T08:09:34Z")

</div>

Hi there! I am using Node-RED to take incoming MQTT msgs every second that contain values from an accelerometer. Each msg has an array of JSON objects that contain x,y,z arrays of 32 floats, as well as the device id. A …

---

## [Get different messages from ui-template while using ng-repeat](https://discourse.nodered.org/t/get-different-messages-from-ui-template-while-using-ng-repeat/41808)

<div class="topic-metadata">

**Author:** [@YT2310](https://discourse.nodered.org/u/YT2310)\
**Replies:** 2\
**Last updated:** [2 March 2021 07:33 UTC](https://discourse.nodered.org/t/get-different-messages-from-ui-template-while-using-ng-repeat/41808 "2021-03-02T07:33:37Z")

</div>

Hey there, I am trying to get a feedback from a table by using the template node. Therefore I want to give every row a link (works like a button) so that i can choose between the rows (see first screenshot). The goal …

---

## [Timestamp conversion to date totally off](https://discourse.nodered.org/t/timestamp-conversion-to-date-totally-off/41872)

<div class="topic-metadata">

**Author:** [@bstabens](https://discourse.nodered.org/u/bstabens)\
**Replies:** 1\
**Last updated:** [2 March 2021 06:01 UTC](https://discourse.nodered.org/t/timestamp-conversion-to-date-totally-off/41872 "2021-03-02T06:01:42Z")

</div>

I have an inject node I run periodically. I take msg.timestamp and try to convert it to human readable form var a = new Date(); msg.payload = { "Time": a.toLocaleTimeString(msg.timestamp\*1000)}; return msg And I get al…

---

## [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…

---

## [Get output from button](https://discourse.nodered.org/t/get-output-from-button/41771)

<div class="topic-metadata">

**Author:** [@mune](https://discourse.nodered.org/u/mune)\
**Replies:** 6\
**Last updated:** [1 March 2021 21:43 UTC](https://discourse.nodered.org/t/get-output-from-button/41771 "2021-03-01T21:43:44Z")

</div>

It seems the easiest thing ever, but I can't do it, even googling and reading for a week. With a function node I prepare a msg object like: msg.payload = "label number 1"; msg.background="cyan"; msg.color="blue"; then…

---

## [\[ANNOUNCE\] node-red-contrib-ui-babylonjs-3d : first beta](https://discourse.nodered.org/t/announce-node-red-contrib-ui-babylonjs-3d-first-beta/41742)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 8\
**Last updated:** [1 March 2021 21:00 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-ui-babylonjs-3d-first-beta/41742 "2021-03-01T21:00:55Z")

</div>

Hi folks, Two months ago I was experimenting with light sources in SVG drawings. Although SVG is "very" useful for a lot of use cases, it immediately became clear to me that 2D drawings are just too limited for this ki…

---

## [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…

---

## [Dashboard layout editor - move & resize bug](https://discourse.nodered.org/t/dashboard-layout-editor-move-resize-bug/41323)

<div class="topic-metadata">

**Author:** [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Replies:** 3\
**Last updated:** [1 March 2021 17:58 UTC](https://discourse.nodered.org/t/dashboard-layout-editor-move-resize-bug/41323 "2021-03-01T17:58:18Z")

</div>

Hello I am using node red 1.2.9 and safari. Sometimes the resize and the move don't work. I don't know how replicate it ...

---

## [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…

---

## [Ui-table display update](https://discourse.nodered.org/t/ui-table-display-update/41780)

<div class="topic-metadata">

**Author:** [@davidz](https://discourse.nodered.org/u/davidz)\
**Replies:** 2\
**Last updated:** [1 March 2021 16:00 UTC](https://discourse.nodered.org/t/ui-table-display-update/41780 "2021-03-01T16:00:50Z")

</div>

I run into a strange problem and need some help here :sweat\_smile: I am using ui-table to display sensor information. Somehow, the ui-table information is not updated until I refresh the browser. I write a test code her…

---

## [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. \[{"…

---

## [S7 node Variables in input?](https://discourse.nodered.org/t/s7-node-variables-in-input/39841)

<div class="topic-metadata">

**Author:** [@jlb](https://discourse.nodered.org/u/jlb)\
**Replies:** 7\
**Last updated:** [1 March 2021 15:11 UTC](https://discourse.nodered.org/t/s7-node-variables-in-input/39841 "2021-03-01T15:11:56Z")

</div>

Hello, i'd like to know if it's possible with one of the S7 PLC nodes to send on input a list of variables in order to use only one node by changing the variables dynamically instead of using multiple nodes or read hundr…

---

## [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?

---

## [Back Button on UI Pages](https://discourse.nodered.org/t/back-button-on-ui-pages/41693)

<div class="topic-metadata">

**Author:** [@psalibe](https://discourse.nodered.org/u/psalibe)\
**Replies:** 3\
**Last updated:** [1 March 2021 14:18 UTC](https://discourse.nodered.org/t/back-button-on-ui-pages/41693 "2021-03-01T14:18:19Z")

</div>

Hello, I am looking to make a button for the Node Red UI that will simply take me back to the last tab I was on. The solution posted in this topic seems like what I need to do, I am just relatively new to Node-Red / codi…

---

## [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?

---

## [Node-red-contrib-ui-multistate switch potential drawback](https://discourse.nodered.org/t/node-red-contrib-ui-multistate-switch-potential-drawback/41743)

<div class="topic-metadata">

**Author:** [@Robertotarga](https://discourse.nodered.org/u/Robertotarga)\
**Replies:** 7\
**Last updated:** [1 March 2021 12:18 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-multistate-switch-potential-drawback/41743 "2021-03-01T12:18:03Z")

</div>

Multistate switch v. 1.0, NR 1.1.3 I'm testing this very intersting node, but I discovered a possible, at least for me, drawback. I noticed that the input message is passed to the output as well and it may cause undesi…

[Previous page](https://discourse.nodered.org/latest.md?page=871)

[Next page](https://discourse.nodered.org/latest.md?page=873)
