# General

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

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

**Page:** 558

---

## [How disable "auto wrap" of nodes](https://discourse.nodered.org/t/how-disable-auto-wrap-of-nodes/45408)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 11\
**Last updated:** [10 May 2021 17:06 UTC](https://discourse.nodered.org/t/how-disable-auto-wrap-of-nodes/45408 "2021-05-10T17:06:14Z")

</div>

Hi, my flow is huge, every time I add something Node Red wrongly wrap the node in the middle of existing connection. I can't undone so I?ve to check which wires to rebuild later the connection, very annoying. Can I disa…

---

## [Select value from CSV file](https://discourse.nodered.org/t/select-value-from-csv-file/45058)

<div class="topic-metadata">

**Author:** [@MrWolff](https://discourse.nodered.org/u/MrWolff)\
**Replies:** 26\
**Last updated:** [10 May 2021 16:45 UTC](https://discourse.nodered.org/t/select-value-from-csv-file/45058 "2021-05-10T16:45:57Z")

</div>

I made a product selector in node-red dashboard where I can select 3 different products from a csv file. The csv file includes a 'takt' value with is corresponding to the product. (column B in csv file) Product selecto…

---

## [Howto set a Zigbee switch](https://discourse.nodered.org/t/howto-set-a-zigbee-switch/45227)

<div class="topic-metadata">

**Author:** [@qwyrp](https://discourse.nodered.org/u/qwyrp)\
**Replies:** 6\
**Last updated:** [10 May 2021 14:11 UTC](https://discourse.nodered.org/t/howto-set-a-zigbee-switch/45227 "2021-05-10T14:11:34Z")

</div>

I'm using Sonoff Zigbee Bridge with Tasmota. Furthermore I'm using Node-red but whatever I do I can't set my Zigbee switch. I'm familliar with the following topic: Tradfri / ZBbridge (zigbee) / Tasmota commands in Node-R…

---

## [Cloning node red](https://discourse.nodered.org/t/cloning-node-red/45426)

<div class="topic-metadata">

**Author:** [@jake123](https://discourse.nodered.org/u/jake123)\
**Replies:** 3\
**Last updated:** [10 May 2021 14:18 UTC](https://discourse.nodered.org/t/cloning-node-red/45426 "2021-05-10T14:18:36Z")

</div>

I have cloned the node-red version from github. I want to install it so if i install my custom nodes and i commit and push it to my git , I want the user that clones it from my git to have my nodes installed on it. Is t…

---

## [Greenhouse door control](https://discourse.nodered.org/t/greenhouse-door-control/45396)

<div class="topic-metadata">

**Author:** [@ajocius](https://discourse.nodered.org/u/ajocius)\
**Replies:** 12\
**Last updated:** [10 May 2021 13:14 UTC](https://discourse.nodered.org/t/greenhouse-door-control/45396 "2021-05-10T13:14:12Z")

</div>

I have discussed build up of my flow in another post, where I got a lot of good help. However I could not completely understand that flow, particularly how function code works and was afraid to put it to control real gre…

---

## [How to pass the property name as a variable?](https://discourse.nodered.org/t/how-to-pass-the-property-name-as-a-variable/45336)

<div class="topic-metadata">

**Author:** [@akd02](https://discourse.nodered.org/u/akd02)\
**Replies:** 4\
**Last updated:** [10 May 2021 11:52 UTC](https://discourse.nodered.org/t/how-to-pass-the-property-name-as-a-variable/45336 "2021-05-10T11:52:18Z")

</div>

Hello Community, i m trying to create a subflow where the "Environment variables" of the subflow is a property name. so inside my subflow i could have a function that can then access the value in the property such as: …

---

## [Office 365 webhooks email](https://discourse.nodered.org/t/office-365-webhooks-email/45423)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 1\
**Last updated:** [10 May 2021 11:40 UTC](https://discourse.nodered.org/t/office-365-webhooks-email/45423 "2021-05-10T11:40:22Z")

</div>

Anyone successful on connecting to office 365 with a webhook? Trying to find more information on were and how to start with it

---

## [Enable https, but still access with local IP](https://discourse.nodered.org/t/enable-https-but-still-access-with-local-ip/45417)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 14\
**Last updated:** [10 May 2021 10:46 UTC](https://discourse.nodered.org/t/enable-https-but-still-access-with-local-ip/45417 "2021-05-10T10:46:57Z")

</div>

How can I setup things so that I connect with https from outside, but still with http://10.x.x.x. from LAN?

---

## [Dinamycally changing true - false](https://discourse.nodered.org/t/dinamycally-changing-true-false/45421)

<div class="topic-metadata">

**Author:** [@jake123](https://discourse.nodered.org/u/jake123)\
**Replies:** 2\
**Last updated:** [10 May 2021 09:29 UTC](https://discourse.nodered.org/t/dinamycally-changing-true-false/45421 "2021-05-10T09:29:44Z")

</div>

I have a default config parameter isTrue: {value:""} On the start of my oneditprepare function i set if(node.isTrue) {node.isTrue = !node.isTrue} On the end of my oneditsave function i set it if(node.isTrue){node.isTru…

---

## [Cannot read property 'persist\_session\_id' of undefined](https://discourse.nodered.org/t/cannot-read-property-persist-session-id-of-undefined/45416)

<div class="topic-metadata">

**Author:** [@gnaneshwarbandari](https://discourse.nodered.org/u/gnaneshwarbandari)\
**Replies:** 0\
**Last updated:** [10 May 2021 07:46 UTC](https://discourse.nodered.org/t/cannot-read-property-persist-session-id-of-undefined/45416 "2021-05-10T07:46:24Z")

</div>

Greetings! I'm trying to integrate Watson Assistant V2 in Node-red where I'm using Assistant V2 node. Previously when I worked with a different account I have directly got the response from Watson Assistant but now p…

---

## [Heads up for Users of Solcast API](https://discourse.nodered.org/t/heads-up-for-users-of-solcast-api/45409)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 0\
**Last updated:** [9 May 2021 23:48 UTC](https://discourse.nodered.org/t/heads-up-for-users-of-solcast-api/45409 "2021-05-09T23:48:15Z")

</div>

Guys, Just found this on the Solcast Website - not exactly sure what it will mean - but it looks like they will no longer (date to be advised) support uploading of data to tune your site. They have provided the ability…

---

## [There is a way to see a global variable on flow?](https://discourse.nodered.org/t/there-is-a-way-to-see-a-global-variable-on-flow/45399)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 5\
**Last updated:** [9 May 2021 23:38 UTC](https://discourse.nodered.org/t/there-is-a-way-to-see-a-global-variable-on-flow/45399 "2021-05-09T23:38:22Z")

</div>

Hi, Iim having issue and difficultied to debug it, it would be lovely to see the content on variable on flow. Since the "status" of a module is a dynamic variable.. I suppose it can be diplayed also that (if it is not lo…

---

## [Uibuilder and Update msg When focus on Browser Tab](https://discourse.nodered.org/t/uibuilder-and-update-msg-when-focus-on-browser-tab/45401)

<div class="topic-metadata">

**Author:** [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Replies:** 1\
**Last updated:** [9 May 2021 21:40 UTC](https://discourse.nodered.org/t/uibuilder-and-update-msg-when-focus-on-browser-tab/45401 "2021-05-09T21:40:45Z")

</div>

This may be a daft question but is there an easy way to get uibuilder to send a msg to NR when the browser tab gets focus? (to ensure that the page has the latest data)

---

## [Expiring header fotrHTTP in node](https://discourse.nodered.org/t/expiring-header-fotrhttp-in-node/45400)

<div class="topic-metadata">

**Author:** [@nehemiascr](https://discourse.nodered.org/u/nehemiascr)\
**Replies:** 1\
**Last updated:** [9 May 2021 21:34 UTC](https://discourse.nodered.org/t/expiring-header-fotrhttp-in-node/45400 "2021-05-09T21:34:55Z")

</div>

Hello, I have a simple http request that serves a pdf file that gets generated and overwritten often, my problem is that all browsers serve a cached version of the file, not the newer file in the server, how can I fix th…

---

## [Mysql stored procedured, node-red stops](https://discourse.nodered.org/t/mysql-stored-procedured-node-red-stops/45350)

<div class="topic-metadata">

**Author:** [@JUANPAVQ](https://discourse.nodered.org/u/JUANPAVQ)\
**Replies:** 7\
**Last updated:** [9 May 2021 20:34 UTC](https://discourse.nodered.org/t/mysql-stored-procedured-node-red-stops/45350 "2021-05-09T20:34:06Z")

</div>

Hello community, I have a problem. When I do a query to call a stored procedure, node-red stops and I get the following information. I mounted node-red on another pc, I did the installation of the mysql node and I teste…

---

## [Temperature Exception Alerts via Email or SMS](https://discourse.nodered.org/t/temperature-exception-alerts-via-email-or-sms/44370)

<div class="topic-metadata">

**Author:** [@A.Salah44](https://discourse.nodered.org/u/A.Salah44)\
**Replies:** 7\
**Last updated:** [9 May 2021 14:30 UTC](https://discourse.nodered.org/t/temperature-exception-alerts-via-email-or-sms/44370 "2021-05-09T14:30:33Z")

</div>

Hello everyone, I don't have any experience or education before about Node-red (beginner), :slightly\_smiling\_face: My project is to measure temperature using (Raspberry Pi 3 B with 1-wire DS18B20 digital temperature s…

---

## [Python OPCUA server connection Issue](https://discourse.nodered.org/t/python-opcua-server-connection-issue/45371)

<div class="topic-metadata">

**Author:** [@georgethomas08](https://discourse.nodered.org/u/georgethomas08)\
**Replies:** 7\
**Last updated:** [9 May 2021 10:44 UTC](https://discourse.nodered.org/t/python-opcua-server-connection-issue/45371 "2021-05-09T10:44:50Z")

</div>

I can connect with Prosys simultaion server with OPCUA client node in Node Red but when I run python OPCUA it's not at all getting connected Why is it so? Python server - python client is working fine! Please find the p…

---

## [Can't reinstall modules after a conflict](https://discourse.nodered.org/t/cant-reinstall-modules-after-a-conflict/45364)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 12\
**Last updated:** [9 May 2021 10:01 UTC](https://discourse.nodered.org/t/cant-reinstall-modules-after-a-conflict/45364 "2021-05-09T10:01:30Z")

</div>

Hi, I imported to another platform a node red flow to avoid do mistakes (if I've not missed it, NR still not give the chance to "undo" something, and this for me is dangerous), well.. probably on that nwe platfor I've in…

---

## [Help if not defined variable is accessed](https://discourse.nodered.org/t/help-if-not-defined-variable-is-accessed/45377)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 5\
**Last updated:** [9 May 2021 00:07 UTC](https://discourse.nodered.org/t/help-if-not-defined-variable-is-accessed/45377 "2021-05-09T00:07:38Z")

</div>

Yeah, it is probably easy to do, but for now it escapes me how to do it. This is the code on a Function node: var m = msg.month; m = parseInt(m); var x = msg.table\[m\]; msg.payload = x; return msg; If msg.table isn…

---

## [Linkify best way to impliment/ function 'replace' error](https://discourse.nodered.org/t/linkify-best-way-to-impliment-function-replace-error/45376)

<div class="topic-metadata">

**Author:** [@ninjamoba](https://discourse.nodered.org/u/ninjamoba)\
**Replies:** 1\
**Last updated:** [8 May 2021 22:04 UTC](https://discourse.nodered.org/t/linkify-best-way-to-impliment-function-replace-error/45376 "2021-05-08T22:04:37Z")

</div>

Want to "linkafy" text thats being generated into an HTML from node-red am getting an error from a function node that seems node-red related function : (error) "TypeError: Cannot read property 'replace' of undefined" …

---

## [Setting new payload issue](https://discourse.nodered.org/t/setting-new-payload-issue/45375)

<div class="topic-metadata">

**Author:** [@ricky.spanish6](https://discourse.nodered.org/u/ricky.spanish6)\
**Replies:** 2\
**Last updated:** [8 May 2021 21:22 UTC](https://discourse.nodered.org/t/setting-new-payload-issue/45375 "2021-05-08T21:22:58Z")

</div>

Hi, I'm trying to set a new payload through a function when the percentage gets low, so I can send a notification to IFTTT. Here is what my function contains: foodlevel = msg.payload if (foodlevel \<= 30) { msg.pa…

---

## [Write many values for the same time with nodered in influxdb](https://discourse.nodered.org/t/write-many-values-for-the-same-time-with-nodered-in-influxdb/44718)

<div class="topic-metadata">

**Author:** [@mune](https://discourse.nodered.org/u/mune)\
**Replies:** 12\
**Last updated:** [8 May 2021 20:39 UTC](https://discourse.nodered.org/t/write-many-values-for-the-same-time-with-nodered-in-influxdb/44718 "2021-05-08T20:39:13Z")

</div>

With the standard influx node, if I pass for (let i=0; i\<sensors.length; i++) timea.push(new Date().getTime()+i); // microsecsec from 00:00 1/1/1970 influxa.push({time: timea\[0\], fie…

---

## [Oracle database in node-red docker](https://discourse.nodered.org/t/oracle-database-in-node-red-docker/11691)

<div class="topic-metadata">

**Author:** [@maxwebbi](https://discourse.nodered.org/u/maxwebbi)\
**Replies:** 2\
**Last updated:** [8 May 2021 19:27 UTC](https://discourse.nodered.org/t/oracle-database-in-node-red-docker/11691 "2021-05-08T19:27:40Z")

</div>

Hello everyone, i'm trying to run my node-red in a docker container with an oracledb node. My dockerfile is as follows: FROM nodered/node-red-docker ENV http\_proxy \<IP:Port\> USER root RUN apt-get update RUN npm set…

---

## [Count objects and write the result](https://discourse.nodered.org/t/count-objects-and-write-the-result/45368)

<div class="topic-metadata">

**Author:** [@madmax](https://discourse.nodered.org/u/madmax)\
**Replies:** 6\
**Last updated:** [8 May 2021 19:15 UTC](https://discourse.nodered.org/t/count-objects-and-write-the-result/45368 "2021-05-08T19:15:47Z")

</div>

Hello! There is a way to count objects and write the result into an object.

---

## [Node-RED docker image with oracle instant client](https://discourse.nodered.org/t/node-red-docker-image-with-oracle-instant-client/45374)

<div class="topic-metadata">

**Author:** [@RyuunosukeDS3](https://discourse.nodered.org/u/RyuunosukeDS3)\
**Replies:** 0\
**Last updated:** [8 May 2021 19:08 UTC](https://discourse.nodered.org/t/node-red-docker-image-with-oracle-instant-client/45374 "2021-05-08T19:08:21Z")

</div>

I've created a Dorckerfile that when built creates an image with latest Node-RED and an oracle instant client to access oracledb. I was not sure where to post this, but since I've seen a lot of ppl having trouble to …

---

## [Node-Red / sqlite / Charts](https://discourse.nodered.org/t/node-red-sqlite-charts/45251)

<div class="topic-metadata">

**Author:** [@Harakaio](https://discourse.nodered.org/u/Harakaio)\
**Replies:** 17\
**Last updated:** [8 May 2021 17:28 UTC](https://discourse.nodered.org/t/node-red-sqlite-charts/45251 "2021-05-08T17:28:08Z")

</div>

Hi there, I'm struggling with JavaScript. Via Form-Node I'm selecting the datapoints which I want to extract from sqlite and show them in a chart. From sqlite I receive this: Pic1&2. Pic1: Pic2: After that I l…

---

## [Modbus tcp server](https://discourse.nodered.org/t/modbus-tcp-server/45365)

<div class="topic-metadata">

**Author:** [@Benja](https://discourse.nodered.org/u/Benja)\
**Replies:** 1\
**Last updated:** [8 May 2021 15:39 UTC](https://discourse.nodered.org/t/modbus-tcp-server/45365 "2021-05-08T15:39:08Z")

</div>

Hello, I need to read data by modbus tcp to node red, so my query is how can I do that, is there any way? I think with modbus server but I don't know how to do it.

---

## [Storing video as mp4](https://discourse.nodered.org/t/storing-video-as-mp4/41911)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 41\
**Last updated:** [8 May 2021 15:00 UTC](https://discourse.nodered.org/t/storing-video-as-mp4/41911 "2021-05-08T15:00:18Z")

</div>

Hi folks, Today a collegue of mine asked me if it is already possible to store cam footage, only by using Node-RED. So no third-party software. There have been a lot of interesting discussions been going on, about the…

---

## [What is the correct solution to show image files](https://discourse.nodered.org/t/what-is-the-correct-solution-to-show-image-files/45360)

<div class="topic-metadata">

**Author:** [@tpbillund](https://discourse.nodered.org/u/tpbillund)\
**Replies:** 4\
**Last updated:** [8 May 2021 14:06 UTC](https://discourse.nodered.org/t/what-is-the-correct-solution-to-show-image-files/45360 "2021-05-08T14:06:45Z")

</div>

Hi. Im trying to show a file:// but can't get it to work. If I add this link to my browser app, I see an image "file://mynas/docker/frigate/media/clips/foran-1620191711.030997-b2cpcd.jpg" But if using this flow I can…

---

## [Quick Function node question](https://discourse.nodered.org/t/quick-function-node-question/45358)

<div class="topic-metadata">

**Author:** [@Dave](https://discourse.nodered.org/u/Dave)\
**Replies:** 2\
**Last updated:** [8 May 2021 10:52 UTC](https://discourse.nodered.org/t/quick-function-node-question/45358 "2021-05-08T10:52:55Z")

</div>

In previous versions of Node-Red In a function node I could have if (msg.payload) { Do Something so any and all payloads would trigger Do Something however it no longer works what can I do instead.?

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

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