# General

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

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

**Page:** 476

---

## [Password in Node-RED](https://discourse.nodered.org/t/password-in-node-red/50288)

<div class="topic-metadata">

**Author:** [@fsaavedra](https://discourse.nodered.org/u/fsaavedra)\
**Replies:** 48\
**Last updated:** [31 October 2021 08:51 UTC](https://discourse.nodered.org/t/password-in-node-red/50288 "2021-10-31T08:51:17Z")

</div>

Hello everyone, hoping that you are all very well, I wanted to enter a password myself to node red by the "Username/password based authentication " and then enter them in node-red it throws me “Login failed”. To create …

---

## [Problem with exec node and chrome headless screenshot](https://discourse.nodered.org/t/problem-with-exec-node-and-chrome-headless-screenshot/52964)

<div class="topic-metadata">

**Author:** [@dathor](https://discourse.nodered.org/u/dathor)\
**Replies:** 8\
**Last updated:** [31 October 2021 01:15 UTC](https://discourse.nodered.org/t/problem-with-exec-node-and-chrome-headless-screenshot/52964 "2021-10-31T01:15:57Z")

</div>

Hello I have run into a problem when trying to use the exec node to take a screen shot of a webpage using Chrome. I did have this working but now it fails. I am using this on a windows 10 machine & Node-red 2.0.5. If…

---

## [Ascii to Decimal](https://discourse.nodered.org/t/ascii-to-decimal/52965)

<div class="topic-metadata">

**Author:** [@New2Node](https://discourse.nodered.org/u/New2Node)\
**Replies:** 3\
**Last updated:** [31 October 2021 00:52 UTC](https://discourse.nodered.org/t/ascii-to-decimal/52965 "2021-10-31T00:52:35Z")

</div>

Hi, Does anyone have a function that converts an ascii string to decimal (string)? So if pass “ABCD1” into the function the output would be “65” “66” “67” “68” “49”

---

## [Split values in a string?](https://discourse.nodered.org/t/split-values-in-a-string/52974)

<div class="topic-metadata">

**Author:** [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)\
**Replies:** 16\
**Last updated:** [30 October 2021 21:34 UTC](https://discourse.nodered.org/t/split-values-in-a-string/52974 "2021-10-30T21:34:21Z")

</div>

I got some values in a string. I need to split them as i want to find the average of them. Every number contains of 5 digits: 0.1263 and so on. Anyone who can help me with this? It will be much appreciated. Freddy.

---

## [Problem with Twitterbot](https://discourse.nodered.org/t/problem-with-twitterbot/52986)

<div class="topic-metadata">

**Author:** [@BioKeks](https://discourse.nodered.org/u/BioKeks)\
**Replies:** 5\
**Last updated:** [30 October 2021 21:22 UTC](https://discourse.nodered.org/t/problem-with-twitterbot/52986 "2021-10-30T21:22:50Z")

</div>

Hey guys! I am new in Node-Red programming. I need you help! I want to create a basic Twitter bot that responses the reversed text from the a tweet. The basic things works like sending the same message back. The problem…

---

## [Node-Red Newbie with Questions: Help with error logs](https://discourse.nodered.org/t/node-red-newbie-with-questions-help-with-error-logs/52921)

<div class="topic-metadata">

**Author:** [@SergeantPup](https://discourse.nodered.org/u/SergeantPup)\
**Replies:** 6\
**Last updated:** [30 October 2021 20:36 UTC](https://discourse.nodered.org/t/node-red-newbie-with-questions-help-with-error-logs/52921 "2021-10-30T20:36:20Z")

</div>

Hello, This is my first post in this forum and I've learned enough about Node-Red on my own to be dangerous. I've gone down a delightfully convoluted rabbit hole to basically try to graph out various information coming…

---

## [Huge slowdown after some nodes updates](https://discourse.nodered.org/t/huge-slowdown-after-some-nodes-updates/52954)

<div class="topic-metadata">

**Author:** [@dougle03](https://discourse.nodered.org/u/dougle03)\
**Replies:** 5\
**Last updated:** [30 October 2021 16:35 UTC](https://discourse.nodered.org/t/huge-slowdown-after-some-nodes-updates/52954 "2021-10-30T16:35:52Z")

</div>

Hi all, Looking for ideas. I updated some nodes from the pallette manager this afternoon, and now NR is running very slowly. Take and age for the UI to load, Deploys take over 10 secs (used to be \<2s) and getting a num…

---

## [Switch node help](https://discourse.nodered.org/t/switch-node-help/52775)

<div class="topic-metadata">

**Author:** [@mantellian](https://discourse.nodered.org/u/mantellian)\
**Replies:** 5\
**Last updated:** [30 October 2021 15:57 UTC](https://discourse.nodered.org/t/switch-node-help/52775 "2021-10-30T15:57:29Z")

</div>

I’m attempting to use the payload from a temperature sensor as the property for a switch node. I also have a slider in Home Assistant that controls an input number in node red. I’m trying to take the payload form the inp…

---

## [Help with Widget Design... Pretty Please!](https://discourse.nodered.org/t/help-with-widget-design-pretty-please/52978)

<div class="topic-metadata">

**Author:** [@eddee54455](https://discourse.nodered.org/u/eddee54455)\
**Replies:** 0\
**Last updated:** [30 October 2021 14:56 UTC](https://discourse.nodered.org/t/help-with-widget-design-pretty-please/52978 "2021-10-30T14:56:39Z")

</div>

Hi All, I have tried over the last week or two to wrap my head around widget design.... I am not coming right ... (well right enough to be self sustaining anyway...) I am looking for a pretty basic(I think) widget/scri…

---

## [Question about JS function (return msg)](https://discourse.nodered.org/t/question-about-js-function-return-msg/52661)

<div class="topic-metadata">

**Author:** [@xavier98](https://discourse.nodered.org/u/xavier98)\
**Replies:** 15\
**Last updated:** [30 October 2021 14:53 UTC](https://discourse.nodered.org/t/question-about-js-function-return-msg/52661 "2021-10-30T14:53:37Z")

</div>

Hello to all, I come from the world of PLC programming so I'm not comfortable with javascript yet haha. I'm making a connected bar with Node-RED. I wanted to know where I should put "return msg (;)" in my code in order…

---

## [Influx db cloud help](https://discourse.nodered.org/t/influx-db-cloud-help/52941)

<div class="topic-metadata">

**Author:** [@bbartling](https://discourse.nodered.org/u/bbartling)\
**Replies:** 9\
**Last updated:** [30 October 2021 12:37 UTC](https://discourse.nodered.org/t/influx-db-cloud-help/52941 "2021-10-30T12:37:33Z")

</div>

Would anyone have some advise for how to send data to Influx db cloud? Would best practice to do this in Node Red or just consume the data directly on the cloud instance? For example my Node Red Flow I am consuming data…

---

## [Editable graph any suggestions please](https://discourse.nodered.org/t/editable-graph-any-suggestions-please/52936)

<div class="topic-metadata">

**Author:** [@vikingsraven](https://discourse.nodered.org/u/vikingsraven)\
**Replies:** 7\
**Last updated:** [30 October 2021 10:38 UTC](https://discourse.nodered.org/t/editable-graph-any-suggestions-please/52936 "2021-10-30T10:38:02Z")

</div>

Hi all, im trying to build a multi channel servo controller ill be using a PI 3B + with the i2c servo board ( 16 channels per board), what i would like to do is: Set a time period Realtime record servo positions ( ana…

---

## [Importing multiple modules from same package](https://discourse.nodered.org/t/importing-multiple-modules-from-same-package/52966)

<div class="topic-metadata">

**Author:** [@hoolahoous](https://discourse.nodered.org/u/hoolahoous)\
**Replies:** 1\
**Last updated:** [30 October 2021 08:28 UTC](https://discourse.nodered.org/t/importing-multiple-modules-from-same-package/52966 "2021-10-30T08:28:47Z")

</div>

Hi I am using node-red 2.0.5. In a function node, I am trying to import FormData and File modules form GitHub - octet-stream/form-data: Spec-compliant FormData implementation for Node.js package. i.e. i am trying to f…

---

## [Node red : insert js code on node-red function](https://discourse.nodered.org/t/node-red-insert-js-code-on-node-red-function/52956)

<div class="topic-metadata">

**Author:** [@Djamel-png](https://discourse.nodered.org/u/Djamel-png)\
**Replies:** 2\
**Last updated:** [30 October 2021 07:54 UTC](https://discourse.nodered.org/t/node-red-insert-js-code-on-node-red-function/52956 "2021-10-30T07:54:52Z")

</div>

Hello, I have a small project that I should to split the reading value from a sensor. The supplier of the sensor give a formula in order to decode the value of the actual reading I paste the deocoder function (.js) on…

---

## [Node "Play Audio" and "Text-to-Speech" on a Raspberry Pi](https://discourse.nodered.org/t/node-play-audio-and-text-to-speech-on-a-raspberry-pi/40401)

<div class="topic-metadata">

**Author:** [@omarecd](https://discourse.nodered.org/u/omarecd)\
**Replies:** 4\
**Last updated:** [30 October 2021 07:46 UTC](https://discourse.nodered.org/t/node-play-audio-and-text-to-speech-on-a-raspberry-pi/40401 "2021-10-30T07:46:36Z")

</div>

Hello Guys. I discovered Node-RED days ago and I just love it ! I want to read some strings with the node "Play audio" but it's not possible. If I understand correctly, the text to speech will work only if "browser has…

---

## [Missing 0 in hex output](https://discourse.nodered.org/t/missing-0-in-hex-output/52911)

<div class="topic-metadata">

**Author:** [@New2Node](https://discourse.nodered.org/u/New2Node)\
**Replies:** 2\
**Last updated:** [30 October 2021 07:03 UTC](https://discourse.nodered.org/t/missing-0-in-hex-output/52911 "2021-10-30T07:03:47Z")

</div>

Hi, I’m trying to fill missing “0” charters in a string. I have a XOR function that outputs an array, when I change this to a string it removes the leading zero which I need. E.g: BD 64 5A 44 5F DE 6 BA I need the ou…

---

## [How to get a mid-point value form a msg.payload](https://discourse.nodered.org/t/how-to-get-a-mid-point-value-form-a-msg-payload/52962)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 1\
**Last updated:** [30 October 2021 05:34 UTC](https://discourse.nodered.org/t/how-to-get-a-mid-point-value-form-a-msg-payload/52962 "2021-10-30T05:34:35Z")

</div>

(Brain failure) I get a msg.payload and it looks something like: rgb,6,0,0,0 How do I parse the 6 in that - and make it a number. I'm guessing that will be with parseInt() But I can't for the life of me remember the…

---

## [How to use two object values (date and time) to make timestamp](https://discourse.nodered.org/t/how-to-use-two-object-values-date-and-time-to-make-timestamp/52958)

<div class="topic-metadata">

**Author:** [@shit5tain](https://discourse.nodered.org/u/shit5tain)\
**Replies:** 2\
**Last updated:** [29 October 2021 23:29 UTC](https://discourse.nodered.org/t/how-to-use-two-object-values-date-and-time-to-make-timestamp/52958 "2021-10-29T23:29:20Z")

</div>

Hi, I have a msg with date and time separated in two elements, and I want to merge tha values from these two to be able to output a timestamp. Anybody know how I can make that happen in a function node? msg.payload.ori…

---

## [Camera in node-RED](https://discourse.nodered.org/t/camera-in-node-red/52904)

<div class="topic-metadata">

**Author:** [@andrzejo4](https://discourse.nodered.org/u/andrzejo4)\
**Replies:** 6\
**Last updated:** [29 October 2021 21:18 UTC](https://discourse.nodered.org/t/camera-in-node-red/52904 "2021-10-29T21:18:56Z")

</div>

Hello everyone. I would like to use my camera that already works in HA on the ffmpeg platform, I have a view from this camera via rtsp. I want to make a mike that if the state of a sensor changes (on, off), the image fro…

---

## [Zigbee SONOFF SNZB-02](https://discourse.nodered.org/t/zigbee-sonoff-snzb-02/52909)

<div class="topic-metadata">

**Author:** [@Georde](https://discourse.nodered.org/u/Georde)\
**Replies:** 4\
**Last updated:** [29 October 2021 20:19 UTC](https://discourse.nodered.org/t/zigbee-sonoff-snzb-02/52909 "2021-10-29T20:19:31Z")

</div>

Hello. Please help me, I'm new to Node-Red. I want to read the temperature and humidity in the Sonoff SNZB-02 sensor ... I managed to connect to it with --- node-red-contrib-tuya-local --- picture attached .... From…

---

## [Confusion regarding speed parameter](https://discourse.nodered.org/t/confusion-regarding-speed-parameter/52949)

<div class="topic-metadata">

**Author:** [@umairjamali](https://discourse.nodered.org/u/umairjamali)\
**Replies:** 1\
**Last updated:** [29 October 2021 19:41 UTC](https://discourse.nodered.org/t/confusion-regarding-speed-parameter/52949 "2021-10-29T19:41:31Z")

</div>

Hello everyone. This is my time with Cooja simulation. As I start my simulation (all nodes within each others' gray/green circles), the speed is around 10, 12% in first 9 seconds and suddenly we see speeds of more than 1…

---

## [MySQL select limit](https://discourse.nodered.org/t/mysql-select-limit/52940)

<div class="topic-metadata">

**Author:** [@Lolcutus](https://discourse.nodered.org/u/Lolcutus)\
**Replies:** 5\
**Last updated:** [29 October 2021 14:53 UTC](https://discourse.nodered.org/t/mysql-select-limit/52940 "2021-10-29T14:53:50Z")

</div>

Hey I try to query mySQL db. I use newMsg.topic = "select \* from energy order by \_time limit 1" ; and is working I got on element in payload. Also for limit 1-6 is working but everything bigger than 6 I go no answer …

---

## [Pls help me to guide to the oracle DB cloud connection & simple CRUD Functions](https://discourse.nodered.org/t/pls-help-me-to-guide-to-the-oracle-db-cloud-connection-simple-crud-functions/52926)

<div class="topic-metadata">

**Author:** [@clever99](https://discourse.nodered.org/u/clever99)\
**Replies:** 0\
**Last updated:** [29 October 2021 05:32 UTC](https://discourse.nodered.org/t/pls-help-me-to-guide-to-the-oracle-db-cloud-connection-simple-crud-functions/52926 "2021-10-29T05:32:48Z")

</div>

---

## [MQTT syntax and best practices for the absolute beginner](https://discourse.nodered.org/t/mqtt-syntax-and-best-practices-for-the-absolute-beginner/52729)

<div class="topic-metadata">

**Author:** [@bbartling](https://discourse.nodered.org/u/bbartling)\
**Replies:** 6\
**Last updated:** [29 October 2021 14:20 UTC](https://discourse.nodered.org/t/mqtt-syntax-and-best-practices-for-the-absolute-beginner/52729 "2021-10-29T14:20:28Z")

</div>

Is there a general rule of thumb for MQTT message syntax, like how they are constructed? Is MQTT messages strings only or can MQTT handle json too? From what I can gather it seems like most MQTT messages published are a…

---

## [Tfjs nodes does not work](https://discourse.nodered.org/t/tfjs-nodes-does-not-work/52568)

<div class="topic-metadata">

**Author:** [@Farah](https://discourse.nodered.org/u/Farah)\
**Replies:** 5\
**Last updated:** [29 October 2021 14:15 UTC](https://discourse.nodered.org/t/tfjs-nodes-does-not-work/52568 "2021-10-29T14:15:56Z")

</div>

Hello, I am using node red to run a NN inference. So Im using "node-red-contrib-tf-model" module, which version is 0.1.11 tfjs version = 1.5.1 The problem I am facing is that my nodes tf-function & tf-model appear on…

---

## [How to collect information from multiple sources and have them seperately analyzed](https://discourse.nodered.org/t/how-to-collect-information-from-multiple-sources-and-have-them-seperately-analyzed/52938)

<div class="topic-metadata">

**Author:** [@binderth](https://discourse.nodered.org/u/binderth)\
**Replies:** 3\
**Last updated:** [29 October 2021 13:59 UTC](https://discourse.nodered.org/t/how-to-collect-information-from-multiple-sources-and-have-them-seperately-analyzed/52938 "2021-10-29T13:59:57Z")

</div>

My goal is to collect health information of different servers and have them put into MQTT-topics. As I don't like to copy the flows for each server (I'm collecting the exact same data, but from multiple sources), I come…

---

## [How to use flow variabile without modifing it](https://discourse.nodered.org/t/how-to-use-flow-variabile-without-modifing-it/52937)

<div class="topic-metadata">

**Author:** [@Giu-seppe](https://discourse.nodered.org/u/Giu-seppe)\
**Replies:** 3\
**Last updated:** [29 October 2021 12:51 UTC](https://discourse.nodered.org/t/how-to-use-flow-variabile-without-modifing-it/52937 "2021-10-29T12:51:56Z")

</div>

Hi all, can anyone explain to me why the flow's variable created with the first inject node is modified in the other two without using the flow.set() method? \[{"id":"26a58557.18feca","type":"inject","z":"938038fa.b84288…

---

## [Node red to OMNI REST API token request](https://discourse.nodered.org/t/node-red-to-omni-rest-api-token-request/52918)

<div class="topic-metadata">

**Author:** [@Logan](https://discourse.nodered.org/u/Logan)\
**Replies:** 12\
**Last updated:** [29 October 2021 12:06 UTC](https://discourse.nodered.org/t/node-red-to-omni-rest-api-token-request/52918 "2021-10-29T12:06:39Z")

</div>

Hi Everyone New to the community and the node-red platform. Please excuse my unfamiliarity with adding information to posts, etc. To the point of the post.. I have a Commercial controller that hosts a web server and is…

---

## [How can i save changes in palette after page refresh?](https://discourse.nodered.org/t/how-can-i-save-changes-in-palette-after-page-refresh/52929)

<div class="topic-metadata">

**Author:** [@prj](https://discourse.nodered.org/u/prj)\
**Replies:** 8\
**Last updated:** [29 October 2021 11:14 UTC](https://discourse.nodered.org/t/how-can-i-save-changes-in-palette-after-page-refresh/52929 "2021-10-29T11:14:28Z")

</div>

I have created a button in palette to disable node and disabled it using api method PUT.but after page refresh node automatically enabled .Does anyone know how to deploy this node so i can disable it after page refresh a…

---

## [Remote access is not connecting with network](https://discourse.nodered.org/t/remote-access-is-not-connecting-with-network/52891)

<div class="topic-metadata">

**Author:** [@aminulhaq](https://discourse.nodered.org/u/aminulhaq)\
**Replies:** 1\
**Last updated:** [29 October 2021 10:33 UTC](https://discourse.nodered.org/t/remote-access-is-not-connecting-with-network/52891 "2021-10-29T10:33:38Z")

</div>

Hi, install node-red-contrib-remote from manage pallet and did basing setting but it is not connecting with the network, i have seen on my command prompt that node-red-contrib-remote when i start flows see pic for refer…

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

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