# Latest

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

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

**Page:** 609

---

## [How to use the Email Node](https://discourse.nodered.org/t/how-to-use-the-email-node/59834)

<div class="topic-metadata">

**Author:** [@soxprox](https://discourse.nodered.org/u/soxprox)\
**Replies:** 6\
**Last updated:** [14 March 2022 12:21 UTC](https://discourse.nodered.org/t/how-to-use-the-email-node/59834 "2022-03-14T12:21:38Z")

</div>

I have a basic flow working with an IMAP email account. When there is unread email my inbox an LED is turned on. I have two issues that I am trying resolve. In order to turn off the LED when there is no unread email,…

---

## [Non linear chart y-axis scale division](https://discourse.nodered.org/t/non-linear-chart-y-axis-scale-division/59831)

<div class="topic-metadata">

**Author:** [@sdrshnptl](https://discourse.nodered.org/u/sdrshnptl)\
**Replies:** 2\
**Last updated:** [14 March 2022 11:39 UTC](https://discourse.nodered.org/t/non-linear-chart-y-axis-scale-division/59831 "2022-03-14T11:39:50Z")

</div>

Hi All!, i've to set scale of y-axis between 8 to 18, But y-axis scale division are not appropriate. As below image,2 point division expected i.e. 8,10,12,14,16,18 but graph showing strange divisions like 8,10,12.5,15…

---

## [How can I change an output to the MQTT](https://discourse.nodered.org/t/how-can-i-change-an-output-to-the-mqtt/59511)

<div class="topic-metadata">

**Author:** [@chrisausat](https://discourse.nodered.org/u/chrisausat)\
**Replies:** 6\
**Last updated:** [14 March 2022 11:22 UTC](https://discourse.nodered.org/t/how-can-i-change-an-output-to-the-mqtt/59511 "2022-03-14T11:22:10Z")

</div>

How can I change an output to the MQTT. The Payload from Node Red to the MQTT is: {"Device":"0x88DA","Send":{"Color":\[15932,14999\]}} But i Need it so: {"Device":"0x88DA","Send":{"Color":"15932,14999"}} The two numbe…

---

## [Settings.js issue after upgrading to 2.2.2](https://discourse.nodered.org/t/settings-js-issue-after-upgrading-to-2-2-2/59769)

<div class="topic-metadata">

**Author:** [@GasTurbineMan](https://discourse.nodered.org/u/GasTurbineMan)\
**Replies:** 15\
**Last updated:** [14 March 2022 10:46 UTC](https://discourse.nodered.org/t/settings-js-issue-after-upgrading-to-2-2-2/59769 "2022-03-14T10:46:55Z")

</div>

Just upgraded from 2.1.x to 2.2.2 on RaspberryPi using the script on Node-Red site. Upgrade went normally except at the end, I got a message informing me that my settings.js did not match the format of the new settings.…

---

## [Help with dashboard text node](https://discourse.nodered.org/t/help-with-dashboard-text-node/59818)

<div class="topic-metadata">

**Author:** [@Plink](https://discourse.nodered.org/u/Plink)\
**Replies:** 3\
**Last updated:** [14 March 2022 09:38 UTC](https://discourse.nodered.org/t/help-with-dashboard-text-node/59818 "2022-03-14T09:38:37Z")

</div>

I am trying a simple dashboard item. a switch node feeds a MQTT out node that controls a smart switch. The smart switch sends an MQTT back with the status like this. stat/tasmota\_F21D23/RESULT : msg.payload : string\[…

---

## [Node-red crash with node-red-contrib-telegrambot-home](https://discourse.nodered.org/t/node-red-crash-with-node-red-contrib-telegrambot-home/59806)

<div class="topic-metadata">

**Author:** [@achrafb](https://discourse.nodered.org/u/achrafb)\
**Replies:** 13\
**Last updated:** [14 March 2022 09:32 UTC](https://discourse.nodered.org/t/node-red-crash-with-node-red-contrib-telegrambot-home/59806 "2022-03-14T09:32:47Z")

</div>

Hi all :slight\_smile: Lately I have been using the nodes: node-red-contrib-telegrambot-home, I have seen that if any user blocks the BOT, the whole Node-red service restarts, I have tried with the catch to receive the e…

---

## [Is there any way to stream data from MongoDB?](https://discourse.nodered.org/t/is-there-any-way-to-stream-data-from-mongodb/59830)

<div class="topic-metadata">

**Author:** [@sarthakpundir](https://discourse.nodered.org/u/sarthakpundir)\
**Replies:** 0\
**Last updated:** [14 March 2022 08:50 UTC](https://discourse.nodered.org/t/is-there-any-way-to-stream-data-from-mongodb/59830 "2022-03-14T08:50:50Z")

</div>

Hello everyone, I'm trying to create a flow where I'll be reading documents from a MongoDB collection, perform some operations on it and save them to another MongoDB collection. I'm totally new to Node-RED and looking …

---

## [Mqtt mariadb function query](https://discourse.nodered.org/t/mqtt-mariadb-function-query/59820)

<div class="topic-metadata">

**Author:** [@nbaglietto](https://discourse.nodered.org/u/nbaglietto)\
**Replies:** 3\
**Last updated:** [14 March 2022 07:52 UTC](https://discourse.nodered.org/t/mqtt-mariadb-function-query/59820 "2022-03-14T07:52:35Z")

</div>

Good trades, I have a wemos d1 with espeasy that now only has a switch that sends status to domoticz open or closed. What I want is for node to connect to the mqtt broker, receive status and do an INSERT INTO event with…

---

## [Force web browser to refresh Dashboard page](https://discourse.nodered.org/t/force-web-browser-to-refresh-dashboard-page/59801)

<div class="topic-metadata">

**Author:** [@youbecha](https://discourse.nodered.org/u/youbecha)\
**Replies:** 3\
**Last updated:** [14 March 2022 06:23 UTC](https://discourse.nodered.org/t/force-web-browser-to-refresh-dashboard-page/59801 "2022-03-14T06:23:42Z")

</div>

We use a VPN to access the Dashboard. VPN access is limited by a user/schedule system...so only the current designated user can access and push the buttons etc on the Dashboard (remote hardware control). Unfortunately…

---

## [Node-red-contrib-telegrambot polling error](https://discourse.nodered.org/t/node-red-contrib-telegrambot-polling-error/59588)

<div class="topic-metadata">

**Author:** [@nico25](https://discourse.nodered.org/u/nico25)\
**Replies:** 10\
**Last updated:** [14 March 2022 05:57 UTC](https://discourse.nodered.org/t/node-red-contrib-telegrambot-polling-error/59588 "2022-03-14T05:57:00Z")

</div>

This has beed discussed here before, but I couldn´t find a working solution for me. I tried to produce a simple echo with receiver and sender node like in the example. Unfortunately all I get is "polling error" from th…

---

## [Select files within a date range and merge them into one file](https://discourse.nodered.org/t/select-files-within-a-date-range-and-merge-them-into-one-file/59701)

<div class="topic-metadata">

**Author:** [@Gitsaibot](https://discourse.nodered.org/u/Gitsaibot)\
**Replies:** 20\
**Last updated:** [14 March 2022 04:30 UTC](https://discourse.nodered.org/t/select-files-within-a-date-range-and-merge-them-into-one-file/59701 "2022-03-14T04:30:30Z")

</div>

Hello, I have a directory that contains a csv file for each day. I now want to select all files within a month e.g. May and merge them into one big csv file. The csv files all have the same structure. I have already ex…

---

## [Modify JSON property to include additional text -maybe using regex?](https://discourse.nodered.org/t/modify-json-property-to-include-additional-text-maybe-using-regex/59822)

<div class="topic-metadata">

**Author:** [@anakaine](https://discourse.nodered.org/u/anakaine)\
**Replies:** 2\
**Last updated:** [14 March 2022 04:03 UTC](https://discourse.nodered.org/t/modify-json-property-to-include-additional-text-maybe-using-regex/59822 "2022-03-14T04:03:16Z")

</div>

I have some JSON that looks like the following: { "StationNum": 32109, "Height": 3.686 }, { "StationNum": 32152, "Height": 1.598 }, { "StationNum": 32155, …

---

## [External youtube-dl-exec library crashes NR](https://discourse.nodered.org/t/external-youtube-dl-exec-library-crashes-nr/59807)

<div class="topic-metadata">

**Author:** [@mickym2](https://discourse.nodered.org/u/mickym2)\
**Replies:** 10\
**Last updated:** [14 March 2022 02:56 UTC](https://discourse.nodered.org/t/external-youtube-dl-exec-library-crashes-nr/59807 "2022-03-14T02:56:19Z")

</div>

In January 2022 - I had the following flow, using a function Node to get information about a YouTube video. It uses the youtube-dl-exec library. The function code was quite simple: const myTimeout = setTimeout(NoReturn…

---

## [Removing elements from JSON, including bringing child elements up a level?](https://discourse.nodered.org/t/removing-elements-from-json-including-bringing-child-elements-up-a-level/59819)

<div class="topic-metadata">

**Author:** [@anakaine](https://discourse.nodered.org/u/anakaine)\
**Replies:** 2\
**Last updated:** [14 March 2022 02:19 UTC](https://discourse.nodered.org/t/removing-elements-from-json-including-bringing-child-elements-up-a-level/59819 "2022-03-14T02:19:26Z")

</div>

I have a JSON string that's being returned by a HTTP Request to an external service. I have a format into which I need this JSON string to be parsed for a library that comes downstream in my flow. I'm not sure where to s…

---

## [How to get this data into influx db](https://discourse.nodered.org/t/how-to-get-this-data-into-influx-db/59815)

<div class="topic-metadata">

**Author:** [@Clutch](https://discourse.nodered.org/u/Clutch)\
**Replies:** 1\
**Last updated:** [13 March 2022 22:02 UTC](https://discourse.nodered.org/t/how-to-get-this-data-into-influx-db/59815 "2022-03-13T22:02:28Z")

</div>

I'm using a mqtt example with my Nano 33 IOT The data I am seeing is below. The arduino code is below. I can't figure out how to get the data into a influx database. Can someone give me a clue? This is on a RP3, Bul…

---

## [Need help to output sensor's temperature value on demand](https://discourse.nodered.org/t/need-help-to-output-sensors-temperature-value-on-demand/59625)

<div class="topic-metadata">

**Author:** [@Solid](https://discourse.nodered.org/u/Solid)\
**Replies:** 2\
**Last updated:** [13 March 2022 20:19 UTC](https://discourse.nodered.org/t/need-help-to-output-sensors-temperature-value-on-demand/59625 "2022-03-13T20:19:09Z")

</div>

he flow that I have the problem is called TextToSpeech As you can see value of payload.SI7021.Temperature is from the mqtt node tele/tasmota\_D7C816/SENSOR and when the sensor outputs the value(every 5 min) the text to …

---

## [Unable to send message to telegram](https://discourse.nodered.org/t/unable-to-send-message-to-telegram/59773)

<div class="topic-metadata">

**Author:** [@smartgirl62](https://discourse.nodered.org/u/smartgirl62)\
**Replies:** 7\
**Last updated:** [13 March 2022 16:58 UTC](https://discourse.nodered.org/t/unable-to-send-message-to-telegram/59773 "2022-03-13T16:58:59Z")

</div>

I set up our local water agency to send me a daily email of our previous day's water usage. I am able to extract out the number of gallons but when I try to send a message to telegram, I receive an error. (TypeError: Can…

---

## [Dashboard layout goes insane, becomes unrecoverable/uneditable](https://discourse.nodered.org/t/dashboard-layout-goes-insane-becomes-unrecoverable-uneditable/59771)

<div class="topic-metadata">

**Author:** [@aa777888-2](https://discourse.nodered.org/u/aa777888-2)\
**Replies:** 11\
**Last updated:** [13 March 2022 15:33 UTC](https://discourse.nodered.org/t/dashboard-layout-goes-insane-becomes-unrecoverable-uneditable/59771 "2022-03-13T15:33:31Z")

</div>

On Windows 10, running locally. Node 16.12.0, npm 8.1.0. I can't run node 17.x.x because I need node-red-contrib-modbus and it's not compatible with anything newer than 16.x.x yet. I will upgrade when I can. In the mea…

---

## [Flow with two magnet sensors controlling if a heater is allowed to run or not](https://discourse.nodered.org/t/flow-with-two-magnet-sensors-controlling-if-a-heater-is-allowed-to-run-or-not/59767)

<div class="topic-metadata">

**Author:** [@pimmen85](https://discourse.nodered.org/u/pimmen85)\
**Replies:** 4\
**Last updated:** [13 March 2022 14:35 UTC](https://discourse.nodered.org/t/flow-with-two-magnet-sensors-controlling-if-a-heater-is-allowed-to-run-or-not/59767 "2022-03-13T14:35:34Z")

</div>

i have one magnet sensor for each entry to my garage, and i have a backup heater fan, i would like to create a flow that basically does the following "when one of the doors are open a plug that controlls the heater shoul…

---

## [Node-red-contrib-pca9685 0.1.4 fall](https://discourse.nodered.org/t/node-red-contrib-pca9685-0-1-4-fall/59777)

<div class="topic-metadata">

**Author:** [@ld202167](https://discourse.nodered.org/u/ld202167)\
**Replies:** 9\
**Last updated:** [13 March 2022 14:26 UTC](https://discourse.nodered.org/t/node-red-contrib-pca9685-0-1-4-fall/59777 "2022-03-13T14:26:33Z")

</div>

2022-03-12T21:15:52.565Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-pca9685@0.1.4 2022-03-12T21:16:18.245Z \[err\] npm 2022-03-12T21:16:18.2…

---

## [Playing audio in uibuilder](https://discourse.nodered.org/t/playing-audio-in-uibuilder/58973)

<div class="topic-metadata">

**Author:** [@eltigrezinno](https://discourse.nodered.org/u/eltigrezinno)\
**Replies:** 8\
**Last updated:** [13 March 2022 14:23 UTC](https://discourse.nodered.org/t/playing-audio-in-uibuilder/58973 "2022-03-13T14:23:15Z")

</div>

Hello everyone, First, sorry for my english which is not my native language ! I'm trying to create a "Control Center" for an Escape Game Room. One of the issue I have is that I try to make an audio file (.mp3) playing…

---

## [JSONata in function node](https://discourse.nodered.org/t/jsonata-in-function-node/59772)

<div class="topic-metadata">

**Author:** [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)\
**Replies:** 4\
**Last updated:** [13 March 2022 14:07 UTC](https://discourse.nodered.org/t/jsonata-in-function-node/59772 "2022-03-13T14:07:36Z")

</div>

In the process of learning JSONata I'm having difficulty figuring out how to utilize regex as a parameter. Take for example the following in a function node: const example = "ababbabbcc"; // Applies the string to the pa…

---

## [Alert but where?](https://discourse.nodered.org/t/alert-but-where/59781)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 17\
**Last updated:** [13 March 2022 14:14 UTC](https://discourse.nodered.org/t/alert-but-where/59781 "2022-03-13T14:14:26Z")

</div>

Good morning and good Sunday .... I have one timer at 00.01 that perform some function node and link out node. Yesterday I modified this function and this morning I found this alert in debug section ... There's no r…

---

## [Build in http-in Node in Node Red](https://discourse.nodered.org/t/build-in-http-in-node-in-node-red/59796)

<div class="topic-metadata">

**Author:** [@Mohamedaminhamdad](https://discourse.nodered.org/u/Mohamedaminhamdad)\
**Replies:** 2\
**Last updated:** [13 March 2022 13:42 UTC](https://discourse.nodered.org/t/build-in-http-in-node-in-node-red/59796 "2022-03-13T13:42:31Z")

</div>

Hello, I am looking for the source code of the HTTP-IN build node in Node REd. I tried to look in Github but I only found the HTTP-request node. Can Anybody send me the link, where I can find the source code for the node…

---

## [Use of unknown context store in function node error doesn't ref node](https://discourse.nodered.org/t/use-of-unknown-context-store-in-function-node-error-doesnt-ref-node/59788)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 3\
**Last updated:** [13 March 2022 11:53 UTC](https://discourse.nodered.org/t/use-of-unknown-context-store-in-function-node-error-doesnt-ref-node/59788 "2022-03-13T11:53:41Z")

</div>

The use of an unknown context store in a function node generates a warning (should it be an error?) which does not indicate the node where the error exists. For example, in a Function node, the line let x = context.get…

---

## ["Rotate" 2D array](https://discourse.nodered.org/t/rotate-2d-array/59761)

<div class="topic-metadata">

**Author:** [@Geppy57](https://discourse.nodered.org/u/Geppy57)\
**Replies:** 4\
**Last updated:** [13 March 2022 09:52 UTC](https://discourse.nodered.org/t/rotate-2d-array/59761 "2022-03-13T09:52:52Z")

</div>

Hi all. I'm testing a system with MLX90640 and the image is satisfying. In order to get a valid application for my specific case, I need to rotate 90 degrees the original matrix to get landscape orientation. (for data…

---

## [Where to save persistent data in a published node](https://discourse.nodered.org/t/where-to-save-persistent-data-in-a-published-node/59544)

<div class="topic-metadata">

**Author:** [@tve](https://discourse.nodered.org/u/tve)\
**Replies:** 23\
**Last updated:** [13 March 2022 07:09 UTC](https://discourse.nodered.org/t/where-to-save-persistent-data-in-a-published-node/59544 "2022-03-13T07:09:05Z")

</div>

I need to save a pile of JSON in a node I'm publishing (this is for FlexDash and the data is the configuration of the dashboard). I'm a bit at a loss about the best method for saving. I've contemplated three options: U…

---

## [Projects error installing dependencies](https://discourse.nodered.org/t/projects-error-installing-dependencies/57789)

<div class="topic-metadata">

**Author:** [@krzydec](https://discourse.nodered.org/u/krzydec)\
**Replies:** 1\
**Last updated:** [13 March 2022 02:26 UTC](https://discourse.nodered.org/t/projects-error-installing-dependencies/57789 "2022-03-13T02:26:22Z")

</div>

Hi, I have a question regarding installing dependencies for the Node Red projects. After cloning reposistory from GitHub I have a list of dependencies which I can install from Project Settings tab. When I'm trying to …

---

## [Can't set volume in Spotify nodes](https://discourse.nodered.org/t/cant-set-volume-in-spotify-nodes/59101)

<div class="topic-metadata">

**Author:** [@funhall](https://discourse.nodered.org/u/funhall)\
**Replies:** 9\
**Last updated:** [12 March 2022 20:24 UTC](https://discourse.nodered.org/t/cant-set-volume-in-spotify-nodes/59101 "2022-03-12T20:24:22Z")

</div>

I can't set the volume for the spotify account. I can play, pause step to next with no problem. Here is the API doc about the setVolume. But what have i done since it dont work???? Debug message is: Can someone p…

---

## [I can't update/install simpletime node](https://discourse.nodered.org/t/i-cant-update-install-simpletime-node/59755)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 3\
**Last updated:** [12 March 2022 19:27 UTC](https://discourse.nodered.org/t/i-cant-update-install-simpletime-node/59755 "2022-03-12T19:27:38Z")

</div>

Hi I've updated several nodes on my plow but simpletime refuses to install, maybe it's made just for a newer version of NR. how can I overcome this? This is the error: 2022-03-12T13:45:48.459Z Install : node-red-contr…

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

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