# General

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

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

**Page:** 766

---

## [Chart Performance - Covid-19 Project](https://discourse.nodered.org/t/chart-performance-covid-19-project/24726)

<div class="topic-metadata">

**Author:** [@xpercad](https://discourse.nodered.org/u/xpercad)\
**Replies:** 17\
**Last updated:** [14 April 2020 15:52 UTC](https://discourse.nodered.org/t/chart-performance-covid-19-project/24726 "2020-04-14T15:52:54Z")

</div>

---

## [Callback as json argument](https://discourse.nodered.org/t/callback-as-json-argument/24529)

<div class="topic-metadata">

**Author:** [@frankzappa](https://discourse.nodered.org/u/frankzappa)\
**Replies:** 32\
**Last updated:** [14 April 2020 15:49 UTC](https://discourse.nodered.org/t/callback-as-json-argument/24529 "2020-04-14T15:49:28Z")

</div>

Hi dear community!!! I've thank this was right topic... I've got one (in fact a lot...) big trouble. I want to put a callback as the argument of the "legend" property, as you could see, but the json editor says error: …

---

## [Tcpin, status and \_session](https://discourse.nodered.org/t/tcpin-status-and-session/24820)

<div class="topic-metadata">

**Author:** [@Corhondor](https://discourse.nodered.org/u/Corhondor)\
**Replies:** 0\
**Last updated:** [14 April 2020 15:10 UTC](https://discourse.nodered.org/t/tcpin-status-and-session/24820 "2020-04-14T15:10:13Z")

</div>

Hello, I'm trying to use multiple tcp connections in the same flow. Sometimes I send the first message to the tcp connection so I need to know the \_session ID of each connection to avoid send the message to all the conne…

---

## [Node-red-node-snmp dynamic host?](https://discourse.nodered.org/t/node-red-node-snmp-dynamic-host/24615)

<div class="topic-metadata">

**Author:** [@mgarito](https://discourse.nodered.org/u/mgarito)\
**Replies:** 8\
**Last updated:** [14 April 2020 15:17 UTC](https://discourse.nodered.org/t/node-red-node-snmp-dynamic-host/24615 "2020-04-14T15:17:30Z")

</div>

I'm trying to find documentation on how to dynamically set the 'Host' parameter of the SNMP node. Use case: Http://server:1880/ip?ip=ip.to.check \>\>\> SNMP host \<ip.to.check\>

---

## [Is it possible to run noderd on router](https://discourse.nodered.org/t/is-it-possible-to-run-noderd-on-router/24818)

<div class="topic-metadata">

**Author:** [@demokedes](https://discourse.nodered.org/u/demokedes)\
**Replies:** 1\
**Last updated:** [14 April 2020 15:09 UTC](https://discourse.nodered.org/t/is-it-possible-to-run-noderd-on-router/24818 "2020-04-14T15:09:11Z")

</div>

Hello, Is it possible to run nodered on local Asus router? I have running Asus wrt (similar to dd wrt) on it. I am already running torrent server, samba server, etc...

---

## [Google cast from Nodered not installed n WAN](https://discourse.nodered.org/t/google-cast-from-nodered-not-installed-n-wan/24573)

<div class="topic-metadata">

**Author:** [@demokedes](https://discourse.nodered.org/u/demokedes)\
**Replies:** 5\
**Last updated:** [14 April 2020 14:47 UTC](https://discourse.nodered.org/t/google-cast-from-nodered-not-installed-n-wan/24573 "2020-04-14T14:47:29Z")

</div>

Dear all, I found cast node which I find very useful. My node-red installation is not residing in my local LAN, but on the server in the cloud. I created port forwarding rule for port 8009 (Google cast) and configured…

---

## [Avoiding cloning messages](https://discourse.nodered.org/t/avoiding-cloning-messages/24808)

<div class="topic-metadata">

**Author:** [@thiagorizzo](https://discourse.nodered.org/u/thiagorizzo)\
**Replies:** 7\
**Last updated:** [14 April 2020 14:26 UTC](https://discourse.nodered.org/t/avoiding-cloning-messages/24808 "2020-04-14T14:26:50Z")

</div>

Hi all, I just read Cloning messages in a flow. Whats the best pratice on flat flows to avoid message cloning? should I code functions this way: Thank you!

---

## [Ok, what's going on with this message?](https://discourse.nodered.org/t/ok-whats-going-on-with-this-message/24811)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 6\
**Last updated:** [14 April 2020 14:05 UTC](https://discourse.nodered.org/t/ok-whats-going-on-with-this-message/24811 "2020-04-14T14:05:52Z")

</div>

I've bitten the bullet and am re-writing old flows. While messing around with one, I am seeing this payload {"payload":1,"event":{"clientX":367,"clientY":195,"bbox":\[327,222,483,174\]},"socketid":"AiZlnOlnlm43IvokAAAB",…

---

## [Can I get the IP of the tcp client?](https://discourse.nodered.org/t/can-i-get-the-ip-of-the-tcp-client/24698)

<div class="topic-metadata">

**Author:** [@KOUKILEO](https://discourse.nodered.org/u/KOUKILEO)\
**Replies:** 6\
**Last updated:** [14 April 2020 13:21 UTC](https://discourse.nodered.org/t/can-i-get-the-ip-of-the-tcp-client/24698 "2020-04-14T13:21:00Z")

</div>

The tcp server I created in node-red ,But I have many clients,! Is there a way to find the IP of each connected customer? So that I can choose one of the clients to send messages, not everyone ! I want to achieve this…

---

## [Node Context does not reset on redeploy](https://discourse.nodered.org/t/node-context-does-not-reset-on-redeploy/14733)

<div class="topic-metadata">

**Author:** [@g4ocq](https://discourse.nodered.org/u/g4ocq)\
**Replies:** 11\
**Last updated:** [14 April 2020 12:45 UTC](https://discourse.nodered.org/t/node-context-does-not-reset-on-redeploy/14733 "2020-04-14T12:45:33Z")

</div>

Hello, I am scatching my head regarding the node context context.get and context.set I am finding it does not get reset on a redeploy and the previous values remain. I have changed my settings.js file to allow some c…

---

## [Object to number Conversion](https://discourse.nodered.org/t/object-to-number-conversion/24807)

<div class="topic-metadata">

**Author:** [@Robbie98](https://discourse.nodered.org/u/Robbie98)\
**Replies:** 1\
**Last updated:** [14 April 2020 12:36 UTC](https://discourse.nodered.org/t/object-to-number-conversion/24807 "2020-04-14T12:36:13Z")

</div>

Hello, im trying to convert a Object (Sense hat simulator temperature output) to a number (UI Gauge) im having issues regarding the conversion, if someone could steer me in the correct way, much appreciated!

---

## [Get Events from Google Calendar with "minTime" and "maxTime"](https://discourse.nodered.org/t/get-events-from-google-calendar-with-mintime-and-maxtime/24771)

<div class="topic-metadata">

**Author:** [@lstebe](https://discourse.nodered.org/u/lstebe)\
**Replies:** 8\
**Last updated:** [14 April 2020 10:31 UTC](https://discourse.nodered.org/t/get-events-from-google-calendar-with-mintime-and-maxtime/24771 "2020-04-14T10:31:32Z")

</div>

Hi at all, I ran into an Issue with getting Events via the node-red-contrib-google Node. It´s all set up well so far and works, but with one twist, here's the setup: I have a global object called systime were i store …

---

## [How to manage the image-output / image-tools node conflict (split topic)](https://discourse.nodered.org/t/how-to-manage-the-image-output-image-tools-node-conflict-split-topic/24122)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 15\
**Last updated:** [14 April 2020 10:27 UTC](https://discourse.nodered.org/t/how-to-manage-the-image-output-image-tools-node-conflict-split-topic/24122 "2020-04-14T10:27:01Z")

</div>

Hey Steve, It indeeds gives conflicts because you have used in your clone the same node identifier as the original node. BTW a few months ago, @dceejay and I have been pimping the original node-red-contrib-image-outpu…

---

## [I've lost everything. CONNECTION LOST TO MACHINE error - subflow connections](https://discourse.nodered.org/t/ive-lost-everything-connection-lost-to-machine-error-subflow-connections/24782)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 13\
**Last updated:** [14 April 2020 09:26 UTC](https://discourse.nodered.org/t/ive-lost-everything-connection-lost-to-machine-error-subflow-connections/24782 "2020-04-14T09:26:29Z")

</div>

And I don't think there is any going back. I did backup the files, but alas they were in the same directory and so NODE-RED wiped the backups I made. I've lost all my sub-flows...... All my tabs (there was about 30 of…

---

## [Shared Node-RED Project Across Multiple RPi's](https://discourse.nodered.org/t/shared-node-red-project-across-multiple-rpis/24765)

<div class="topic-metadata">

**Author:** [@dudleyjosh](https://discourse.nodered.org/u/dudleyjosh)\
**Replies:** 3\
**Last updated:** [14 April 2020 07:33 UTC](https://discourse.nodered.org/t/shared-node-red-project-across-multiple-rpis/24765 "2020-04-14T07:33:53Z")

</div>

I'm not super savvy with Git & GitHub yet (learning, slowly but surely) and I've been playing with Node-RED projects for the past few days learning how to get projects setup and linked to a GitHub repository from my vari…

---

## [Mark as read email filter](https://discourse.nodered.org/t/mark-as-read-email-filter/24796)

<div class="topic-metadata">

**Author:** [@dsl400](https://discourse.nodered.org/u/dsl400)\
**Replies:** 0\
**Last updated:** [14 April 2020 07:31 UTC](https://discourse.nodered.org/t/mark-as-read-email-filter/24796 "2020-04-14T07:31:54Z")

</div>

Hello, any solution to filter emails from gmail or send a request to mark email as read ?

---

## [Measure how long your flow takes to execute](https://discourse.nodered.org/t/measure-how-long-your-flow-takes-to-execute/24719)

<div class="topic-metadata">

**Author:** [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Replies:** 7\
**Last updated:** [14 April 2020 05:01 UTC](https://discourse.nodered.org/t/measure-how-long-your-flow-takes-to-execute/24719 "2020-04-14T05:01:15Z")

</div>

Hi, How do you measure how long it takes to execute your flow? (Understand that there are loops and other factors) But there are various ways of doing something, some take more time than others. So basically looking at…

---

## [Copy local .tar file from Pi to SMB network share](https://discourse.nodered.org/t/copy-local-tar-file-from-pi-to-smb-network-share/24756)

<div class="topic-metadata">

**Author:** [@GitHubxtsnl](https://discourse.nodered.org/u/GitHubxtsnl)\
**Replies:** 1\
**Last updated:** [14 April 2020 03:40 UTC](https://discourse.nodered.org/t/copy-local-tar-file-from-pi-to-smb-network-share/24756 "2020-04-14T03:40:59Z")

</div>

Okay, I'e been struggling with this one for quite some time, I was unable to find a solution on this forum or on youtube or google. Please be aware I'm definitely not a programmer, I lear everything by doing, trial and e…

---

## [Error: Modbus exception 254 on modbus-tcp](https://discourse.nodered.org/t/error-modbus-exception-254-on-modbus-tcp/24448)

<div class="topic-metadata">

**Author:** [@kokkak](https://discourse.nodered.org/u/kokkak)\
**Replies:** 7\
**Last updated:** [14 April 2020 01:32 UTC](https://discourse.nodered.org/t/error-modbus-exception-254-on-modbus-tcp/24448 "2020-04-14T01:32:32Z")

</div>

Hello all, i have gateway to read data from modbus device and i use modbus-tcp in node-red to read data form device. I config listener port 505 in gateway ,when i read modbus it response "Error: Modbus exception 254". …

---

## [Creating and iterating through array](https://discourse.nodered.org/t/creating-and-iterating-through-array/24777)

<div class="topic-metadata">

**Author:** [@Hunter](https://discourse.nodered.org/u/Hunter)\
**Replies:** 1\
**Last updated:** [13 April 2020 20:36 UTC](https://discourse.nodered.org/t/creating-and-iterating-through-array/24777 "2020-04-13T20:36:34Z")

</div>

Following up my previous question regarding watchdogs; I'm figuring out a way to save this data into an array. Let's say I have these 3 devices; device\_1 device\_2 device\_3 My flow creates timestamps for these 3 de…

---

## [Unexpected token D in JSON at position 0](https://discourse.nodered.org/t/unexpected-token-d-in-json-at-position-0/24680)

<div class="topic-metadata">

**Author:** [@gschmidt](https://discourse.nodered.org/u/gschmidt)\
**Replies:** 46\
**Last updated:** [13 April 2020 20:21 UTC](https://discourse.nodered.org/t/unexpected-token-d-in-json-at-position-0/24680 "2020-04-13T20:21:47Z")

</div>

Hi, An incoming mqtt message, which is a string: "De frietpan is aangezet!" ,returns the following error 4 times: 12-4-2020 09:29:39node: 26a592da.b81be6 msg : string\[40\] "Unexpected token D in JSON at position 0" It …

---

## [How to add an attribute to a JSON array in Node-red](https://discourse.nodered.org/t/how-to-add-an-attribute-to-a-json-array-in-node-red/24769)

<div class="topic-metadata">

**Author:** [@nedstrader](https://discourse.nodered.org/u/nedstrader)\
**Replies:** 3\
**Last updated:** [13 April 2020 19:59 UTC](https://discourse.nodered.org/t/how-to-add-an-attribute-to-a-json-array-in-node-red/24769 "2020-04-13T19:59:24Z")

</div>

Hello, I have a flow that issues a GET http request and returns a JSON array of stock market data: Time series data of 5 minute interval candles: Datetime { 1. open, 2. high, 3. low, 4. close, 5. volume ). I can s…

---

## [Change to another output on input](https://discourse.nodered.org/t/change-to-another-output-on-input/24744)

<div class="topic-metadata">

**Author:** [@microfix](https://discourse.nodered.org/u/microfix)\
**Replies:** 8\
**Last updated:** [13 April 2020 18:00 UTC](https://discourse.nodered.org/t/change-to-another-output-on-input/24744 "2020-04-13T18:00:29Z")

</div>

So I'm new to all the programming. :slight\_smile: I learn a lot from reading what all you make. And thanks for that. But now i need something and is hoping that some of you can help me learn this. I need a function n…

---

## [Newbie, having problem setting a coil with Modbus RTU](https://discourse.nodered.org/t/newbie-having-problem-setting-a-coil-with-modbus-rtu/24482)

<div class="topic-metadata">

**Author:** [@Hyuggs](https://discourse.nodered.org/u/Hyuggs)\
**Replies:** 5\
**Last updated:** [13 April 2020 17:15 UTC](https://discourse.nodered.org/t/newbie-having-problem-setting-a-coil-with-modbus-rtu/24482 "2020-04-13T17:15:00Z")

</div>

Hello, I'm trying to write a single coil on a modbus RTU relay board (RS485). I'm using Modbus-contrib-serial Library. I'm able to read value from another board on the same bus using Modbus serial In I'm able to set …

---

## [Watchdog for 'last seen'](https://discourse.nodered.org/t/watchdog-for-last-seen/24764)

<div class="topic-metadata">

**Author:** [@Hunter](https://discourse.nodered.org/u/Hunter)\
**Replies:** 2\
**Last updated:** [13 April 2020 16:20 UTC](https://discourse.nodered.org/t/watchdog-for-last-seen/24764 "2020-04-13T16:20:43Z")

</div>

Hello all, I'm using a Ardeunis device which only sends data if any of the monitoring ports have changed and at least one 'Keep Alive Frame' every 24 hours so I can be sure the device is still alive. What would you rec…

---

## [Flat text from msg.payload](https://discourse.nodered.org/t/flat-text-from-msg-payload/24759)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 3\
**Last updated:** [13 April 2020 14:59 UTC](https://discourse.nodered.org/t/flat-text-from-msg-payload/24759 "2020-04-13T14:59:35Z")

</div>

I would like to log different data that is send and received This sometimes contains arrays. Is it possible to convert everything to flat text? So that the whole lines comes like text in my log file. Now i get \[objec…

---

## [Cant get array buffer refrence to work... Help please?](https://discourse.nodered.org/t/cant-get-array-buffer-refrence-to-work-help-please/24674)

<div class="topic-metadata">

**Author:** [@Dyslexicbloke](https://discourse.nodered.org/u/Dyslexicbloke)\
**Replies:** 23\
**Last updated:** [13 April 2020 12:31 UTC](https://discourse.nodered.org/t/cant-get-array-buffer-refrence-to-work-help-please/24674 "2020-04-13T12:31:06Z")

</div>

Hi folks, very new to this, Node-Red and JavaScript, but I have been programming, one way or another, for years. I am trying to build a function node to process Modbus input to get, optionally, Uint or Float/Real from …

---

## [TCP input convert](https://discourse.nodered.org/t/tcp-input-convert/24612)

<div class="topic-metadata">

**Author:** [@Fulltopuk](https://discourse.nodered.org/u/Fulltopuk)\
**Replies:** 2\
**Last updated:** [13 April 2020 12:01 UTC](https://discourse.nodered.org/t/tcp-input-convert/24612 "2020-04-13T12:01:01Z")

</div>

Hi All I am trying to get my head around Nodered syntax but I am not yet understanding most of how things work. :frowning\_face: I have a light system which communicates over RS232 and I 'listen' to it over LAN via a T…

---

## [Output weather alert array information to HA Persistent Notification](https://discourse.nodered.org/t/output-weather-alert-array-information-to-ha-persistent-notification/24745)

<div class="topic-metadata">

**Author:** [@techdesk](https://discourse.nodered.org/u/techdesk)\
**Replies:** 0\
**Last updated:** [13 April 2020 11:31 UTC](https://discourse.nodered.org/t/output-weather-alert-array-information-to-ha-persistent-notification/24745 "2020-04-13T11:31:12Z")

</div>

I have a weather alert sensor (https://github.com/custom-components/weatheralerts) which provide alert information from the NWS (National Weather Service) for the county where we live. The sensor works like it should, b…

---

## [Watson assistant v2 library not working](https://discourse.nodered.org/t/watson-assistant-v2-library-not-working/24739)

<div class="topic-metadata">

**Author:** [@nins123](https://discourse.nodered.org/u/nins123)\
**Replies:** 0\
**Last updated:** [13 April 2020 10:13 UTC](https://discourse.nodered.org/t/watson-assistant-v2-library-not-working/24739 "2020-04-13T10:13:56Z")

</div>

Hi guys, my node-red app Watson library disappeared when I inserted and redeployed the app with node-red-contrib-graphs. package.json file error: The flow stopped due to missing node types Inside the node red palet…

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

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