# General

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

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

**Page:** 215

---

## [How to add a decimal point?](https://discourse.nodered.org/t/how-to-add-a-decimal-point/78088)

<div class="topic-metadata">

**Author:** [@kelvin](https://discourse.nodered.org/u/kelvin)\
**Replies:** 3\
**Last updated:** [2 May 2023 06:50 UTC](https://discourse.nodered.org/t/how-to-add-a-decimal-point/78088 "2023-05-02T06:50:31Z")

</div>

Hi, 1st my data is from analog input, and now i need to add a decimal point after 7. for example now i getting 7296.406, i wanted my output will be 7.29 some thing like that

---

## [Parsing midi.channel problem](https://discourse.nodered.org/t/parsing-midi-channel-problem/78085)

<div class="topic-metadata">

**Author:** [@vento](https://discourse.nodered.org/u/vento)\
**Replies:** 0\
**Last updated:** [1 May 2023 21:52 UTC](https://discourse.nodered.org/t/parsing-midi-channel-problem/78085 "2023-05-01T21:52:07Z")

</div>

Hi, would be wonderful if anybody can help me, I am trying to split the 6 MIDI channels that arrive via USB from an Elektron Model Samples. I put the first MIDI object, which receives and sends to a switch, which selects…

---

## [CHANGE - msg payload not working?](https://discourse.nodered.org/t/change-msg-payload-not-working/78080)

<div class="topic-metadata">

**Author:** [@aidanvenn](https://discourse.nodered.org/u/aidanvenn)\
**Replies:** 2\
**Last updated:** [1 May 2023 21:15 UTC](https://discourse.nodered.org/t/change-msg-payload-not-working/78080 "2023-05-01T21:15:48Z")

</div>

Hi, As per attached images I cannot appear to get the CHANGE function to SET the msg.payload even though I have downloaded the demo examples from Meraki. It appears to just output the entire payload rather than just the…

---

## [Input required for a cheat sheet of node-red-mcu(-plugin)](https://discourse.nodered.org/t/input-required-for-a-cheat-sheet-of-node-red-mcu-plugin/76486)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 6\
**Last updated:** [1 May 2023 19:46 UTC](https://discourse.nodered.org/t/input-required-for-a-cheat-sheet-of-node-red-mcu-plugin/76486 "2023-05-01T19:46:31Z")

</div>

Hi folks, I am trying to find some time to experiment a bit with node-red-mcu from @phoddie and node-red-mcu-plugin from @ralphwetzel. Very fascinating technology! But I am having some troubles to get started. I have…

---

## [How can I set the status of node "rpi-gpio out"](https://discourse.nodered.org/t/how-can-i-set-the-status-of-node-rpi-gpio-out/78077)

<div class="topic-metadata">

**Author:** [@habnefrage](https://discourse.nodered.org/u/habnefrage)\
**Replies:** 2\
**Last updated:** [1 May 2023 19:46 UTC](https://discourse.nodered.org/t/how-can-i-set-the-status-of-node-rpi-gpio-out/78077 "2023-05-01T19:46:15Z")

</div>

Hi, is it possible to set the status (little icon, color and label) of any node? I found out, that I can set the status of a function node like this: node.status({ fill: "red", shape: "dot", text: "Demo" }); But I wou…

---

## [Sensor reading consistency](https://discourse.nodered.org/t/sensor-reading-consistency/77915)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 23\
**Last updated:** [1 May 2023 16:03 UTC](https://discourse.nodered.org/t/sensor-reading-consistency/77915 "2023-05-01T16:03:37Z")

</div>

Apologies, this is not really a Node-red issue except that a NR dashboard illustrates it. I have 3 BME280s and a BME680 sitting next to each other, each connected wire-wrapped to an ESP8266 and sending sensor readings b…

---

## [Handling a large number of Modbus registers](https://discourse.nodered.org/t/handling-a-large-number-of-modbus-registers/77916)

<div class="topic-metadata">

**Author:** [@abandonedhandrail](https://discourse.nodered.org/u/abandonedhandrail)\
**Replies:** 4\
**Last updated:** [1 May 2023 14:35 UTC](https://discourse.nodered.org/t/handling-a-large-number-of-modbus-registers/77916 "2023-05-01T14:35:48Z")

</div>

Hello node-red community, Is there a better way to read a large numbers of Modbus registers than having multiple Flex-Getters? I'm trying to read registers from around 3,000 modbus channels (addressed 2414 to 5220) and…

---

## [Send different values from an array to different nodes?](https://discourse.nodered.org/t/send-different-values-from-an-array-to-different-nodes/78062)

<div class="topic-metadata">

**Author:** [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)\
**Replies:** 3\
**Last updated:** [1 May 2023 11:21 UTC](https://discourse.nodered.org/t/send-different-values-from-an-array-to-different-nodes/78062 "2023-05-01T11:21:47Z")

</div>

Been searching and trying for a while but I still do something wrong. I have different values coming from the car once in a while (bluelinky). I need some of the values put to different output nodes. I have made a functi…

---

## [Is this even possible?](https://discourse.nodered.org/t/is-this-even-possible/78036)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 7\
**Last updated:** [1 May 2023 11:14 UTC](https://discourse.nodered.org/t/is-this-even-possible/78036 "2023-05-01T11:14:12Z")

</div>

Can this be done, If this "widget" is ran on a web page it will return the price for WTI Crude Oil. Is there a way for me to run this code and extract the WTI price and get it formattted as a json object? \<!-- Crude Pr…

---

## [Payload.illuminance\_lux \< 2 and payload.presence: true then send ON to tasmota switch (function node not working)](https://discourse.nodered.org/t/payload-illuminance-lux-2-and-payload-presence-true-then-send-on-to-tasmota-switch-function-node-not-working/78060)

<div class="topic-metadata">

**Author:** [@murraa](https://discourse.nodered.org/u/murraa)\
**Replies:** 3\
**Last updated:** [1 May 2023 10:06 UTC](https://discourse.nodered.org/t/payload-illuminance-lux-2-and-payload-presence-true-then-send-on-to-tasmota-switch-function-node-not-working/78060 "2023-05-01T10:06:48Z")

</div>

var c = context.get('c') || 0; // initialize variables var m = context.get('m') || 0; if (msg.topic == "illuminance\_lux") // update context based on topic of input { c = {payload: msg.payload}; context.set(…

---

## [Show/add new ESPhome device in Node-red](https://discourse.nodered.org/t/show-add-new-esphome-device-in-node-red/78012)

<div class="topic-metadata">

**Author:** [@selfmade](https://discourse.nodered.org/u/selfmade)\
**Replies:** 20\
**Last updated:** [30 April 2023 22:19 UTC](https://discourse.nodered.org/t/show-add-new-esphome-device-in-node-red/78012 "2023-04-30T22:19:05Z")

</div>

Hello, i try to show/add a new ESPhome Device in Node-Red. what i do already: i create a New ESphome Device (D1-Mini with DHT22 sensor), the Devoce work, ican see is online, the log show me all is ok and in HomeAssis…

---

## [I Need to convert string of decimal to ascii data is coming like this:- NAME : msg.payload : string\[78\] "74 0069 0082 0089 000 0065 0075 0065 0082 0032 0075 0085 0077 0065 0082 000 00"](https://discourse.nodered.org/t/i-need-to-convert-string-of-decimal-to-ascii-data-is-coming-like-this-name-msg-payload-string-78-74-0069-0082-0089-000-0065-0075-0065-0082-0032-0075-0085-0077-0065-0082-000-00/78042)

<div class="topic-metadata">

**Author:** [@PRABHAKAR82](https://discourse.nodered.org/u/PRABHAKAR82)\
**Replies:** 13\
**Last updated:** [30 April 2023 16:46 UTC](https://discourse.nodered.org/t/i-need-to-convert-string-of-decimal-to-ascii-data-is-coming-like-this-name-msg-payload-string-78-74-0069-0082-0089-000-0065-0075-0065-0082-0032-0075-0085-0077-0065-0082-000-00/78042 "2023-04-30T16:46:14Z")

</div>

---

## [How to access a msg.payload that starts with @](https://discourse.nodered.org/t/how-to-access-a-msg-payload-that-starts-with/78048)

<div class="topic-metadata">

**Author:** [@sfdiaz](https://discourse.nodered.org/u/sfdiaz)\
**Replies:** 2\
**Last updated:** [30 April 2023 15:50 UTC](https://discourse.nodered.org/t/how-to-access-a-msg-payload-that-starts-with/78048 "2023-04-30T15:50:10Z")

</div>

I am trying to access a msg.payload that starts with @ msg.payload = msg.payload.@attributes; and I get this error. Does anyone know of a way to access the data?

---

## [Asking about lookup structure / allowed characters](https://discourse.nodered.org/t/asking-about-lookup-structure-allowed-characters/78043)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 8\
**Last updated:** [30 April 2023 12:14 UTC](https://discourse.nodered.org/t/asking-about-lookup-structure-allowed-characters/78043 "2023-04-30T12:14:12Z")

</div>

I'm asking here because if I don't ask, I won't get an answer. Yes, I can test it myself but going on past history for me I still need to ask. (Otherwise I would do just that and it will fail so I have to ask all the s…

---

## [HowTo get name of previous node](https://discourse.nodered.org/t/howto-get-name-of-previous-node/77913)

<div class="topic-metadata">

**Author:** [@Moosbueffel](https://discourse.nodered.org/u/Moosbueffel)\
**Replies:** 18\
**Last updated:** [29 April 2023 20:19 UTC](https://discourse.nodered.org/t/howto-get-name-of-previous-node/77913 "2023-04-29T20:19:23Z")

</div>

I need the name of the previous node. I can't find a hint on internet. Tried some things without success. ChatGPT suggest the following, which also doesnt work. let currentNode = RED.nodes.getNode(msg.\_msgid.split('.')\[…

---

## [Can we change the OPCUA end point from Function](https://discourse.nodered.org/t/can-we-change-the-opcua-end-point-from-function/78033)

<div class="topic-metadata">

**Author:** [@shiv](https://discourse.nodered.org/u/shiv)\
**Replies:** 1\
**Last updated:** [29 April 2023 19:27 UTC](https://discourse.nodered.org/t/can-we-change-the-opcua-end-point-from-function/78033 "2023-04-29T19:27:00Z")

</div>

Hi, For one of our application the endpoint of the OPCUA changes dynamically. Is there any way of changing the end point of the OPCUA from the function, by pushing the endpoint data from msg output.

---

## [Problems with MQTT flow after Excel import and msg modifications](https://discourse.nodered.org/t/problems-with-mqtt-flow-after-excel-import-and-msg-modifications/78030)

<div class="topic-metadata">

**Author:** [@AleXSR700](https://discourse.nodered.org/u/AleXSR700)\
**Replies:** 7\
**Last updated:** [29 April 2023 16:57 UTC](https://discourse.nodered.org/t/problems-with-mqtt-flow-after-excel-import-and-msg-modifications/78030 "2023-04-29T16:57:58Z")

</div>

Hello everyone, the original thread where everything started is now closed, so I will continue here :slight\_smile: I have modified and improved on the entire flow with huge help of this community and some discord chan…

---

## [Flexdash Configuration nodes not saving](https://discourse.nodered.org/t/flexdash-configuration-nodes-not-saving/77697)

<div class="topic-metadata">

**Author:** [@Marc123](https://discourse.nodered.org/u/Marc123)\
**Replies:** 3\
**Last updated:** [29 April 2023 16:49 UTC](https://discourse.nodered.org/t/flexdash-configuration-nodes-not-saving/77697 "2023-04-29T16:49:16Z")

</div>

On the latest Flexdash version, a bug prevents correctly saving some flexdash configuration nodes. For example,if I change a dashboard name or port, it does not get saves, and creating a new dashboard always saves in flo…

---

## [Unable the reach the Nodered (Nodered is not running now)](https://discourse.nodered.org/t/unable-the-reach-the-nodered-nodered-is-not-running-now/78026)

<div class="topic-metadata">

**Author:** [@SaeedJamal](https://discourse.nodered.org/u/SaeedJamal)\
**Replies:** 3\
**Last updated:** [29 April 2023 16:27 UTC](https://discourse.nodered.org/t/unable-the-reach-the-nodered-nodered-is-not-running-now/78026 "2023-04-29T16:27:36Z")

</div>

Hello all, I have Nodered into my Gateway (Advantech wise 6610), it was working very well but now i am facing issue which is (Nodered is not running now). can you advice me about it? I have delete the nodered and rein…

---

## [Dashboard Gauge node with 2 needles](https://discourse.nodered.org/t/dashboard-gauge-node-with-2-needles/78028)

<div class="topic-metadata">

**Author:** [@NPT](https://discourse.nodered.org/u/NPT)\
**Replies:** 3\
**Last updated:** [29 April 2023 15:29 UTC](https://discourse.nodered.org/t/dashboard-gauge-node-with-2-needles/78028 "2023-04-29T15:29:30Z")

</div>

Has anyone modified the standard dashboard gauge node to work with 2 needles? The reason I am asking is I am working on a boat instrumentation panel and would like to display both heading \[ compass bearing \] and track o…

---

## [Node for datetime of next full moon and next new moon](https://discourse.nodered.org/t/node-for-datetime-of-next-full-moon-and-next-new-moon/77988)

<div class="topic-metadata">

**Author:** [@Jpsy](https://discourse.nodered.org/u/Jpsy)\
**Replies:** 4\
**Last updated:** [29 April 2023 10:08 UTC](https://discourse.nodered.org/t/node-for-datetime-of-next-full-moon-and-next-new-moon/77988 "2023-04-29T10:08:33Z")

</div>

I find many nodes for calculating the current moon phase, but none that gives me the date and time of the next full moon / new moon at a given geo location.

---

## [How to automatically create multiple msg.selectRange payloads?](https://discourse.nodered.org/t/how-to-automatically-create-multiple-msg-selectrange-payloads/77802)

<div class="topic-metadata">

**Author:** [@AleXSR700](https://discourse.nodered.org/u/AleXSR700)\
**Replies:** 5\
**Last updated:** [29 April 2023 10:04 UTC](https://discourse.nodered.org/t/how-to-automatically-create-multiple-msg-selectrange-payloads/77802 "2023-04-29T10:04:55Z")

</div>

Hello everyone, this is a bit difficult to explain, I think. I am trying to vary one message parameter but I need to vary it in a bunch of flows simultaneously. I want to change the ranges (like Excel ranges) A1:A22 …

---

## [Commodity API for stock data?](https://discourse.nodered.org/t/commodity-api-for-stock-data/78013)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 1\
**Last updated:** [28 April 2023 21:57 UTC](https://discourse.nodered.org/t/commodity-api-for-stock-data/78013 "2023-04-28T21:57:22Z")

</div>

I realize this is OFF TOPIC but I have been looking for a while and can't find anything. I use to use the (FREE) Commodities-Api to retrieve the real-time stock price of Gold, Silver, WTI Crude Oil, Brent Crude Oil, Nat…

---

## [RAM Creeping | Top Command info contradictory](https://discourse.nodered.org/t/ram-creeping-top-command-info-contradictory/77986)

<div class="topic-metadata">

**Author:** [@Manikandan](https://discourse.nodered.org/u/Manikandan)\
**Replies:** 3\
**Last updated:** [28 April 2023 21:50 UTC](https://discourse.nodered.org/t/ram-creeping-top-command-info-contradictory/77986 "2023-04-28T21:50:37Z")

</div>

Hi, In My Project , I am new to node-red. I have Node-red and Codesys running in my Raspberry PI hardware. The response of the TOP command is contradictory between the available RAM and the individual Application RAM …

---

## [Json -\> Exec Function for Python](https://discourse.nodered.org/t/json-exec-function-for-python/78021)

<div class="topic-metadata">

**Author:** [@krixen](https://discourse.nodered.org/u/krixen)\
**Replies:** 1\
**Last updated:** [28 April 2023 20:48 UTC](https://discourse.nodered.org/t/json-exec-function-for-python/78021 "2023-04-28T20:48:29Z")

</div>

I have seen many topics in here about getting a json input into an exec call for python but a lot of the posts end before the answer is ever found. I have several python calls I intend to make in the node red dashboard,…

---

## [Debug of msg.req of "HTTP IN" node does not show msg.req.headres, but msg.req.rawheaders](https://discourse.nodered.org/t/debug-of-msg-req-of-http-in-node-does-not-show-msg-req-headres-but-msg-req-rawheaders/78023)

<div class="topic-metadata">

**Author:** [@jfmateos](https://discourse.nodered.org/u/jfmateos)\
**Replies:** 3\
**Last updated:** [28 April 2023 19:51 UTC](https://discourse.nodered.org/t/debug-of-msg-req-of-http-in-node-does-not-show-msg-req-headres-but-msg-req-rawheaders/78023 "2023-04-28T19:51:11Z")

</div>

I have an HTTP IN node, linked to 2 debug nodes. The first one debugs msq.req, and it does not show any msg.req.headers property (it contains a rawHeaders one). Nevertheless, debugging msg.req.headers shows that the pr…

---

## [Only pass date same or older](https://discourse.nodered.org/t/only-pass-date-same-or-older/78017)

<div class="topic-metadata">

**Author:** [@madmax](https://discourse.nodered.org/u/madmax)\
**Replies:** 4\
**Last updated:** [28 April 2023 18:27 UTC](https://discourse.nodered.org/t/only-pass-date-same-or-older/78017 "2023-04-28T18:27:38Z")

</div>

Hello! Is it possible to only pass on the flow if the date is the same? I have several payloads where there are dates in payload.date. 2023-05-25 2023-05-12 2023-05-01 2023-05-04 2023-04-25 2023-03-10 2023-04-25 …

---

## [Google BigTable](https://discourse.nodered.org/t/google-bigtable/78010)

<div class="topic-metadata">

**Author:** [@hughsheehy](https://discourse.nodered.org/u/hughsheehy)\
**Replies:** 0\
**Last updated:** [28 April 2023 13:13 UTC](https://discourse.nodered.org/t/google-bigtable/78010 "2023-04-28T13:13:46Z")

</div>

I was just looking to see if there was a node to interact with Google Bigtable. I don't see one in the general google nodes (Bit Query, yes. Big Table, no). Is there one hidden away somewhere? Or a HBase node? Big table…

---

## [Node instal errors please help im new to all of this](https://discourse.nodered.org/t/node-instal-errors-please-help-im-new-to-all-of-this/78003)

<div class="topic-metadata">

**Author:** [@Freddiefarnworth](https://discourse.nodered.org/u/Freddiefarnworth)\
**Replies:** 1\
**Last updated:** [28 April 2023 10:47 UTC](https://discourse.nodered.org/t/node-instal-errors-please-help-im-new-to-all-of-this/78003 "2023-04-28T10:47:49Z")

</div>

Hi i have this error code while trying to instal new nodes can anyone help C:\\Users\\fredd\> npm install node-red-node-arduino npm ERR! code 1 npm ERR! path C:\\Users\\fredd\\node\_modules@serialport\\bindings npm ERR! co…

---

## [Node-red-contrib-json-db DataError: The Data Path can't be empty](https://discourse.nodered.org/t/node-red-contrib-json-db-dataerror-the-data-path-cant-be-empty/77991)

<div class="topic-metadata">

**Author:** [@EchoSmith](https://discourse.nodered.org/u/EchoSmith)\
**Replies:** 2\
**Last updated:** [28 April 2023 09:50 UTC](https://discourse.nodered.org/t/node-red-contrib-json-db-dataerror-the-data-path-cant-be-empty/77991 "2023-04-28T09:50:18Z")

</div>

Hello, I have used this node before without issue, however when I run it in the latest docker container I am getting this error message. DataError: The Data Path can't be empty. If I test it outside a docker it works fi…

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

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