# Latest

**URL:** https://discourse.nodered.org/latest.md?no_subcategories=false&page=478

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

**Page:** 479

---

## [How to compare sensor values with a number](https://discourse.nodered.org/t/how-to-compare-sensor-values-with-a-number/69337)

<div class="topic-metadata">

**Author:** [@Randomguys](https://discourse.nodered.org/u/Randomguys)\
**Replies:** 3\
**Last updated:** [20 October 2022 16:08 UTC](https://discourse.nodered.org/t/how-to-compare-sensor-values-with-a-number/69337 "2022-10-20T16:08:08Z")

</div>

Hello everyone, I'm new here. I'm struggling to write a function that compare a sensor value with a number then return 1 if the sensor value equal or grater than the number and return 0 if it smaller. I'm using Modbus RT…

---

## [Allow to specify filename of flows\_cred.json, like flowFile in settings.js](https://discourse.nodered.org/t/allow-to-specify-filename-of-flows-cred-json-like-flowfile-in-settings-js/67697)

<div class="topic-metadata">

**Author:** [@JoW](https://discourse.nodered.org/u/JoW)\
**Replies:** 5\
**Last updated:** [20 October 2022 14:30 UTC](https://discourse.nodered.org/t/allow-to-specify-filename-of-flows-cred-json-like-flowfile-in-settings-js/67697 "2022-10-20T14:30:45Z")

</div>

This would allow, like the flowFile, to put it in a subdirectory. This way flows.json and the corresponding flows\_cred.json file can be in their own git repository (when not using the git integration of node-RED). This…

---

## [Extract many value from a string in different msg.payload](https://discourse.nodered.org/t/extract-many-value-from-a-string-in-different-msg-payload/69319)

<div class="topic-metadata">

**Author:** [@alexdelli](https://discourse.nodered.org/u/alexdelli)\
**Replies:** 4\
**Last updated:** [20 October 2022 14:08 UTC](https://discourse.nodered.org/t/extract-many-value-from-a-string-in-different-msg-payload/69319 "2022-10-20T14:08:45Z")

</div>

Hi all I'm a newbie in node red, but I like this powerful tool. I'm extracting a topic from MQTT with a lot of data with single message and I need to take every row value and create a msg.paylod for each value. So, I…

---

## [Properties with spaces in template node: how?](https://discourse.nodered.org/t/properties-with-spaces-in-template-node-how/69283)

<div class="topic-metadata">

**Author:** [@JayDickson](https://discourse.nodered.org/u/JayDickson)\
**Replies:** 4\
**Last updated:** [20 October 2022 14:06 UTC](https://discourse.nodered.org/t/properties-with-spaces-in-template-node-how/69283 "2022-10-20T14:06:52Z")

</div>

I'm looking to use a template node to build a message that is being thrown together using properties of an object that has spaces in some of the properties. In a previous version of the flow, I manually moved all of thes…

---

## [NodeJS for encoding/decoding MAVLink messages](https://discourse.nodered.org/t/nodejs-for-encoding-decoding-mavlink-messages/5231)

<div class="topic-metadata">

**Author:** [@mrizkywiguna](https://discourse.nodered.org/u/mrizkywiguna)\
**Replies:** 2\
**Last updated:** [27 November 2018 09:14 UTC](https://discourse.nodered.org/t/nodejs-for-encoding-decoding-mavlink-messages/5231 "2018-11-27T09:14:47Z")

</div>

Hi All, I've plan to read paramater GCS from Pixhawk to Node-red. We know this flight controller use Mavlink protocol, and I've found this module from Omcaree Github: My question is Has anyone ever tried to encoding/…

---

## [Change wire colors](https://discourse.nodered.org/t/change-wire-colors/69307)

<div class="topic-metadata">

**Author:** [@stefaanv](https://discourse.nodered.org/u/stefaanv)\
**Replies:** 6\
**Last updated:** [20 October 2022 12:16 UTC](https://discourse.nodered.org/t/change-wire-colors/69307 "2022-10-20T12:16:39Z")

</div>

Is it possible to change the color of wires ? Would be nice to make different types of information flow visible in the flow.

---

## [Getting value from MQTT message](https://discourse.nodered.org/t/getting-value-from-mqtt-message/69320)

<div class="topic-metadata">

**Author:** [@dforster](https://discourse.nodered.org/u/dforster)\
**Replies:** 9\
**Last updated:** [20 October 2022 11:01 UTC](https://discourse.nodered.org/t/getting-value-from-mqtt-message/69320 "2022-10-20T11:01:47Z")

</div>

Hello, I am trying to retrieve the value for "accumEnergyTotal" in the image below so I can output this in the message payload. I have tried and tried and as yet not succeeded. Could someone help me please? Cheers Danie…

---

## [How to have node name show on more than one row](https://discourse.nodered.org/t/how-to-have-node-name-show-on-more-than-one-row/69311)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 3\
**Last updated:** [20 October 2022 10:57 UTC](https://discourse.nodered.org/t/how-to-have-node-name-show-on-more-than-one-row/69311 "2022-10-20T10:57:02Z")

</div>

Hi, how can I do this? (name on more rows)

---

## [Summation of variables received through flow](https://discourse.nodered.org/t/summation-of-variables-received-through-flow/69140)

<div class="topic-metadata">

**Author:** [@Jhankhana](https://discourse.nodered.org/u/Jhankhana)\
**Replies:** 14\
**Last updated:** [20 October 2022 07:28 UTC](https://discourse.nodered.org/t/summation-of-variables-received-through-flow/69140 "2022-10-20T07:28:19Z")

</div>

I am just trying to perform summation for two variables. In that I am able to perform summation with constant value using Function Node. But I am not able to perform the same for variable (value from flow). I am attachi…

---

## [Node-red-contrib-alexa-cakebaked](https://discourse.nodered.org/t/node-red-contrib-alexa-cakebaked/69316)

<div class="topic-metadata">

**Author:** [@Giacomo23](https://discourse.nodered.org/u/Giacomo23)\
**Replies:** 4\
**Last updated:** [20 October 2022 09:28 UTC](https://discourse.nodered.org/t/node-red-contrib-alexa-cakebaked/69316 "2022-10-20T09:28:17Z")

</div>

Hi everyone, I have installed this node and it works fine, I have only one problem. When I initialized my account with the specific flow and also put the second block "on device activity" any amazon echo device does not…

---

## [EventListener in dashboard-template-node](https://discourse.nodered.org/t/eventlistener-in-dashboard-template-node/69207)

<div class="topic-metadata">

**Author:** [@JustinB](https://discourse.nodered.org/u/JustinB)\
**Replies:** 4\
**Last updated:** [20 October 2022 08:53 UTC](https://discourse.nodered.org/t/eventlistener-in-dashboard-template-node/69207 "2022-10-20T08:53:23Z")

</div>

Hello folks, I am currently trying to add a EventListener to an html-element inside the dashboard-template-node. I've already tried a lot of ways which normally should work but without success. When leaving the focus …

---

## [Code completion and error flagging on a global variable](https://discourse.nodered.org/t/code-completion-and-error-flagging-on-a-global-variable/69260)

<div class="topic-metadata">

**Author:** [@stefaanv](https://discourse.nodered.org/u/stefaanv)\
**Replies:** 4\
**Last updated:** [20 October 2022 08:22 UTC](https://discourse.nodered.org/t/code-completion-and-error-flagging-on-a-global-variable/69260 "2022-10-20T08:22:19Z")

</div>

Is there a way to define a global variable and get code completion on it's keys in the function nodes code editors ? Like typescript has string literals and will complain when you misspell one of the constants. I find …

---

## [How much is big is node-red](https://discourse.nodered.org/t/how-much-is-big-is-node-red/68950)

<div class="topic-metadata">

**Author:** [@BLND](https://discourse.nodered.org/u/BLND)\
**Replies:** 28\
**Last updated:** [20 October 2022 07:08 UTC](https://discourse.nodered.org/t/how-much-is-big-is-node-red/68950 "2022-10-20T07:08:06Z")

</div>

how many devices can be connected to one dashboard or with one computer running node-red?

---

## [Ui-Table - columns dimension](https://discourse.nodered.org/t/ui-table-columns-dimension/69270)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 3\
**Last updated:** [20 October 2022 06:32 UTC](https://discourse.nodered.org/t/ui-table-columns-dimension/69270 "2022-10-20T06:32:15Z")

</div>

Hi, this morning I created my first table in node-red .... This is my wonderful table ... the code ..... and the template to increase the size of text row ... I would like to set the width of each column (wi…

---

## [Node-RED with IoT sensor](https://discourse.nodered.org/t/node-red-with-iot-sensor/69235)

<div class="topic-metadata">

**Author:** [@IhabSan](https://discourse.nodered.org/u/IhabSan)\
**Replies:** 7\
**Last updated:** [20 October 2022 05:49 UTC](https://discourse.nodered.org/t/node-red-with-iot-sensor/69235 "2022-10-20T05:49:21Z")

</div>

I would like to ask about how can we use Node-RED with IoT sensors. Node-RED use as translator and how?

---

## [Compare Meter Reading with InfluxDB Function](https://discourse.nodered.org/t/compare-meter-reading-with-influxdb-function/69253)

<div class="topic-metadata">

**Author:** [@Starfoxfs](https://discourse.nodered.org/u/Starfoxfs)\
**Replies:** 3\
**Last updated:** [19 October 2022 20:41 UTC](https://discourse.nodered.org/t/compare-meter-reading-with-influxdb-function/69253 "2022-10-19T20:41:33Z")

</div>

Hi, I have a big problem. I am a newbie and would like to compare the total meter reading from the influxdb with the electricity meter. If the value of the electricity meter is 0 (because of a power failure, for example…

---

## [Export data to CSV](https://discourse.nodered.org/t/export-data-to-csv/69150)

<div class="topic-metadata">

**Author:** [@Robsi](https://discourse.nodered.org/u/Robsi)\
**Replies:** 7\
**Last updated:** [19 October 2022 19:11 UTC](https://discourse.nodered.org/t/export-data-to-csv/69150 "2022-10-19T19:11:52Z")

</div>

Hello together, I have a little programming experience but in nodered I am a complete newbie :slight\_smile: I'm trying to export data to a CSV which works fine but I have problems with the formatting. When I open my …

---

## [Calculate the rpi-gpio in value](https://discourse.nodered.org/t/calculate-the-rpi-gpio-in-value/68934)

<div class="topic-metadata">

**Author:** [@pierrot](https://discourse.nodered.org/u/pierrot)\
**Replies:** 21\
**Last updated:** [19 October 2022 16:23 UTC](https://discourse.nodered.org/t/calculate-the-rpi-gpio-in-value/68934 "2022-10-19T16:23:08Z")

</div>

Hello, can someone give some tips to do the following want to calculate the time the rpi-gpio in node vlaue 0 or 1 . for every month , and put inside a table for eaxmple januray vlaue 1 (300 hr) and vlaue 0 ( 420 hr …

---

## [Webhook payload comes with header info](https://discourse.nodered.org/t/webhook-payload-comes-with-header-info/69173)

<div class="topic-metadata">

**Author:** [@julio8a](https://discourse.nodered.org/u/julio8a)\
**Replies:** 13\
**Last updated:** [19 October 2022 16:12 UTC](https://discourse.nodered.org/t/webhook-payload-comes-with-header-info/69173 "2022-10-19T16:12:34Z")

</div>

Greetings! I just started using node-red about a week ago with Home Assistant. I had a webhook payload coming from Plex, however, I'm trying to convert it to an object or just use the JSON data, however, in the debug i…

---

## [Node-Red crashed... :-(](https://discourse.nodered.org/t/node-red-crashed/69248)

<div class="topic-metadata">

**Author:** [@DR\_Oetker](https://discourse.nodered.org/u/DR_Oetker)\
**Replies:** 3\
**Last updated:** [19 October 2022 16:07 UTC](https://discourse.nodered.org/t/node-red-crashed/69248 "2022-10-19T16:07:06Z")

</div>

Hallo everybody, at first i have to say sorry about my english... I'm not very good, but i trie my best :slight\_smile: I'm new in the world of Node-Red and also in Raspberry so i have to ask you a question... I've bou…

---

## [TypeError: Cannot read properties of undefined (reading 'push')](https://discourse.nodered.org/t/typeerror-cannot-read-properties-of-undefined-reading-push/69278)

<div class="topic-metadata">

**Author:** [@MahouOcty](https://discourse.nodered.org/u/MahouOcty)\
**Replies:** 0\
**Last updated:** [19 October 2022 16:02 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-properties-of-undefined-reading-push/69278 "2022-10-19T16:02:33Z")

</div>

I'm trying to make this flow run in my node-red but it doesn't seem to work with it, I'm using wsl ubuntu with it, and the error the console gives me is: Error: Module not allowed at Object.requireModule \[as require…

---

## [Control samsung smart tv](https://discourse.nodered.org/t/control-samsung-smart-tv/69265)

<div class="topic-metadata">

**Author:** [@jdezeeuw](https://discourse.nodered.org/u/jdezeeuw)\
**Replies:** 0\
**Last updated:** [19 October 2022 13:54 UTC](https://discourse.nodered.org/t/control-samsung-smart-tv/69265 "2022-10-19T13:54:35Z")

</div>

I want to control my samsung smart tv with node red. I am using, node-red-contrib-samsung-tv-control at the moment. I got the api token and the send key nodes working but i am not able to fix the get apps and open app. I…

---

## [SIMATIC IOT 2040 - Node Red - Photoelectric Omron Sensor](https://discourse.nodered.org/t/simatic-iot-2040-node-red-photoelectric-omron-sensor/69240)

<div class="topic-metadata">

**Author:** [@ManuGW](https://discourse.nodered.org/u/ManuGW)\
**Replies:** 1\
**Last updated:** [19 October 2022 12:21 UTC](https://discourse.nodered.org/t/simatic-iot-2040-node-red-photoelectric-omron-sensor/69240 "2022-10-19T12:21:01Z")

</div>

Hi everyone! I wrote a forum entry 2 weeks ago about the installation of nodes in my iot2040 with an input/output module. I solved that and how to do it and thank you everyone @Colin, @yoba, @iiot2k. Now i got a proble…

---

## [How to add/update flows\_\<hostname\>.json file name to a flows\_\<static\>.json name](https://discourse.nodered.org/t/how-to-add-update-flows-hostname-json-file-name-to-a-flows-static-json-name/69245)

<div class="topic-metadata">

**Author:** [@shubham-credence](https://discourse.nodered.org/u/shubham-credence)\
**Replies:** 1\
**Last updated:** [19 October 2022 12:19 UTC](https://discourse.nodered.org/t/how-to-add-update-flows-hostname-json-file-name-to-a-flows-static-json-name/69245 "2022-10-19T12:19:04Z")

</div>

Hi! I'm using Node-RED version: v1.3.7 and Node.js version: v14.17.5. Does node-red allows us to customize it's main flows\_\<hostname\>.json flows file name, to a static flows\_\<static\>.json flows file name, so that we c…

---

## [Node-red-dashboard's "Go to Dashboard" button in editor does not respect document.location.pathname](https://discourse.nodered.org/t/node-red-dashboards-go-to-dashboard-button-in-editor-does-not-respect-document-location-pathname/69246)

<div class="topic-metadata">

**Author:** [@psten](https://discourse.nodered.org/u/psten)\
**Replies:** 1\
**Last updated:** [19 October 2022 11:58 UTC](https://discourse.nodered.org/t/node-red-dashboards-go-to-dashboard-button-in-editor-does-not-respect-document-location-pathname/69246 "2022-10-19T11:58:16Z")

</div>

Hi, I'm writing this post the second time, as my original post got flagged by Akismet as spam and has been hidden for a good week now. I'm running Node-RED in a docker container and behind a reverse proxy that I have v…

---

## [Ui-table with handler how to get full table data](https://discourse.nodered.org/t/ui-table-with-handler-how-to-get-full-table-data/69089)

<div class="topic-metadata">

**Author:** [@bs-eng](https://discourse.nodered.org/u/bs-eng)\
**Replies:** 8\
**Last updated:** [19 October 2022 11:15 UTC](https://discourse.nodered.org/t/ui-table-with-handler-how-to-get-full-table-data/69089 "2022-10-19T11:15:11Z")

</div>

Hi there! I am using ui-table for a while now and just started exploring the ui-table handler. What I am struggeling with is getting the full table data. The flow variable tableData contains the table data as object wi…

---

## [SIEMENS IOT 2000 - Node - Red ("simatic\_iot2000", node)](https://discourse.nodered.org/t/siemens-iot-2000-node-red-simatic-iot2000-node/68550)

<div class="topic-metadata">

**Author:** [@ManuGW](https://discourse.nodered.org/u/ManuGW)\
**Replies:** 48\
**Last updated:** [19 October 2022 10:58 UTC](https://discourse.nodered.org/t/siemens-iot-2000-node-red-simatic-iot2000-node/68550 "2022-10-19T10:58:10Z")

</div>

Hi everyone! I recently got into a task to be able to use the IOT 2040 together with node-red. This IOT was used by a former colleague who already used this using the node "simatic\_iot2000" and it worked perfectly toget…

---

## [Running Node Red on Pi via USB stick](https://discourse.nodered.org/t/running-node-red-on-pi-via-usb-stick/69170)

<div class="topic-metadata">

**Author:** [@shel](https://discourse.nodered.org/u/shel)\
**Replies:** 8\
**Last updated:** [19 October 2022 09:38 UTC](https://discourse.nodered.org/t/running-node-red-on-pi-via-usb-stick/69170 "2022-10-19T09:38:10Z")

</div>

Has anyone been running node red on a USB stick instead of a sd card? Does it really give better life or performance? Trying to decide which way to go for a long term install. Thanks

---

## [OMRON FINS Trigger signal using bit](https://discourse.nodered.org/t/omron-fins-trigger-signal-using-bit/69224)

<div class="topic-metadata">

**Author:** [@cubical](https://discourse.nodered.org/u/cubical)\
**Replies:** 2\
**Last updated:** [19 October 2022 09:05 UTC](https://discourse.nodered.org/t/omron-fins-trigger-signal-using-bit/69224 "2022-10-19T09:05:28Z")

</div>

Hello guys, I've been using the OMRON FINS node to trigger a signal. Issue is, how do I trigger a signal just like a differentiate up function?

---

## [SVG: How to change image url with payload](https://discourse.nodered.org/t/svg-how-to-change-image-url-with-payload/68868)

<div class="topic-metadata">

**Author:** [@kiki](https://discourse.nodered.org/u/kiki)\
**Replies:** 4\
**Last updated:** [19 October 2022 08:59 UTC](https://discourse.nodered.org/t/svg-how-to-change-image-url-with-payload/68868 "2022-10-19T08:59:36Z")

</div>

Hi guys, I want to change a SVG image inserted via URI First I manually inserted an image in the SVG editor (svg-editor/elements/Image/Load image file). The selected SVG document is then encoded in Base64 and inserted…

[Previous page](https://discourse.nodered.org/latest.md?no_subcategories=false&page=477)

[Next page](https://discourse.nodered.org/latest.md?no_subcategories=false&page=479)
