# Latest

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

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

**Page:** 834

---

## [Cannot find module './lib/agent'](https://discourse.nodered.org/t/cannot-find-module-lib-agent/44438)

<div class="topic-metadata">

**Author:** [@PA.YOT-V](https://discourse.nodered.org/u/PA.YOT-V)\
**Replies:** 3\
**Last updated:** [21 April 2021 06:00 UTC](https://discourse.nodered.org/t/cannot-find-module-lib-agent/44438 "2021-04-21T06:00:19Z")

</div>

Error Show: Blockquote 20 Apr 11:33:20 - \[warn\] ------------------------------------------ 20 Apr 11:33:20 - \[error\] Error: Install failed 20 Apr 11:44:30 - \[info\] Installing module: node-red-contrib-modbus, version…

---

## [Node-red-contrib-fast-bandwidth](https://discourse.nodered.org/t/node-red-contrib-fast-bandwidth/44483)

<div class="topic-metadata">

**Author:** [@jcarreira](https://discourse.nodered.org/u/jcarreira)\
**Replies:** 0\
**Last updated:** [21 April 2021 00:23 UTC](https://discourse.nodered.org/t/node-red-contrib-fast-bandwidth/44483 "2021-04-21T00:23:58Z")

</div>

I've published a simple node that will check your bandwidth using Fast.com. For me it's a lot more accurate than the speedtest node(s) that are out there.

---

## [Updating the Node-RED user showcase on nodered.org](https://discourse.nodered.org/t/updating-the-node-red-user-showcase-on-nodered-org/42006)

<div class="topic-metadata">

**Author:** [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Replies:** 8\
**Last updated:** [20 April 2021 21:48 UTC](https://discourse.nodered.org/t/updating-the-node-red-user-showcase-on-nodered-org/42006 "2021-04-20T21:48:14Z")

</div>

We're finally updating the user showcase on nodered.org - it hasn't been touched for ages and we know there are lots of companies using Node-RED today who could be included. We're going to change it slightly to remove t…

---

## [Notification from node red](https://discourse.nodered.org/t/notification-from-node-red/44057)

<div class="topic-metadata">

**Author:** [@Alex95](https://discourse.nodered.org/u/Alex95)\
**Replies:** 55\
**Last updated:** [20 April 2021 20:32 UTC](https://discourse.nodered.org/t/notification-from-node-red/44057 "2021-04-20T20:32:34Z")

</div>

Hello everyone. Before i tell you my problem i will explain you what i have done so far. So, i have 2 Arduino which communicate via LoRa (because i have added 2 Dragino shields on Arduino). Arduino send the following dat…

---

## [Worldmap setting icon colour twice makes markers disappear](https://discourse.nodered.org/t/worldmap-setting-icon-colour-twice-makes-markers-disappear/44334)

<div class="topic-metadata">

**Author:** [@rogerjames99](https://discourse.nodered.org/u/rogerjames99)\
**Replies:** 17\
**Last updated:** [20 April 2021 17:47 UTC](https://discourse.nodered.org/t/worldmap-setting-icon-colour-twice-makes-markers-disappear/44334 "2021-04-20T17:47:29Z")

</div>

I am changing the the iconcolor of markers to indicate status changes, using this bit of javascript. let address\_to\_marker\_name\_map = global.get("address\_to\_marker\_name\_map") let topic\_split = msg.topic.split('/') if (…

---

## [Data to SQLite help](https://discourse.nodered.org/t/data-to-sqlite-help/44414)

<div class="topic-metadata">

**Author:** [@biros](https://discourse.nodered.org/u/biros)\
**Replies:** 12\
**Last updated:** [20 April 2021 17:44 UTC](https://discourse.nodered.org/t/data-to-sqlite-help/44414 "2021-04-20T17:44:18Z")

</div>

Hello, I am having a hard time inserting a few values into a db. The flow looks like this; \[{"id":"1f014414.ca877c","type":"sqlite","z":"f10130b.539efd","mydb":"dd149518.c13258","sqlquery":"msg.topic","sql":"","nam…

---

## [Create line break in label: function()](https://discourse.nodered.org/t/create-line-break-in-label-function/44467)

<div class="topic-metadata">

**Author:** [@JohnnyPicnic](https://discourse.nodered.org/u/JohnnyPicnic)\
**Replies:** 0\
**Last updated:** [20 April 2021 17:34 UTC](https://discourse.nodered.org/t/create-line-break-in-label-function/44467 "2021-04-20T17:34:34Z")

</div>

I saw on another post how to make a line break using the GUI but I can't seem to get it to work in my custom node. My html file: \<script type="text/javascript"\> RED.nodes.registerType('smsmessage',{ categor…

---

## [HTTP Request Fails](https://discourse.nodered.org/t/http-request-fails/44460)

<div class="topic-metadata">

**Author:** [@Randy](https://discourse.nodered.org/u/Randy)\
**Replies:** 11\
**Last updated:** [20 April 2021 17:20 UTC](https://discourse.nodered.org/t/http-request-fails/44460 "2021-04-20T17:20:51Z")

</div>

I can use this url in a browser and it will make my PTZ camera change to the preset number http://192.168.1.110/axis-cgi/com/ptz.cgi?gotoserverpresetno=1 However using a HTTP Request Node with POST, the camera does not…

---

## [How to extract characters using Javascript in a function?](https://discourse.nodered.org/t/how-to-extract-characters-using-javascript-in-a-function/44435)

<div class="topic-metadata">

**Author:** [@MercierFab](https://discourse.nodered.org/u/MercierFab)\
**Replies:** 3\
**Last updated:** [20 April 2021 16:55 UTC](https://discourse.nodered.org/t/how-to-extract-characters-using-javascript-in-a-function/44435 "2021-04-20T16:55:46Z")

</div>

Hello, I need to extract 2 characters from a payload (string) using substr(x,y) in a function node and it doesn't work. ex : var temperature = payload.substr(2,4). The function doesn't exist. Should I install a package o…

---

## [How to keep data after deploying](https://discourse.nodered.org/t/how-to-keep-data-after-deploying/43865)

<div class="topic-metadata">

**Author:** [@jake123](https://discourse.nodered.org/u/jake123)\
**Replies:** 16\
**Last updated:** [20 April 2021 14:11 UTC](https://discourse.nodered.org/t/how-to-keep-data-after-deploying/43865 "2021-04-20T14:11:42Z")

</div>

I made a custom node that alows me to select items in dropdown and add its value to the ul. I want to make sure that when i add the value to the dropdown list , the value stays even after closing the node .

---

## [Not able to login with LDAP user](https://discourse.nodered.org/t/not-able-to-login-with-ldap-user/44400)

<div class="topic-metadata">

**Author:** [@codecracker2020](https://discourse.nodered.org/u/codecracker2020)\
**Replies:** 1\
**Last updated:** [20 April 2021 14:04 UTC](https://discourse.nodered.org/t/not-able-to-login-with-ldap-user/44400 "2021-04-20T14:04:52Z")

</div>

Hi Team, I am not able to login with LDAP user. I set the adminAuth with "node-red-contrib-ldap-auth", "node-red-auth-contrib-ldap". I am getting the below error: {"error":"invalid\_grant","error\_description":"Invalid r…

---

## [Node-red app deployment to live server](https://discourse.nodered.org/t/node-red-app-deployment-to-live-server/44459)

<div class="topic-metadata">

**Author:** [@Syedabd](https://discourse.nodered.org/u/Syedabd)\
**Replies:** 3\
**Last updated:** [20 April 2021 12:56 UTC](https://discourse.nodered.org/t/node-red-app-deployment-to-live-server/44459 "2021-04-20T12:56:48Z")

</div>

Hi, Can anyone help me out? Which is the file in a node-red application that needs to be deployed to the server after I run the command grunt build/npm run build How to deploy node-red application to the live server ? …

---

## [Artless gauge loses graphics after reload dashboard](https://discourse.nodered.org/t/artless-gauge-loses-graphics-after-reload-dashboard/44449)

<div class="topic-metadata">

**Author:** [@sfedo](https://discourse.nodered.org/u/sfedo)\
**Replies:** 6\
**Last updated:** [20 April 2021 11:29 UTC](https://discourse.nodered.org/t/artless-gauge-loses-graphics-after-reload-dashboard/44449 "2021-04-20T11:29:30Z")

</div>

Hello, I'm using artless gauge and very happy so far, but I have one little issue. When I refresh the site, the gauge loses the graphic show (blue line) of the value. I use controls for load min and max values from con…

---

## [Mqtt broker - add a new one via ui?](https://discourse.nodered.org/t/mqtt-broker-add-a-new-one-via-ui/44391)

<div class="topic-metadata">

**Author:** [@alexander77](https://discourse.nodered.org/u/alexander77)\
**Replies:** 2\
**Last updated:** [20 April 2021 11:18 UTC](https://discourse.nodered.org/t/mqtt-broker-add-a-new-one-via-ui/44391 "2021-04-20T11:18:21Z")

</div>

Is it possible to add the mqtt connect infos via a user interface page instead of the setup in the flow? I do similar things with tcp-connections, where msg.port and msg.ip are good friends of mine.

---

## [Swiping between tabs on touchscreen](https://discourse.nodered.org/t/swiping-between-tabs-on-touchscreen/43739)

<div class="topic-metadata">

**Author:** [@mc3153](https://discourse.nodered.org/u/mc3153)\
**Replies:** 2\
**Last updated:** [20 April 2021 11:03 UTC](https://discourse.nodered.org/t/swiping-between-tabs-on-touchscreen/43739 "2021-04-20T11:03:04Z")

</div>

I am using node red dashboard with RPI4 and local HDMI display. I have set "No swipe between tabs" in the node-red dashboard "Site" Options. I cannot swipe between tabs on my computer or on my phone but on local displa…

---

## [\[node-red-node-twitter\] For Tweet-In node, 'The Tweets of Specific Users' mode: msg.payload based input of 'for' field](https://discourse.nodered.org/t/node-red-node-twitter-for-tweet-in-node-the-tweets-of-specific-users-mode-msg-payload-based-input-of-for-field/44455)

<div class="topic-metadata">

**Author:** [@hgill](https://discourse.nodered.org/u/hgill)\
**Replies:** 0\
**Last updated:** [20 April 2021 10:48 UTC](https://discourse.nodered.org/t/node-red-node-twitter-for-tweet-in-node-the-tweets-of-specific-users-mode-msg-payload-based-input-of-for-field/44455 "2021-04-20T10:48:37Z")

</div>

Request for Tweet-In node to have an input point for 'Tweets of Specific Users' option as well, where twitter handles can be provided to the Tweet-In node to track for new tweets. This will allow programmatic set up of t…

---

## [How do I get Yesterdays day](https://discourse.nodered.org/t/how-do-i-get-yesterdays-day/44451)

<div class="topic-metadata">

**Author:** [@martinschki](https://discourse.nodered.org/u/martinschki)\
**Replies:** 2\
**Last updated:** [20 April 2021 10:14 UTC](https://discourse.nodered.org/t/how-do-i-get-yesterdays-day/44451 "2021-04-20T10:14:59Z")

</div>

Hello! I have, at least for me, an interesting problem: Every day I need to save a value from the day before into a csv file. Therefore I create a file based on month/year and create a line for each day and the respec…

---

## [MQTT stuck on Yellow Connecting](https://discourse.nodered.org/t/mqtt-stuck-on-yellow-connecting/44450)

<div class="topic-metadata">

**Author:** [@bmavina](https://discourse.nodered.org/u/bmavina)\
**Replies:** 3\
**Last updated:** [20 April 2021 09:56 UTC](https://discourse.nodered.org/t/mqtt-stuck-on-yellow-connecting/44450 "2021-04-20T09:56:59Z")

</div>

I'v created a MQTT node and which i have linked with influx DB node. My mqtt node is supposed to be connect with my device on the TTN "co-sensor1". I have followed all the steps to set up the mqtt node that TTN has poste…

---

## [Dashboard CSS - custom and blue](https://discourse.nodered.org/t/dashboard-css-custom-and-blue/42055)

<div class="topic-metadata">

**Author:** [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Replies:** 25\
**Last updated:** [20 April 2021 08:58 UTC](https://discourse.nodered.org/t/dashboard-css-custom-and-blue/42055 "2021-04-20T08:58:47Z")

</div>

I was kindly asked for help on dashboard styling but that help turned out for me to customize almost all default components. As it was "You'll help me - I'll help you" job, we agreed that it will be shared also to commun…

---

## [Create the data points to send in Influxdb](https://discourse.nodered.org/t/create-the-data-points-to-send-in-influxdb/44447)

<div class="topic-metadata">

**Author:** [@nitesh](https://discourse.nodered.org/u/nitesh)\
**Replies:** 1\
**Last updated:** [20 April 2021 08:55 UTC](https://discourse.nodered.org/t/create-the-data-points-to-send-in-influxdb/44447 "2021-04-20T08:55:05Z")

</div>

Task: Points which, when drawn over time, form a sinus curve called X. All values of the sinus curve should be above 0. Here which node to be used to create this sinus curve point? After creating the points, I need to…

---

## [How to combine two data that do not arrive at the same time](https://discourse.nodered.org/t/how-to-combine-two-data-that-do-not-arrive-at-the-same-time/44446)

<div class="topic-metadata">

**Author:** [@lyred](https://discourse.nodered.org/u/lyred)\
**Replies:** 2\
**Last updated:** [20 April 2021 08:46 UTC](https://discourse.nodered.org/t/how-to-combine-two-data-that-do-not-arrive-at-the-same-time/44446 "2021-04-20T08:46:10Z")

</div>

Hello I have a modbus node to receive the data of a sensor processed by a function and to store each in a variable in order to set up a msg.payload which collects these two data without problem msg.payload = " RESUME :…

---

## [Dashboard tips. Value with area chart using d3.js](https://discourse.nodered.org/t/dashboard-tips-value-with-area-chart-using-d3-js/43411)

<div class="topic-metadata">

**Author:** [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Replies:** 9\
**Last updated:** [20 April 2021 08:33 UTC](https://discourse.nodered.org/t/dashboard-tips-value-with-area-chart-using-d3-js/43411 "2021-04-20T08:33:21Z")

</div>

Using d3.js library to draw a little area chart at the bottom of the card. Some CSS tricks to fill the whole card width with the chart area nicely. \[{"id":"496ac290.48e8ac","type":"ui\_template","z":"d4ff3fe5.7e9e7","…

---

## [MySQL fails after an hour or so](https://discourse.nodered.org/t/mysql-fails-after-an-hour-or-so/43225)

<div class="topic-metadata">

**Author:** [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Replies:** 17\
**Last updated:** [20 April 2021 08:25 UTC](https://discourse.nodered.org/t/mysql-fails-after-an-hour-or-so/43225 "2021-04-20T08:25:04Z")

</div>

I have a flow that does a dB query to obtain stored data from my weather stations. It does a SELECT using "node100" or "node101" to obtain the appropriate data. It works for some hours and then hangs up with this error…

---

## [Change dashboard password from the dashboard](https://discourse.nodered.org/t/change-dashboard-password-from-the-dashboard/44442)

<div class="topic-metadata">

**Author:** [@Giu-seppe](https://discourse.nodered.org/u/Giu-seppe)\
**Replies:** 0\
**Last updated:** [20 April 2021 07:37 UTC](https://discourse.nodered.org/t/change-dashboard-password-from-the-dashboard/44442 "2021-04-20T07:37:35Z")

</div>

Hi everyone, has anyone already developed a way to change the dashboard password from the dashboard itself? I know a similar post has already been proposed here but without a real final resolution. My application is si…

---

## [Openweathermap with GPS](https://discourse.nodered.org/t/openweathermap-with-gps/44410)

<div class="topic-metadata">

**Author:** [@Roadrunny](https://discourse.nodered.org/u/Roadrunny)\
**Replies:** 5\
**Last updated:** [20 April 2021 07:08 UTC](https://discourse.nodered.org/t/openweathermap-with-gps/44410 "2021-04-20T07:08:08Z")

</div>

Hello. I want to use my GPS data for latitude and longitude, because its a RV installation. Could someone help me please?

---

## [Deploying a flow file remotely in node-red without overwriting the entire flow file](https://discourse.nodered.org/t/deploying-a-flow-file-remotely-in-node-red-without-overwriting-the-entire-flow-file/44436)

<div class="topic-metadata">

**Author:** [@XiaoyuMaxwellWu](https://discourse.nodered.org/u/XiaoyuMaxwellWu)\
**Replies:** 0\
**Last updated:** [20 April 2021 06:04 UTC](https://discourse.nodered.org/t/deploying-a-flow-file-remotely-in-node-red-without-overwriting-the-entire-flow-file/44436 "2021-04-20T06:04:59Z")

</div>

I want to import a json file into node-red dynamically instead of doing it manually, and I tried to use curl command 'curl -X POST http://localhost:1880/flows -H "Content-Type: application/json" --data "@myflow.json"', I…

---

## [Standard flows that could be overwritten with project specific changes](https://discourse.nodered.org/t/standard-flows-that-could-be-overwritten-with-project-specific-changes/44434)

<div class="topic-metadata">

**Author:** [@eastling](https://discourse.nodered.org/u/eastling)\
**Replies:** 0\
**Last updated:** [20 April 2021 05:49 UTC](https://discourse.nodered.org/t/standard-flows-that-could-be-overwritten-with-project-specific-changes/44434 "2021-04-20T05:49:10Z")

</div>

Hi guys, We are developing a set of flows that are meant to be re-used on several deployments (lets call this our "standard" code). However each deployment could have its own little tweak (lets call this part the "cust…

---

## [Problems occuring at high inject rates (\> 400 messages per second)](https://discourse.nodered.org/t/problems-occuring-at-high-inject-rates-400-messages-per-second/44381)

<div class="topic-metadata">

**Author:** [@vapourlyric](https://discourse.nodered.org/u/vapourlyric)\
**Replies:** 8\
**Last updated:** [20 April 2021 04:09 UTC](https://discourse.nodered.org/t/problems-occuring-at-high-inject-rates-400-messages-per-second/44381 "2021-04-20T04:09:00Z")

</div>

High everyone! I recently experienced a problem that only occurs when the inject rate is relatively high. It seems like messages are getting lost inside the flow. I have an industrial hardware based on the Raspberry Pi…

---

## [Node-red-contrib-oled issue - "type error"](https://discourse.nodered.org/t/node-red-contrib-oled-issue-type-error/43718)

<div class="topic-metadata">

**Author:** [@Steve\_Cotton](https://discourse.nodered.org/u/Steve_Cotton)\
**Replies:** 3\
**Last updated:** [20 April 2021 03:34 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-issue-type-error/43718 "2021-04-20T03:34:31Z")

</div>

Hi @ all i´ve set up a very simple function to test my oled display. msg.payload = { size:2, x:1, y:20, text:"Hello!" } I connected the function directely to the String-Node. When i deploy, I get this message: "Type…

---

## [Function o some node](https://discourse.nodered.org/t/function-o-some-node/44366)

<div class="topic-metadata">

**Author:** [@Marty1982](https://discourse.nodered.org/u/Marty1982)\
**Replies:** 8\
**Last updated:** [20 April 2021 02:47 UTC](https://discourse.nodered.org/t/function-o-some-node/44366 "2021-04-20T02:47:28Z")

</div>

Hi all! I'm working with some devices obtaining one object for many of my Sonoff devices, using the api and getting the PowerStatus key. This i do for knowing which device is ON or OFF. So, if a device is ON i need to t…

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

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