# General

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

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

**Page:** 603

---

## [Websocket. How to update URL or submit msg.payload from HTML?](https://discourse.nodered.org/t/websocket-how-to-update-url-or-submit-msg-payload-from-html/41031)

<div class="topic-metadata">

**Author:** [@thebaldgeek](https://discourse.nodered.org/u/thebaldgeek)\
**Replies:** 20\
**Last updated:** [17 February 2021 16:35 UTC](https://discourse.nodered.org/t/websocket-how-to-update-url-or-submit-msg-payload-from-html/41031 "2021-02-17T16:35:43Z")

</div>

Good morning. I am using the airport weather (METAR) example flow from here; https://flows.nodered.org/flow/8851bb4aa09dcdf3c4d3 It works great and I really like it. Just trying to add a way to change the airport cod…

---

## [BLE Peripheral Simulation](https://discourse.nodered.org/t/ble-peripheral-simulation/40436)

<div class="topic-metadata">

**Author:** [@Woodster-cloud](https://discourse.nodered.org/u/Woodster-cloud)\
**Replies:** 5\
**Last updated:** [17 February 2021 16:20 UTC](https://discourse.nodered.org/t/ble-peripheral-simulation/40436 "2021-02-17T16:20:32Z")

</div>

Hi everyone, I'm new to Node-RED and interested in sports sensors e.g heart rate, cadence, power etc. I have tried various tools to try and create a BLE device based on inputs from other sensors. I have got an example…

---

## [Python script in node red](https://discourse.nodered.org/t/python-script-in-node-red/41164)

<div class="topic-metadata">

**Author:** [@shel](https://discourse.nodered.org/u/shel)\
**Replies:** 8\
**Last updated:** [17 February 2021 15:49 UTC](https://discourse.nodered.org/t/python-script-in-node-red/41164 "2021-02-17T15:49:42Z")

</div>

Trying to run a python script from inside node red. Downloaded a couple of nodes but they don't seem to do what I need node-red-contrib-pythonshell node-red-contrib-python-function The script I have runs fine from the…

---

## [Can we disable the flow for a particular node-RED user](https://discourse.nodered.org/t/can-we-disable-the-flow-for-a-particular-node-red-user/41161)

<div class="topic-metadata">

**Author:** [@karthiksuresh6666](https://discourse.nodered.org/u/karthiksuresh6666)\
**Replies:** 1\
**Last updated:** [17 February 2021 13:57 UTC](https://discourse.nodered.org/t/can-we-disable-the-flow-for-a-particular-node-red-user/41161 "2021-02-17T13:57:18Z")

</div>

After creating two users with permissions: "\*", permissions: "read" I want to disable few flows for non-admin user. How can I achieve this in node-red?

---

## [Hassio IOT: appropriate timestamp for Influxdb](https://discourse.nodered.org/t/hassio-iot-appropriate-timestamp-for-influxdb/41149)

<div class="topic-metadata">

**Author:** [@epaike](https://discourse.nodered.org/u/epaike)\
**Replies:** 5\
**Last updated:** [17 February 2021 13:44 UTC](https://discourse.nodered.org/t/hassio-iot-appropriate-timestamp-for-influxdb/41149 "2021-02-17T13:44:50Z")

</div>

Hi, i’m not familiar with coding. Started with node-red-contrib-nordpool-api-plus (node) - Node-RED I try to write value with time to influxdb, no success so far. How should I change the appropriate timestamp for I…

---

## [Function or Node to get the modified date from a file](https://discourse.nodered.org/t/function-or-node-to-get-the-modified-date-from-a-file/41156)

<div class="topic-metadata">

**Author:** [@tpbillund](https://discourse.nodered.org/u/tpbillund)\
**Replies:** 7\
**Last updated:** [17 February 2021 13:29 UTC](https://discourse.nodered.org/t/function-or-node-to-get-the-modified-date-from-a-file/41156 "2021-02-17T13:29:52Z")

</div>

Hi I need to look at this file, and if it's modified within the last 2 sec. then that will run a flow. /config/www/snapshots/foran\_detection\_latest.jpg I just don't know where to start with a function or what Node too…

---

## [Alexa + node red + lacrosse technology sensor](https://discourse.nodered.org/t/alexa-node-red-lacrosse-technology-sensor/41107)

<div class="topic-metadata">

**Author:** [@pambucol](https://discourse.nodered.org/u/pambucol)\
**Replies:** 3\
**Last updated:** [17 February 2021 09:21 UTC](https://discourse.nodered.org/t/alexa-node-red-lacrosse-technology-sensor/41107 "2021-02-17T09:21:20Z")

</div>

Hello, I just started on node red but I am an engineer and programmer. Here is what I want to do: I have a lacrosse technology temperature/humidity sensor that connects on the web that I figure out how get csv data fr…

---

## [Mqtt Docker not able to connect](https://discourse.nodered.org/t/mqtt-docker-not-able-to-connect/41084)

<div class="topic-metadata">

**Author:** [@pranavthakkar](https://discourse.nodered.org/u/pranavthakkar)\
**Replies:** 7\
**Last updated:** [17 February 2021 08:26 UTC](https://discourse.nodered.org/t/mqtt-docker-not-able-to-connect/41084 "2021-02-17T08:26:47Z")

</div>

Hello, I'm new to docker. and wanted to communicate two containers. so I used this approach instead of making a new compose file. Linking Containers. but I'm not able to connect my MQTT node with a broker. I have not as…

---

## [Help to filter data](https://discourse.nodered.org/t/help-to-filter-data/41096)

<div class="topic-metadata">

**Author:** [@hrleinonen](https://discourse.nodered.org/u/hrleinonen)\
**Replies:** 3\
**Last updated:** [17 February 2021 04:55 UTC](https://discourse.nodered.org/t/help-to-filter-data/41096 "2021-02-17T04:55:36Z")

</div>

Hi, I try to create function which filters data out based on values. I only need values where visible is true. I've been banging my head against wall now 2 days for this. If there is better way to do this than funct…

---

## [Is it possible to receive data from the chat (group or private) telegram?](https://discourse.nodered.org/t/is-it-possible-to-receive-data-from-the-chat-group-or-private-telegram/40839)

<div class="topic-metadata">

**Author:** [@fzr91](https://discourse.nodered.org/u/fzr91)\
**Replies:** 8\
**Last updated:** [17 February 2021 02:34 UTC](https://discourse.nodered.org/t/is-it-possible-to-receive-data-from-the-chat-group-or-private-telegram/40839 "2021-02-17T02:34:22Z")

</div>

I tried telegram bot to receive data from a private and group chat but I don't get anything, I can only interpret the data from the bot I created but not within the chat. Am I wrong or is it not possible?

---

## [Where I can get the debug logs of node-red?](https://discourse.nodered.org/t/where-i-can-get-the-debug-logs-of-node-red/15712)

<div class="topic-metadata">

**Author:** [@Iliyas](https://discourse.nodered.org/u/Iliyas)\
**Replies:** 14\
**Last updated:** [17 February 2021 02:23 UTC](https://discourse.nodered.org/t/where-i-can-get-the-debug-logs-of-node-red/15712 "2021-02-17T02:23:44Z")

</div>

Hello, Where I can find the debug logs of node-red in windows? And I'm using the command "node-red" for starting the node-red

---

## [Why the difficulty passing msg to script in ui-template?](https://discourse.nodered.org/t/why-the-difficulty-passing-msg-to-script-in-ui-template/41061)

<div class="topic-metadata">

**Author:** [@a1ex](https://discourse.nodered.org/u/a1ex)\
**Replies:** 2\
**Last updated:** [17 February 2021 00:28 UTC](https://discourse.nodered.org/t/why-the-difficulty-passing-msg-to-script-in-ui-template/41061 "2021-02-17T00:28:26Z")

</div>

I thought it was just my ineptitude, but no. It really is a pain to pass msg.payload to a script in ui-template nodes. I don't get it. How else would we drive a ui-template node with msg data? Why so much contortion req…

---

## [Optimize Flex Getter](https://discourse.nodered.org/t/optimize-flex-getter/41116)

<div class="topic-metadata">

**Author:** [@Benja](https://discourse.nodered.org/u/Benja)\
**Replies:** 6\
**Last updated:** [17 February 2021 00:12 UTC](https://discourse.nodered.org/t/optimize-flex-getter/41116 "2021-02-17T00:12:57Z")

</div>

Hi, i need help again is there a way to leave these 3 function nodes in one?, they are all the same id, different registers. msg.payload = { value: msg.payload, 'fc': 3, 'unitid': 3, 'address': 6003, 'quantity': 1…

---

## [MQTT TLS not working](https://discourse.nodered.org/t/mqtt-tls-not-working/41069)

<div class="topic-metadata">

**Author:** [@torrent](https://discourse.nodered.org/u/torrent)\
**Replies:** 1\
**Last updated:** [17 February 2021 00:12 UTC](https://discourse.nodered.org/t/mqtt-tls-not-working/41069 "2021-02-17T00:12:36Z")

</div>

I am trying to connect my MQTT TLS Server on Docker locally. But someway, it doesn't work at all. I have configured the server site with this following tutorial: http://www.steves-internet-guide.com/mosquitto-tls/ http:…

---

## [Text to speech textbox](https://discourse.nodered.org/t/text-to-speech-textbox/41113)

<div class="topic-metadata">

**Author:** [@johnyboyneedsurhelp](https://discourse.nodered.org/u/johnyboyneedsurhelp)\
**Replies:** 6\
**Last updated:** [16 February 2021 21:55 UTC](https://discourse.nodered.org/t/text-to-speech-textbox/41113 "2021-02-16T21:55:08Z")

</div>

Hello Everyone, I'm trying to build a simple textbox to speech application. I am new to node-red and need some help on fundamentals. I have created a website to type the message I want to be sent and am just trying to g…

---

## [Calling a function regularly](https://discourse.nodered.org/t/calling-a-function-regularly/41075)

<div class="topic-metadata">

**Author:** [@877](https://discourse.nodered.org/u/877)\
**Replies:** 8\
**Last updated:** [16 February 2021 21:32 UTC](https://discourse.nodered.org/t/calling-a-function-regularly/41075 "2021-02-16T21:32:02Z")

</div>

Hi, Is there is a better way of calling the function every 1 second, and send the appropriate message to a mqtt node? Maybe something like an interrupt in the coding world? That only operates when the global variables …

---

## [Count and short objects in function node after uint16 modification](https://discourse.nodered.org/t/count-and-short-objects-in-function-node-after-uint16-modification/41120)

<div class="topic-metadata">

**Author:** [@panban-ux](https://discourse.nodered.org/u/panban-ux)\
**Replies:** 5\
**Last updated:** [16 February 2021 21:10 UTC](https://discourse.nodered.org/t/count-and-short-objects-in-function-node-after-uint16-modification/41120 "2021-02-16T21:10:26Z")

</div>

I have the following node: \[{"id":"f7844f50.7553c","type":"function","z":"11942aca.455835","name":"","func":"var lookup = {\\n 73 : \\"lemon\\",\\n 75 : \\"pear\\",\\n 0 : \\"apple\\",\\n 2 : \\"orange\\",\\n 57 : \\"k…

---

## [Addressing an object within an array](https://discourse.nodered.org/t/addressing-an-object-within-an-array/41117)

<div class="topic-metadata">

**Author:** [@quentinP](https://discourse.nodered.org/u/quentinP)\
**Replies:** 2\
**Last updated:** [16 February 2021 19:53 UTC](https://discourse.nodered.org/t/addressing-an-object-within-an-array/41117 "2021-02-16T19:53:31Z")

</div>

Sorry for the basic question but I having some problems extrating my "count" as an integer from my payload when it comes back looking like this (result of an SQL query). I tried with a function node and this code: //…

---

## [Can you use an arduino with a relay board as an outpost?](https://discourse.nodered.org/t/can-you-use-an-arduino-with-a-relay-board-as-an-outpost/41074)

<div class="topic-metadata">

**Author:** [@spawnreaper](https://discourse.nodered.org/u/spawnreaper)\
**Replies:** 9\
**Last updated:** [16 February 2021 19:11 UTC](https://discourse.nodered.org/t/can-you-use-an-arduino-with-a-relay-board-as-an-outpost/41074 "2021-02-16T19:11:53Z")

</div>

I am very new to node-red but I am learning. I have a raspberry pi and 4 relay board with node-red functioning properly now. But I have another spot in the house where I would like to switch some relays. I was wondering…

---

## [Sumar variables de dos contadores modbus](https://discourse.nodered.org/t/sumar-variables-de-dos-contadores-modbus/41087)

<div class="topic-metadata">

**Author:** [@jjverdu1969](https://discourse.nodered.org/u/jjverdu1969)\
**Replies:** 17\
**Last updated:** [16 February 2021 18:25 UTC](https://discourse.nodered.org/t/sumar-variables-de-dos-contadores-modbus/41087 "2021-02-16T18:25:33Z")

</div>

Buenos dias, necesito sumar dos variables de dos contadores modbus diferentes pero no se como hacerlo. adjunto instruccion. Un saludo \[{"id":"27195760.addd28","type":"modbus-read","z":"db2fd8f9.a97c98","name":"Contador …

---

## [Help with NodeRED and GCloud](https://discourse.nodered.org/t/help-with-nodered-and-gcloud/40904)

<div class="topic-metadata">

**Author:** [@WilliamSixta](https://discourse.nodered.org/u/WilliamSixta)\
**Replies:** 4\
**Last updated:** [16 February 2021 18:06 UTC](https://discourse.nodered.org/t/help-with-nodered-and-gcloud/40904 "2021-02-16T18:06:06Z")

</div>

Hello NodeRED Forum: I am new with nodeRED and I am trying to use it with GCloud but I am getting this message. Is there anyone who can help me with Docker containers? Thank you in advance for your help.

---

## [Template vs Change Node: The for loop in JSONata](https://discourse.nodered.org/t/template-vs-change-node-the-for-loop-in-jsonata/41093)

<div class="topic-metadata">

**Author:** [@vongomben](https://discourse.nodered.org/u/vongomben)\
**Replies:** 3\
**Last updated:** [16 February 2021 16:07 UTC](https://discourse.nodered.org/t/template-vs-change-node-the-for-loop-in-jsonata/41093 "2021-02-16T16:07:28Z")

</div>

Hi! I'm making a request to an online but API. I'm trying to cicle trought the answer. While I succeed using a template node, I am kinda lost on using a more elegant JSONata command. Any help? \[{"id":"2a2b15e6.2a6…

---

## [NODE-RED MYSQL NODE connection refused](https://discourse.nodered.org/t/node-red-mysql-node-connection-refused/4147)

<div class="topic-metadata">

**Author:** [@cliffpza](https://discourse.nodered.org/u/cliffpza)\
**Replies:** 26\
**Last updated:** [16 February 2021 15:36 UTC](https://discourse.nodered.org/t/node-red-mysql-node-connection-refused/4147 "2021-02-16T15:36:51Z")

</div>

Hi there please help I have node-red running on a locally networked PI3. I want to connect MYSQL on an external ubuntu server running MYSQL. When i configure a MYSQL node with the MYSQL login details of the ubuntu ser…

---

## [Modbus TCP server, IP setup](https://discourse.nodered.org/t/modbus-tcp-server-ip-setup/41082)

<div class="topic-metadata">

**Author:** [@RogerMadrid](https://discourse.nodered.org/u/RogerMadrid)\
**Replies:** 2\
**Last updated:** [16 February 2021 14:30 UTC](https://discourse.nodered.org/t/modbus-tcp-server-ip-setup/41082 "2021-02-16T14:30:16Z")

</div>

Hi everyone, I'm trying to design a system that requires to communicate with some modbus clients, so I used the modbus server node, but, if I define an IP distinct from 0.0.0.0, I get the next error: Error: listen EADDR…

---

## [Ds18b20 wrong value if temperature is below 0 degrees](https://discourse.nodered.org/t/ds18b20-wrong-value-if-temperature-is-below-0-degrees/40812)

<div class="topic-metadata">

**Author:** [@Speedy](https://discourse.nodered.org/u/Speedy)\
**Replies:** 53\
**Last updated:** [16 February 2021 14:18 UTC](https://discourse.nodered.org/t/ds18b20-wrong-value-if-temperature-is-below-0-degrees/40812 "2021-02-16T14:18:42Z")

</div>

Hi, i use the ds18b20 sensor with raspberry. Since update to node-red 1.2.9. the values of temperatures below 0 degrees are showing wrong. There is p.e.4093.9. What can i do? Thanks

---

## [ETIMEOUT error - MSSQL PLUS](https://discourse.nodered.org/t/etimeout-error-mssql-plus/40036)

<div class="topic-metadata">

**Author:** [@sathishkumarc14](https://discourse.nodered.org/u/sathishkumarc14)\
**Replies:** 33\
**Last updated:** [16 February 2021 10:08 UTC](https://discourse.nodered.org/t/etimeout-error-mssql-plus/40036 "2021-02-16T10:08:21Z")

</div>

Hi, We are using MSSQL PLUS node to connect MSSQL database server. Calling few stored procedures from Node RED. We are getting an error like Timeout: Request failed to complete in 15000ms in some random scenarios for a…

---

## [If ( var1 = true and var2 = true ) then / else](https://discourse.nodered.org/t/if-var1-true-and-var2-true-then-else/3359)

<div class="topic-metadata">

**Author:** [@maxmueller50](https://discourse.nodered.org/u/maxmueller50)\
**Replies:** 38\
**Last updated:** [16 February 2021 09:10 UTC](https://discourse.nodered.org/t/if-var1-true-and-var2-true-then-else/3359 "2021-02-16T09:10:55Z")

</div>

hi in my project, node-red is for me complete new, but I like it very very much but in this case, I'm not able to finde a way out to solve the following function a) it is a scheduler where is set the time to start a s…

---

## [How can we run multiple node-red applications in the same machine/system](https://discourse.nodered.org/t/how-can-we-run-multiple-node-red-applications-in-the-same-machine-system/40805)

<div class="topic-metadata">

**Author:** [@Syedabd](https://discourse.nodered.org/u/Syedabd)\
**Replies:** 17\
**Last updated:** [16 February 2021 08:40 UTC](https://discourse.nodered.org/t/how-can-we-run-multiple-node-red-applications-in-the-same-machine-system/40805 "2021-02-16T08:40:49Z")

</div>

For example In other words, Can we able to run on different ports The application running in http://127.0.0.1:1880/ and the other in http://127.0.0.1:1881/

---

## [adminAuth config for OpenID based Authentication on Keycloak](https://discourse.nodered.org/t/adminauth-config-for-openid-based-authentication-on-keycloak/39442)

<div class="topic-metadata">

**Author:** [@strmar](https://discourse.nodered.org/u/strmar)\
**Replies:** 2\
**Last updated:** [16 February 2021 08:02 UTC](https://discourse.nodered.org/t/adminauth-config-for-openid-based-authentication-on-keycloak/39442 "2021-02-16T08:02:51Z")

</div>

Hello to all, Would like to secure Node-Red using Keycloak. I followed the post "Help with adminAuth config for OpenID based authentication" in this forum. However, get the following error message after logging into m…

---

## [Uibuilder not working / only white page visible](https://discourse.nodered.org/t/uibuilder-not-working-only-white-page-visible/40902)

<div class="topic-metadata">

**Author:** [@sfedo](https://discourse.nodered.org/u/sfedo)\
**Replies:** 6\
**Last updated:** [16 February 2021 07:47 UTC](https://discourse.nodered.org/t/uibuilder-not-working-only-white-page-visible/40902 "2021-02-16T07:47:01Z")

</div>

Hello, I just downloaded uibuilder and I am trying to get it working with sample node. So I put timestamp, uibuilder and debug node together. After deploy and visiting the site localhost:1880/uibuilder/index.html nothin…

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

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