# General

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

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

**Page:** 832

---

## [Node-red-node-google calendar node auth issue](https://discourse.nodered.org/t/node-red-node-google-calendar-node-auth-issue/17393)

<div class="topic-metadata">

**Author:** [@zoopster](https://discourse.nodered.org/u/zoopster)\
**Replies:** 2\
**Last updated:** [1 November 2019 11:08 UTC](https://discourse.nodered.org/t/node-red-node-google-calendar-node-auth-issue/17393 "2019-11-01T11:08:26Z")

</div>

Trying to use this group of nodes and cannot get it to auth correctly. I have enabled the google+ api and the google calendar api, populated the node with the oauth2 id and secret with the correct redirect url and receiv…

---

## [Modify node-arduino to create a msg on every received analog value](https://discourse.nodered.org/t/modify-node-arduino-to-create-a-msg-on-every-received-analog-value/17386)

<div class="topic-metadata">

**Author:** [@m\_elias](https://discourse.nodered.org/u/m_elias)\
**Replies:** 3\
**Last updated:** [31 October 2019 21:55 UTC](https://discourse.nodered.org/t/modify-node-arduino-to-create-a-msg-on-every-received-analog-value/17386 "2019-10-31T21:55:26Z")

</div>

I'm using analog inputs on my Arduino running the StandardFirmataPlus example sketch to measure pressure sensors. I've modified the sketch to read the analog inputs only every 5 seconds to reduce USB serial traffic and c…

---

## [Did a recent update break Swagger?](https://discourse.nodered.org/t/did-a-recent-update-break-swagger/17369)

<div class="topic-metadata">

**Author:** [@steve-r-campbell](https://discourse.nodered.org/u/steve-r-campbell)\
**Replies:** 2\
**Last updated:** [31 October 2019 18:05 UTC](https://discourse.nodered.org/t/did-a-recent-update-break-swagger/17369 "2019-10-31T18:05:38Z")

</div>

When defining a Node, I was able to create the Swagger Doc. The Parameters and Response were 2 different tabs. A recent change does not show the tabs, and the add Parameter button is not working. Has anyone else exper…

---

## [When global variable is 0 global.get returns "or" value](https://discourse.nodered.org/t/when-global-variable-is-0-global-get-returns-or-value/17298)

<div class="topic-metadata">

**Author:** [@brianb](https://discourse.nodered.org/u/brianb)\
**Replies:** 11\
**Last updated:** [31 October 2019 16:49 UTC](https://discourse.nodered.org/t/when-global-variable-is-0-global-get-returns-or-value/17298 "2019-10-31T16:49:29Z")

</div>

var lastdim3 = global.get('lastdim3') || 255; If value of variable is 0 it will get 255, if value is 1 or more it will work, if i remove the || 255 it will then get the 0 if thats the value..

---

## [Help Publishing NPM Package](https://discourse.nodered.org/t/help-publishing-npm-package/17340)

<div class="topic-metadata">

**Author:** [@georgegreener](https://discourse.nodered.org/u/georgegreener)\
**Replies:** 9\
**Last updated:** [31 October 2019 15:00 UTC](https://discourse.nodered.org/t/help-publishing-npm-package/17340 "2019-10-31T15:00:15Z")

</div>

Hello, I have a custom build of Node-Red 1.0.1 that implements vertical node flows. The idea is to publish this as an NPM package and then use that package in a Dockerfile to containerize the custom build. My problem i…

---

## [Choose nodejs version on Pi before installing Node-RED](https://discourse.nodered.org/t/choose-nodejs-version-on-pi-before-installing-node-red/17317)

<div class="topic-metadata">

**Author:** [@psulli10](https://discourse.nodered.org/u/psulli10)\
**Replies:** 15\
**Last updated:** [31 October 2019 14:58 UTC](https://discourse.nodered.org/t/choose-nodejs-version-on-pi-before-installing-node-red/17317 "2019-10-31T14:58:24Z")

</div>

Hi, I'm looking for a way to set my nodejs version to version 8 that isn't nvm... I've tried using Debian form the command line: curl -sL https://deb.nodesource.com/setup\_8.x | bash - apt-get install -y nodejs But th…

---

## [Problem with Exec node Asus Tinker](https://discourse.nodered.org/t/problem-with-exec-node-asus-tinker/17341)

<div class="topic-metadata">

**Author:** [@josemansilva22](https://discourse.nodered.org/u/josemansilva22)\
**Replies:** 6\
**Last updated:** [31 October 2019 14:33 UTC](https://discourse.nodered.org/t/problem-with-exec-node-asus-tinker/17341 "2019-10-31T14:33:11Z")

</div>

Hi, im using node-red on a tinkerboard s and wen execute comands in exec node give me error 127 comand not fund, even wen try a sudo reboot give me like : sudo: unable to set runas group vector: Operation not permitted …

---

## [Issues after git merge (conflicts)](https://discourse.nodered.org/t/issues-after-git-merge-conflicts/16834)

<div class="topic-metadata">

**Author:** [@Theos](https://discourse.nodered.org/u/Theos)\
**Replies:** 6\
**Last updated:** [31 October 2019 13:51 UTC](https://discourse.nodered.org/t/issues-after-git-merge-conflicts/16834 "2019-10-31T13:51:42Z")

</div>

After resolving merge conflicts, I encounter the issues below: Nodes get unwired Nodes get displaced in the flow. Has anyone else countered this issue? Any idea on how to resolve this issue?

---

## [Node-red email node and gmail](https://discourse.nodered.org/t/node-red-email-node-and-gmail/8238)

<div class="topic-metadata">

**Author:** [@larrybell](https://discourse.nodered.org/u/larrybell)\
**Replies:** 5\
**Last updated:** [31 October 2019 12:33 UTC](https://discourse.nodered.org/t/node-red-email-node-and-gmail/8238 "2019-10-31T12:33:05Z")

</div>

Is anyone suddenly have issues with sending emails via gmail? Mine just stopped working on Tuesday. Node-red error: "Error: Invalid login: 534-5.7.14 \<https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsb…

---

## [Connect Error with Email-in node](https://discourse.nodered.org/t/connect-error-with-email-in-node/13643)

<div class="topic-metadata">

**Author:** [@himdene](https://discourse.nodered.org/u/himdene)\
**Replies:** 12\
**Last updated:** [24 July 2019 14:20 UTC](https://discourse.nodered.org/t/connect-error-with-email-in-node/13643 "2019-07-24T14:20:50Z")

</div>

Hello, I'm getting a connect error when using email-in node The username and password are correct and i'm using the 1.6.2 version Any ideas ? Thanks, Hemdene

---

## [Problems with hysteresis-node](https://discourse.nodered.org/t/problems-with-hysteresis-node/17338)

<div class="topic-metadata">

**Author:** [@AnScherf](https://discourse.nodered.org/u/AnScherf)\
**Replies:** 12\
**Last updated:** [31 October 2019 10:12 UTC](https://discourse.nodered.org/t/problems-with-hysteresis-node/17338 "2019-10-31T10:12:10Z")

</div>

Hi, I'm new to this and I'm not a native Speaker, please be gentle :wink: I have a Problem with this Node node-red-contrib-hysteresis 0.1.0 I want to Control my Heatingsystem in every Room. This Node has the Option to…

---

## [How to control the start-up of each process has a certain interval at the node-red start-up](https://discourse.nodered.org/t/how-to-control-the-start-up-of-each-process-has-a-certain-interval-at-the-node-red-start-up/17349)

<div class="topic-metadata">

**Author:** [@Jack](https://discourse.nodered.org/u/Jack)\
**Replies:** 5\
**Last updated:** [31 October 2019 09:25 UTC](https://discourse.nodered.org/t/how-to-control-the-start-up-of-each-process-has-a-certain-interval-at-the-node-red-start-up/17349 "2019-10-31T09:25:43Z")

</div>

1.My flows have some server node,when the node-red start up,I hope i can define the Order and time interval of each flow,Is there any thing that can be done? 2.Is there a way to know the flow id of the current flow in t…

---

## [Alexa SmartHome V3 responce Alexa App](https://discourse.nodered.org/t/alexa-smarthome-v3-responce-alexa-app/17361)

<div class="topic-metadata">

**Author:** [@Blackei](https://discourse.nodered.org/u/Blackei)\
**Replies:** 0\
**Last updated:** [31 October 2019 09:23 UTC](https://discourse.nodered.org/t/alexa-smarthome-v3-responce-alexa-app/17361 "2019-10-31T09:23:56Z")

</div>

Hi, i have Homematic Devices at Home for example a Switch: How is it possible to have a Feetback to the Alexa app? When i Switchthe Light on with a URL than the responce Tool should be Switch the Light in the App to, b…

---

## [2 different network cause node red does't response](https://discourse.nodered.org/t/2-different-network-cause-node-red-doest-response/16684)

<div class="topic-metadata">

**Author:** [@tramanah](https://discourse.nodered.org/u/tramanah)\
**Replies:** 5\
**Last updated:** [31 October 2019 07:10 UTC](https://discourse.nodered.org/t/2-different-network-cause-node-red-doest-response/16684 "2019-10-31T07:10:21Z")

</div>

A single pc on Window 10 (64 bits) is installed with node-red locally and connected with router via wifi dongle. The function of Node-Red is to communicate via MQTT protocol with many raspberry pi's and collects data. Th…

---

## [Cannot join into google calender](https://discourse.nodered.org/t/cannot-join-into-google-calender/17348)

<div class="topic-metadata">

**Author:** [@Smarty](https://discourse.nodered.org/u/Smarty)\
**Replies:** 0\
**Last updated:** [30 October 2019 22:27 UTC](https://discourse.nodered.org/t/cannot-join-into-google-calender/17348 "2019-10-30T22:27:50Z")

</div>

I just installed the google calendar nodes. However I am not able to authenticate into google, because the authorized Redirect URIs needs to be https, instead of http://. How can I change that? So that I can authorize …

---

## [Mqtt monitoring / syncing states, need bit of help](https://discourse.nodered.org/t/mqtt-monitoring-syncing-states-need-bit-of-help/17105)

<div class="topic-metadata">

**Author:** [@krizniq](https://discourse.nodered.org/u/krizniq)\
**Replies:** 26\
**Last updated:** [30 October 2019 20:49 UTC](https://discourse.nodered.org/t/mqtt-monitoring-syncing-states-need-bit-of-help/17105 "2019-10-30T20:49:38Z")

</div>

Hello, I'm quite confident programmer, but as well quite new to node-red so I can solve my issue in other programming languages, but in nodered i need bit of help. I have let's say two different MQTT topics, which I ne…

---

## [Full node appearance](https://discourse.nodered.org/t/full-node-appearance/5041)

<div class="topic-metadata">

**Author:** [@jdiegosierra](https://discourse.nodered.org/u/jdiegosierra)\
**Replies:** 9\
**Last updated:** [30 October 2019 18:05 UTC](https://discourse.nodered.org/t/full-node-appearance/5041 "2019-10-30T18:05:16Z")

</div>

Hi, Is there any way to edit more deeply the nodes instead of background color. For example, I would like to change ports position even port style, like the image above... Is this possible with Node-RED?

---

## [Binary Check Code](https://discourse.nodered.org/t/binary-check-code/17324)

<div class="topic-metadata">

**Author:** [@iridiu](https://discourse.nodered.org/u/iridiu)\
**Replies:** 1\
**Last updated:** [30 October 2019 16:07 UTC](https://discourse.nodered.org/t/binary-check-code/17324 "2019-10-30T16:07:46Z")

</div>

Hi, I have a device wich is connected to NodeRed via RS232 port, it has a proprietary communication protocol and a BCC (Binary Check Code). In the device manual I have this description of the BCC: The checksum (also k…

---

## [Cannot upgrade to 1.0.2 from 0.20.5](https://discourse.nodered.org/t/cannot-upgrade-to-1-0-2-from-0-20-5/17272)

<div class="topic-metadata">

**Author:** [@stamer](https://discourse.nodered.org/u/stamer)\
**Replies:** 18\
**Last updated:** [30 October 2019 12:22 UTC](https://discourse.nodered.org/t/cannot-upgrade-to-1-0-2-from-0-20-5/17272 "2019-10-30T12:22:26Z")

</div>

Hey, I am on Windows 10 and tried to upgrade Node-RED. First, I have upgraded NodeJS (v12.13.0), NPM (6.12.0) and then executed npm install -g --unsafe-perm node-red The message: C:\\Users\\xxxx\\AppData\\Roaming\\npm\\nod…

---

## [Sending data to Dakboard](https://discourse.nodered.org/t/sending-data-to-dakboard/3800)

<div class="topic-metadata">

**Author:** [@kekkerfink](https://discourse.nodered.org/u/kekkerfink)\
**Replies:** 5\
**Last updated:** [30 October 2019 11:28 UTC](https://discourse.nodered.org/t/sending-data-to-dakboard/3800 "2019-10-30T11:28:40Z")

</div>

I want to send some data to my Dakboard, but I don't know how to make the flow. As I can read I need to add a URL in the fetch option in Dakboard settings. How do I make this URL in Node-Red? I was thinking of displayin…

---

## [Add own functions to node red by using functionGlobalContext](https://discourse.nodered.org/t/add-own-functions-to-node-red-by-using-functionglobalcontext/17312)

<div class="topic-metadata">

**Author:** [@Meng](https://discourse.nodered.org/u/Meng)\
**Replies:** 4\
**Last updated:** [30 October 2019 11:24 UTC](https://discourse.nodered.org/t/add-own-functions-to-node-red-by-using-functionglobalcontext/17312 "2019-10-30T11:24:25Z")

</div>

Including the os library works fine by including in the settings.js under functionGlobalContext:: os:require('os') And including in a function node: var os = global.get('os'); msg.payload=os.arch(); Now I want t…

---

## [I wil make e thermostat but is not working ; if you change the mintemp or maxtemp the funcioen should show a 1 or 0 in his debug](https://discourse.nodered.org/t/i-wil-make-e-thermostat-but-is-not-working-if-you-change-the-mintemp-or-maxtemp-the-funcioen-should-show-a-1-or-0-in-his-debug/17314)

<div class="topic-metadata">

**Author:** [@sioenl](https://discourse.nodered.org/u/sioenl)\
**Replies:** 2\
**Last updated:** [30 October 2019 11:16 UTC](https://discourse.nodered.org/t/i-wil-make-e-thermostat-but-is-not-working-if-you-change-the-mintemp-or-maxtemp-the-funcioen-should-show-a-1-or-0-in-his-debug/17314 "2019-10-30T11:16:24Z")

</div>

relay test.json (5.7 KB)

---

## [Cannot install node-red-contrib-ttn in Windows](https://discourse.nodered.org/t/cannot-install-node-red-contrib-ttn-in-windows/17283)

<div class="topic-metadata">

**Author:** [@johnd](https://discourse.nodered.org/u/johnd)\
**Replies:** 8\
**Last updated:** [30 October 2019 10:00 UTC](https://discourse.nodered.org/t/cannot-install-node-red-contrib-ttn-in-windows/17283 "2019-10-30T10:00:48Z")

</div>

Sorry, I'm sure this is a very common issue but can't quickly spot a solution online. I have a NR installation running fine under Win32 and wish to add node-red-contrib-ttn. But: npm install -g node-red-contrib-ttn e…

---

## [Node-red-contrib-ical-events](https://discourse.nodered.org/t/node-red-contrib-ical-events/16698)

<div class="topic-metadata">

**Author:** [@Kees](https://discourse.nodered.org/u/Kees)\
**Replies:** 3\
**Last updated:** [30 October 2019 07:07 UTC](https://discourse.nodered.org/t/node-red-contrib-ical-events/16698 "2019-10-30T07:07:03Z")

</div>

Does someone have any idea how to work with node-red-control-ical-events? There is no descrpiption and there is no help.

---

## [Issue with serial port node](https://discourse.nodered.org/t/issue-with-serial-port-node/4420)

<div class="topic-metadata">

**Author:** [@Belen](https://discourse.nodered.org/u/Belen)\
**Replies:** 11\
**Last updated:** [30 October 2019 06:32 UTC](https://discourse.nodered.org/t/issue-with-serial-port-node/4420 "2019-10-30T06:32:16Z")

</div>

Hi everyone! I’m new with node red, and I need your help, please. I have connected two devices in serial port mode to node-red, using the serial in node. Both were working perfectly, until 1 day ago one of them (a bar …

---

## [Function that return msg.payload each time it pass through](https://discourse.nodered.org/t/function-that-return-msg-payload-each-time-it-pass-through/17270)

<div class="topic-metadata">

**Author:** [@Laude](https://discourse.nodered.org/u/Laude)\
**Replies:** 3\
**Last updated:** [30 October 2019 02:31 UTC](https://discourse.nodered.org/t/function-that-return-msg-payload-each-time-it-pass-through/17270 "2019-10-30T02:31:37Z")

</div>

Hi guys, I'am trying to do a simple for loop but I can't find a way to return a msg.payload each time it goes through this loop. var length = msg.payloadSplit.length; for (i = 0; i \< length; i++){ msg.payload = i;…

---

## [KY040 rotary encoder - counting within NR](https://discourse.nodered.org/t/ky040-rotary-encoder-counting-within-nr/2548)

<div class="topic-metadata">

**Author:** [@RKF](https://discourse.nodered.org/u/RKF)\
**Replies:** 14\
**Last updated:** [29 October 2019 18:53 UTC](https://discourse.nodered.org/t/ky040-rotary-encoder-counting-within-nr/2548 "2019-10-29T18:53:19Z")

</div>

I have been using a KY040 rotary encoder within Node Red for a while, but my solution is a little clunky. I have attached it to an ESP8266 loaded with ESP-Easy, which outputs the count via MQTT to my Pi. This works, bu…

---

## [Help with simple flow.. I guess](https://discourse.nodered.org/t/help-with-simple-flow-i-guess/17286)

<div class="topic-metadata">

**Author:** [@htilly](https://discourse.nodered.org/u/htilly)\
**Replies:** 3\
**Last updated:** [29 October 2019 18:24 UTC](https://discourse.nodered.org/t/help-with-simple-flow-i-guess/17286 "2019-10-29T18:24:09Z")

</div>

Hi! New to MQTT and Node Red. What I want to achieve is a simple flow that takes an input and based on a simple value (ON/OFF) push a new message to another queue. Basically something like: IN: camera/motion/Entre :…

---

## [How to read Value Sensor from Modbus RTU](https://discourse.nodered.org/t/how-to-read-value-sensor-from-modbus-rtu/17274)

<div class="topic-metadata">

**Author:** [@Riky\_maarif](https://discourse.nodered.org/u/Riky_maarif)\
**Replies:** 1\
**Last updated:** [29 October 2019 14:25 UTC](https://discourse.nodered.org/t/how-to-read-value-sensor-from-modbus-rtu/17274 "2019-10-29T14:25:16Z")

</div>

i have trouble when i read value from sensor that modbus RTU, the value that appears does not match the original, as shown in the picture. do you have a solution or suggestion? or whether it must be converted first. t…

---

## [How can I recover a json message from a distant server?](https://discourse.nodered.org/t/how-can-i-recover-a-json-message-from-a-distant-server/17217)

<div class="topic-metadata">

**Author:** [@chris35](https://discourse.nodered.org/u/chris35)\
**Replies:** 32\
**Last updated:** [29 October 2019 14:17 UTC](https://discourse.nodered.org/t/how-can-i-recover-a-json-message-from-a-distant-server/17217 "2019-10-29T14:17:56Z")

</div>

I would like to recover a JSON message in node-red from a distant server I've tried with a node "tcp-in" but I don't know if it's a good solution because I don't have only the JSON.... what's the node better for me ? …

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

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