# Latest

**URL:** https://discourse.nodered.org/latest.md?page=887

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

**Page:** 888

---

## [Transform Javascript to function node - Help needed](https://discourse.nodered.org/t/transform-javascript-to-function-node-help-needed/40413)

<div class="topic-metadata">

**Author:** [@SilSchmie](https://discourse.nodered.org/u/SilSchmie)\
**Replies:** 17\
**Last updated:** [12 February 2021 13:47 UTC](https://discourse.nodered.org/t/transform-javascript-to-function-node-help-needed/40413 "2021-02-12T13:47:06Z")

</div>

Hi guys, sorry for my bad English. I need some help to transform javascript code into a function node. The javascript is here: // 3-Punkt-Ansteuerung aus Stellsignal const Laufzeit = 153; // Laufzeit des Stellantrie…

---

## [Dashboard colour picker text mode](https://discourse.nodered.org/t/dashboard-colour-picker-text-mode/40823)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 27\
**Last updated:** [12 February 2021 13:37 UTC](https://discourse.nodered.org/t/dashboard-colour-picker-text-mode/40823 "2021-02-12T13:37:51Z")

</div>

Can anyone help. I just had to go back a version or so of my NR due to an issue unrelated to Dsdhboard - I have everthing running and updated to the latest dashboardd -however I have an issue with formatting of the tex…

---

## [Webhook to http-in](https://discourse.nodered.org/t/webhook-to-http-in/40864)

<div class="topic-metadata">

**Author:** [@KjellBrandes](https://discourse.nodered.org/u/KjellBrandes)\
**Replies:** 9\
**Last updated:** [12 February 2021 13:05 UTC](https://discourse.nodered.org/t/webhook-to-http-in/40864 "2021-02-12T13:05:44Z")

</div>

Hi all, I'm trying to configure a Webhook to send data directly to myNodeRed env. I have set up a http-in in my NodeRed environment, exposed the env. to internet and tried to send data from Postman against the internet …

---

## [Switch off automatic triggering after restart or deploy / Nach Neustart oder deploy das automatische triggern ausschalten](https://discourse.nodered.org/t/switch-off-automatic-triggering-after-restart-or-deploy-nach-neustart-oder-deploy-das-automatische-triggern-ausschalten/40825)

<div class="topic-metadata">

**Author:** [@Bigberg](https://discourse.nodered.org/u/Bigberg)\
**Replies:** 10\
**Last updated:** [12 February 2021 12:52 UTC](https://discourse.nodered.org/t/switch-off-automatic-triggering-after-restart-or-deploy-nach-neustart-oder-deploy-das-automatische-triggern-ausschalten/40825 "2021-02-12T12:52:19Z")

</div>

Google english...sorry: Good day Thank you for reading my question. I have created a circuit that controls the relay board with MQTT bodies. Now everything works the way I want it to. The trigger nodes are only init…

---

## [Select and insert in same function](https://discourse.nodered.org/t/select-and-insert-in-same-function/40832)

<div class="topic-metadata">

**Author:** [@lucianv](https://discourse.nodered.org/u/lucianv)\
**Replies:** 4\
**Last updated:** [12 February 2021 12:14 UTC](https://discourse.nodered.org/t/select-and-insert-in-same-function/40832 "2021-02-12T12:14:54Z")

</div>

Hi all, I am struggling and not been able to find a solution for following problem: I get a message (from mqtt - not sure how relevant is) which can be 0 or 1 , and I want to check if is already in the table before ins…

---

## [eWeLink node: Power State (out) just give the statement, no action to switch on/off devices](https://discourse.nodered.org/t/ewelink-node-power-state-out-just-give-the-statement-no-action-to-switch-on-off-devices/40831)

<div class="topic-metadata">

**Author:** [@jarimentega](https://discourse.nodered.org/u/jarimentega)\
**Replies:** 5\
**Last updated:** [12 February 2021 11:39 UTC](https://discourse.nodered.org/t/ewelink-node-power-state-out-just-give-the-statement-no-action-to-switch-on-off-devices/40831 "2021-02-12T11:39:39Z")

</div>

Device: Channel Pam Hidroponik - state "on" in eWeLink app 1st state - inject toggle 2nd state - inject on 3rd state - inject off nothing change on app and devices why?

---

## [I want to send Data from PLC to an API](https://discourse.nodered.org/t/i-want-to-send-data-from-plc-to-an-api/40855)

<div class="topic-metadata">

**Author:** [@Swapnil](https://discourse.nodered.org/u/Swapnil)\
**Replies:** 19\
**Last updated:** [12 February 2021 11:20 UTC](https://discourse.nodered.org/t/i-want-to-send-data-from-plc-to-an-api/40855 "2021-02-12T11:20:47Z")

</div>

I want to send data on an API from my PLC. Here is my flow: \[{"id":"4fe68f34.52a3a","type":"function","z":"787783f2.48923c","name":"Send Data to API ","func":"msg.method = "GET";\\nmsg.url = "https:/xyz.net/app/storeDat…

---

## [Timestamp wont update](https://discourse.nodered.org/t/timestamp-wont-update/40710)

<div class="topic-metadata">

**Author:** [@Chumbo](https://discourse.nodered.org/u/Chumbo)\
**Replies:** 10\
**Last updated:** [12 February 2021 09:52 UTC](https://discourse.nodered.org/t/timestamp-wont-update/40710 "2021-02-12T09:52:44Z")

</div>

Hello! I have a couple of watch nodes to watch an excel spreadsheet that is automatically updating every hour.This part works fine, but i am also trying to grab that time, when it updates, to populate a field on the das…

---

## [Problems in beaglebone black GPIO configration](https://discourse.nodered.org/t/problems-in-beaglebone-black-gpio-configration/40523)

<div class="topic-metadata">

**Author:** [@lpj669](https://discourse.nodered.org/u/lpj669)\
**Replies:** 11\
**Last updated:** [12 February 2021 09:15 UTC](https://discourse.nodered.org/t/problems-in-beaglebone-black-gpio-configration/40523 "2021-02-12T09:15:45Z")

</div>

HI ,I have a beaglebone black board and I want to control P9\_15(GPIO48) outputing high or low levels by Johnny5 . I am a new user of beaglebone black board and Node-RED, there are some problems in configuring gpio out no…

---

## [Python3 Function Error](https://discourse.nodered.org/t/python3-function-error/40853)

<div class="topic-metadata">

**Author:** [@kajal](https://discourse.nodered.org/u/kajal)\
**Replies:** 3\
**Last updated:** [12 February 2021 09:17 UTC](https://discourse.nodered.org/t/python3-function-error/40853 "2021-02-12T09:17:13Z")

</div>

I am using Python3 function and facing this following errors, File "C:\\Python39\\lib\\json\_init\_.py", line 341, in loads. s = s.decode(detect\_encoding(s), 'surrogatepass') File "C:\\Python39\\lib\\encodings\\utf\_32\_le.py", …

---

## [Ridiculously complex Modbus dimmer control flow](https://discourse.nodered.org/t/ridiculously-complex-modbus-dimmer-control-flow/40785)

<div class="topic-metadata">

**Author:** [@clickworkorange](https://discourse.nodered.org/u/clickworkorange)\
**Replies:** 10\
**Last updated:** [12 February 2021 08:44 UTC](https://discourse.nodered.org/t/ridiculously-complex-modbus-dimmer-control-flow/40785 "2021-02-12T08:44:52Z")

</div>

The latest monster to rise from the slab: All that, for this: This convoluted beast lets me control a 4-channel Modbus controlled PWM/CV dimmer from a Node-RED dashboard, and programmatically - as well as by physic…

---

## [Reset dropdown dashboard menu](https://discourse.nodered.org/t/reset-dropdown-dashboard-menu/40845)

<div class="topic-metadata">

**Author:** [@geppoleppo](https://discourse.nodered.org/u/geppoleppo)\
**Replies:** 2\
**Last updated:** [12 February 2021 08:14 UTC](https://discourse.nodered.org/t/reset-dropdown-dashboard-menu/40845 "2021-02-12T08:14:26Z")

</div>

Good evening everyone. I have inserted dropdown modules in my dashboard and would like to reset them to their initial condition once I have made my selection. I tried to look at the specifications but I didn't understand…

---

## [How to catch 1 error many times](https://discourse.nodered.org/t/how-to-catch-1-error-many-times/40753)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 5\
**Last updated:** [12 February 2021 06:44 UTC](https://discourse.nodered.org/t/how-to-catch-1-error-many-times/40753 "2021-02-12T06:44:35Z")

</div>

Hi, I send the file using ftp (node-red-contrib-ftp) node, in case the sending fails, I want to resend with the specified number of times. If the specified number of times fails to send the file, the error message will…

---

## [Insufficient space ... in Docker container running Node-Red](https://discourse.nodered.org/t/insufficient-space-in-docker-container-running-node-red/40848)

<div class="topic-metadata">

**Author:** [@tobiaspe](https://discourse.nodered.org/u/tobiaspe)\
**Replies:** 0\
**Last updated:** [12 February 2021 04:41 UTC](https://discourse.nodered.org/t/insufficient-space-in-docker-container-running-node-red/40848 "2021-02-12T04:41:12Z")

</div>

I am running Node-Red in a Docker container with mapped data volumes to an Azure Storage Account. I am able to deploy Node-Red to an ACI, and having the deployed flow saved, using Azure File Share as a mapped Docker vol…

---

## [Start flow when load tab](https://discourse.nodered.org/t/start-flow-when-load-tab/40843)

<div class="topic-metadata">

**Author:** [@geppoleppo](https://discourse.nodered.org/u/geppoleppo)\
**Replies:** 3\
**Last updated:** [12 February 2021 01:28 UTC](https://discourse.nodered.org/t/start-flow-when-load-tab/40843 "2021-02-12T01:28:58Z")

</div>

Hello everyone. I have recently started working with node-red so my question may be trivial. I would like to start a flow when I load a dashboard tab but I can't figure out how to do it. Thank you

---

## [Cant move objects in layout editor](https://discourse.nodered.org/t/cant-move-objects-in-layout-editor/39780)

<div class="topic-metadata">

**Author:** [@Rookie](https://discourse.nodered.org/u/Rookie)\
**Replies:** 12\
**Last updated:** [12 February 2021 00:38 UTC](https://discourse.nodered.org/t/cant-move-objects-in-layout-editor/39780 "2021-02-12T00:38:08Z")

</div>

This was posted before from someone else but got no responses, I was able to move the objects around, now I cant. Any thoughts? When I move the cursor to the edge (to resize) it doesnt move anything, it just selects all …

---

## [No Such File /dev/i2c-1](https://discourse.nodered.org/t/no-such-file-dev-i2c-1/40704)

<div class="topic-metadata">

**Author:** [@jenski](https://discourse.nodered.org/u/jenski)\
**Replies:** 6\
**Last updated:** [11 February 2021 21:57 UTC](https://discourse.nodered.org/t/no-such-file-dev-i2c-1/40704 "2021-02-11T21:57:47Z")

</div>

Hi, Been trying to solve this for several days and no luck! Attempting to communicate with BMP-388, Node Red debug returns "Error: ENOENT: no such file or directory, open '/dev/i2c-1'" Using node-red-contrib-i2c and f…

---

## [How to set a node input in the subflow?](https://discourse.nodered.org/t/how-to-set-a-node-input-in-the-subflow/40833)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 11\
**Last updated:** [11 February 2021 21:50 UTC](https://discourse.nodered.org/t/how-to-set-a-node-input-in-the-subflow/40833 "2021-02-11T21:50:46Z")

</div>

I am willing to include in my subflow a node which requires to set a value in its configuration (node HUE in). Am I allowed to do that? How can I set programmatically the Light ID required by the node (see screenshot) or…

---

## [\[ANNOUNCE\] node-red-contrib-chronos 1.9.x](https://discourse.nodered.org/t/announce-node-red-contrib-chronos-1-9-x/40835)

<div class="topic-metadata">

**Author:** [@jens\_rossbach](https://discourse.nodered.org/u/jens_rossbach)\
**Replies:** 2\
**Last updated:** [11 February 2021 20:54 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-chronos-1-9-x/40835 "2021-02-11T20:54:42Z")

</div>

Recently, feature version 1.9.0 and bugfix version 1.9.1 have been released. In version 1.8.0 I introduced the possibility to dynamically program events of the scheduler node via context variables. But I realized that p…

---

## [Thermostat in function node](https://discourse.nodered.org/t/thermostat-in-function-node/40577)

<div class="topic-metadata">

**Author:** [@lundig](https://discourse.nodered.org/u/lundig)\
**Replies:** 16\
**Last updated:** [11 February 2021 20:52 UTC](https://discourse.nodered.org/t/thermostat-in-function-node/40577 "2021-02-11T20:52:34Z")

</div>

Hello, Let me start with informing that i am a supernoob in programming JSON. I am trying to setup a thermostat function in node-red. The idea is to control my heatpump´s temperature, and fanspeed settings based on a …

---

## [Node-red dockerized USB camera](https://discourse.nodered.org/t/node-red-dockerized-usb-camera/40773)

<div class="topic-metadata">

**Author:** [@Marty1982](https://discourse.nodered.org/u/Marty1982)\
**Replies:** 4\
**Last updated:** [11 February 2021 20:15 UTC](https://discourse.nodered.org/t/node-red-dockerized-usb-camera/40773 "2021-02-11T20:15:54Z")

</div>

Hi all! I'm running node-red dockerized and i want to use a USB camera. The host detect the USB camera correctly but i have node-red inside a docker container and there comes the problem. I cannot use it inside the cont…

---

## [Modbus RTU to OPC-UA conversion](https://discourse.nodered.org/t/modbus-rtu-to-opc-ua-conversion/40829)

<div class="topic-metadata">

**Author:** [@Industrialogics](https://discourse.nodered.org/u/Industrialogics)\
**Replies:** 2\
**Last updated:** [11 February 2021 16:41 UTC](https://discourse.nodered.org/t/modbus-rtu-to-opc-ua-conversion/40829 "2021-02-11T16:41:59Z")

</div>

Looking to use Raspberry Pi as edge device. Want to import Modbus RTU/ASCII data from legacy controllers, format and wrap in OPC-UA in order to transmit to Amazon AWS cloud service. Would Node-Red be capable of handling…

---

## [Data Base information on gauge graph](https://discourse.nodered.org/t/data-base-information-on-gauge-graph/40791)

<div class="topic-metadata">

**Author:** [@tawny\_alexa](https://discourse.nodered.org/u/tawny_alexa)\
**Replies:** 9\
**Last updated:** [11 February 2021 15:26 UTC](https://discourse.nodered.org/t/data-base-information-on-gauge-graph/40791 "2021-02-11T15:26:46Z")

</div>

First, let me say it's my first time using node-red and reading this forum has helped more than you can imagine. I knew nothing about node-red and now I'm about to finish my IoT project. I'm managing hand sanitizer disp…

---

## [Little Errors on Node-RED Library Site](https://discourse.nodered.org/t/little-errors-on-node-red-library-site/40808)

<div class="topic-metadata">

**Author:** [@iiot2k](https://discourse.nodered.org/u/iiot2k)\
**Replies:** 7\
**Last updated:** [11 February 2021 12:59 UTC](https://discourse.nodered.org/t/little-errors-on-node-red-library-site/40808 "2021-02-11T12:59:27Z")

</div>

I have published node-red-contrib-redplc-rpi-ads1x15. First Error: In README.md is a table. On npm and Github, the table is displayed correct. But on Node-RED Library Site shows markdown code. Is this a error on my …

---

## [Template status](https://discourse.nodered.org/t/template-status/40801)

<div class="topic-metadata">

**Author:** [@leftymuller](https://discourse.nodered.org/u/leftymuller)\
**Replies:** 8\
**Last updated:** [11 February 2021 11:50 UTC](https://discourse.nodered.org/t/template-status/40801 "2021-02-11T11:50:26Z")

</div>

Hey Guys, Cant find an answer for this.. not sure there is a way to do it. Is there a way to monitor a template node that is displaying a MJPEG feed to make sure its active? The MJPEG feed is a .cgi from a VLC transco…

---

## [MQTT message not making sense](https://discourse.nodered.org/t/mqtt-message-not-making-sense/40536)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 21\
**Last updated:** [11 February 2021 10:16 UTC](https://discourse.nodered.org/t/mqtt-message-not-making-sense/40536 "2021-02-11T10:16:39Z")

</div>

Sorry folks, but this is confusing. Some of the machines have local MQTT hosts set to bridging mode to talk to the main one. I unplug a machine's CAT-5 cable and this is what I see happen. Which doesn't make sense. I…

---

## [Change theme options from code](https://discourse.nodered.org/t/change-theme-options-from-code/40506)

<div class="topic-metadata">

**Author:** [@Simone](https://discourse.nodered.org/u/Simone)\
**Replies:** 5\
**Last updated:** [11 February 2021 10:02 UTC](https://discourse.nodered.org/t/change-theme-options-from-code/40506 "2021-02-11T10:02:25Z")

</div>

Hi, I would like to customize the theme colors of dashboard from code. I.e. I need to change background color of buttons. I'm able to do this button by button but my target is to do it from theme because it will be a …

---

## [Read some values](https://discourse.nodered.org/t/read-some-values/40804)

<div class="topic-metadata">

**Author:** [@micke0079](https://discourse.nodered.org/u/micke0079)\
**Replies:** 2\
**Last updated:** [11 February 2021 09:29 UTC](https://discourse.nodered.org/t/read-some-values/40804 "2021-02-11T09:29:55Z")

</div>

bonjour les gars je n'arrive pas a récupérer uniquement les valeurs "fr" comment faire ? \[{"id":"4515adda.763934","type":"inject","z":"6323ae0a.473e4","name":"","topic":"","payload":"","payloadType":"date","repeat":""…

---

## [Question regarding flow processing](https://discourse.nodered.org/t/question-regarding-flow-processing/40807)

<div class="topic-metadata">

**Author:** [@crackytsi](https://discourse.nodered.org/u/crackytsi)\
**Replies:** 2\
**Last updated:** [11 February 2021 09:18 UTC](https://discourse.nodered.org/t/question-regarding-flow-processing/40807 "2021-02-11T09:18:29Z")

</div>

Hi, I have an inject node and a node-gen node (calling an API with a return delay of arround 10 seconds) outputting to an debug node. When I click twice on inject the response occoures in the order: a) First Inject Cl…

---

## [OPCUA Injection Node error](https://discourse.nodered.org/t/opcua-injection-node-error/40752)

<div class="topic-metadata">

**Author:** [@Angel](https://discourse.nodered.org/u/Angel)\
**Replies:** 1\
**Last updated:** [11 February 2021 09:10 UTC](https://discourse.nodered.org/t/opcua-injection-node-error/40752 "2021-02-11T09:10:30Z")

</div>

Long ago I made a Nodered-OPCUA-61131 Program to send emails. Now I would like to make a change in nodered but I have a problem with the write injection of a OPCUA Variable. I check a value of an email in json format i…

[Previous page](https://discourse.nodered.org/latest.md?page=886)

[Next page](https://discourse.nodered.org/latest.md?page=888)
