# General

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

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

**Page:** 667

---

## [Face recognition pallet installation error](https://discourse.nodered.org/t/face-recognition-pallet-installation-error/34562)

<div class="topic-metadata">

**Author:** [@alikhan](https://discourse.nodered.org/u/alikhan)\
**Replies:** 6\
**Last updated:** [20 October 2020 16:58 UTC](https://discourse.nodered.org/t/face-recognition-pallet-installation-error/34562 "2020-10-20T16:58:19Z")

</div>

with node-red 1.2.1 installation of face recognition getting error.

---

## [Calculate percentage between time](https://discourse.nodered.org/t/calculate-percentage-between-time/34448)

<div class="topic-metadata">

**Author:** [@MrWolff](https://discourse.nodered.org/u/MrWolff)\
**Replies:** 32\
**Last updated:** [20 October 2020 16:44 UTC](https://discourse.nodered.org/t/calculate-percentage-between-time/34448 "2020-10-20T16:44:24Z")

</div>

Hi Everyone, I am new to this forum. I struggle with calculating percentage between two times. I have the time in two objects. The 'operating' time and the 'downtime'. I want to calculate the 'uptime' (by operating t…

---

## [Conversion Temperature (Celsius) to RGB Value](https://discourse.nodered.org/t/conversion-temperature-celsius-to-rgb-value/34548)

<div class="topic-metadata">

**Author:** [@Noschvie](https://discourse.nodered.org/u/Noschvie)\
**Replies:** 4\
**Last updated:** [20 October 2020 16:22 UTC](https://discourse.nodered.org/t/conversion-temperature-celsius-to-rgb-value/34548 "2020-10-20T16:22:31Z")

</div>

Hello is there a function available to convert a temperature value (range 10° Celsius up to 90°) to a RGB value representing the colour ? The calculated colour / RGB value shall be used to controll a LED. Thanks!

---

## [Setting OPC UA Variables](https://discourse.nodered.org/t/setting-opc-ua-variables/34581)

<div class="topic-metadata">

**Author:** [@b.chi](https://discourse.nodered.org/u/b.chi)\
**Replies:** 0\
**Last updated:** [20 October 2020 15:19 UTC](https://discourse.nodered.org/t/setting-opc-ua-variables/34581 "2020-10-20T15:19:19Z")

</div>

Hi everyone! I'm a newbie in the automation field, so please excuse my dumb question. I am developing an OPC UA server using Node-RED, but I really don't know how to create, read and write variables in it. I am using …

---

## [Raspberry Pi Zero with Node-Red as webserver over WiFi?](https://discourse.nodered.org/t/raspberry-pi-zero-with-node-red-as-webserver-over-wifi/34530)

<div class="topic-metadata">

**Author:** [@dr\_cave\_dweller](https://discourse.nodered.org/u/dr_cave_dweller)\
**Replies:** 6\
**Last updated:** [20 October 2020 14:57 UTC](https://discourse.nodered.org/t/raspberry-pi-zero-with-node-red-as-webserver-over-wifi/34530 "2020-10-20T14:57:57Z")

</div>

Hi all, I have a previous project where I use a Raspberry Pi Zero W running headless as a SoftAP web server, it reads serial data and pushes data to a webpage when requested by Client connected over Ethernet or WiFi. I …

---

## [Uploading multiple files at once](https://discourse.nodered.org/t/uploading-multiple-files-at-once/34571)

<div class="topic-metadata">

**Author:** [@Filipus24](https://discourse.nodered.org/u/Filipus24)\
**Replies:** 1\
**Last updated:** [20 October 2020 14:49 UTC](https://discourse.nodered.org/t/uploading-multiple-files-at-once/34571 "2020-10-20T14:49:51Z")

</div>

Hello good folks, I am trying to upload multiple files at once, from Node-RED to another server, using the HTTP Request Node. The documentation explains the payload structure required to attach a single file: { "KE…

---

## [Cookbook - backup - projects](https://discourse.nodered.org/t/cookbook-backup-projects/34575)

<div class="topic-metadata">

**Author:** [@hklages](https://discourse.nodered.org/u/hklages)\
**Replies:** 0\
**Last updated:** [20 October 2020 14:04 UTC](https://discourse.nodered.org/t/cookbook-backup-projects/34575 "2020-10-20T14:04:40Z")

</div>

Hi. I suggest 2 updates - see the bold text - for the following page: Node-RED backup flows\_\*.json & flows\_\*\_cred.json in case you don't use projects. .config.json or since version 1.20 .config.\*.json This contai…

---

## [Automated Current limit](https://discourse.nodered.org/t/automated-current-limit/33883)

<div class="topic-metadata">

**Author:** [@Londine](https://discourse.nodered.org/u/Londine)\
**Replies:** 6\
**Last updated:** [20 October 2020 12:09 UTC](https://discourse.nodered.org/t/automated-current-limit/33883 "2020-10-20T12:09:54Z")

</div>

I am best to say a beginner compared to the knowledgeable people on this site. Thankfully for this site i have read and fought through the beginning of the learning curve and found my self knowing enough about NR and it…

---

## [Trigger every 6 hours but starting at 02:00?](https://discourse.nodered.org/t/trigger-every-6-hours-but-starting-at-02-00/34509)

<div class="topic-metadata">

**Author:** [@loeten](https://discourse.nodered.org/u/loeten)\
**Replies:** 8\
**Last updated:** [20 October 2020 08:21 UTC](https://discourse.nodered.org/t/trigger-every-6-hours-but-starting-at-02-00/34509 "2020-10-20T08:21:40Z")

</div>

Hi there, I want to get messages every 6 hours and so I have a flow with an inject node at boot time connected to a a trigger node that is set every 6 hours. That works fine, but depends on the moment when I boot. Is t…

---

## [Help with or gate](https://discourse.nodered.org/t/help-with-or-gate/34473)

<div class="topic-metadata">

**Author:** [@rmystique](https://discourse.nodered.org/u/rmystique)\
**Replies:** 7\
**Last updated:** [20 October 2020 06:08 UTC](https://discourse.nodered.org/t/help-with-or-gate/34473 "2020-10-20T06:08:47Z")

</div>

I cant get the or gate to output properly, with 2 trues coming in i still get a false out? \[{"id":"fe6acb18.1c8208","type":"change","z":"4f2cae6a.c5ec8","name":"","rules":\[{"t":"set","p":"Topic","pt":"msg","to":"2","tot…

---

## [How to check if value exists in Array object](https://discourse.nodered.org/t/how-to-check-if-value-exists-in-array-object/34541)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 2\
**Last updated:** [20 October 2020 07:34 UTC](https://discourse.nodered.org/t/how-to-check-if-value-exists-in-array-object/34541 "2020-10-20T07:34:48Z")

</div>

Hi, To check whether the value (for example X0000002) exists in the array or not, I use the for loop, then it can be determined. \[{"id":"313fcd3d.d1cfa2","type":"inject","z":"fa444759.e27348","name":"","topic":"","pa…

---

## [Calling npm module from the function node](https://discourse.nodered.org/t/calling-npm-module-from-the-function-node/34535)

<div class="topic-metadata">

**Author:** [@ded\_banzai](https://discourse.nodered.org/u/ded_banzai)\
**Replies:** 5\
**Last updated:** [20 October 2020 06:54 UTC](https://discourse.nodered.org/t/calling-npm-module-from-the-function-node/34535 "2020-10-20T06:54:02Z")

</div>

I am trying to use world-clock npm module within function node for the first time. So, I installed module first, added one to the settings.js: functionGlobalContext: { worldClock:require('world-clock'), …

---

## [Help for a newbie formating PLC inputs](https://discourse.nodered.org/t/help-for-a-newbie-formating-plc-inputs/33094)

<div class="topic-metadata">

**Author:** [@tarin71](https://discourse.nodered.org/u/tarin71)\
**Replies:** 4\
**Last updated:** [20 October 2020 06:08 UTC](https://discourse.nodered.org/t/help-for-a-newbie-formating-plc-inputs/33094 "2020-10-20T06:08:25Z")

</div>

Sorry for posting this, I feel a bit ashamed. I'm an absolute newbie to node-red, and I cannot find how to do something that I assume should be quite easy to do. I want to read several inputs from an external device (a …

---

## [How to change state of digital output based on payload](https://discourse.nodered.org/t/how-to-change-state-of-digital-output-based-on-payload/34481)

<div class="topic-metadata">

**Author:** [@thePLCguy](https://discourse.nodered.org/u/thePLCguy)\
**Replies:** 5\
**Last updated:** [19 October 2020 20:54 UTC](https://discourse.nodered.org/t/how-to-change-state-of-digital-output-based-on-payload/34481 "2020-10-19T20:54:02Z")

</div>

Hi guys, this is going to come across as a real newbie question, but try as I might I have not been able to find an answer this online. This has got to be simple, surely. I have a message payload value from a 1 wire te…

---

## [OPC UA nodes to MQTT topics](https://discourse.nodered.org/t/opc-ua-nodes-to-mqtt-topics/15370)

<div class="topic-metadata">

**Author:** [@smalhao](https://discourse.nodered.org/u/smalhao)\
**Replies:** 16\
**Last updated:** [19 October 2020 20:29 UTC](https://discourse.nodered.org/t/opc-ua-nodes-to-mqtt-topics/15370 "2020-10-19T20:29:32Z")

</div>

I would like to know if through Node Red there is a way to convert the OPC UA nodes into MQTT, because I think that a while ago I saw a video that showed that but in the meantime I looked again and I can't find it.

---

## [Cannot connect to external redis instance - solved](https://discourse.nodered.org/t/cannot-connect-to-external-redis-instance-solved/34508)

<div class="topic-metadata">

**Author:** [@mrsteve](https://discourse.nodered.org/u/mrsteve)\
**Replies:** 4\
**Last updated:** [19 October 2020 19:54 UTC](https://discourse.nodered.org/t/cannot-connect-to-external-redis-instance-solved/34508 "2020-10-19T19:54:17Z")

</div>

I deployed nodered via docker/dockerhub As shown in the attachment, I'm hosting my redis on a seperate server within the same subnet as my nodered. I changed the redis instance information to point to the IP of the…

---

## [Custom thermometer with OID](https://discourse.nodered.org/t/custom-thermometer-with-oid/34393)

<div class="topic-metadata">

**Author:** [@svetlinsem](https://discourse.nodered.org/u/svetlinsem)\
**Replies:** 6\
**Last updated:** [19 October 2020 19:52 UTC](https://discourse.nodered.org/t/custom-thermometer-with-oid/34393 "2020-10-19T19:52:28Z")

</div>

Hello, first you are an amazing community. I'm new here and I have a case. I'm trying to check the temperature with a custom thermometer and I have the following points, channel, oid, IP, and port. I tried with UDP but w…

---

## [Cannot update Node-Red v1.0.6](https://discourse.nodered.org/t/cannot-update-node-red-v1-0-6/34418)

<div class="topic-metadata">

**Author:** [@adi-dev](https://discourse.nodered.org/u/adi-dev)\
**Replies:** 21\
**Last updated:** [19 October 2020 19:32 UTC](https://discourse.nodered.org/t/cannot-update-node-red-v1-0-6/34418 "2020-10-19T19:32:47Z")

</div>

Just checked my installation, which has been working uninterrupted for quite some time now and realized it's out of date, so I run sudo npm install -g --unsafe-perm node-red with result: npm WARN deprecated bcrypt@3.0.6…

---

## [Remove end of array in payload](https://discourse.nodered.org/t/remove-end-of-array-in-payload/34511)

<div class="topic-metadata">

**Author:** [@jeffreys](https://discourse.nodered.org/u/jeffreys)\
**Replies:** 8\
**Last updated:** [19 October 2020 17:16 UTC](https://discourse.nodered.org/t/remove-end-of-array-in-payload/34511 "2020-10-19T17:16:24Z")

</div>

How do I remove 22 thru 27 of the data array as shown? I just want to pass out the first 21 data values. To make the function 16 modbus write work i need to have the data array be the same as the quantity of values it w…

---

## [Omxplayer - "Error: not ready yet"](https://discourse.nodered.org/t/omxplayer-error-not-ready-yet/18470)

<div class="topic-metadata">

**Author:** [@psulli10](https://discourse.nodered.org/u/psulli10)\
**Replies:** 3\
**Last updated:** [19 October 2020 17:14 UTC](https://discourse.nodered.org/t/omxplayer-error-not-ready-yet/18470 "2020-10-19T17:14:48Z")

</div>

Hi, I'm installed omxplayer on a Pi3 and have installed the omxplayer node with the aim of playing and stopping an mp3 file as part of a flow. From the command line I can play an mp3 using: omxplayer -o alsa filename.m…

---

## [Convert from Celcius to fairenheit](https://discourse.nodered.org/t/convert-from-celcius-to-fairenheit/34477)

<div class="topic-metadata">

**Author:** [@AD2TM](https://discourse.nodered.org/u/AD2TM)\
**Replies:** 5\
**Last updated:** [19 October 2020 16:54 UTC](https://discourse.nodered.org/t/convert-from-celcius-to-fairenheit/34477 "2020-10-19T16:54:05Z")

</div>

I have set a Sonoff TH10 with the AM2301 temperature sensor. The flow I have is working well, with one exception. I can not figure out how to convert the celcius that the AM2301 outputs to Fahrenheit. I have a switch nod…

---

## [Is http node secure?](https://discourse.nodered.org/t/is-http-node-secure/34432)

<div class="topic-metadata">

**Author:** [@Guacamole-1](https://discourse.nodered.org/u/Guacamole-1)\
**Replies:** 5\
**Last updated:** [19 October 2020 16:45 UTC](https://discourse.nodered.org/t/is-http-node-secure/34432 "2020-10-19T16:45:33Z")

</div>

hi, im new to node red and i would like to know if the http nodes are secure if exposed to the internet? is it secure if i have a simple website with node exposed to the internet?

---

## [I cannot regularly receive the value from a measuring device](https://discourse.nodered.org/t/i-cannot-regularly-receive-the-value-from-a-measuring-device/34502)

<div class="topic-metadata">

**Author:** [@hassengh](https://discourse.nodered.org/u/hassengh)\
**Replies:** 9\
**Last updated:** [19 October 2020 16:08 UTC](https://discourse.nodered.org/t/i-cannot-regularly-receive-the-value-from-a-measuring-device/34502 "2020-10-19T16:08:15Z")

</div>

Hello , I cannot regularly receive the value from a measuring device, on the other hand I receive the timestamp value on a regular . I need your help

---

## [Configure modbus server](https://discourse.nodered.org/t/configure-modbus-server/34510)

<div class="topic-metadata">

**Author:** [@Federica](https://discourse.nodered.org/u/Federica)\
**Replies:** 0\
**Last updated:** [19 October 2020 15:56 UTC](https://discourse.nodered.org/t/configure-modbus-server/34510 "2020-10-19T15:56:38Z")

</div>

Hello!! I'm working with the ModbusTCP protocol. Initially, I read the Modbus registers with 'function' and 'ModbusFlexGetter' node, as shown in the figure and I added the server parameters manually. Is it possible to…

---

## [Mdashboard - text input block](https://discourse.nodered.org/t/mdashboard-text-input-block/34257)

<div class="topic-metadata">

**Author:** [@PawelR](https://discourse.nodered.org/u/PawelR)\
**Replies:** 4\
**Last updated:** [19 October 2020 15:15 UTC](https://discourse.nodered.org/t/mdashboard-text-input-block/34257 "2020-10-19T15:15:28Z")

</div>

Hello. I try to make small dashboard so i install MYDASHBOARD. All looks nice but i can't change/ update value for text input block - How to do it? What i connect ( below ) - don't work. \[{"id":"89d06aa2.2766b8","type…

---

## [Copy to clipboard](https://discourse.nodered.org/t/copy-to-clipboard/34489)

<div class="topic-metadata">

**Author:** [@MA.ING](https://discourse.nodered.org/u/MA.ING)\
**Replies:** 9\
**Last updated:** [19 October 2020 14:22 UTC](https://discourse.nodered.org/t/copy-to-clipboard/34489 "2020-10-19T14:22:02Z")

</div>

Hi, I am trying to create a button that copies a text to the clipboard from the dashboard but I can't do it in any way or with any node, could someone who has done something similar help me? Thank you

---

## [Switch Node where cond. with more values](https://discourse.nodered.org/t/switch-node-where-cond-with-more-values/34495)

<div class="topic-metadata">

**Author:** [@denisjoshua](https://discourse.nodered.org/u/denisjoshua)\
**Replies:** 4\
**Last updated:** [19 October 2020 13:58 UTC](https://discourse.nodered.org/t/switch-node-where-cond-with-more-values/34495 "2020-10-19T13:58:11Z")

</div>

Hi there all, I need to tell to a Switch Node to make 2 output one for received "Saturday" or "Sunday" the second for received "Monday" or "Tuesday" or "Wednesday" or "Thursday" or "Friday" I know that can be simple.…

---

## [Understand how to decode](https://discourse.nodered.org/t/understand-how-to-decode/34484)

<div class="topic-metadata">

**Author:** [@Gpontaro](https://discourse.nodered.org/u/Gpontaro)\
**Replies:** 1\
**Last updated:** [19 October 2020 12:52 UTC](https://discourse.nodered.org/t/understand-how-to-decode/34484 "2020-10-19T12:52:30Z")

</div>

Hi I have installed a ttn package in node red and connected uplink node to my ttn application. My problem is how to get right values in node red. In node red I can see that I receive a payload but it is not the same as…

---

## [Is NORA disabled](https://discourse.nodered.org/t/is-nora-disabled/34500)

<div class="topic-metadata">

**Author:** [@Toster](https://discourse.nodered.org/u/Toster)\
**Replies:** 1\
**Last updated:** [19 October 2020 12:29 UTC](https://discourse.nodered.org/t/is-nora-disabled/34500 "2020-10-19T12:29:19Z")

</div>

Hi, I have a problem I use NORA ( NOde Red home Automation) to use google home with node red and it just stopped working and i have no idea why. I was using it for like a month and it was working smoothly now without a…

---

## [Socket connection to python script on RPi](https://discourse.nodered.org/t/socket-connection-to-python-script-on-rpi/13728)

<div class="topic-metadata">

**Author:** [@solano8](https://discourse.nodered.org/u/solano8)\
**Replies:** 9\
**Last updated:** [19 October 2020 10:28 UTC](https://discourse.nodered.org/t/socket-connection-to-python-script-on-rpi/13728 "2020-10-19T10:28:16Z")

</div>

I have a RPi with SMS Hat running a python script serving as SMS gateway. Mostly for misc alarm purposes. To send SMS, I open a socket connection from another RPi and send a simple message to the server. I'd like to this…

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

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