# General

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

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

**Page:** 612

---

## [Google Assistant Voice Commands + NodeRed](https://discourse.nodered.org/t/google-assistant-voice-commands-nodered/40164)

<div class="topic-metadata">

**Author:** [@MAaron](https://discourse.nodered.org/u/MAaron)\
**Replies:** 1\
**Last updated:** [1 February 2021 14:03 UTC](https://discourse.nodered.org/t/google-assistant-voice-commands-nodered/40164 "2021-02-01T14:03:27Z")

</div>

Hi there! Since IFTTT made it's service as subscription-based, I'm looking to find something to be able to simply trigger flows in Noder-Red through Voice Assistant. Basically all I want, is whenever I say a specific p…

---

## [Function msg.payload x1](https://discourse.nodered.org/t/function-msg-payload-x1/40174)

<div class="topic-metadata">

**Author:** [@hannoverRed](https://discourse.nodered.org/u/hannoverRed)\
**Replies:** 0\
**Last updated:** [1 February 2021 14:44 UTC](https://discourse.nodered.org/t/function-msg-payload-x1/40174 "2021-02-01T14:44:46Z")

</div>

Hallo, ich möchte gerne bei msg.warnings\[2\].regionName die 2 variable ersetzten mit mag.payload. Beispiel: var x1 = msg.payload; msg.warnings\[x1\].regionName x1 würd sich regelmäßig ändern und soll deswegen variable …

---

## [Image recognition translator chatbot](https://discourse.nodered.org/t/image-recognition-translator-chatbot/40169)

<div class="topic-metadata">

**Author:** [@NURULSYIFA98](https://discourse.nodered.org/u/NURULSYIFA98)\
**Replies:** 1\
**Last updated:** [1 February 2021 12:44 UTC](https://discourse.nodered.org/t/image-recognition-translator-chatbot/40169 "2021-02-01T12:44:11Z")

</div>

Hello, I have a question, anyone here knows how to make an image recognition translator and integrate it in Telegram? Thank you in advance to everyone who helps me.

---

## [Add an image, or even a dynamic svg, to a node in the admin editor?](https://discourse.nodered.org/t/add-an-image-or-even-a-dynamic-svg-to-a-node-in-the-admin-editor/40142)

<div class="topic-metadata">

**Author:** [@vegabook](https://discourse.nodered.org/u/vegabook)\
**Replies:** 6\
**Last updated:** [1 February 2021 12:31 UTC](https://discourse.nodered.org/t/add-an-image-or-even-a-dynamic-svg-to-a-node-in-the-admin-editor/40142 "2021-02-01T12:31:26Z")

</div>

I know that you can create dashboards in a separate tab using node-red-dashboard. However is it possible to have actual visualizations in the admin editor itself? For example might it be possible for part of the DAG to i…

---

## [Node-red + docker-compose (updating flows, and dependencies)](https://discourse.nodered.org/t/node-red-docker-compose-updating-flows-and-dependencies/20587)

<div class="topic-metadata">

**Author:** [@michaltaberski](https://discourse.nodered.org/u/michaltaberski)\
**Replies:** 1\
**Last updated:** [1 February 2021 12:10 UTC](https://discourse.nodered.org/t/node-red-docker-compose-updating-flows-and-dependencies/20587 "2021-02-01T12:10:01Z")

</div>

Hey, I am planning to run node-red using docker (docker-compose in particular). The initial run works and obviously is very simple if you follow this instruction. However things are getting a bit more complex if a) you…

---

## [List of fixed values in the UI for a subflow](https://discourse.nodered.org/t/list-of-fixed-values-in-the-ui-for-a-subflow/40161)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 2\
**Last updated:** [1 February 2021 11:15 UTC](https://discourse.nodered.org/t/list-of-fixed-values-in-the-ui-for-a-subflow/40161 "2021-02-01T11:15:37Z")

</div>

Hi, I need to show a list of fixed values as string inputs in the UI of a subflow: The user should select one out of 10 fixed values for DEVICE, in a dropdown list. How can I do?

---

## [Access synology NAS from node-red](https://discourse.nodered.org/t/access-synology-nas-from-node-red/40043)

<div class="topic-metadata">

**Author:** [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Replies:** 18\
**Last updated:** [1 February 2021 11:19 UTC](https://discourse.nodered.org/t/access-synology-nas-from-node-red/40043 "2021-02-01T11:19:08Z")

</div>

I am new to linux Mint 20 and still learning. I want to load a file from my Synology NAS. I get this error: \[{"id":"a2ebd710.f21f18","type":"inject","z":"12ca0c96.d3b703","name":"","props":\[{"p":"payload"},{"p":"topic"…

---

## [Protecting flows/groups from changes](https://discourse.nodered.org/t/protecting-flows-groups-from-changes/40155)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 2\
**Last updated:** [1 February 2021 10:43 UTC](https://discourse.nodered.org/t/protecting-flows-groups-from-changes/40155 "2021-02-01T10:43:25Z")

</div>

Is there a way to protect flows/groups from inadvertent changes/modification?

---

## [UDP only works after deploy](https://discourse.nodered.org/t/udp-only-works-after-deploy/40159)

<div class="topic-metadata">

**Author:** [@Meng](https://discourse.nodered.org/u/Meng)\
**Replies:** 0\
**Last updated:** [1 February 2021 10:35 UTC](https://discourse.nodered.org/t/udp-only-works-after-deploy/40159 "2021-02-01T10:35:04Z")

</div>

Hi, I am using the UDP in node and i started to connect to it 5 days ago. I performed a test of 10 minutes. 3 Days ago i again used the UDP for 10 minutes. Today i wanted to send some msgs again, still the same settings …

---

## [New to Node-RED | Need help about HMI](https://discourse.nodered.org/t/new-to-node-red-need-help-about-hmi/39925)

<div class="topic-metadata">

**Author:** [@mist3rW](https://discourse.nodered.org/u/mist3rW)\
**Replies:** 4\
**Last updated:** [1 February 2021 10:12 UTC](https://discourse.nodered.org/t/new-to-node-red-need-help-about-hmi/39925 "2021-02-01T10:12:50Z")

</div>

I am a beginner in I.T. field, this is my 3rd week as a trainee in this company(IT solutions) my supervisor told me to start playing with node-red and grafana dashboard start from this task: I have to pull this data from…

---

## [How to create public-facing MQTT server? (Ubuntu)](https://discourse.nodered.org/t/how-to-create-public-facing-mqtt-server-ubuntu/40135)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 9\
**Last updated:** [1 February 2021 10:07 UTC](https://discourse.nodered.org/t/how-to-create-public-facing-mqtt-server-ubuntu/40135 "2021-02-01T10:07:20Z")

</div>

Hello all, I re-discovered Owntracks last night, which is an amazing little app that allows you to set up geofencing, location awareness, and can even report your velocity, steps (iOS), current phone battery level, and a…

---

## [Play song with DLNA Speaker](https://discourse.nodered.org/t/play-song-with-dlna-speaker/37253)

<div class="topic-metadata">

**Author:** [@Domeus](https://discourse.nodered.org/u/Domeus)\
**Replies:** 5\
**Last updated:** [9 December 2020 20:22 UTC](https://discourse.nodered.org/t/play-song-with-dlna-speaker/37253 "2020-12-09T20:22:05Z")

</div>

Hello. I have a qnap NAS with a setup DLNA Server and a DLNA Speaker. I would like to use NODE-Red to have the speaker play a song (or maybe even a folder) from the DLNA Server or the NAS directly. I already did a lot …

---

## [Status node in subflows](https://discourse.nodered.org/t/status-node-in-subflows/40152)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 1\
**Last updated:** [1 February 2021 08:34 UTC](https://discourse.nodered.org/t/status-node-in-subflows/40152 "2021-02-01T08:34:53Z")

</div>

Hi, I have a subflow which contains a tcp request node and I would like to add a "status" node in the subflow which displays the connection status of the tcp node (connected/disconnected). How can I proceed? Thanks

---

## [Bash commands and the exec node](https://discourse.nodered.org/t/bash-commands-and-the-exec-node/40087)

<div class="topic-metadata">

**Author:** [@prf](https://discourse.nodered.org/u/prf)\
**Replies:** 13\
**Last updated:** [1 February 2021 04:02 UTC](https://discourse.nodered.org/t/bash-commands-and-the-exec-node/40087 "2021-02-01T04:02:30Z")

</div>

Flushed with some mild success, I thought I'd try something else before I give it away for the day. I've been able to run a simple Python script that prints a number series and now I'm wondering if I can run some bash c…

---

## [HueMagic show light status](https://discourse.nodered.org/t/huemagic-show-light-status/40089)

<div class="topic-metadata">

**Author:** [@davenrea](https://discourse.nodered.org/u/davenrea)\
**Replies:** 7\
**Last updated:** [31 January 2021 22:56 UTC](https://discourse.nodered.org/t/huemagic-show-light-status/40089 "2021-01-31T22:56:48Z")

</div>

I am using HueMagic and can't show the state on the dashboard. It works fine if I turn a light on from the dashboard but if I turn it one from a wall mounted hue switch I can show the state on the dashboard. Any help app…

---

## [Serial communication from node-red to arduino](https://discourse.nodered.org/t/serial-communication-from-node-red-to-arduino/40136)

<div class="topic-metadata">

**Author:** [@Stevenvdw](https://discourse.nodered.org/u/Stevenvdw)\
**Replies:** 3\
**Last updated:** [31 January 2021 22:44 UTC](https://discourse.nodered.org/t/serial-communication-from-node-red-to-arduino/40136 "2021-01-31T22:44:21Z")

</div>

Hello Hope you guys understand my pore English. Sorry for that. I have made a button in node-red that sends a 0 or 1 through serial communication to my arduino. (Represents the button state). In arduino I have an if st…

---

## [Can I change the node-red logo in the top left?](https://discourse.nodered.org/t/can-i-change-the-node-red-logo-in-the-top-left/40132)

<div class="topic-metadata">

**Author:** [@vegabook](https://discourse.nodered.org/u/vegabook)\
**Replies:** 4\
**Last updated:** [31 January 2021 21:35 UTC](https://discourse.nodered.org/t/can-i-change-the-node-red-logo-in-the-top-left/40132 "2021-01-31T21:35:07Z")

</div>

I'm wondering if it's possible to replace the logo in the top right of the node-red dashboard with my own.... I don't mind keeping the node-red logo up there as well, but I'd like to have my own too because I'd like to …

---

## [Intercept yellow debugging message](https://discourse.nodered.org/t/intercept-yellow-debugging-message/40099)

<div class="topic-metadata">

**Author:** [@weiti](https://discourse.nodered.org/u/weiti)\
**Replies:** 5\
**Last updated:** [31 January 2021 20:38 UTC](https://discourse.nodered.org/t/intercept-yellow-debugging-message/40099 "2021-01-31T20:38:42Z")

</div>

Hello, how can I grab the hint that is displayed in the in debugging with a node? I do not want to pick up all probes only those that come from node: SandraXI. Greetings

---

## [Zigbee2mqtt and pairing routers/devices for optimal performance](https://discourse.nodered.org/t/zigbee2mqtt-and-pairing-routers-devices-for-optimal-performance/40095)

<div class="topic-metadata">

**Author:** [@877](https://discourse.nodered.org/u/877)\
**Replies:** 2\
**Last updated:** [31 January 2021 19:45 UTC](https://discourse.nodered.org/t/zigbee2mqtt-and-pairing-routers-devices-for-optimal-performance/40095 "2021-01-31T19:45:02Z")

</div>

Zigbee2mqtt users: My main co-ordinator is a cc2531, and I have four cc2531 routers spread over the house/garden. Question 1 , do you pair the routers near the main co-ordinator or in their final position? Seems to me…

---

## [Palette customization](https://discourse.nodered.org/t/palette-customization/40120)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 2\
**Last updated:** [31 January 2021 19:09 UTC](https://discourse.nodered.org/t/palette-customization/40120 "2021-01-31T19:09:25Z")

</div>

Can I create a new category in the Palette and move there some of the subflows I made?

---

## [Filename as timestamp](https://discourse.nodered.org/t/filename-as-timestamp/40118)

<div class="topic-metadata">

**Author:** [@Baigars](https://discourse.nodered.org/u/Baigars)\
**Replies:** 6\
**Last updated:** [31 January 2021 18:53 UTC](https://discourse.nodered.org/t/filename-as-timestamp/40118 "2021-01-31T18:53:20Z")

</div>

Hi everyone. i wanted to make time lapse with esp32 cam, the capture works and to save the picture works but only with predefined filename. i have no idea how to change the file name with function, googled everything b…

---

## [Delayed flow pass through](https://discourse.nodered.org/t/delayed-flow-pass-through/40126)

<div class="topic-metadata">

**Author:** [@kevincw01](https://discourse.nodered.org/u/kevincw01)\
**Replies:** 1\
**Last updated:** [31 January 2021 18:38 UTC](https://discourse.nodered.org/t/delayed-flow-pass-through/40126 "2021-01-31T18:38:27Z")

</div>

Hi, I'm trying to figure out how to delay the "off" command for alight for a couple minutes. The off command many not occur again. Any suggestions? relevant flow excerpt: https://ibb.co/HDr087y

---

## [Problems by accessing http static path](https://discourse.nodered.org/t/problems-by-accessing-http-static-path/40121)

<div class="topic-metadata">

**Author:** [@ChristianM](https://discourse.nodered.org/u/ChristianM)\
**Replies:** 2\
**Last updated:** [31 January 2021 17:31 UTC](https://discourse.nodered.org/t/problems-by-accessing-http-static-path/40121 "2021-01-31T17:31:20Z")

</div>

Hi Guys, I really tried to find the solution to my problem myself, but for some reason I do not understand what could possibly my problem. So what I added to settings.js httpStatic: '/home/christian/nodered/public/' …

---

## [Raspberry Pi - start service at boot - clarification](https://discourse.nodered.org/t/raspberry-pi-start-service-at-boot-clarification/40109)

<div class="topic-metadata">

**Author:** [@Pi-DD](https://discourse.nodered.org/u/Pi-DD)\
**Replies:** 9\
**Last updated:** [31 January 2021 16:36 UTC](https://discourse.nodered.org/t/raspberry-pi-start-service-at-boot-clarification/40109 "2021-01-31T16:36:48Z")

</div>

The installation notes for Raspberry pi explain the need to start node-red with the specific Pi command and pass the parameter that tells Node.js to free up space earlier than it would normally do. node-red-pi --max-old…

---

## [TypeError: key.startsWith is not a function](https://discourse.nodered.org/t/typeerror-key-startswith-is-not-a-function/40086)

<div class="topic-metadata">

**Author:** [@NURULSYIFA98](https://discourse.nodered.org/u/NURULSYIFA98)\
**Replies:** 9\
**Last updated:** [31 January 2021 15:08 UTC](https://discourse.nodered.org/t/typeerror-key-startswith-is-not-a-function/40086 "2021-01-31T15:08:03Z")

</div>

Getting this error for function, "TypeError: key.startsWith is not a function" and I don't know what happens. Can anyone help me to solve this problem. Here is my code in the function. msg.chatId= msg.payload.chatId; …

---

## [Use a variable in define msg"X" = -\> (instead of msg1, msg2, msg3, msgX in loop)](https://discourse.nodered.org/t/use-a-variable-in-define-msg-x-instead-of-msg1-msg2-msg3-msgx-in-loop/40108)

<div class="topic-metadata">

**Author:** [@Toffy77cc](https://discourse.nodered.org/u/Toffy77cc)\
**Replies:** 4\
**Last updated:** [31 January 2021 14:55 UTC](https://discourse.nodered.org/t/use-a-variable-in-define-msg-x-instead-of-msg1-msg2-msg3-msgx-in-loop/40108 "2021-01-31T14:55:48Z")

</div>

Hi There :slight\_smile: I'm quite new and have a problem with using a variable in defining the msgX = Number... for Output in a function node. I want to replace msg1, msg2, msg3.... with msgt, msg't', {msg;t} or so to …

---

## [Function with multiple output combined with node-red-contrib-boolean-logic](https://discourse.nodered.org/t/function-with-multiple-output-combined-with-node-red-contrib-boolean-logic/40059)

<div class="topic-metadata">

**Author:** [@lindi](https://discourse.nodered.org/u/lindi)\
**Replies:** 2\
**Last updated:** [31 January 2021 11:22 UTC](https://discourse.nodered.org/t/function-with-multiple-output-combined-with-node-red-contrib-boolean-logic/40059 "2021-01-31T11:22:17Z")

</div>

Hi, I try to use a function with multiple outputs and combine this logic with the “node-red-contrib-boolean-logic”. As long as I use only one output this combination works fine. As soon as I try to use multiple output th…

---

## [How to delete a flow?](https://discourse.nodered.org/t/how-to-delete-a-flow/40082)

<div class="topic-metadata">

**Author:** [@prf](https://discourse.nodered.org/u/prf)\
**Replies:** 4\
**Last updated:** [31 January 2021 04:25 UTC](https://discourse.nodered.org/t/how-to-delete-a-flow/40082 "2021-01-31T04:25:22Z")

</div>

The last beginner question for today. From the documentation it seems that I need to enter "delete the id number of the flow", however, it's not obvious where I enter the command. Not in the terminal window it seems. I…

---

## [Change node change payload from array to number](https://discourse.nodered.org/t/change-node-change-payload-from-array-to-number/40075)

<div class="topic-metadata">

**Author:** [@vaughan.mcd](https://discourse.nodered.org/u/vaughan.mcd)\
**Replies:** 3\
**Last updated:** [31 January 2021 01:54 UTC](https://discourse.nodered.org/t/change-node-change-payload-from-array-to-number/40075 "2021-01-31T01:54:32Z")

</div>

How to change message from 1/31/2021, 11:01:26 AMnode: 1afb97a5.247c08polling : msg.payload : array\[8\] \[ false, false, false, false, false, false, false, false \] To 0 and 1/31/2021, 11:01:26 AMnode: 1afb97a5.247c08p…

---

## [RBE node is driving me crazy](https://discourse.nodered.org/t/rbe-node-is-driving-me-crazy/40073)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 23\
**Last updated:** [31 January 2021 00:01 UTC](https://discourse.nodered.org/t/rbe-node-is-driving-me-crazy/40073 "2021-01-31T00:01:22Z")

</div>

I have been in this scenario before many times and it keeps biting me. This is a cut down of the code: \[{"id":"49a576ab.8b2ca","type":"function","z":"28c631fa.7e866e","name":"","func":"msg1 = {};\\n\\nvar state = context…

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

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