# General

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

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

**Page:** 859

---

## [Join node creates two msg objects instead of one](https://discourse.nodered.org/t/join-node-creates-two-msg-objects-instead-of-one/14032)

<div class="topic-metadata">

**Author:** [@HYPER](https://discourse.nodered.org/u/HYPER)\
**Replies:** 11\
**Last updated:** [14 August 2019 18:03 UTC](https://discourse.nodered.org/t/join-node-creates-two-msg-objects-instead-of-one/14032 "2019-08-14T18:03:31Z")

</div>

I am currently requesting data every second from 13 different sources using a raspberry pi. That data is then given a topic with All/ and then sent over MQTT to my computer. Using a switch node, I separate out the data, …

---

## [Cn-dashboard-nodes appearing in manage palette install](https://discourse.nodered.org/t/cn-dashboard-nodes-appearing-in-manage-palette-install/14322)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 1\
**Last updated:** [14 August 2019 17:50 UTC](https://discourse.nodered.org/t/cn-dashboard-nodes-appearing-in-manage-palette-install/14322 "2019-08-14T17:50:58Z")

</div>

..above main dashboard node when searching for dashboard Should it be there? I thought all installable Node-RED nodes had to start with "node-red"

---

## [Msg.payload is changing within a node](https://discourse.nodered.org/t/msg-payload-is-changing-within-a-node/14311)

<div class="topic-metadata">

**Author:** [@Reims](https://discourse.nodered.org/u/Reims)\
**Replies:** 15\
**Last updated:** [14 August 2019 15:26 UTC](https://discourse.nodered.org/t/msg-payload-is-changing-within-a-node/14311 "2019-08-14T15:26:11Z")

</div>

Hi, i m struggling with some code function in node red. if you can have a look on please so the principle is that i want to draw a graph with values correspoding to certain topics. so first i read a csv file to know …

---

## [Email node error message in v20.7](https://discourse.nodered.org/t/email-node-error-message-in-v20-7/14277)

<div class="topic-metadata">

**Author:** [@sharonv](https://discourse.nodered.org/u/sharonv)\
**Replies:** 8\
**Last updated:** [14 August 2019 12:45 UTC](https://discourse.nodered.org/t/email-node-error-message-in-v20-7/14277 "2019-08-14T12:45:17Z")

</div>

Hello, I have an instance running on bluemix and for no apparent reason I get an error message that email node requires nodejs version 8. This issue causes the entire system to not function (instead of only affected fl…

---

## [Usbcamera not saving properly files](https://discourse.nodered.org/t/usbcamera-not-saving-properly-files/14279)

<div class="topic-metadata">

**Author:** [@Charlotte](https://discourse.nodered.org/u/Charlotte)\
**Replies:** 10\
**Last updated:** [14 August 2019 12:10 UTC](https://discourse.nodered.org/t/usbcamera-not-saving-properly-files/14279 "2019-08-14T12:10:39Z")

</div>

Hello, I'm using node-red-contrib-usbcamera both in Buffer mode for streaming and in File mode to save pictures. The issue I have is that in File mode, the files are saved only some times, while the output from the nod…

---

## [Ras Pi supply voltage](https://discourse.nodered.org/t/ras-pi-supply-voltage/8791)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 80\
**Last updated:** [14 August 2019 10:37 UTC](https://discourse.nodered.org/t/ras-pi-supply-voltage/8791 "2019-08-14T10:37:31Z")

</div>

I've just contributed to Best / most stable OS and Hardware for NodeRed? which got me thinking about how many users are using poor cable or power supplies for Raspberry Pi's, and their performance is throttled... As I u…

---

## [Programatically delete instances of nodes](https://discourse.nodered.org/t/programatically-delete-instances-of-nodes/13791)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 14\
**Last updated:** [14 August 2019 09:32 UTC](https://discourse.nodered.org/t/programatically-delete-instances-of-nodes/13791 "2019-08-14T09:32:41Z")

</div>

I'm sure I'm missing something simple here but I'm not seeing it. I can easily use my BigTimer Node to trigger something (like an Alexa Notify Node) later this week - but this is a one-off event. I want to have Node-Red-…

---

## [Microsoft Azure: Creating Azure resources using REST API](https://discourse.nodered.org/t/microsoft-azure-creating-azure-resources-using-rest-api/14224)

<div class="topic-metadata">

**Author:** [@syedatifjaved](https://discourse.nodered.org/u/syedatifjaved)\
**Replies:** 3\
**Last updated:** [14 August 2019 09:09 UTC](https://discourse.nodered.org/t/microsoft-azure-creating-azure-resources-using-rest-api/14224 "2019-08-14T09:09:28Z")

</div>

Hi Friends, I am working on an integeration project where I need to call Azure REST API(s) using NODE Red to create/ shotdown/ stop/ delete Azure Virtual Machine. Any suggesstions on how to work on this requirement. Kin…

---

## [Function returns a string instead of an array](https://discourse.nodered.org/t/function-returns-a-string-instead-of-an-array/14302)

<div class="topic-metadata">

**Author:** [@Reims](https://discourse.nodered.org/u/Reims)\
**Replies:** 7\
**Last updated:** [14 August 2019 07:50 UTC](https://discourse.nodered.org/t/function-returns-a-string-instead-of-an-array/14302 "2019-08-14T07:50:02Z")

</div>

Hi there, i m a newbee and try to execute a function code in node red. my function is supposed to return me an array but instead i got the message error "Function tried to send a message of type string" Here is my cod…

---

## [Kubernetes and Node-RED credentials security](https://discourse.nodered.org/t/kubernetes-and-node-red-credentials-security/14295)

<div class="topic-metadata">

**Author:** [@kolban](https://discourse.nodered.org/u/kolban)\
**Replies:** 4\
**Last updated:** [14 August 2019 00:23 UTC](https://discourse.nodered.org/t/kubernetes-and-node-red-credentials-security/14295 "2019-08-14T00:23:15Z")

</div>

I'm imagining running a Kubernetes cluster containing pods where the pods are running Node-RED. My sniff tests show this to work just fine. What is puzzling me is this story and its relationship with credentials securi…

---

## [Wait and transform msg for shutter](https://discourse.nodered.org/t/wait-and-transform-msg-for-shutter/14285)

<div class="topic-metadata">

**Author:** [@JulBru](https://discourse.nodered.org/u/JulBru)\
**Replies:** 3\
**Last updated:** [13 August 2019 20:36 UTC](https://discourse.nodered.org/t/wait-and-transform-msg-for-shutter/14285 "2019-08-13T20:36:22Z")

</div>

Hey guys, i recently installed my Shelly 2.5 for shutter control. All workflows should be build in Node Red. It's working out pretty good besides of one thing: i want to rotate my shutter lamella for 500 milliseconds to…

---

## [Dynamic host for MQTT](https://discourse.nodered.org/t/dynamic-host-for-mqtt/14257)

<div class="topic-metadata">

**Author:** [@doubleg](https://discourse.nodered.org/u/doubleg)\
**Replies:** 3\
**Last updated:** [13 August 2019 18:03 UTC](https://discourse.nodered.org/t/dynamic-host-for-mqtt/14257 "2019-08-13T18:03:14Z")

</div>

Hi everyone ! :slight\_smile: Is there a way to change de MQTT host / IP during runtime like the TCP node with msg.host and msg.port? I need to be able to communication with a lot of node-red instances on different loca…

---

## [MSSQL, two input problem](https://discourse.nodered.org/t/mssql-two-input-problem/14276)

<div class="topic-metadata">

**Author:** [@petrdolejs](https://discourse.nodered.org/u/petrdolejs)\
**Replies:** 7\
**Last updated:** [13 August 2019 14:58 UTC](https://discourse.nodered.org/t/mssql-two-input-problem/14276 "2019-08-13T14:58:20Z")

</div>

Hello, I'working on project where I read data from energy meter and I should send them on MSSQL. My problem is in MSSQL node. I have two inputs but when I have in query this line SET @total\_Ea\_Import = {{{payloadTotal\_…

---

## [Create user for running flows only](https://discourse.nodered.org/t/create-user-for-running-flows-only/14270)

<div class="topic-metadata">

**Author:** [@amitn](https://discourse.nodered.org/u/amitn)\
**Replies:** 9\
**Last updated:** [13 August 2019 12:12 UTC](https://discourse.nodered.org/t/create-user-for-running-flows-only/14270 "2019-08-13T12:12:20Z")

</div>

I want to create 2 kinds of user for my system - Workflow creator and workflow Runner. The runner will be able only to run the flows and change the input if needed. I'm trying to do so with these changes in settings.js…

---

## [Test if the file exist](https://discourse.nodered.org/t/test-if-the-file-exist/14271)

<div class="topic-metadata">

**Author:** [@oli.nodered](https://discourse.nodered.org/u/oli.nodered)\
**Replies:** 4\
**Last updated:** [13 August 2019 10:37 UTC](https://discourse.nodered.org/t/test-if-the-file-exist/14271 "2019-08-13T10:37:23Z")

</div>

Bonjour i want to know if a file exist on my application. For my test i use fs-ops-access and it is ok if the parameter Filename is unchangeable. But for my application i want to change dynamically the Filename proper…

---

## [Random Message Routing](https://discourse.nodered.org/t/random-message-routing/14266)

<div class="topic-metadata">

**Author:** [@sheminasalam](https://discourse.nodered.org/u/sheminasalam)\
**Replies:** 6\
**Last updated:** [13 August 2019 06:32 UTC](https://discourse.nodered.org/t/random-message-routing/14266 "2019-08-13T06:32:48Z")

</div>

Is there any node which has multiple outputs and which can route an incoming payload to anyone of the outputs randomly.

---

## [Function Node to Convert Number to ASCII Format](https://discourse.nodered.org/t/function-node-to-convert-number-to-ascii-format/14238)

<div class="topic-metadata">

**Author:** [@fisha462](https://discourse.nodered.org/u/fisha462)\
**Replies:** 4\
**Last updated:** [12 August 2019 21:31 UTC](https://discourse.nodered.org/t/function-node-to-convert-number-to-ascii-format/14238 "2019-08-12T21:31:26Z")

</div>

I am trying to make a function node that will convert a number like "9" to its ASCII equivalent. I saw something on GitHub but it looks like the library doesn't exist anymore. I know I need to use the "charCodeAt" prot…

---

## [MSSQL Login failed. The login is from an untrusted domain](https://discourse.nodered.org/t/mssql-login-failed-the-login-is-from-an-untrusted-domain/14180)

<div class="topic-metadata">

**Author:** [@Pitmaster](https://discourse.nodered.org/u/Pitmaster)\
**Replies:** 4\
**Last updated:** [12 August 2019 21:22 UTC](https://discourse.nodered.org/t/mssql-login-failed-the-login-is-from-an-untrusted-domain/14180 "2019-08-12T21:22:50Z")

</div>

I have been reading a lot about this error, but am not having luck. "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. I am attempting to manually insert a value to a …

---

## [Switch between multiple nodes](https://discourse.nodered.org/t/switch-between-multiple-nodes/14261)

<div class="topic-metadata">

**Author:** [@yoyo89](https://discourse.nodered.org/u/yoyo89)\
**Replies:** 3\
**Last updated:** [12 August 2019 20:55 UTC](https://discourse.nodered.org/t/switch-between-multiple-nodes/14261 "2019-08-12T20:55:01Z")

</div>

Hello, i want to create a flow where i can switch between multiple nodes that goes to a same process for example i want one node(microcontroller) to send data to the cloud and i have the ability to turn it off and make …

---

## [Node-RED on Android](https://discourse.nodered.org/t/node-red-on-android/14245)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 2\
**Last updated:** [12 August 2019 16:56 UTC](https://discourse.nodered.org/t/node-red-on-android/14245 "2019-08-12T16:56:41Z")

</div>

Saw this while looking at the telescope thing on Reddit You can install a free lite version but it doesn't have the sensors

---

## [Configure TRIGGER node in a variable way to activate digital pin](https://discourse.nodered.org/t/configure-trigger-node-in-a-variable-way-to-activate-digital-pin/14103)

<div class="topic-metadata">

**Author:** [@Shiniu](https://discourse.nodered.org/u/Shiniu)\
**Replies:** 4\
**Last updated:** [12 August 2019 16:51 UTC](https://discourse.nodered.org/t/configure-trigger-node-in-a-variable-way-to-activate-digital-pin/14103 "2019-08-12T16:51:37Z")

</div>

Hello everyone, I am new to the community, I ask for your help. I want to do a basic PH control: Phosphoric acid is dosed to lower it. I check if the PH is in the required range (5-6). If it is above: I calculate the…

---

## [Update 0.20.5 to 0.20.7 hasn't worked](https://discourse.nodered.org/t/update-0-20-5-to-0-20-7-hasnt-worked/14250)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 6\
**Last updated:** [12 August 2019 15:48 UTC](https://discourse.nodered.org/t/update-0-20-5-to-0-20-7-hasnt-worked/14250 "2019-08-12T15:48:35Z")

</div>

This in on my main PiZero that does most of my cheerlights processing :frowning: ran the standard script - all seemed to go OK but when I ran node-red I got Tried runing script again again - same result :frowning: …

---

## [Child web pages in flows.nodered.org listings](https://discourse.nodered.org/t/child-web-pages-in-flows-nodered-org-listings/14217)

<div class="topic-metadata">

**Author:** [@kolban](https://discourse.nodered.org/u/kolban)\
**Replies:** 3\
**Last updated:** [12 August 2019 14:14 UTC](https://discourse.nodered.org/t/child-web-pages-in-flows-nodered-org-listings/14217 "2019-08-12T14:14:13Z")

</div>

If one creates a README.md in ones Github project that is then published to npm, it shows up in the listing of available nodes. For example: However, if one includes sub-page links in the README.md, these show as bro…

---

## [Get all node context values as one object](https://discourse.nodered.org/t/get-all-node-context-values-as-one-object/14216)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 5\
**Last updated:** [12 August 2019 12:44 UTC](https://discourse.nodered.org/t/get-all-node-context-values-as-one-object/14216 "2019-08-12T12:44:25Z")

</div>

I can use this msg\['payload'\] = context.keys(); to give me a nice array with all the all the node context keys but I'm after getting the values as well e.g if I've to 3 keynames red,green and blue with values 0,1 and …

---

## [contextStorage questions](https://discourse.nodered.org/t/contextstorage-questions/14222)

<div class="topic-metadata">

**Author:** [@Dave](https://discourse.nodered.org/u/Dave)\
**Replies:** 11\
**Last updated:** [12 August 2019 11:49 UTC](https://discourse.nodered.org/t/contextstorage-questions/14222 "2019-08-12T11:49:54Z")

</div>

I have 3 rpi's running node-red 0.2.6 .. one of them doesn't have the // Context Storage section in the system.js file so I tried updating to 0.2.7 .. it seam's to keep the same system.js file even though I updated, so t…

---

## [Pigpio commands into NodeRed](https://discourse.nodered.org/t/pigpio-commands-into-nodered/14221)

<div class="topic-metadata">

**Author:** [@Gummix](https://discourse.nodered.org/u/Gummix)\
**Replies:** 14\
**Last updated:** [11 August 2019 20:04 UTC](https://discourse.nodered.org/t/pigpio-commands-into-nodered/14221 "2019-08-11T20:04:40Z")

</div>

Hello, I'm looking for a way to insert following terminal commands into NodeRed: sudo pigpiod python import pigpio pi=pigpio.pi() pi.hardware\_PWM(12, 25000, 1e6\*0.25) # 25000Hz 25% dutycycle(normaly) The whole thi…

---

## [Unable to remove old server](https://discourse.nodered.org/t/unable-to-remove-old-server/14220)

<div class="topic-metadata">

**Author:** [@Jmilesy](https://discourse.nodered.org/u/Jmilesy)\
**Replies:** 10\
**Last updated:** [11 August 2019 15:49 UTC](https://discourse.nodered.org/t/unable-to-remove-old-server/14220 "2019-08-11T15:49:00Z")

</div>

I imported an example flow to look at how it worked. It had server settings in it and when i deleted the flow i also deleted the server. However something is still trying to reference it, but i cannot see it on any of …

---

## [Initialising context variables if they don't exist](https://discourse.nodered.org/t/initialising-context-variables-if-they-dont-exist/14214)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 3\
**Last updated:** [11 August 2019 13:46 UTC](https://discourse.nodered.org/t/initialising-context-variables-if-they-dont-exist/14214 "2019-08-11T13:46:32Z")

</div>

JS Gurus Assemble :slight\_smile: I feel this could be done in a more JS way - can it? if (!(context.get('blue'))) { context.set('blue', 'initial'); }

---

## [A little node I made to help with people debug their flows](https://discourse.nodered.org/t/a-little-node-i-made-to-help-with-people-debug-their-flows/14207)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [11 August 2019 09:41 UTC](https://discourse.nodered.org/t/a-little-node-i-made-to-help-with-people-debug-their-flows/14207 "2019-08-11T09:41:47Z")

</div>

This is a handy little node that you can use if you are seeing (or more so: not seeing) the right thing in your flow/s. The situation rises where you are trying to see what is going on but while doing that, other messa…

---

## [Something weird happening](https://discourse.nodered.org/t/something-weird-happening/14211)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 1\
**Last updated:** [11 August 2019 09:15 UTC](https://discourse.nodered.org/t/something-weird-happening/14211 "2019-08-11T09:15:14Z")

</div>

Ok, I powered down the RPI and took it to someone to try and work on the problem regarding the WAP. Got home, powered it up, tried (and failed.) Restarted NR though as the RPI does have a job to do. I am getting spur…

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

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