# Latest

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

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

**Page:** 1289

---

## [Problem with syntax in function node for comparison](https://discourse.nodered.org/t/problem-with-syntax-in-function-node-for-comparison/10307)

<div class="topic-metadata">

**Author:** [@mike67](https://discourse.nodered.org/u/mike67)\
**Replies:** 6\
**Last updated:** [22 April 2019 12:38 UTC](https://discourse.nodered.org/t/problem-with-syntax-in-function-node-for-comparison/10307 "2019-04-22T12:38:53Z")

</div>

Once more, I think i have a priblem with my syntax. I want to compare to things :slight\_smile:The msg.payload sent previously by an Inject node (boolean true or false) and a global variable xNR\_I1 wich can have the valu…

---

## [SQL data and chart node](https://discourse.nodered.org/t/sql-data-and-chart-node/10427)

<div class="topic-metadata">

**Author:** [@ALOKA1432](https://discourse.nodered.org/u/ALOKA1432)\
**Replies:** 1\
**Last updated:** [22 April 2019 11:23 UTC](https://discourse.nodered.org/t/sql-data-and-chart-node/10427 "2019-04-22T11:23:31Z")

</div>

Hey guys, This is what i am getting after fetching the sensr data out of SQL database. All the data are coming OK, but the problem is that the lie on a single line as seen in the picture. The data must be discretely visi…

---

## [Recreate file after delete it](https://discourse.nodered.org/t/recreate-file-after-delete-it/10425)

<div class="topic-metadata">

**Author:** [@hathemi](https://discourse.nodered.org/u/hathemi)\
**Replies:** 10\
**Last updated:** [22 April 2019 10:49 UTC](https://discourse.nodered.org/t/recreate-file-after-delete-it/10425 "2019-04-22T10:49:18Z")

</div>

My question might be silly, but, i was trying to recreate file after delete it with ops-delete node. I'am not sure is there a priority between nodes?? Because each time i deploy flow, it append new lines to the existing …

---

## [Send each item of array in a message payload separately](https://discourse.nodered.org/t/send-each-item-of-array-in-a-message-payload-separately/10414)

<div class="topic-metadata">

**Author:** [@hathemi](https://discourse.nodered.org/u/hathemi)\
**Replies:** 5\
**Last updated:** [22 April 2019 08:34 UTC](https://discourse.nodered.org/t/send-each-item-of-array-in-a-message-payload-separately/10414 "2019-04-22T08:34:00Z")

</div>

I have an array msg.options =\[1,2,3,4,5\], and i want to send each item in msg.payload. i used this in function for( var i = 0; i \< msg.options.length; i++){ msg.payload = msg.options\[i\] return msg; } But it al…

---

## [I got problem to create a schedule task on windows 7 to run Node-Red on start](https://discourse.nodered.org/t/i-got-problem-to-create-a-schedule-task-on-windows-7-to-run-node-red-on-start/10149)

<div class="topic-metadata">

**Author:** [@jamesho](https://discourse.nodered.org/u/jamesho)\
**Replies:** 11\
**Last updated:** [22 April 2019 00:50 UTC](https://discourse.nodered.org/t/i-got-problem-to-create-a-schedule-task-on-windows-7-to-run-node-red-on-start/10149 "2019-04-22T00:50:32Z")

</div>

Hi, I tried to create a schedule task on windows start to run Node-Red. But I had error message said "There are currently no logon servers available to service the logon request." Therefore, the task were failed to start…

---

## [Writing a function to change the payload into a string with a different format](https://discourse.nodered.org/t/writing-a-function-to-change-the-payload-into-a-string-with-a-different-format/10407)

<div class="topic-metadata">

**Author:** [@juergens-nodered](https://discourse.nodered.org/u/juergens-nodered)\
**Replies:** 2\
**Last updated:** [21 April 2019 22:55 UTC](https://discourse.nodered.org/t/writing-a-function-to-change-the-payload-into-a-string-with-a-different-format/10407 "2019-04-21T22:55:55Z")

</div>

Hey, I do get pretty accurate MQTT data from my weather station via MQTT but need to format all this content into a string. That's where I am failing. i do have a payload looking like this: 21.4.2019, 22:37:55node: Ra…

---

## [Set exec command with a text input](https://discourse.nodered.org/t/set-exec-command-with-a-text-input/10402)

<div class="topic-metadata">

**Author:** [@DiamondWolf](https://discourse.nodered.org/u/DiamondWolf)\
**Replies:** 9\
**Last updated:** [21 April 2019 21:32 UTC](https://discourse.nodered.org/t/set-exec-command-with-a-text-input/10402 "2019-04-21T21:32:28Z")

</div>

Hello everybody I want to insert the value of an "text input" node in an "exec" node. For example when I put "sudo reboot" in the text input and then click a button, my raspberry pi reboots. And I don't know how I can…

---

## [Add delete button to dropdown options](https://discourse.nodered.org/t/add-delete-button-to-dropdown-options/10400)

<div class="topic-metadata">

**Author:** [@hathemi](https://discourse.nodered.org/u/hathemi)\
**Replies:** 2\
**Last updated:** [21 April 2019 17:55 UTC](https://discourse.nodered.org/t/add-delete-button-to-dropdown-options/10400 "2019-04-21T17:55:07Z")

</div>

How can i add a delete button to md-option ? here's my flow. flows.json (1.1 KB)

---

## [Unable to update nodes](https://discourse.nodered.org/t/unable-to-update-nodes/10394)

<div class="topic-metadata">

**Author:** [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Replies:** 9\
**Last updated:** [21 April 2019 10:01 UTC](https://discourse.nodered.org/t/unable-to-update-nodes/10394 "2019-04-21T10:01:33Z")

</div>

I have updated Node-RED on one of my Pi's, and that worked nicely. But updating the nodes did not go that well. I first tried with Palette manager and got "Failed to update: node-red-contrib-fs-ops, Install failed, Check…

---

## [How to analyze data from Xiaomi gateway via xiaomi-mqtt bridge](https://discourse.nodered.org/t/how-to-analyze-data-from-xiaomi-gateway-via-xiaomi-mqtt-bridge/10391)

<div class="topic-metadata">

**Author:** [@markost](https://discourse.nodered.org/u/markost)\
**Replies:** 9\
**Last updated:** [21 April 2019 08:35 UTC](https://discourse.nodered.org/t/how-to-analyze-data-from-xiaomi-gateway-via-xiaomi-mqtt-bridge/10391 "2019-04-21T08:35:40Z")

</div>

Hi, today I managed to run Xiaomi Gateway with xiaomi-mqtt bridge. I use temperature / humidity / pressure sensor. The data I get comes for each value one after the other (for temperature, for humidity, for pressure),…

---

## [Join the json code from multiple flows into one file](https://discourse.nodered.org/t/join-the-json-code-from-multiple-flows-into-one-file/10361)

<div class="topic-metadata">

**Author:** [@cuxcrider](https://discourse.nodered.org/u/cuxcrider)\
**Replies:** 27\
**Last updated:** [21 April 2019 04:27 UTC](https://discourse.nodered.org/t/join-the-json-code-from-multiple-flows-into-one-file/10361 "2019-04-21T04:27:32Z")

</div>

I have a device with 8 channels I am controlling from Node-Red. I have setup 8 seperate flows called Ch1, Ch2, Ch3...Ch8. In those flows I named all my flow variables somethingCh1, somethingCh2, etc. I manually create…

---

## [Red node API with flow issue](https://discourse.nodered.org/t/red-node-api-with-flow-issue/10390)

<div class="topic-metadata">

**Author:** [@linhtranvu](https://discourse.nodered.org/u/linhtranvu)\
**Replies:** 2\
**Last updated:** [21 April 2019 02:42 UTC](https://discourse.nodered.org/t/red-node-api-with-flow-issue/10390 "2019-04-21T02:42:01Z")

</div>

I am testing red node API and flow function is not stable, sometime it works, some not. Let me explain For some flow, http://127.0.0.1:1880/flow/901cbcd3.2151d , this link work perfectly However, this node id "f7656a21…

---

## [Need help for creating OPCUA event Acknowledgement in Node-Red](https://discourse.nodered.org/t/need-help-for-creating-opcua-event-acknowledgement-in-node-red/5112)

<div class="topic-metadata">

**Author:** [@irmaheshwari96](https://discourse.nodered.org/u/irmaheshwari96)\
**Replies:** 1\
**Last updated:** [21 April 2019 00:02 UTC](https://discourse.nodered.org/t/need-help-for-creating-opcua-event-acknowledgement-in-node-red/5112 "2019-04-21T00:02:20Z")

</div>

I am working on a project with node-red-contrib-iiot-opcua nodes that needs to Acknowledge the events raised from the OPCUA Server tags/elements but I am not able to understand how to do it. So please anyone can help in…

---

## [Weird problem - unable to log in to Node-RED or use VNC or SSH](https://discourse.nodered.org/t/weird-problem-unable-to-log-in-to-node-red-or-use-vnc-or-ssh/10383)

<div class="topic-metadata">

**Author:** [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Replies:** 12\
**Last updated:** [20 April 2019 20:23 UTC](https://discourse.nodered.org/t/weird-problem-unable-to-log-in-to-node-red-or-use-vnc-or-ssh/10383 "2019-04-20T20:23:56Z")

</div>

This one's new for me. Today I suddenly was unable to log into one of my Pi's with VNC, which I always use for everything. I was going to take an image backup to have something current. But VNC didn't log in. So I tried …

---

## [WIKI Article on Analysing and improving Node-RED performance](https://discourse.nodered.org/t/wiki-article-on-analysing-and-improving-node-red-performance/10381)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 2\
**Last updated:** [20 April 2019 20:06 UTC](https://discourse.nodered.org/t/wiki-article-on-analysing-and-improving-node-red-performance/10381 "2019-04-20T20:06:06Z")

</div>

Hi all, as mentioned in the forum post Easy way to remove lag?, a new WIKI article has been created as a holding point for information regarding analysing the performance of Node-RED (both the server and front-end browse…

---

## [Find my Node Red Docker Container?](https://discourse.nodered.org/t/find-my-node-red-docker-container/10382)

<div class="topic-metadata">

**Author:** [@nodecentral](https://discourse.nodered.org/u/nodecentral)\
**Replies:** 6\
**Last updated:** [20 April 2019 19:37 UTC](https://discourse.nodered.org/t/find-my-node-red-docker-container/10382 "2019-04-20T19:37:31Z")

</div>

Hi, I’m running Node Red as a Docker Container, on my QNAP NAS, however i can’t work out exactly where all the configuration files are (and having had multiple attempts there are loads of folders listed on the NAS) Is…

---

## [Node-red-node-arduino using Ethernet/WiFi Firmata](https://discourse.nodered.org/t/node-red-node-arduino-using-ethernet-wifi-firmata/10362)

<div class="topic-metadata">

**Author:** [@TheSauce](https://discourse.nodered.org/u/TheSauce)\
**Replies:** 3\
**Last updated:** [20 April 2019 19:00 UTC](https://discourse.nodered.org/t/node-red-node-arduino-using-ethernet-wifi-firmata/10362 "2019-04-20T19:00:47Z")

</div>

I'm not sure if this is already planned but it would be cool if the node-red-node-arduino node also supported using StandardFirmataEthernet or StandardFirmataWiFi so Arduino and the machine running Node-RED didn't have t…

---

## [Update status of a pin](https://discourse.nodered.org/t/update-status-of-a-pin/10264)

<div class="topic-metadata">

**Author:** [@ftricamo](https://discourse.nodered.org/u/ftricamo)\
**Replies:** 1\
**Last updated:** [16 April 2019 21:12 UTC](https://discourse.nodered.org/t/update-status-of-a-pin/10264 "2019-04-16T21:12:08Z")

</div>

Using Raspberry pi i can use the Report By Exception node to 'only trigger on change of state'. Is there an opposite to that? How can i query the state of pins on demand? Since i can't trigger and output with an injec…

---

## [Serialport@6.2.2 install fail](https://discourse.nodered.org/t/serialport-6-2-2-install-fail/10368)

<div class="topic-metadata">

**Author:** [@Labhart](https://discourse.nodered.org/u/Labhart)\
**Replies:** 7\
**Last updated:** [20 April 2019 17:00 UTC](https://discourse.nodered.org/t/serialport-6-2-2-install-fail/10368 "2019-04-20T17:00:11Z")

</div>

Followed Node Red install instructions exactly for Win 10 OS, direct from Node Red.org. Attempting to install NCD zigbee device wireless gateway node and process fails at install for serialport@6.2.2. Suspect compile…

---

## [Delete msg payload](https://discourse.nodered.org/t/delete-msg-payload/10384)

<div class="topic-metadata">

**Author:** [@aabbas](https://discourse.nodered.org/u/aabbas)\
**Replies:** 3\
**Last updated:** [20 April 2019 15:31 UTC](https://discourse.nodered.org/t/delete-msg-payload/10384 "2019-04-20T15:31:29Z")

</div>

Hi, I am using a KNX sensor, It sends values (msg.payload) every 30 min, but sometimes it sends 2 msg in this duration. So I want to delete the second msg payload if is the case. Have you an idea? Thank you for your h…

---

## [Timestamps under a node when activated seem to be stuck in GMT](https://discourse.nodered.org/t/timestamps-under-a-node-when-activated-seem-to-be-stuck-in-gmt/10374)

<div class="topic-metadata">

**Author:** [@simonk83](https://discourse.nodered.org/u/simonk83)\
**Replies:** 14\
**Last updated:** [20 April 2019 14:47 UTC](https://discourse.nodered.org/t/timestamps-under-a-node-when-activated-seem-to-be-stuck-in-gmt/10374 "2019-04-20T14:47:32Z")

</div>

I'm running the official docker in a VM, and have - /etc/localtime:/etc/localtime:ro set, but also added environment: - TZ=Australia/Melbourne just to try and rule that out (didn't help). I also run HassIO on another VM …

---

## [Easy way to remove lag?](https://discourse.nodered.org/t/easy-way-to-remove-lag/10025)

<div class="topic-metadata">

**Author:** [@IvarMvl](https://discourse.nodered.org/u/IvarMvl)\
**Replies:** 30\
**Last updated:** [20 April 2019 10:16 UTC](https://discourse.nodered.org/t/easy-way-to-remove-lag/10025 "2019-04-20T10:16:19Z")

</div>

so im runninjg node red on raspberry pi 3+b and have around 400 nodes the program is lagging more and more is the a easy fix or way to run better thanks in andvance Ivar

---

## [MQTT SOM/EOM message formats. Problems](https://discourse.nodered.org/t/mqtt-som-eom-message-formats-problems/10215)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 61\
**Last updated:** [20 April 2019 12:58 UTC](https://discourse.nodered.org/t/mqtt-som-eom-message-formats-problems/10215 "2019-04-20T12:58:50Z")

</div>

"Originally" I had a bit of flow that looked at MQTT messages when devices connect to the WiFi network. This is what I get: {"topic":"STATUS/WIFIDEVICEID","payload":"{\\"WIFI\_DEVICE\\":\\"GPS\\",\\"IP\_Address\\":\\"192.168.1.…

---

## [& operators into if instrucion](https://discourse.nodered.org/t/operators-into-if-instrucion/10171)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 11\
**Last updated:** [20 April 2019 12:51 UTC](https://discourse.nodered.org/t/operators-into-if-instrucion/10171 "2019-04-20T12:51:43Z")

</div>

Hi mates, after a couple of hours I figured out what didn't work. For me it's something illogic, and I'm afraid to loose in future more time on something similar: Supposing we have a byte IO1\_B, the result of the read o…

---

## [How many messages are "flowing" in my NR?](https://discourse.nodered.org/t/how-many-messages-are-flowing-in-my-nr/10191)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 12\
**Last updated:** [20 April 2019 10:58 UTC](https://discourse.nodered.org/t/how-many-messages-are-flowing-in-my-nr/10191 "2019-04-20T10:58:17Z")

</div>

Hi! I see that the performance of the web page to control my NR are directly connected to the number of messages flowing, for example, as I use "loops" on some functions to introduce delay, I can commit sometimes some mi…

---

## [Node red to data base](https://discourse.nodered.org/t/node-red-to-data-base/10376)

<div class="topic-metadata">

**Author:** [@ihebabidi](https://discourse.nodered.org/u/ihebabidi)\
**Replies:** 2\
**Last updated:** [20 April 2019 09:02 UTC](https://discourse.nodered.org/t/node-red-to-data-base/10376 "2019-04-20T09:02:21Z")

</div>

hello all ! is it possible to send data from node red to a database?

---

## [Mqtt node configuration](https://discourse.nodered.org/t/mqtt-node-configuration/10372)

<div class="topic-metadata">

**Author:** [@mani2411](https://discourse.nodered.org/u/mani2411)\
**Replies:** 2\
**Last updated:** [20 April 2019 07:05 UTC](https://discourse.nodered.org/t/mqtt-node-configuration/10372 "2019-04-20T07:05:29Z")

</div>

hi all i want to configure mqtt node with my adafruit.io account but don't know what i should put in the fields can anybody help?

---

## [Sharing a single instance](https://discourse.nodered.org/t/sharing-a-single-instance/10342)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 7\
**Last updated:** [20 April 2019 00:24 UTC](https://discourse.nodered.org/t/sharing-a-single-instance/10342 "2019-04-20T00:24:22Z")

</div>

Hi folks, I'm redesigning my node-red-contrib-http-logger to use the mitm library for intercepting http(s) traffic. However after debugging a few evenings, it became at the end clear that I'm only allowed to create 1 m…

---

## [Node publishing](https://discourse.nodered.org/t/node-publishing/1042)

<div class="topic-metadata">

**Author:** [@PizlaTheDeveloper](https://discourse.nodered.org/u/PizlaTheDeveloper)\
**Replies:** 13\
**Last updated:** [19 April 2019 19:48 UTC](https://discourse.nodered.org/t/node-publishing/1042 "2019-04-19T19:48:52Z")

</div>

Hi, I published my first nodes for Node-RED two days ago as node-red-contrib-foxtrotnode. But I can’t find it in Node-RED’s pallete manager to install. Can you give me some advice what I did wrong? Thank you very mu…

---

## [How can I use canvasjs to create a base64Image payload?](https://discourse.nodered.org/t/how-can-i-use-canvasjs-to-create-a-base64image-payload/10256)

<div class="topic-metadata">

**Author:** [@swiftnesses](https://discourse.nodered.org/u/swiftnesses)\
**Replies:** 2\
**Last updated:** [19 April 2019 19:16 UTC](https://discourse.nodered.org/t/how-can-i-use-canvasjs-to-create-a-base64image-payload/10256 "2019-04-19T19:16:55Z")

</div>

Hi All, I require to export a sparkline (once, comfortable, a candlestick chart using OHLC) to base64Image and send as part of a payload. My plan is to use canvasjs.com (unless there's a better option), what is the bes…

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

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