# General

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

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

**Page:** 663

---

## [OPCUa write not writing](https://discourse.nodered.org/t/opcua-write-not-writing/32538)

<div class="topic-metadata">

**Author:** [@vishalk](https://discourse.nodered.org/u/vishalk)\
**Replies:** 5\
**Last updated:** [29 October 2020 12:26 UTC](https://discourse.nodered.org/t/opcua-write-not-writing/32538 "2020-10-29T12:26:58Z")

</div>

Hello, I am trying to write boolean value to my plc with OPCUa write node. but its not writing looks like there is issue with the OPCUa write node because even other bits are not writable. I have also readed many bit…

---

## [How to add to array elements?](https://discourse.nodered.org/t/how-to-add-to-array-elements/34981)

<div class="topic-metadata">

**Author:** [@Zerg](https://discourse.nodered.org/u/Zerg)\
**Replies:** 3\
**Last updated:** [29 October 2020 10:27 UTC](https://discourse.nodered.org/t/how-to-add-to-array-elements/34981 "2020-10-29T10:27:24Z")

</div>

Could you help me to add an element/elements to the array and then display array in the debug window. I do something wrong! var array = flow.get('array') || ""; flow.set("array", flow.get("array").push(msg.payload)); …

---

## [I Can't Install Alibabacloud](https://discourse.nodered.org/t/i-cant-install-alibabacloud/35015)

<div class="topic-metadata">

**Author:** [@ztmaung](https://discourse.nodered.org/u/ztmaung)\
**Replies:** 10\
**Last updated:** [29 October 2020 10:07 UTC](https://discourse.nodered.org/t/i-cant-install-alibabacloud/35015 "2020-10-29T10:07:38Z")

</div>

Not Appear in Nodes Panel

---

## [OPC ua writing to simatic plc not happening](https://discourse.nodered.org/t/opc-ua-writing-to-simatic-plc-not-happening/35014)

<div class="topic-metadata">

**Author:** [@vishalk](https://discourse.nodered.org/u/vishalk)\
**Replies:** 0\
**Last updated:** [29 October 2020 09:33 UTC](https://discourse.nodered.org/t/opc-ua-writing-to-simatic-plc-not-happening/35014 "2020-10-29T09:33:10Z")

</div>

Hello, I am trying to write to my simatic plc with opc ua node, opc ua iiot node was recommended earlier but in my node red I could not find this node to install node red version v1.1.3 windows 10 enterprise plc sie…

---

## [Voice Control system over a local network](https://discourse.nodered.org/t/voice-control-system-over-a-local-network/35002)

<div class="topic-metadata">

**Author:** [@kshitiz](https://discourse.nodered.org/u/kshitiz)\
**Replies:** 1\
**Last updated:** [29 October 2020 06:00 UTC](https://discourse.nodered.org/t/voice-control-system-over-a-local-network/35002 "2020-10-29T06:00:40Z")

</div>

Hello everyone, I am doing a project where I have to control a lighting system(turn on/off and basic settings) using voice command within a local network i.e. No Internet. I am new to this NodeRed so can you please sugg…

---

## [Will asynchronous change in a context variable with flow-scope, be immediately noticed by other nodes in the flow?](https://discourse.nodered.org/t/will-asynchronous-change-in-a-context-variable-with-flow-scope-be-immediately-noticed-by-other-nodes-in-the-flow/34897)

<div class="topic-metadata">

**Author:** [@philips.koshy](https://discourse.nodered.org/u/philips.koshy)\
**Replies:** 17\
**Last updated:** [29 October 2020 05:08 UTC](https://discourse.nodered.org/t/will-asynchronous-change-in-a-context-variable-with-flow-scope-be-immediately-noticed-by-other-nodes-in-the-flow/34897 "2020-10-29T05:08:50Z")

</div>

I'm new to nodered. I'd like to set a context variable with flow scope to control another node in the same page. But, I get "SyntaxError: Invalid or unexpected token (body:line 1)" \[{"id":"db8cd33d.d63fb","type":"ui\_but…

---

## [Documentation of Node-Red project](https://discourse.nodered.org/t/documentation-of-node-red-project/34680)

<div class="topic-metadata">

**Author:** [@edstobi](https://discourse.nodered.org/u/edstobi)\
**Replies:** 5\
**Last updated:** [29 October 2020 03:06 UTC](https://discourse.nodered.org/t/documentation-of-node-red-project/34680 "2020-10-29T03:06:49Z")

</div>

Hello i set up several flows which have become quite complex and where i invested a lot of time and testing. This I now have to hand over as hardware together with a documentation. I wanted to ask you how you document…

---

## [Script to collect information hourly](https://discourse.nodered.org/t/script-to-collect-information-hourly/34991)

<div class="topic-metadata">

**Author:** [@leoaabreu1997](https://discourse.nodered.org/u/leoaabreu1997)\
**Replies:** 1\
**Last updated:** [28 October 2020 22:57 UTC](https://discourse.nodered.org/t/script-to-collect-information-hourly/34991 "2020-10-28T22:57:22Z")

</div>

I need to create a flow to collect information and store it every hour. Example: hour1 (00:00:00 to 00:59:59) = 10 hour2 (01:00:00 to 01:59:59) = 20 ... hour24 (23:00:00 to 23:59:59) = 13 For each hour there will be…

---

## [Tahoma nodes only list "TAHOMA" as available device](https://discourse.nodered.org/t/tahoma-nodes-only-list-tahoma-as-available-device/34985)

<div class="topic-metadata">

**Author:** [@superfladdy](https://discourse.nodered.org/u/superfladdy)\
**Replies:** 1\
**Last updated:** [28 October 2020 22:20 UTC](https://discourse.nodered.org/t/tahoma-nodes-only-list-tahoma-as-available-device/34985 "2020-10-28T22:20:04Z")

</div>

I've successfully connected my Tahoma box with the config node and have multiple devices registered and configured on the Tahoma itself. However, when adding Tahoma nodes, the only device that is appearing the device dro…

---

## [Sending Unicode characters via HTTP Request](https://discourse.nodered.org/t/sending-unicode-characters-via-http-request/34990)

<div class="topic-metadata">

**Author:** [@darkdude](https://discourse.nodered.org/u/darkdude)\
**Replies:** 0\
**Last updated:** [28 October 2020 22:18 UTC](https://discourse.nodered.org/t/sending-unicode-characters-via-http-request/34990 "2020-10-28T22:18:20Z")

</div>

I need to interface a TTS service. Input for TTS is sent via POST requests. The message needs to include country-specific characters in Unicode. On this flow: \[{"id":"f133ea37.e26a98","type":"http request","z":"7e633a…

---

## [Best way to connect multiple serial UART sensors to Node-Red?](https://discourse.nodered.org/t/best-way-to-connect-multiple-serial-uart-sensors-to-node-red/34980)

<div class="topic-metadata">

**Author:** [@dr\_cave\_dweller](https://discourse.nodered.org/u/dr_cave_dweller)\
**Replies:** 2\
**Last updated:** [28 October 2020 22:18 UTC](https://discourse.nodered.org/t/best-way-to-connect-multiple-serial-uart-sensors-to-node-red/34980 "2020-10-28T22:18:08Z")

</div>

I have a sensor that outputs serial UART data. I connected it to a Raspberry Pi4 using a FTDI chip/cable into the USB port. Bluetooth is disabled so I am using PL011 as the primary UART (I am not using the mini UART), i…

---

## [NodeRed+Plotly Zoom Event](https://discourse.nodered.org/t/nodered-plotly-zoom-event/34681)

<div class="topic-metadata">

**Author:** [@Cristiano](https://discourse.nodered.org/u/Cristiano)\
**Replies:** 5\
**Last updated:** [28 October 2020 21:53 UTC](https://discourse.nodered.org/t/nodered-plotly-zoom-event/34681 "2020-10-28T21:53:33Z")

</div>

Hello, I'm using the plotly to show my trends, but i have a small problem with zoom event, i want to receive a msg in my node red with zoom data, im already receiving this information, but when i recevi the data my char…

---

## [Configurable number of outputs for subflow instances](https://discourse.nodered.org/t/configurable-number-of-outputs-for-subflow-instances/34984)

<div class="topic-metadata">

**Author:** [@mhechthz](https://discourse.nodered.org/u/mhechthz)\
**Replies:** 2\
**Last updated:** [28 October 2020 21:46 UTC](https://discourse.nodered.org/t/configurable-number-of-outputs-for-subflow-instances/34984 "2020-10-28T21:46:26Z")

</div>

Hi, I have a function node that is dynamically configured via input to have one to many (e.g. 4 or 5) outputs, i.e. the output message object is a configurable field of messages. For a deployed flow the number of output…

---

## [How to stop flow backup file being generated?](https://discourse.nodered.org/t/how-to-stop-flow-backup-file-being-generated/34853)

<div class="topic-metadata">

**Author:** [@dr\_cave\_dweller](https://discourse.nodered.org/u/dr_cave_dweller)\
**Replies:** 14\
**Last updated:** [28 October 2020 20:43 UTC](https://discourse.nodered.org/t/how-to-stop-flow-backup-file-being-generated/34853 "2020-10-28T20:43:54Z")

</div>

I have seen alot of historical posts here about creating and automating flow backups, but nothing about stopping it from being generated. Can someone please clarify when a flow.backup is created in Node-Red? Does it hap…

---

## [\[Resolved\] Cannot find Arduino port in Serial In or Serial Out nodes](https://discourse.nodered.org/t/resolved-cannot-find-arduino-port-in-serial-in-or-serial-out-nodes/34916)

<div class="topic-metadata">

**Author:** [@Huda](https://discourse.nodered.org/u/Huda)\
**Replies:** 14\
**Last updated:** [28 October 2020 20:23 UTC](https://discourse.nodered.org/t/resolved-cannot-find-arduino-port-in-serial-in-or-serial-out-nodes/34916 "2020-10-28T20:23:16Z")

</div>

Hello, I am extremely new to Node Red, so I apologize if this is a simple question, but I cannot seem to be able to connect my Arduino to the Serial In or Out nodes. I am using the browser version of node red, and my Ar…

---

## [Change a variable name with a variable](https://discourse.nodered.org/t/change-a-variable-name-with-a-variable/34719)

<div class="topic-metadata">

**Author:** [@rothestar](https://discourse.nodered.org/u/rothestar)\
**Replies:** 11\
**Last updated:** [28 October 2020 20:00 UTC](https://discourse.nodered.org/t/change-a-variable-name-with-a-variable/34719 "2020-10-28T20:00:27Z")

</div>

Hi there is it psiisble to change a variable name with another variable... or is there a smarter way?? Doing son floor heating calculations I need multiple heating zones, in a function I have defined these variables 0…

---

## [Help with regex replace](https://discourse.nodered.org/t/help-with-regex-replace/34933)

<div class="topic-metadata">

**Author:** [@Hunter](https://discourse.nodered.org/u/Hunter)\
**Replies:** 7\
**Last updated:** [28 October 2020 19:56 UTC](https://discourse.nodered.org/t/help-with-regex-replace/34933 "2020-10-28T19:56:06Z")

</div>

Hello, I'm parsing a buffer with several lines of content, like; Monday: John Tuesday: Michael Wednesday: Martin etc I would like the first word, in this example the day, to be matched. My words allways start with …

---

## [Get JSON response from TCP input](https://discourse.nodered.org/t/get-json-response-from-tcp-input/34958)

<div class="topic-metadata">

**Author:** [@sid99](https://discourse.nodered.org/u/sid99)\
**Replies:** 1\
**Last updated:** [28 October 2020 15:29 UTC](https://discourse.nodered.org/t/get-json-response-from-tcp-input/34958 "2020-10-28T15:29:55Z")

</div>

I need some help with how to convert an input received from a TCP input node to a JSON object in Node Red. I am using Logstash, which is tailing a csv file(which gets updated every 5 minutes) and then sending it to the …

---

## [Node-Red / Gitlab CI/CD](https://discourse.nodered.org/t/node-red-gitlab-ci-cd/34968)

<div class="topic-metadata">

**Author:** [@Clouard-Dista](https://discourse.nodered.org/u/Clouard-Dista)\
**Replies:** 0\
**Last updated:** [28 October 2020 15:15 UTC](https://discourse.nodered.org/t/node-red-gitlab-ci-cd/34968 "2020-10-28T15:15:30Z")

</div>

Hello everyone, On my project we are on version 1.1, and I would like to do functional tests of my subflow in node-red, and imperatively be able to execute them with the gilab CI/CD. Is it possible to do this on node-re…

---

## [Search for data in msg. payload based on values within payload. Is this possible?](https://discourse.nodered.org/t/search-for-data-in-msg-payload-based-on-values-within-payload-is-this-possible/34882)

<div class="topic-metadata">

**Author:** [@NoMercyMike](https://discourse.nodered.org/u/NoMercyMike)\
**Replies:** 9\
**Last updated:** [28 October 2020 15:08 UTC](https://discourse.nodered.org/t/search-for-data-in-msg-payload-based-on-values-within-payload-is-this-possible/34882 "2020-10-28T15:08:33Z")

</div>

Hi, I'm using node red for a while now as rule engine for my home automation system. Now I've stumbled over a problem, I cannot solve by myself. Every idea how to solve is highly welcome :slight\_smile: The problem is h…

---

## [Assign IP and Port of MQTT node dynamically](https://discourse.nodered.org/t/assign-ip-and-port-of-mqtt-node-dynamically/34890)

<div class="topic-metadata">

**Author:** [@Verina](https://discourse.nodered.org/u/Verina)\
**Replies:** 13\
**Last updated:** [28 October 2020 14:49 UTC](https://discourse.nodered.org/t/assign-ip-and-port-of-mqtt-node-dynamically/34890 "2020-10-28T14:49:46Z")

</div>

I need to assign IP and Port values (rectangles in picture) of MQTT node depending on a value from UI. Is there a way to do so?

---

## [Help configuring NORA & Google Assistant (Smart Speaker)](https://discourse.nodered.org/t/help-configuring-nora-google-assistant-smart-speaker/34840)

<div class="topic-metadata">

**Author:** [@kes](https://discourse.nodered.org/u/kes)\
**Replies:** 24\
**Last updated:** [28 October 2020 14:41 UTC](https://discourse.nodered.org/t/help-configuring-nora-google-assistant-smart-speaker/34840 "2020-10-28T14:41:19Z")

</div>

I have a load of urls that I use to switch lights on and off (not MQTT). eg I can turn the desk lamp on and off with these urls in a browser. Desk light on http:// 192.168.1.50/?s1-2on Desk light off http://192.16…

---

## [File from Node-RED is attached](https://discourse.nodered.org/t/file-from-node-red-is-attached/34962)

<div class="topic-metadata">

**Author:** [@josekavunkal](https://discourse.nodered.org/u/josekavunkal)\
**Replies:** 0\
**Last updated:** [28 October 2020 14:24 UTC](https://discourse.nodered.org/t/file-from-node-red-is-attached/34962 "2020-10-28T14:24:00Z")

</div>

When I attach a file to email and send to my email ID all works but I can see a text "File from Node-RED is attached" in the email above the attachment. Type of the node I am using is "e-mail". Is there a way to chang…

---

## [New input before finishing previous one](https://discourse.nodered.org/t/new-input-before-finishing-previous-one/34953)

<div class="topic-metadata">

**Author:** [@crester](https://discourse.nodered.org/u/crester)\
**Replies:** 3\
**Last updated:** [28 October 2020 14:08 UTC](https://discourse.nodered.org/t/new-input-before-finishing-previous-one/34953 "2020-10-28T14:08:00Z")

</div>

Hello My current problem is having a flow with some http requests and calcs that is working well while receiving data between intervals, that give it enough time to process and finish. But I have seen that receiving da…

---

## [Convert working curl command into Node-Red flow](https://discourse.nodered.org/t/convert-working-curl-command-into-node-red-flow/34927)

<div class="topic-metadata">

**Author:** [@Tico](https://discourse.nodered.org/u/Tico)\
**Replies:** 7\
**Last updated:** [28 October 2020 12:48 UTC](https://discourse.nodered.org/t/convert-working-curl-command-into-node-red-flow/34927 "2020-10-28T12:48:37Z")

</div>

I have a working curl command I'm trying to integrate into Node-Red. I have a Change node in front of a HTTP request node, but I'm stuck trying to figure out the correct formatting required. Here's the curl command - c…

---

## [Error connecting to mongo db database](https://discourse.nodered.org/t/error-connecting-to-mongo-db-database/34932)

<div class="topic-metadata">

**Author:** [@bachloo.rahul](https://discourse.nodered.org/u/bachloo.rahul)\
**Replies:** 18\
**Last updated:** [28 October 2020 10:00 UTC](https://discourse.nodered.org/t/error-connecting-to-mongo-db-database/34932 "2020-10-28T10:00:40Z")

</div>

I am using mongo db node inorder to connect to my mongodb database which is installed on my pc,but i am getting this error

---

## [Func-Exec node - NodeRed Crash](https://discourse.nodered.org/t/func-exec-node-nodered-crash/34929)

<div class="topic-metadata">

**Author:** [@softy2k](https://discourse.nodered.org/u/softy2k)\
**Replies:** 9\
**Last updated:** [28 October 2020 09:19 UTC](https://discourse.nodered.org/t/func-exec-node-nodered-crash/34929 "2020-10-28T09:19:19Z")

</div>

Hello I encountered a rather strange situation, I don't know if this is normal or if there is a problem in the func-exec. In other words, I expected the func-exec to generate an error, not to crash the NodeRed. Someone…

---

## [Stage and revert specific changes](https://discourse.nodered.org/t/stage-and-revert-specific-changes/34936)

<div class="topic-metadata">

**Author:** [@danielo515](https://discourse.nodered.org/u/danielo515)\
**Replies:** 2\
**Last updated:** [28 October 2020 08:44 UTC](https://discourse.nodered.org/t/stage-and-revert-specific-changes/34936 "2020-10-28T08:44:57Z")

</div>

Hello. I just activated node-red projects feature, being a git geek this made me very happy. I was expecting to be able to stage/revert/unstage specific node changes, so I can undo errors and just commits the part I'm …

---

## [Web scraping to grab an items price, but coming back empty](https://discourse.nodered.org/t/web-scraping-to-grab-an-items-price-but-coming-back-empty/34894)

<div class="topic-metadata">

**Author:** [@clandestine-avocado](https://discourse.nodered.org/u/clandestine-avocado)\
**Replies:** 7\
**Last updated:** [28 October 2020 07:21 UTC](https://discourse.nodered.org/t/web-scraping-to-grab-an-items-price-but-coming-back-empty/34894 "2020-10-28T07:21:56Z")

</div>

I'm trying to grab price data from this page via HTTP request. The price appears to be in \<div class="sc-fznMnq biVOqy"\>$146.63 \</div\>. So, in the HTML Node, I set the Selector field to .sc-fznMnq biVOqy (following the e…

---

## [Node-RED Flows Disappearing](https://discourse.nodered.org/t/node-red-flows-disappearing/34919)

<div class="topic-metadata">

**Author:** [@liiontamer](https://discourse.nodered.org/u/liiontamer)\
**Replies:** 2\
**Last updated:** [28 October 2020 07:18 UTC](https://discourse.nodered.org/t/node-red-flows-disappearing/34919 "2020-10-28T07:18:54Z")

</div>

Hi, Having an issue with my flows disappearing on startup - it's happened about 3 times over the last 2 months. My Node-RED instance runs on my laptop and I only switch on the instance when I need to do some work on it…

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

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