# General

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

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

**Page:** 776

---

## [Using Oauth to receive a token](https://discourse.nodered.org/t/using-oauth-to-receive-a-token/23759)

<div class="topic-metadata">

**Author:** [@coasterguru](https://discourse.nodered.org/u/coasterguru)\
**Replies:** 1\
**Last updated:** [28 March 2020 10:56 UTC](https://discourse.nodered.org/t/using-oauth-to-receive-a-token/23759 "2020-03-28T10:56:17Z")

</div>

Trying to setup a query to PureCloud api using OAuth. Can't figure out how to turn this nodejs tutorial (below) into something NodeRed can understand and use. Any advice? var http = require("http"); var express = requi…

---

## [Delay loop and reset](https://discourse.nodered.org/t/delay-loop-and-reset/14752)

<div class="topic-metadata">

**Author:** [@Pisti](https://discourse.nodered.org/u/Pisti)\
**Replies:** 10\
**Last updated:** [28 March 2020 10:53 UTC](https://discourse.nodered.org/t/delay-loop-and-reset/14752 "2020-03-28T10:53:40Z")

</div>

Hello Guys! I hope I am at the right place. I try to make a delay and loop. I have magnetic door lock with a door status sensor. I have mqtt message coming in saying "Door Opened" msg1 or "Door Closed" msg2 What I wish t…

---

## [Connecting to Google Cloud via Node-Red](https://discourse.nodered.org/t/connecting-to-google-cloud-via-node-red/23767)

<div class="topic-metadata">

**Author:** [@sahebdatta](https://discourse.nodered.org/u/sahebdatta)\
**Replies:** 1\
**Last updated:** [28 March 2020 10:30 UTC](https://discourse.nodered.org/t/connecting-to-google-cloud-via-node-red/23767 "2020-03-28T10:30:33Z")

</div>

Dear All, I am using Raspberry Pi to connect to Google Cloud via Node-Red. I have installed the palette node-red-contrib-google-cloud and the installation was successful. now I am trying to use the node pubsub. After en…

---

## [\[W10\] Does anybody got problem with exec with NSSM?](https://discourse.nodered.org/t/w10-does-anybody-got-problem-with-exec-with-nssm/23771)

<div class="topic-metadata">

**Author:** [@pagkly](https://discourse.nodered.org/u/pagkly)\
**Replies:** 7\
**Last updated:** [28 March 2020 10:29 UTC](https://discourse.nodered.org/t/w10-does-anybody-got-problem-with-exec-with-nssm/23771 "2020-03-28T10:29:16Z")

</div>

I have been trying to run exec command but it does not work if I start node-red with NSSM on W10. However, it works if I start node-red manually.

---

## [Exec Node bash command "Not authorized to control networking"](https://discourse.nodered.org/t/exec-node-bash-command-not-authorized-to-control-networking/23415)

<div class="topic-metadata">

**Author:** [@Gill](https://discourse.nodered.org/u/Gill)\
**Replies:** 15\
**Last updated:** [28 March 2020 09:03 UTC](https://discourse.nodered.org/t/exec-node-bash-command-not-authorized-to-control-networking/23415 "2020-03-28T09:03:44Z")

</div>

Hello together, I am new so please apologize if this is not the right thread to place my question. I am trying to switch on my VPN Connection via the Exec-Node with following command: nmcli con up id vpnname This wor…

---

## [Two buttons activation](https://discourse.nodered.org/t/two-buttons-activation/23757)

<div class="topic-metadata">

**Author:** [@ebolisa](https://discourse.nodered.org/u/ebolisa)\
**Replies:** 6\
**Last updated:** [28 March 2020 08:53 UTC](https://discourse.nodered.org/t/two-buttons-activation/23757 "2020-03-28T08:53:14Z")

</div>

Hi, I've a switch which generates a payload 'on' when ON and 'off' when OFF. Then I've a button which generates a topic 'turnon' when clicked. The two get together into a function shown below. The idea is that the fu…

---

## [Regarding "Credentials could not be decrypted" error](https://discourse.nodered.org/t/regarding-credentials-could-not-be-decrypted-error/23765)

<div class="topic-metadata">

**Author:** [@RavinderSingh13](https://discourse.nodered.org/u/RavinderSingh13)\
**Replies:** 1\
**Last updated:** [28 March 2020 05:30 UTC](https://discourse.nodered.org/t/regarding-credentials-could-not-be-decrypted-error/23765 "2020-03-28T05:30:04Z")

</div>

Hello All, I have installed anew module named "node-red-contrib-uibuilder" and after that I started getting error like: Credentials could not be decrypted The flow credential file is encrypted, but the project's encryp…

---

## [Where are the node-red modules located?](https://discourse.nodered.org/t/where-are-the-node-red-modules-located/23744)

<div class="topic-metadata">

**Author:** [@pagkly](https://discourse.nodered.org/u/pagkly)\
**Replies:** 8\
**Last updated:** [28 March 2020 04:59 UTC](https://discourse.nodered.org/t/where-are-the-node-red-modules-located/23744 "2020-03-28T04:59:04Z")

</div>

Hi, I want to know the directory of node-red modules installed from the palette for backup.

---

## [AIoT programming](https://discourse.nodered.org/t/aiot-programming/18531)

<div class="topic-metadata">

**Author:** [@anguslou](https://discourse.nodered.org/u/anguslou)\
**Replies:** 6\
**Last updated:** [28 March 2020 04:49 UTC](https://discourse.nodered.org/t/aiot-programming/18531 "2020-03-28T04:49:31Z")

</div>

Node-red is a fantastic tool in IoT programming, however, in order to make the IoT more intelligent, it has to process data and do some data science tasks. While Node-red is not good at handling huge size of data and ana…

---

## [How to create a fetch URL for my realtime data? URGENT](https://discourse.nodered.org/t/how-to-create-a-fetch-url-for-my-realtime-data-urgent/23731)

<div class="topic-metadata">

**Author:** [@Hasanga95](https://discourse.nodered.org/u/Hasanga95)\
**Replies:** 4\
**Last updated:** [28 March 2020 01:12 UTC](https://discourse.nodered.org/t/how-to-create-a-fetch-url-for-my-realtime-data-urgent/23731 "2020-03-28T01:12:08Z")

</div>

I created a flow to get real time data from a moving vehicle via a MQTT in. Then sorted the data in a protocol buffer format. I want to send this data to Google transit server but cannot send it via HTTP post without u…

---

## [Error while installing uibuilder](https://discourse.nodered.org/t/error-while-installing-uibuilder/23745)

<div class="topic-metadata">

**Author:** [@RavinderSingh13](https://discourse.nodered.org/u/RavinderSingh13)\
**Replies:** 3\
**Last updated:** [27 March 2020 23:43 UTC](https://discourse.nodered.org/t/error-while-installing-uibuilder/23745 "2020-03-27T23:43:52Z")

</div>

Hello All, Greetings!! While installing module names "uibuilder" I am getting following error(on my Ubuntu system and my npm version is 6.14.2). sudo npm install uibuilder npm ERR! code E404 npm ERR! 404 Object Not Fo…

---

## [Can't get link tag href data from Cheerio parser](https://discourse.nodered.org/t/cant-get-link-tag-href-data-from-cheerio-parser/23647)

<div class="topic-metadata">

**Author:** [@mrSidX](https://discourse.nodered.org/u/mrSidX)\
**Replies:** 9\
**Last updated:** [27 March 2020 23:20 UTC](https://discourse.nodered.org/t/cant-get-link-tag-href-data-from-cheerio-parser/23647 "2020-03-27T23:20:55Z")

</div>

Anyone out there know how to work this Cheerio node as the descriptions don't cover how to use the bottom portion in detail. I'm trying to extract the URL link from this 'Cheerio Chain' and I came to the link tag and …

---

## [BMP180 sensor to MQTT get multiple values](https://discourse.nodered.org/t/bmp180-sensor-to-mqtt-get-multiple-values/23528)

<div class="topic-metadata">

**Author:** [@Tomadoggy](https://discourse.nodered.org/u/Tomadoggy)\
**Replies:** 37\
**Last updated:** [27 March 2020 22:09 UTC](https://discourse.nodered.org/t/bmp180-sensor-to-mqtt-get-multiple-values/23528 "2020-03-27T22:09:45Z")

</div>

As the topic states, I have a simple (to soon be more complex) need to consume MQTT data from sensors into node-red. I have successfully used mosquito and paho in a python script to create 2 separate MQTT messages from …

---

## [Error: Tarn: opt.max must be an integer](https://discourse.nodered.org/t/error-tarn-opt-max-must-be-an-integer/23714)

<div class="topic-metadata">

**Author:** [@pedrossag](https://discourse.nodered.org/u/pedrossag)\
**Replies:** 14\
**Last updated:** [27 March 2020 16:26 UTC](https://discourse.nodered.org/t/error-tarn-opt-max-must-be-an-integer/23714 "2020-03-27T16:26:51Z")

</div>

Hi I get a strange error when using the MSSQL-Node (node-red-contrib-mssql-plus v.0.4.0) with nodeRed (v1.0.3). When executing a query, it shows: 'Tarn: opt.max must be an integer \> 0'. The node worked without problem…

---

## [Add middleware for static contents](https://discourse.nodered.org/t/add-middleware-for-static-contents/23667)

<div class="topic-metadata">

**Author:** [@jacyuan](https://discourse.nodered.org/u/jacyuan)\
**Replies:** 2\
**Last updated:** [27 March 2020 15:50 UTC](https://discourse.nodered.org/t/add-middleware-for-static-contents/23667 "2020-03-27T15:50:57Z")

</div>

Hello everyone, Here is my context: We would like to use node-red server as an intermediate layer, for accessing private files. For POC purpose, we added a simple http GET file route under nodered, in order to check a…

---

## [Help with Jsonata grouping please](https://discourse.nodered.org/t/help-with-jsonata-grouping-please/23616)

<div class="topic-metadata">

**Author:** [@JayNaire](https://discourse.nodered.org/u/JayNaire)\
**Replies:** 2\
**Last updated:** [27 March 2020 14:26 UTC](https://discourse.nodered.org/t/help-with-jsonata-grouping-please/23616 "2020-03-27T14:26:22Z")

</div>

grouping.json (97.7 KB) shows two Change Nodes using Jsonata being used to de-duplicate log entries. The first node groups & amends objects from a log by (day) date, the second strips off the date key produced by that g…

---

## [LG Node Toast inklusive Icons](https://discourse.nodered.org/t/lg-node-toast-inklusive-icons/23737)

<div class="topic-metadata">

**Author:** [@Johny1972](https://discourse.nodered.org/u/Johny1972)\
**Replies:** 0\
**Last updated:** [27 March 2020 13:49 UTC](https://discourse.nodered.org/t/lg-node-toast-inklusive-icons/23737 "2020-03-27T13:49:10Z")

</div>

Hallo, ich steuere jetzt über Node Red meinen LG TV, vorher mit Hassio. Mit dem Node Toast kann ich Mitteilungen an den TV senden. Wie kann ich Icons in diese Mitteilung hinzu nehmen. Bislang habe ich über Hassio Mittei…

---

## [How to create my own node like a small screen for chatbot](https://discourse.nodered.org/t/how-to-create-my-own-node-like-a-small-screen-for-chatbot/23686)

<div class="topic-metadata">

**Author:** [@RavinderSingh13](https://discourse.nodered.org/u/RavinderSingh13)\
**Replies:** 4\
**Last updated:** [27 March 2020 13:38 UTC](https://discourse.nodered.org/t/how-to-create-my-own-node-like-a-small-screen-for-chatbot/23686 "2020-03-27T13:38:50Z")

</div>

Hello Team, Greetings!! I have created a chatbot using Telegram nodes option and it works fine with my home pc(aws server),I will also share its code in future when I get sometime for sure. Problem here is Telegram is…

---

## [SmartThings Motion Sensor and Flow](https://discourse.nodered.org/t/smartthings-motion-sensor-and-flow/23692)

<div class="topic-metadata">

**Author:** [@sidneyki](https://discourse.nodered.org/u/sidneyki)\
**Replies:** 3\
**Last updated:** [27 March 2020 13:27 UTC](https://discourse.nodered.org/t/smartthings-motion-sensor-and-flow/23692 "2020-03-27T13:27:57Z")

</div>

Hello, I am stuck on creating a flow for a Smart Things motion sensor. I am able to get a kitchen light to come on when there is motion. The issue is that when standing still the light turns off a short time later. I l…

---

## [Loxone integration](https://discourse.nodered.org/t/loxone-integration/23734)

<div class="topic-metadata">

**Author:** [@teobert97](https://discourse.nodered.org/u/teobert97)\
**Replies:** 0\
**Last updated:** [27 March 2020 13:07 UTC](https://discourse.nodered.org/t/loxone-integration/23734 "2020-03-27T13:07:17Z")

</div>

Hello everyone! Sorry for my ignorance but I would like to ask for explanations in the loxone implementation with node red. I installed mosquitto server on raspberry pi3 and, through the zigbee2mqtt module,i can read th…

---

## [How display data on a table on the UI of node red](https://discourse.nodered.org/t/how-display-data-on-a-table-on-the-ui-of-node-red/23729)

<div class="topic-metadata">

**Author:** [@Ahd](https://discourse.nodered.org/u/Ahd)\
**Replies:** 2\
**Last updated:** [27 March 2020 12:31 UTC](https://discourse.nodered.org/t/how-display-data-on-a-table-on-the-ui-of-node-red/23729 "2020-03-27T12:31:53Z")

</div>

the data that I have from the payload shown in the figure below. I just want to dislay data on a table .... any help, please.

---

## [Need help displaying data each interval](https://discourse.nodered.org/t/need-help-displaying-data-each-interval/23716)

<div class="topic-metadata">

**Author:** [@Abata](https://discourse.nodered.org/u/Abata)\
**Replies:** 4\
**Last updated:** [27 March 2020 11:16 UTC](https://discourse.nodered.org/t/need-help-displaying-data-each-interval/23716 "2020-03-27T11:16:13Z")

</div>

Im having trouble to display data every 5 seconds interval after using the switch node. But when i debug the node before it reaches the switch node, the output shows what its supposed to every 5 seconds. Hope you guys ca…

---

## [Boolean logic or glied](https://discourse.nodered.org/t/boolean-logic-or-glied/22554)

<div class="topic-metadata">

**Author:** [@pipapo](https://discourse.nodered.org/u/pipapo)\
**Replies:** 17\
**Last updated:** [27 March 2020 11:14 UTC](https://discourse.nodered.org/t/boolean-logic-or-glied/22554 "2020-03-27T11:14:22Z")

</div>

Hallo, ich habe mehrer Variablen angelegt und bekomme es einfach nicht hin. Warum geht das OR nicht auf true sondern bleibt auf "unkown"? Wenn ich das erste Und Glied so lasse und das zweite UND Glied weg nehme und nu…

---

## [Send data to pc... /dev/pts/2](https://discourse.nodered.org/t/send-data-to-pc-dev-pts-2/23702)

<div class="topic-metadata">

**Author:** [@laulee](https://discourse.nodered.org/u/laulee)\
**Replies:** 0\
**Last updated:** [27 March 2020 01:44 UTC](https://discourse.nodered.org/t/send-data-to-pc-dev-pts-2/23702 "2020-03-27T01:44:51Z")

</div>

I send data from arduino to node-red on Linux PC. On my pc, I open another terminal ( console.log screen is already used ) Is it possible to send data from node-red to another Terminal on PC ( eg. /dev/pts/2, or /de…

---

## [Worldmap - Start lat and lon](https://discourse.nodered.org/t/worldmap-start-lat-and-lon/23646)

<div class="topic-metadata">

**Author:** [@robo67](https://discourse.nodered.org/u/robo67)\
**Replies:** 6\
**Last updated:** [26 March 2020 23:35 UTC](https://discourse.nodered.org/t/worldmap-start-lat-and-lon/23646 "2020-03-26T23:35:23Z")

</div>

I'm struggling with injecting a start lat and lon into the worldmap node. My GNSS receiver could be anywhere globally so when it starts feeding data into the node I'd like the map to jump to that location. At the momen…

---

## [Catch MSSQL node error](https://discourse.nodered.org/t/catch-mssql-node-error/23675)

<div class="topic-metadata">

**Author:** [@coasterguru](https://discourse.nodered.org/u/coasterguru)\
**Replies:** 4\
**Last updated:** [26 March 2020 19:49 UTC](https://discourse.nodered.org/t/catch-mssql-node-error/23675 "2020-03-26T19:49:05Z")

</div>

Hi All, I'm kind of new to this, so I'm struggling with a MSSQL Node Catch. My node red server has an unreliable connection to my SQL server that I am querying, so it often throws a connection error. If I try again, it u…

---

## [Stop answering to ping requests](https://discourse.nodered.org/t/stop-answering-to-ping-requests/23308)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 3\
**Last updated:** [26 March 2020 16:10 UTC](https://discourse.nodered.org/t/stop-answering-to-ping-requests/23308 "2020-03-26T16:10:19Z")

</div>

Hi mates, I've a problem with an old videocamera (which producer refuses to correct/improve its firmware), sometimes it's internal RTP server stops working and it's needed to reboot camera to connect again to it. Luckly …

---

## [Python equation to node red function](https://discourse.nodered.org/t/python-equation-to-node-red-function/23668)

<div class="topic-metadata">

**Author:** [@SmudgeMarxUK](https://discourse.nodered.org/u/SmudgeMarxUK)\
**Replies:** 8\
**Last updated:** [26 March 2020 16:06 UTC](https://discourse.nodered.org/t/python-equation-to-node-red-function/23668 "2020-03-26T16:06:03Z")

</div>

Hi all, I'm trying to convert part of a python script, i wrote, to a node red function...but i'm struggling to find to best method to do this. I'm a super noob to coding & I'm attempting to get the basics down with Javas…

---

## [Node-RED Record Foto/Video HA](https://discourse.nodered.org/t/node-red-record-foto-video-ha/23663)

<div class="topic-metadata">

**Author:** [@pedroware](https://discourse.nodered.org/u/pedroware)\
**Replies:** 9\
**Last updated:** [26 March 2020 15:35 UTC](https://discourse.nodered.org/t/node-red-record-foto-video-ha/23663 "2020-03-26T15:35:09Z")

</div>

Hi, I have a problem sending photos and videos by telegram. Error : Call-service API error. Error Message: extra keys not allowed @ data\['0'\] Thank you, help me please !

---

## [Working between Floating Point and Int. data types](https://discourse.nodered.org/t/working-between-floating-point-and-int-data-types/22677)

<div class="topic-metadata">

**Author:** [@jfehl](https://discourse.nodered.org/u/jfehl)\
**Replies:** 23\
**Last updated:** [26 March 2020 13:50 UTC](https://discourse.nodered.org/t/working-between-floating-point-and-int-data-types/22677 "2020-03-26T13:50:48Z")

</div>

I have a piece of equipment which has the ability to send data out either as floating point or int. If I set it to output in Int. I can use a Modbus Read and see the values fine. However if I set it to Float, I get v…

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

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