# Latest

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

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

**Page:** 818

---

## [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…

---

## [\[Announce\] Node-RED Runtime Bundler for 1.5MB AWS Lambda Functions](https://discourse.nodered.org/t/announce-node-red-runtime-bundler-for-1-5mb-aws-lambda-functions/45565)

<div class="topic-metadata">

**Author:** [@aheissenberger](https://discourse.nodered.org/u/aheissenberger)\
**Replies:** 0\
**Last updated:** [12 May 2021 22:42 UTC](https://discourse.nodered.org/t/announce-node-red-runtime-bundler-for-1-5mb-aws-lambda-functions/45565 "2021-05-12T22:42:50Z")

</div>

Hello everyone, this is my first project with Node-RED - so please be patience with me :slight\_smile: My goal is to provide a very small runtime which reduces cold start times and allows to use flows to build AWS Lambd…

---

## [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 …

---

## [Client side excel sheet data](https://discourse.nodered.org/t/client-side-excel-sheet-data/45531)

<div class="topic-metadata">

**Author:** [@Duncan](https://discourse.nodered.org/u/Duncan)\
**Replies:** 3\
**Last updated:** [12 May 2021 20:46 UTC](https://discourse.nodered.org/t/client-side-excel-sheet-data/45531 "2021-05-12T20:46:27Z")

</div>

Good morning everyone, I was wondering if you could point me in the right direction. I have setup an energy monitoring system to log gas, electrical usage and a calculated C02 values to an InfluxDB database and Grafana.…

---

## [Node.warn help?](https://discourse.nodered.org/t/node-warn-help/45546)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 6\
**Last updated:** [12 May 2021 20:06 UTC](https://discourse.nodered.org/t/node-warn-help/45546 "2021-05-12T20:06:07Z")

</div>

Why doesn't this work? node.warn("Payload= ",msg.payload); In this example msg.payload is a number from 1 to 7.

---

## [Node to connect to Mariner (3D printer control software for RPi)](https://discourse.nodered.org/t/node-to-connect-to-mariner-3d-printer-control-software-for-rpi/44943)

<div class="topic-metadata">

**Author:** [@daxliniere](https://discourse.nodered.org/u/daxliniere)\
**Replies:** 5\
**Last updated:** [12 May 2021 20:02 UTC](https://discourse.nodered.org/t/node-to-connect-to-mariner-3d-printer-control-software-for-rpi/44943 "2021-05-12T20:02:45Z")

</div>

Hey gang, Just got a 3D printer and discovered some clever fellow (Luiz) wrote some Linux code called Mariner that gives you remote control over your Chitu-based (Elegoo, Phrozen, etc) SLA resin 3D printer via a web int…

---

## [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…

---

## [Persistent chart node](https://discourse.nodered.org/t/persistent-chart-node/45552)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 3\
**Last updated:** [12 May 2021 18:36 UTC](https://discourse.nodered.org/t/persistent-chart-node/45552 "2021-05-12T18:36:04Z")

</div>

I am using the chart node to plot a live timeseries (humidity). When I restart NR the graph is reset. Which is the best practice to keep it persistent?

---

## [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…

---

## [Send msg.color to Button without Triggering Button](https://discourse.nodered.org/t/send-msg-color-to-button-without-triggering-button/45549)

<div class="topic-metadata">

**Author:** [@psalibe](https://discourse.nodered.org/u/psalibe)\
**Replies:** 2\
**Last updated:** [12 May 2021 18:17 UTC](https://discourse.nodered.org/t/send-msg-color-to-button-without-triggering-button/45549 "2021-05-12T18:17:21Z")

</div>

I have a button that starts a feed sequence for a digestion tank. I would like the color of that button to change based on the weight of the tank. For example, 0-50 lbs. Green, 51-90 lbs. Yellow, \>90 lbs. Red. I tried re…

---

## [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 …

---

## [Responsive group width/height](https://discourse.nodered.org/t/responsive-group-width-height/45551)

<div class="topic-metadata">

**Author:** [@namgk](https://discourse.nodered.org/u/namgk)\
**Replies:** 1\
**Last updated:** [12 May 2021 17:10 UTC](https://discourse.nodered.org/t/responsive-group-width-height/45551 "2021-05-12T17:10:31Z")

</div>

Hi there, Is it possible or in the roadmap to make the group size responsive? For example, I have a dashboard with a large graph that spans the whole screen width. I need to manually specify a long width, such as 24. B…

---

## [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…

---

## [Node-red-node-ui-table palette install error](https://discourse.nodered.org/t/node-red-node-ui-table-palette-install-error/45492)

<div class="topic-metadata">

**Author:** [@paul.young](https://discourse.nodered.org/u/paul.young)\
**Replies:** 7\
**Last updated:** [12 May 2021 13:39 UTC](https://discourse.nodered.org/t/node-red-node-ui-table-palette-install-error/45492 "2021-05-12T13:39:12Z")

</div>

Trying to install ui-table using palette manager, I get the following in the log: node-red | 11 May 12:39:50 - \[info\] Installing module: node-red-node-ui-table, version: 0.3.10 node-red | 11 May 12:40:00 - \[info\]…

---

## [Bash script can't find the path](https://discourse.nodered.org/t/bash-script-cant-find-the-path/45533)

<div class="topic-metadata">

**Author:** [@Cracatus](https://discourse.nodered.org/u/Cracatus)\
**Replies:** 14\
**Last updated:** [12 May 2021 12:39 UTC](https://discourse.nodered.org/t/bash-script-cant-find-the-path/45533 "2021-05-12T12:39:47Z")

</div>

Hi, I'm brand new to nodered. When I saw the possibilities, I tried to install on my RPI4 by following the following tutorial: nodered.org \> docs \> getting-started \> raspberrypi When I get to the bash command, the RPI …

---

## [Installing npm package when installing node](https://discourse.nodered.org/t/installing-npm-package-when-installing-node/45534)

<div class="topic-metadata">

**Author:** [@jake123](https://discourse.nodered.org/u/jake123)\
**Replies:** 2\
**Last updated:** [12 May 2021 12:35 UTC](https://discourse.nodered.org/t/installing-npm-package-when-installing-node/45534 "2021-05-12T12:35:47Z")

</div>

Can I somehow make that when i install my node in node-red that it installs the required npm packages?

---

## [Refresh token too long?](https://discourse.nodered.org/t/refresh-token-too-long/45490)

<div class="topic-metadata">

**Author:** [@Peter67](https://discourse.nodered.org/u/Peter67)\
**Replies:** 3\
**Last updated:** [12 May 2021 10:00 UTC](https://discourse.nodered.org/t/refresh-token-too-long/45490 "2021-05-12T10:00:16Z")

</div>

Hi, i have an issue using an API from legrand. The API (https://partners-login.eliotbylegrand.com/token) uses the following params in the body: client\_id, client\_secret, Grant\_type and refresh\_token. When I fire this AP…

---

## [No Debug output & Filed to load "http://localhost:1880/vendor/purify.min.js.map"](https://discourse.nodered.org/t/no-debug-output-filed-to-load-http-localhost-1880-vendor-purify-min-js-map/45511)

<div class="topic-metadata">

**Author:** [@sjgc](https://discourse.nodered.org/u/sjgc)\
**Replies:** 7\
**Last updated:** [12 May 2021 08:06 UTC](https://discourse.nodered.org/t/no-debug-output-filed-to-load-http-localhost-1880-vendor-purify-min-js-map/45511 "2021-05-12T08:06:27Z")

</div>

I have seen both these problems in the forum but no answer. This is a clean/new install on windows 10 exactly as in the node-red docs "getting-started/windows" I I followed MQTT Publish and Subscribe Using Node Red by S…

---

## [How get and route a single pair of key/value from an object?](https://discourse.nodered.org/t/how-get-and-route-a-single-pair-of-key-value-from-an-object/45512)

<div class="topic-metadata">

**Author:** [@Topolynx](https://discourse.nodered.org/u/Topolynx)\
**Replies:** 7\
**Last updated:** [12 May 2021 07:48 UTC](https://discourse.nodered.org/t/how-get-and-route-a-single-pair-of-key-value-from-an-object/45512 "2021-05-12T07:48:06Z")

</div>

Hi. I'm moving my first steps in node-red, and I'm facing a lot of problems since the template flow that I need to use for my needs contains a lot of stuff that I still don't understand. My first need is to create some …

---

## [CRUD Operation With MongoDB](https://discourse.nodered.org/t/crud-operation-with-mongodb/45529)

<div class="topic-metadata">

**Author:** [@Kartiknodered](https://discourse.nodered.org/u/Kartiknodered)\
**Replies:** 0\
**Last updated:** [12 May 2021 06:56 UTC](https://discourse.nodered.org/t/crud-operation-with-mongodb/45529 "2021-05-12T06:56:43Z")

</div>

Hello , Can any one give me any example ono CRUD Operation using MongoDB. I am Using MongoDB Node and Able to insert data but not able to fetch particular data and update particular data. Thank You.

---

## [Values Difference](https://discourse.nodered.org/t/values-difference/45487)

<div class="topic-metadata">

**Author:** [@jackie7](https://discourse.nodered.org/u/jackie7)\
**Replies:** 2\
**Last updated:** [12 May 2021 06:54 UTC](https://discourse.nodered.org/t/values-difference/45487 "2021-05-12T06:54:02Z")

</div>

Hey there! I would like to do a flow that calculates the difference between the current value of an inject node and the previous value (with delay of 1 minute). I tried to do 2 functions with the second one delayed for…

---

## [Ignore retained MQTT messages at restart](https://discourse.nodered.org/t/ignore-retained-mqtt-messages-at-restart/45458)

<div class="topic-metadata">

**Author:** [@drtorchwood](https://discourse.nodered.org/u/drtorchwood)\
**Replies:** 4\
**Last updated:** [12 May 2021 05:37 UTC](https://discourse.nodered.org/t/ignore-retained-mqtt-messages-at-restart/45458 "2021-05-12T05:37:18Z")

</div>

Hi there, I'm facing an annoying problem with my node-red installation. The MQTT server and node-red are running on two different machines. In addition, I have Tasmota installed on a esp8266 device that measures tempera…

---

## [Some advice on date/time tarriffs](https://discourse.nodered.org/t/some-advice-on-date-time-tarriffs/45250)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 7\
**Last updated:** [12 May 2021 04:54 UTC](https://discourse.nodered.org/t/some-advice-on-date-time-tarriffs/45250 "2021-05-12T04:54:10Z")

</div>

Hey Guys, Just writing up some routines for working out what electricity tarriff applies at a given time of a day. We have the following tarriffs Peak Off-Peak, Shouldder Controlled Load 1/2 I receive a feed from …

---

## [Zigbee2mqtt+Xiaomi Switch - I need help :(](https://discourse.nodered.org/t/zigbee2mqtt-xiaomi-switch-i-need-help/45498)

<div class="topic-metadata">

**Author:** [@Merwenus](https://discourse.nodered.org/u/Merwenus)\
**Replies:** 2\
**Last updated:** [12 May 2021 04:34 UTC](https://discourse.nodered.org/t/zigbee2mqtt-xiaomi-switch-i-need-help/45498 "2021-05-12T04:34:31Z")

</div>

Hello, It took me 4 days to make the new Itead Zigbee 3.0 usb dongle to work and found it it uses different pattern than the Xiaomi gateway and can't use my old nodes. I'm dumb and can't find a way to make a simple swi…

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

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