# General

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

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

**Page:** 615

---

## [Copy of a project export import](https://discourse.nodered.org/t/copy-of-a-project-export-import/39845)

<div class="topic-metadata">

**Author:** [@pvklink](https://discourse.nodered.org/u/pvklink)\
**Replies:** 0\
**Last updated:** [27 January 2021 09:02 UTC](https://discourse.nodered.org/t/copy-of-a-project-export-import/39845 "2021-01-27T09:02:26Z")

</div>

I have a very strange situation with projects. I have a a lot off flows, nodes, submodules so i made an export of my project with export. I created an new project and imported the export. So far so good. i accepted all…

---

## [Loop node reminder](https://discourse.nodered.org/t/loop-node-reminder/39784)

<div class="topic-metadata">

**Author:** [@Marty1982](https://discourse.nodered.org/u/Marty1982)\
**Replies:** 15\
**Last updated:** [27 January 2021 18:22 UTC](https://discourse.nodered.org/t/loop-node-reminder/39784 "2021-01-27T18:22:03Z")

</div>

Hi all! I want to loop a node when i make a certain choice. And i want to get a new notification within 24 hours or so to remind me again. Now i have this. \[{"id":"ecac18b5.46a7e8","type":"switch","z":"97634444.95c118…

---

## [Avoiding race condition in flow context?](https://discourse.nodered.org/t/avoiding-race-condition-in-flow-context/35090)

<div class="topic-metadata">

**Author:** [@Semmu](https://discourse.nodered.org/u/Semmu)\
**Replies:** 6\
**Last updated:** [27 January 2021 17:26 UTC](https://discourse.nodered.org/t/avoiding-race-condition-in-flow-context/35090 "2021-01-27T17:26:51Z")

</div>

Hi folks! I just started using Node-RED and I have a simple question: how can I avoid race conditions while manipulating the flow context? Is there some kind of lock mechanism regarding data stored in the different cont…

---

## [New user with newbie interpetation problems](https://discourse.nodered.org/t/new-user-with-newbie-interpetation-problems/39862)

<div class="topic-metadata">

**Author:** [@geotete](https://discourse.nodered.org/u/geotete)\
**Replies:** 10\
**Last updated:** [27 January 2021 17:13 UTC](https://discourse.nodered.org/t/new-user-with-newbie-interpetation-problems/39862 "2021-01-27T17:13:56Z")

</div>

Hi everybody, I'm in this forum for more than a month getting information and solving my problems, but now I stuck with a string problem. I'm using version 1.2.6 of node red in a raspberry Pi 3B+. I found a flow for m…

---

## [Problem getting FFmpeg to convert RSTP to MP4](https://discourse.nodered.org/t/problem-getting-ffmpeg-to-convert-rstp-to-mp4/39867)

<div class="topic-metadata">

**Author:** [@Dave](https://discourse.nodered.org/u/Dave)\
**Replies:** 7\
**Last updated:** [27 January 2021 14:23 UTC](https://discourse.nodered.org/t/problem-getting-ffmpeg-to-convert-rstp-to-mp4/39867 "2021-01-27T14:23:55Z")

</div>

Over the last 2 days I have been pulling my hair out trying to get my ptz camera to display on dashboard via FFmpeg in exec node and kevinGodell/node-red-contrib-mp4frag and node-red-contrib-ui-mp4frag I have read every…

---

## [Store token in "session storage" instead of "local storage"](https://discourse.nodered.org/t/store-token-in-session-storage-instead-of-local-storage/39848)

<div class="topic-metadata">

**Author:** [@mapero](https://discourse.nodered.org/u/mapero)\
**Replies:** 3\
**Last updated:** [27 January 2021 13:28 UTC](https://discourse.nodered.org/t/store-token-in-session-storage-instead-of-local-storage/39848 "2021-01-27T13:28:43Z")

</div>

Hi, we have the requirement, that a user is logged out when closing a site or tab. We already use custom-authentication-tokens, and it works flawless. The only down side is, that node-red stores the token in local stora…

---

## [Data from RPI with UART to NR](https://discourse.nodered.org/t/data-from-rpi-with-uart-to-nr/39688)

<div class="topic-metadata">

**Author:** [@Easy4M](https://discourse.nodered.org/u/Easy4M)\
**Replies:** 20\
**Last updated:** [27 January 2021 12:29 UTC](https://discourse.nodered.org/t/data-from-rpi-with-uart-to-nr/39688 "2021-01-27T12:29:55Z")

</div>

Hi, I have little problem with data transfer to NR from RPI. Have installed nodejs serialport and open serial port. I tryed read data use USB and this work perfectly. I want transfer data from Modbus with RPI. I use UAR…

---

## [Read COM1 Port Data](https://discourse.nodered.org/t/read-com1-port-data/39844)

<div class="topic-metadata">

**Author:** [@vaughan.mcd](https://discourse.nodered.org/u/vaughan.mcd)\
**Replies:** 10\
**Last updated:** [27 January 2021 09:52 UTC](https://discourse.nodered.org/t/read-com1-port-data/39844 "2021-01-27T09:52:39Z")

</div>

I am having trouble getting Node-Red to read data from com1 I have Node-Red setup on docker because I could not get it to work on my windows system with Node.JS Node-Red 1.2.7 node-red-contrib-modbus 5.13.3 I am tr…

---

## [How to export flows.json with MySQL's user and password?](https://discourse.nodered.org/t/how-to-export-flows-json-with-mysqls-user-and-password/39751)

<div class="topic-metadata">

**Author:** [@ChiaChia1114](https://discourse.nodered.org/u/ChiaChia1114)\
**Replies:** 2\
**Last updated:** [27 January 2021 05:48 UTC](https://discourse.nodered.org/t/how-to-export-flows-json-with-mysqls-user-and-password/39751 "2021-01-27T05:48:39Z")

</div>

Hi, exeryone. I have a question about export MySQL's flows.json. When I set all of the config of the node of the MySQL, I export the node's flow.json file. But why can't I export the user and password with json file? Th…

---

## [Victron Total Solar](https://discourse.nodered.org/t/victron-total-solar/39830)

<div class="topic-metadata">

**Author:** [@davenrea](https://discourse.nodered.org/u/davenrea)\
**Replies:** 0\
**Last updated:** [26 January 2021 22:26 UTC](https://discourse.nodered.org/t/victron-total-solar/39830 "2021-01-26T22:26:54Z")

</div>

I am trying to get the value of Total Solar out of a Victron system. The value is shown on the page https://vrm.victronenergy.com/installation/ but i can't find it. Can anyone help?

---

## [MongoDB filtering](https://discourse.nodered.org/t/mongodb-filtering/39828)

<div class="topic-metadata">

**Author:** [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)\
**Replies:** 2\
**Last updated:** [26 January 2021 21:56 UTC](https://discourse.nodered.org/t/mongodb-filtering/39828 "2021-01-26T21:56:56Z")

</div>

Hi. Trying to extract data from a mongoDB Database. Have succeeded to extrakt all the data from a database. But it is a lot of data. Can I filter somehow. From the attached picture I want only Objektid that contains "na…

---

## [Help converting string to key/value object](https://discourse.nodered.org/t/help-converting-string-to-key-value-object/39636)

<div class="topic-metadata">

**Author:** [@amishra123](https://discourse.nodered.org/u/amishra123)\
**Replies:** 5\
**Last updated:** [26 January 2021 21:25 UTC](https://discourse.nodered.org/t/help-converting-string-to-key-value-object/39636 "2021-01-26T21:25:59Z")

</div>

Hope everyone is well! Was hoping you may be able to help me with this or point me in the right direction! I'm trying to extract data from my emfit QS. I can HTTP GET request it and I get this back in the payload as a …

---

## [Why would /auth/strategy/callback return a 404](https://discourse.nodered.org/t/why-would-auth-strategy-callback-return-a-404/39816)

<div class="topic-metadata">

**Author:** [@sully](https://discourse.nodered.org/u/sully)\
**Replies:** 2\
**Last updated:** [26 January 2021 20:58 UTC](https://discourse.nodered.org/t/why-would-auth-strategy-callback-return-a-404/39816 "2021-01-26T20:58:50Z")

</div>

I'm using the following adminAuth options (keys and domain removed). Node-Red redirects to cognito, and I am able to login, but when it redirects to node-red its looks like there is no handlers for callback endpoint aut…

---

## [Logo in UI title bar on AWS server](https://discourse.nodered.org/t/logo-in-ui-title-bar-on-aws-server/8873)

<div class="topic-metadata">

**Author:** [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Replies:** 8\
**Last updated:** [26 January 2021 20:18 UTC](https://discourse.nodered.org/t/logo-in-ui-title-bar-on-aws-server/8873 "2021-01-26T20:18:12Z")

</div>

Hello I am trying to implement my own personal logo and clock in the title bar of my UI dashboard. I have node-red running an AWS EC2 server on ubuntu. I have been reading this thread https://discourse.nodered.org/t/se…

---

## [Water alert notify](https://discourse.nodered.org/t/water-alert-notify/39207)

<div class="topic-metadata">

**Author:** [@melrose](https://discourse.nodered.org/u/melrose)\
**Replies:** 16\
**Last updated:** [26 January 2021 19:48 UTC](https://discourse.nodered.org/t/water-alert-notify/39207 "2021-01-26T19:48:03Z")

</div>

Hello following question: i have a water counter that ticks every 0,25 litre. This means if somebody draws water, it will signal 4 times when somebody gets one litre. So now i think of a alert function. if there is a …

---

## [Get count on reset, even if its 0](https://discourse.nodered.org/t/get-count-on-reset-even-if-its-0/39734)

<div class="topic-metadata">

**Author:** [@dvyjns](https://discourse.nodered.org/u/dvyjns)\
**Replies:** 6\
**Last updated:** [26 January 2021 17:49 UTC](https://discourse.nodered.org/t/get-count-on-reset-even-if-its-0/39734 "2021-01-26T17:49:33Z")

</div>

Hi, My problem is simple yet I can't seem to wrap my head around it. I'm grabbing the last saved count from 'node-red-contrib-counter' when it's reset at midnight and displaying the old total as "Yesterdays Count". The …

---

## [How to strip out unwanted MQTT inputs(?)](https://discourse.nodered.org/t/how-to-strip-out-unwanted-mqtt-inputs/39805)

<div class="topic-metadata">

**Author:** [@haskle](https://discourse.nodered.org/u/haskle)\
**Replies:** 2\
**Last updated:** [26 January 2021 17:44 UTC](https://discourse.nodered.org/t/how-to-strip-out-unwanted-mqtt-inputs/39805 "2021-01-26T17:44:23Z")

</div>

Newbie(ish) question: I have managed to set up my Node\_RED RPi to receive MQTT messages with the topic home/rtl\_433 from an MQTT broker installed on a different RPi. But there are a load of messages that I am not intere…

---

## [Multiple topics in one template](https://discourse.nodered.org/t/multiple-topics-in-one-template/39790)

<div class="topic-metadata">

**Author:** [@Gehasi](https://discourse.nodered.org/u/Gehasi)\
**Replies:** 3\
**Last updated:** [26 January 2021 16:35 UTC](https://discourse.nodered.org/t/multiple-topics-in-one-template/39790 "2021-01-26T16:35:21Z")

</div>

Hi I have the following node and Im thinking of how can I make it more simple. Because no I have 17 templates and there should be a way to just make it simpler.. Its hard to explain maybe if you see my node you will unde…

---

## [Interact with Pocket APIs](https://discourse.nodered.org/t/interact-with-pocket-apis/39782)

<div class="topic-metadata">

**Author:** [@vongomben](https://discourse.nodered.org/u/vongomben)\
**Replies:** 4\
**Last updated:** [26 January 2021 15:52 UTC](https://discourse.nodered.org/t/interact-with-pocket-apis/39782 "2021-01-26T15:52:16Z")

</div>

Hi Node-RED forums. I'm an avid User of Pocket. I want to interact (and specifically, retrieve) the data from my pocket account. I've created an app and received a consumer key. I've been following this call and crea…

---

## [Help with pushing objects to array](https://discourse.nodered.org/t/help-with-pushing-objects-to-array/39778)

<div class="topic-metadata">

**Author:** [@bltDefender](https://discourse.nodered.org/u/bltDefender)\
**Replies:** 7\
**Last updated:** [26 January 2021 15:28 UTC](https://discourse.nodered.org/t/help-with-pushing-objects-to-array/39778 "2021-01-26T15:28:51Z")

</div>

hi all, I do have an unexpected result from that code. var topic = msg.topic; var deviceName = topic.split("/")\[1\]; var deviceTopic = topic.split("/")\[2\]; var deviceList = global.get('mitiiot\_devices')||\[\]; //array //…

---

## [Formatting MQTT Data](https://discourse.nodered.org/t/formatting-mqtt-data/39773)

<div class="topic-metadata">

**Author:** [@edwardr](https://discourse.nodered.org/u/edwardr)\
**Replies:** 5\
**Last updated:** [26 January 2021 14:44 UTC](https://discourse.nodered.org/t/formatting-mqtt-data/39773 "2021-01-26T14:44:19Z")

</div>

Hello folks, Currently having an issue which I imagine is very simple but so simple I can\`t find the answer. I\`ve set up a MQTT server to write to a regiter remotely. The Msg.paylod comes through as indented by "" and…

---

## [Ui\_switch - msg.enable - payload control](https://discourse.nodered.org/t/ui-switch-msg-enable-payload-control/39776)

<div class="topic-metadata">

**Author:** [@Zodiac-69](https://discourse.nodered.org/u/Zodiac-69)\
**Replies:** 2\
**Last updated:** [26 January 2021 14:23 UTC](https://discourse.nodered.org/t/ui-switch-msg-enable-payload-control/39776 "2021-01-26T14:23:59Z")

</div>

I have a field device that send LWT to mqtt. When the device goes "Off-Line", i disable the relevant ui\_switch with msg.enabled = false; The switch is set to pass through msg if payload match new state. This then make…

---

## [Want to see track positions and line based on date range](https://discourse.nodered.org/t/want-to-see-track-positions-and-line-based-on-date-range/39767)

<div class="topic-metadata">

**Author:** [@bachloo.rahul](https://discourse.nodered.org/u/bachloo.rahul)\
**Replies:** 0\
**Last updated:** [26 January 2021 10:34 UTC](https://discourse.nodered.org/t/want-to-see-track-positions-and-line-based-on-date-range/39767 "2021-01-26T10:34:19Z")

</div>

want to see trackers(track lines and marker) between a date range on open street map.this image is somewhat similar . Basically want to store all positions on database and retreive them based on date rangespecified. \[…

---

## [Webhookrelay data extract for WorldMap?](https://discourse.nodered.org/t/webhookrelay-data-extract-for-worldmap/39678)

<div class="topic-metadata">

**Author:** [@UncleSam](https://discourse.nodered.org/u/UncleSam)\
**Replies:** 9\
**Last updated:** [26 January 2021 10:42 UTC](https://discourse.nodered.org/t/webhookrelay-data-extract-for-worldmap/39678 "2021-01-26T10:42:56Z")

</div>

Hello everyone, I've been working on some node red projects and have been having a very difficult time working with a Webhookrelay. The data that is transmitted from my remote device is HTTP\_POST format, but when it arr…

---

## [What's wrong with msg.topic : the query is not defined as a string?](https://discourse.nodered.org/t/whats-wrong-with-msg-topic-the-query-is-not-defined-as-a-string/39756)

<div class="topic-metadata">

**Author:** [@Arthur123124](https://discourse.nodered.org/u/Arthur123124)\
**Replies:** 6\
**Last updated:** [26 January 2021 10:32 UTC](https://discourse.nodered.org/t/whats-wrong-with-msg-topic-the-query-is-not-defined-as-a-string/39756 "2021-01-26T10:32:50Z")

</div>

i want to collect data and then send it to database, but it said msg.topic : the query is not defined as a string". i don't know how to fix it.

---

## [Extracting gps coordinates from abeeway tracker](https://discourse.nodered.org/t/extracting-gps-coordinates-from-abeeway-tracker/39753)

<div class="topic-metadata">

**Author:** [@bachloo.rahul](https://discourse.nodered.org/u/bachloo.rahul)\
**Replies:** 2\
**Last updated:** [26 January 2021 09:31 UTC](https://discourse.nodered.org/t/extracting-gps-coordinates-from-abeeway-tracker/39753 "2021-01-26T09:31:55Z")

</div>

payload {"applicationID":"1","applicationName":"cloud","data":"A0i4eAAKEOwyLd8tBfZMpg==","devEUI":"20635f01080016e9","deviceName":"ab8","fCnt":23,"fPort":17,"rxInfo":\[{"altitude":0,"latitude":0,"loRaSNR":9,"lo…

---

## [OpenWRT node-red](https://discourse.nodered.org/t/openwrt-node-red/39762)

<div class="topic-metadata">

**Author:** [@soumyamitra1704065](https://discourse.nodered.org/u/soumyamitra1704065)\
**Replies:** 3\
**Last updated:** [26 January 2021 09:25 UTC](https://discourse.nodered.org/t/openwrt-node-red/39762 "2021-01-26T09:25:56Z")

</div>

i get the following error everytime i start node-red in open-wrt of arduino YUN2 /usr/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/api/flows.js:52 getFlows: async function(opts) { ^^^^^^^^ SyntaxErr…

---

## [Unable to open excel sheet create by nodered](https://discourse.nodered.org/t/unable-to-open-excel-sheet-create-by-nodered/39748)

<div class="topic-metadata">

**Author:** [@sam\_r](https://discourse.nodered.org/u/sam_r)\
**Replies:** 4\
**Last updated:** [26 January 2021 08:37 UTC](https://discourse.nodered.org/t/unable-to-open-excel-sheet-create-by-nodered/39748 "2021-01-26T08:37:55Z")

</div>

Hello experts .. I am in a need of your guidance. I created a simple flow by which i get the temperature data via MQTT broker and need to keep these data in excel file.. I create the flow and also implement the debug no…

---

## [Can't use .length in my array data](https://discourse.nodered.org/t/cant-use-length-in-my-array-data/39721)

<div class="topic-metadata">

**Author:** [@morathekid](https://discourse.nodered.org/u/morathekid)\
**Replies:** 6\
**Last updated:** [26 January 2021 07:21 UTC](https://discourse.nodered.org/t/cant-use-length-in-my-array-data/39721 "2021-01-26T07:21:08Z")

</div>

in my array has two data. but node script can't length it Data : {"rootId":"0759da852d9fb76f79297e8cfc3d6ce7","requestId":"f396bc7dc58796e5:-644c5706:176e12ece07:-8000:3924","details":{"tlp":2,"caseTemplate":null,"de…

---

## [Node red stopped working after uncaught exception of json token](https://discourse.nodered.org/t/node-red-stopped-working-after-uncaught-exception-of-json-token/39738)

<div class="topic-metadata">

**Author:** [@mac5562](https://discourse.nodered.org/u/mac5562)\
**Replies:** 3\
**Last updated:** [25 January 2021 23:17 UTC](https://discourse.nodered.org/t/node-red-stopped-working-after-uncaught-exception-of-json-token/39738 "2021-01-25T23:17:20Z")

</div>

Hi ! I worked on the node red, and suddenly the whole system is crushed. In the node js terminal, i got this error message: 25 Jan 23:24:00 - \[red\] Uncaught Exception: 25 Jan 23:24:00 - SyntaxError: Unexpected token i …

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

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