# General

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

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

**Page:** 556

---

## ["RangeError: Maximum call stack size exceeded" on Finite State Machine application](https://discourse.nodered.org/t/rangeerror-maximum-call-stack-size-exceeded-on-finite-state-machine-application/44754)

<div class="topic-metadata">

**Author:** [@OriolFM](https://discourse.nodered.org/u/OriolFM)\
**Replies:** 15\
**Last updated:** [14 May 2021 05:54 UTC](https://discourse.nodered.org/t/rangeerror-maximum-call-stack-size-exceeded-on-finite-state-machine-application/44754 "2021-05-14T05:54:44Z")

</div>

Last week, I updated several nodes with the pallette manager in one of my projects that has several Finite State Machines to monitor and control mobile robots. It had been running for several months without a hitch, but…

---

## [Nodered Mosquitto](https://discourse.nodered.org/t/nodered-mosquitto/45262)

<div class="topic-metadata">

**Author:** [@automati](https://discourse.nodered.org/u/automati)\
**Replies:** 15\
**Last updated:** [13 May 2021 21:30 UTC](https://discourse.nodered.org/t/nodered-mosquitto/45262 "2021-05-13T21:30:17Z")

</div>

Hello everybody I installed Mosquito on my Raspberry. now I have specified my Rasperry as MQTT server on my Shellys. On NodeRed I also added the MQTT server. on Nodered it also indicates that it is connected to the MQTT…

---

## [How do I know which node is making this complaint?](https://discourse.nodered.org/t/how-do-i-know-which-node-is-making-this-complaint/45580)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 8\
**Last updated:** [13 May 2021 21:10 UTC](https://discourse.nodered.org/t/how-do-i-know-which-node-is-making-this-complaint/45580 "2021-05-13T21:10:04Z")

</div>

Sorry folks. As the regulars may have noticed: I've been away. I'm kinda back and playing catch up with things. This error/warning happened just now and I don't know how to find out from whom it comes. Anyone?

---

## [Node-red-contrib-ring-central](https://discourse.nodered.org/t/node-red-contrib-ring-central/45611)

<div class="topic-metadata">

**Author:** [@rseals](https://discourse.nodered.org/u/rseals)\
**Replies:** 2\
**Last updated:** [13 May 2021 20:36 UTC](https://discourse.nodered.org/t/node-red-contrib-ring-central/45611 "2021-05-13T20:36:18Z")

</div>

Pretty new to node-red. I have a couple of small personal project under my belt. I'm currently working on a notification system that I would like to send SMS messages using our Ring Central account. I'm using the node…

---

## [Loading Plugins (Post Instalation) - Node-RED](https://discourse.nodered.org/t/loading-plugins-post-instalation-node-red/45608)

<div class="topic-metadata">

**Author:** [@Baet](https://discourse.nodered.org/u/Baet)\
**Replies:** 7\
**Last updated:** [13 May 2021 20:22 UTC](https://discourse.nodered.org/t/loading-plugins-post-instalation-node-red/45608 "2021-05-13T20:22:57Z")

</div>

Good morning, a few days ago I changed to a formatted computer and among the programs that I reinstalled this Node-RED, when I performed the typical steps for its installation I obtained what is shown in the image and wh…

---

## [Help with power meter values](https://discourse.nodered.org/t/help-with-power-meter-values/45527)

<div class="topic-metadata">

**Author:** [@diaz\_1988](https://discourse.nodered.org/u/diaz_1988)\
**Replies:** 23\
**Last updated:** [13 May 2021 19:35 UTC](https://discourse.nodered.org/t/help-with-power-meter-values/45527 "2021-05-13T19:35:42Z")

</div>

Hey to all, i try to store energy readings (kWh) from a power meter . Every 100 pulses is 1 kwh . I used counter node with range node and i have the correct number. I am feeding this noumber to influx db and then i make …

---

## [\[problem\] Not work flow editor Node-RED 1.3.4 on Chrome](https://discourse.nodered.org/t/problem-not-work-flow-editor-node-red-1-3-4-on-chrome/45347)

<div class="topic-metadata">

**Author:** [@MecatronicaMADE](https://discourse.nodered.org/u/MecatronicaMADE)\
**Replies:** 18\
**Last updated:** [13 May 2021 18:34 UTC](https://discourse.nodered.org/t/problem-not-work-flow-editor-node-red-1-3-4-on-chrome/45347 "2021-05-13T18:34:29Z")

</div>

Hi everyone, i\`m new here, my language is not english, sorry about it. I have installing Node-RED on my Rpi Zero, also on my Laptop, i have the V1.3, so when i start node-RED on terminal, is all ok, but when i open the…

---

## [Syntax error if only comments in function node On Stop](https://discourse.nodered.org/t/syntax-error-if-only-comments-in-function-node-on-stop/45600)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 2\
**Last updated:** [13 May 2021 16:27 UTC](https://discourse.nodered.org/t/syntax-error-if-only-comments-in-function-node-on-stop/45600 "2021-05-13T16:27:17Z")

</div>

A minor issue with node-red 1.3.4, if the On Stop tab of a Function node consists of only comments (after the default header text there) then on passing the node a message the error SyntaxError: Unexpected end of input …

---

## [Clarifai in Node Red](https://discourse.nodered.org/t/clarifai-in-node-red/45106)

<div class="topic-metadata">

**Author:** [@LetsDoIt](https://discourse.nodered.org/u/LetsDoIt)\
**Replies:** 16\
**Last updated:** [13 May 2021 16:10 UTC](https://discourse.nodered.org/t/clarifai-in-node-red/45106 "2021-05-13T16:10:06Z")

</div>

Hi folks, I'm new to Node Red but I'm loving it so far. 1 week in and I'm already building flows that I never imagined I'd be able to achieve with my skill levels. It really is an amazing tool! My question is around …

---

## [1.3.4 not using modified class function node (in subflow?)](https://discourse.nodered.org/t/1-3-4-not-using-modified-class-function-node-in-subflow/45582)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 15\
**Last updated:** [13 May 2021 15:31 UTC](https://discourse.nodered.org/t/1-3-4-not-using-modified-class-function-node-in-subflow/45582 "2021-05-13T15:31:52Z")

</div>

Using node-red 1.3.4, nodejs 14.17.0 I have a function node inside a subflow with a class definition embedded in the function node. I find that if I edit the code inside the class and deploy (even a full deploy) the mod…

---

## [(also) Stuck on “Loading Palette” Screen](https://discourse.nodered.org/t/also-stuck-on-loading-palette-screen/45470)

<div class="topic-metadata">

**Author:** [@ItayKishon-Vayyar](https://discourse.nodered.org/u/ItayKishon-Vayyar)\
**Replies:** 14\
**Last updated:** [13 May 2021 14:53 UTC](https://discourse.nodered.org/t/also-stuck-on-loading-palette-screen/45470 "2021-05-13T14:53:29Z")

</div>

TL;DR - same behavior as here, on latest version. Hi, I've been using node-red for several months, yet decided to have a fresh install. After removing everything (node-red, node.js, npm), I've installed the latest nvm…

---

## [Ring door bell flow with restore media player state](https://discourse.nodered.org/t/ring-door-bell-flow-with-restore-media-player-state/45540)

<div class="topic-metadata">

**Author:** [@sjpriest79](https://discourse.nodered.org/u/sjpriest79)\
**Replies:** 6\
**Last updated:** [13 May 2021 14:06 UTC](https://discourse.nodered.org/t/ring-door-bell-flow-with-restore-media-player-state/45540 "2021-05-13T14:06:29Z")

</div>

Hi Apologies if this has already been answered. I am trying to setup a flow that casts a URL to all my devices when the doorbell is pressed which is fairly simple. Here is the tricky part i want to check each media pla…

---

## [Need to send data from iot2040 to mysql workbench which is installed on my laptop](https://discourse.nodered.org/t/need-to-send-data-from-iot2040-to-mysql-workbench-which-is-installed-on-my-laptop/45572)

<div class="topic-metadata">

**Author:** [@Swapnil](https://discourse.nodered.org/u/Swapnil)\
**Replies:** 5\
**Last updated:** [13 May 2021 12:22 UTC](https://discourse.nodered.org/t/need-to-send-data-from-iot2040-to-mysql-workbench-which-is-installed-on-my-laptop/45572 "2021-05-13T12:22:38Z")

</div>

Hello People, I want to send data from IOT2040 to my MySQL Workbench which is installed on my Laptop. I am getting an error which is as follows : "Error: ER\_HOST\_NOT\_PRIVILEGED: Host '192.168.200.1' is not allowed to …

---

## [Add a fictitious value to a payload or ignore a specific one](https://discourse.nodered.org/t/add-a-fictitious-value-to-a-payload-or-ignore-a-specific-one/45576)

<div class="topic-metadata">

**Author:** [@HaVi](https://discourse.nodered.org/u/HaVi)\
**Replies:** 7\
**Last updated:** [13 May 2021 12:04 UTC](https://discourse.nodered.org/t/add-a-fictitious-value-to-a-payload-or-ignore-a-specific-one/45576 "2021-05-13T12:04:26Z")

</div>

Unfortunately I am struggling with a flow and I have too little knowledge to solve this. I retrieve data from The Things Network via MQTT, which is only one field with air pressure ("luchtdruk"). This value is written i…

---

## [MQTT - Between 2 Ubuntu hosts in vmware](https://discourse.nodered.org/t/mqtt-between-2-ubuntu-hosts-in-vmware/45584)

<div class="topic-metadata">

**Author:** [@alan](https://discourse.nodered.org/u/alan)\
**Replies:** 2\
**Last updated:** [13 May 2021 11:09 UTC](https://discourse.nodered.org/t/mqtt-between-2-ubuntu-hosts-in-vmware/45584 "2021-05-13T11:09:07Z")

</div>

Hi friends, I am new to MQTT. I am trying to setup MQTT between 2 ubuntu 18.x hosts installed in vmware. Both of these hosts has id address and I can even ping or ssh each other successfully. Now in first Ubuntu host …

---

## [Endpoint from Modbus data](https://discourse.nodered.org/t/endpoint-from-modbus-data/45556)

<div class="topic-metadata">

**Author:** [@Xina](https://discourse.nodered.org/u/Xina)\
**Replies:** 4\
**Last updated:** [13 May 2021 10:32 UTC](https://discourse.nodered.org/t/endpoint-from-modbus-data/45556 "2021-05-13T10:32:56Z")

</div>

How to make an endpoint with data from modbus using Modbus Flex Getter?

---

## [Alexa chrome cast from pc by voice](https://discourse.nodered.org/t/alexa-chrome-cast-from-pc-by-voice/45560)

<div class="topic-metadata">

**Author:** [@Robmak](https://discourse.nodered.org/u/Robmak)\
**Replies:** 1\
**Last updated:** [13 May 2021 10:28 UTC](https://discourse.nodered.org/t/alexa-chrome-cast-from-pc-by-voice/45560 "2021-05-13T10:28:18Z")

</div>

Hi, I need some help with a new setup I just installed. My wife is disabled with a condition that is eased by the whirlpool spa bath we have. She needs to spend quite a long time to get any real benefit. The bath has a…

---

## [Securing the raspberry pi and Nodered](https://discourse.nodered.org/t/securing-the-raspberry-pi-and-nodered/45542)

<div class="topic-metadata">

**Author:** [@Cracatus](https://discourse.nodered.org/u/Cracatus)\
**Replies:** 15\
**Last updated:** [13 May 2021 10:14 UTC](https://discourse.nodered.org/t/securing-the-raspberry-pi-and-nodered/45542 "2021-05-13T10:14:56Z")

</div>

Hello again, I have another question. A sort of chatter about the security of raspberry pi and the security of Nodered. I understood that Pi was the most easily hackable user. I would have liked to replace it with anot…

---

## [Https web API that receives files](https://discourse.nodered.org/t/https-web-api-that-receives-files/45581)

<div class="topic-metadata">

**Author:** [@lucatxt](https://discourse.nodered.org/u/lucatxt)\
**Replies:** 1\
**Last updated:** [13 May 2021 09:45 UTC](https://discourse.nodered.org/t/https-web-api-that-receives-files/45581 "2021-05-13T09:45:56Z")

</div>

Hi, How can I create an API over https (with certificate) that receives a csv/xml file from an external source? This API should be called only with valid credentials (username and password). Thanks

---

## [Bug Report - Random Delay Does Not Respond to "Seconds"](https://discourse.nodered.org/t/bug-report-random-delay-does-not-respond-to-seconds/44905)

<div class="topic-metadata">

**Author:** [@EMC](https://discourse.nodered.org/u/EMC)\
**Replies:** 11\
**Last updated:** [13 May 2021 08:23 UTC](https://discourse.nodered.org/t/bug-report-random-delay-does-not-respond-to-seconds/44905 "2021-05-13T08:23:08Z")

</div>

Hello, I am using Node-Red in Home Assistant and I have serval uses of the Random Delay node. The ones I have set to between limits in minutes work fine. But if I set the limit to occur between seconds, it still defaults…

---

## [What is best practice to get files with jpg as file extension](https://discourse.nodered.org/t/what-is-best-practice-to-get-files-with-jpg-as-file-extension/45526)

<div class="topic-metadata">

**Author:** [@tpbillund](https://discourse.nodered.org/u/tpbillund)\
**Replies:** 6\
**Last updated:** [13 May 2021 08:20 UTC](https://discourse.nodered.org/t/what-is-best-practice-to-get-files-with-jpg-as-file-extension/45526 "2021-05-13T08:20:10Z")

</div>

Hi atm. im using the watch node on a folder, it shows what is happening in the folder, both when I correct, create and delete files. What I want is to just look at which files are being created and they should only b…

---

## [Is it possible to bundle node-red with webpack?](https://discourse.nodered.org/t/is-it-possible-to-bundle-node-red-with-webpack/43213)

<div class="topic-metadata">

**Author:** [@Norberg95](https://discourse.nodered.org/u/Norberg95)\
**Replies:** 8\
**Last updated:** [12 May 2021 22:20 UTC](https://discourse.nodered.org/t/is-it-possible-to-bundle-node-red-with-webpack/43213 "2021-05-12T22:20:03Z")

</div>

I would like to bundle only the necessarry code from node-red. I tried to use webpack for this purpose, but it\`s always throws errors. I was wondering if it is possible, at all. Any tips to reduce size/ number of files …

---

## [Combine queries and send email](https://discourse.nodered.org/t/combine-queries-and-send-email/45559)

<div class="topic-metadata">

**Author:** [@sahsha](https://discourse.nodered.org/u/sahsha)\
**Replies:** 1\
**Last updated:** [12 May 2021 19:06 UTC](https://discourse.nodered.org/t/combine-queries-and-send-email/45559 "2021-05-12T19:06:32Z")

</div>

Need Help again :neutral\_face: . In the below flow how can I combine all the queries & send mail in below tabular format Also display the same on dashboard \[{"id":"e2a56fda.b415","type":"MSSQL","z":"1f149e22.43a482…

---

## [Define msg.topic in function node](https://discourse.nodered.org/t/define-msg-topic-in-function-node/45008)

<div class="topic-metadata">

**Author:** [@sahsha](https://discourse.nodered.org/u/sahsha)\
**Replies:** 8\
**Last updated:** [1 May 2021 13:18 UTC](https://discourse.nodered.org/t/define-msg-topic-in-function-node/45008 "2021-05-01T13:18:57Z")

</div>

Hello everyone, need help to create one function node below is the given flow \[{"id":"4476fe10.e2765","type":"simpletime","z":"1f149e22.43a482","name":"","mydate":true,"myymd":true,"myyear":true,"mymonth":true,"mymonth…

---

## [Image works on Docker but not on Kubernetes](https://discourse.nodered.org/t/image-works-on-docker-but-not-on-kubernetes/45190)

<div class="topic-metadata">

**Author:** [@Stwissel](https://discourse.nodered.org/u/Stwissel)\
**Replies:** 5\
**Last updated:** [12 May 2021 18:12 UTC](https://discourse.nodered.org/t/image-works-on-docker-but-not-on-kubernetes/45190 "2021-05-12T18:12:03Z")

</div>

I have a simple Dockerfile: FROM nodered/node-red # Copy package.json to the WORKDIR so npm builds all COPY package.json . COPY node-red-static . COPY defaults . RUN npm install --unsafe-perm --no-update-notifier --no-…

---

## [Flow variable only works once](https://discourse.nodered.org/t/flow-variable-only-works-once/45548)

<div class="topic-metadata">

**Author:** [@OrluckIndBJ](https://discourse.nodered.org/u/OrluckIndBJ)\
**Replies:** 2\
**Last updated:** [12 May 2021 17:24 UTC](https://discourse.nodered.org/t/flow-variable-only-works-once/45548 "2021-05-12T17:24:54Z")

</div>

I have a dashboard dropdown setting a flow variable (name) and I am using it to set the email address for a notification. It works the first time it sends an email, after that my name variable clears out (in the context …

---

## [Calculate time difference between sunrise and specific time](https://discourse.nodered.org/t/calculate-time-difference-between-sunrise-and-specific-time/45523)

<div class="topic-metadata">

**Author:** [@pkjacobsen](https://discourse.nodered.org/u/pkjacobsen)\
**Replies:** 3\
**Last updated:** [12 May 2021 16:19 UTC](https://discourse.nodered.org/t/calculate-time-difference-between-sunrise-and-specific-time/45523 "2021-05-12T16:19:01Z")

</div>

Hello all you good people. I would like my outdoor motion sensors to turn the lights on at 5.30 am if the sun is below horizon and turn off at sunrise. Since it's spring here in Denmark, the sun is above horizon at 5.30…

---

## [Error when multiplying variables](https://discourse.nodered.org/t/error-when-multiplying-variables/45459)

<div class="topic-metadata">

**Author:** [@omalisson](https://discourse.nodered.org/u/omalisson)\
**Replies:** 8\
**Last updated:** [12 May 2021 15:30 UTC](https://discourse.nodered.org/t/error-when-multiplying-variables/45459 "2021-05-12T15:30:38Z")

</div>

Good night friends! I'm having trouble making a multiplication between two variables where the result output is "NaN". When I do the multiplication using the operand as the input payload and multiply it by a global var…

---

## [Reading user environment variables](https://discourse.nodered.org/t/reading-user-environment-variables/45547)

<div class="topic-metadata">

**Author:** [@mdkrieg](https://discourse.nodered.org/u/mdkrieg)\
**Replies:** 2\
**Last updated:** [12 May 2021 15:27 UTC](https://discourse.nodered.org/t/reading-user-environment-variables/45547 "2021-05-12T15:27:58Z")

</div>

Hello, I'm trying to configure an environment variable by adding the following line in my user's .bashrc file: export apikey=############## I am able to see the key in both the terminal and by starting a node shell an…

---

## [Tesla Location & node-red-node-geofence](https://discourse.nodered.org/t/tesla-location-node-red-node-geofence/45521)

<div class="topic-metadata">

**Author:** [@nowjon](https://discourse.nodered.org/u/nowjon)\
**Replies:** 3\
**Last updated:** [12 May 2021 14:43 UTC](https://discourse.nodered.org/t/tesla-location-node-red-node-geofence/45521 "2021-05-12T14:43:14Z")

</div>

Heyo, not sure how to get the correct formatting from the node-red-contrib-tesla to node-red-node-geofence. Here's the output of the node-red-contrib-tesla driveState command: {"\_msgid":"15f2c9c.3bb0a36","payload":{"gp…

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

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