# Latest

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

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

**Page:** 1322

---

## [Unable to test a custom node locally (npm link)](https://discourse.nodered.org/t/unable-to-test-a-custom-node-locally-npm-link/7403)

<div class="topic-metadata">

**Author:** [@Cesar.Cervantes](https://discourse.nodered.org/u/Cesar.Cervantes)\
**Replies:** 2\
**Last updated:** [30 January 2019 19:56 UTC](https://discourse.nodered.org/t/unable-to-test-a-custom-node-locally-npm-link/7403 "2019-01-30T19:56:59Z")

</div>

Hi, Environment: -Node 8.12.0 -npm 6.4.1 Win 10 I created a custom node following the template from the "Creating your first node" page. It can be installed just fine, but I'm also trying to use the "npm link" com…

---

## [Node-red configurations, connections](https://discourse.nodered.org/t/node-red-configurations-connections/7394)

<div class="topic-metadata">

**Author:** [@akhilendharreddy](https://discourse.nodered.org/u/akhilendharreddy)\
**Replies:** 0\
**Last updated:** [30 January 2019 12:44 UTC](https://discourse.nodered.org/t/node-red-configurations-connections/7394 "2019-01-30T12:44:56Z")

</div>

hi i have lot of flows in my project which are dealing with different db connections, in my local passwords are different and for production passwords are different, can i use config.json file and read all connection cre…

---

## [UI Template Button: ng-mousedown=start, ng-mouseup=stop](https://discourse.nodered.org/t/ui-template-button-ng-mousedown-start-ng-mouseup-stop/7380)

<div class="topic-metadata">

**Author:** [@Dustin](https://discourse.nodered.org/u/Dustin)\
**Replies:** 3\
**Last updated:** [30 January 2019 16:35 UTC](https://discourse.nodered.org/t/ui-template-button-ng-mousedown-start-ng-mouseup-stop/7380 "2019-01-30T16:35:09Z")

</div>

I am trying to make a bit of a dynamic dashboard. So far everything is working just fine... I pull some data from a sqlite database (device name, device IP), generate buttons through the UI-Template using ng-repeat. Whe…

---

## [How to display localhost server in node red](https://discourse.nodered.org/t/how-to-display-localhost-server-in-node-red/7368)

<div class="topic-metadata">

**Author:** [@Varul92](https://discourse.nodered.org/u/Varul92)\
**Replies:** 10\
**Last updated:** [30 January 2019 13:42 UTC](https://discourse.nodered.org/t/how-to-display-localhost-server-in-node-red/7368 "2019-01-30T13:42:43Z")

</div>

Hello, I have made the local server using the ESP8266 web browser which is named as "192.168.1.110" and its is display the values of my sensor in the web browser also. Without using MQTT I want to display the data in d…

---

## [How can I 'delete' via the Admin API Methods?](https://discourse.nodered.org/t/how-can-i-delete-via-the-admin-api-methods/7332)

<div class="topic-metadata">

**Author:** [@Simo219h](https://discourse.nodered.org/u/Simo219h)\
**Replies:** 8\
**Last updated:** [30 January 2019 13:27 UTC](https://discourse.nodered.org/t/how-can-i-delete-via-the-admin-api-methods/7332 "2019-01-30T13:27:49Z")

</div>

Hi, I am using the Admin API Methods to get information about the configuration of a node. Specifically which pins are in use on some digital outputs. In the .js file: RED.httpAdmin.get('/Digital-output/node-input-pin…

---

## [NPM update problem/question after installing a node (renamed topic)](https://discourse.nodered.org/t/npm-update-problem-question-after-installing-a-node-renamed-topic/7366)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 14\
**Last updated:** [30 January 2019 12:24 UTC](https://discourse.nodered.org/t/npm-update-problem-question-after-installing-a-node-renamed-topic/7366 "2019-01-30T12:24:45Z")

</div>

Well, I tried a couple of times to install it from the webpage. Failed. Timeout. Tried from the CLI/Terminal: pi@TimePi:~/.node-red $ npm install node-red-contrib-simpletime npm WARN node-red-project@0.0.1 No reposi…

---

## [\[Solved\] String delimiter setting for Mosquitto broker](https://discourse.nodered.org/t/solved-string-delimiter-setting-for-mosquitto-broker/7387)

<div class="topic-metadata">

**Author:** [@baqwas](https://discourse.nodered.org/u/baqwas)\
**Replies:** 1\
**Last updated:** [30 January 2019 02:06 UTC](https://discourse.nodered.org/t/solved-string-delimiter-setting-for-mosquitto-broker/7387 "2019-01-30T02:06:51Z")

</div>

Hello, This inquiry perhaps should be directed to the Mosquitto forum but I found that many reported "issues" there have been dormant for several months and hence need your indulgence here. I'm trying to get off the gro…

---

## [Remove appCache from node-red-dashboard](https://discourse.nodered.org/t/remove-appcache-from-node-red-dashboard/7226)

<div class="topic-metadata">

**Author:** [@uma](https://discourse.nodered.org/u/uma)\
**Replies:** 5\
**Last updated:** [29 January 2019 23:57 UTC](https://discourse.nodered.org/t/remove-appcache-from-node-red-dashboard/7226 "2019-01-29T23:57:26Z")

</div>

The node-red-dashboard uses application cache- see https://github.com/node-red/node-red-dashboard/blob/1f9d0f781c8c8029b1b24b9eeb681e39600ff280/src/index.html#L20 Mozilla says that the application cache has been https:/…

---

## [Using 2 msg.payload with an "if" structure](https://discourse.nodered.org/t/using-2-msg-payload-with-an-if-structure/7338)

<div class="topic-metadata">

**Author:** [@blackpi](https://discourse.nodered.org/u/blackpi)\
**Replies:** 4\
**Last updated:** [29 January 2019 21:28 UTC](https://discourse.nodered.org/t/using-2-msg-payload-with-an-if-structure/7338 "2019-01-29T21:28:19Z")

</div>

Hello, I am new here, I am trying to create a condition using mqtt nodes and openHAB nodes where if my openHAB item changes its state and I recieve the correct mqtt command it activates another mqtt command, but I don't …

---

## [From a problem a long time ago - what I suspect it is/was](https://discourse.nodered.org/t/from-a-problem-a-long-time-ago-what-i-suspect-it-is-was/7378)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 0\
**Last updated:** [29 January 2019 20:33 UTC](https://discourse.nodered.org/t/from-a-problem-a-long-time-ago-what-i-suspect-it-is-was/7378 "2019-01-29T20:33:29Z")

</div>

When I was first getting into NR and dashboards I once had this problem that the dashboard would change the layout between views. Objects (gui's) would move. I was posting a lot of screen shots and complaining - now: s…

---

## [Possible debug node status bug](https://discourse.nodered.org/t/possible-debug-node-status-bug/7352)

<div class="topic-metadata">

**Author:** [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Replies:** 4\
**Last updated:** [29 January 2019 20:27 UTC](https://discourse.nodered.org/t/possible-debug-node-status-bug/7352 "2019-01-29T20:27:35Z")

</div>

When a debug node is configured to display its msg.payload in the node status, it seems to exhibit a peculiar (buggy?) behavior. When the node's enable button is toggled, it sends a status message that can be caught by t…

---

## [Kv-read/write node doesn´t work](https://discourse.nodered.org/t/kv-read-write-node-doesn-t-work/7321)

<div class="topic-metadata">

**Author:** [@Dane809](https://discourse.nodered.org/u/Dane809)\
**Replies:** 10\
**Last updated:** [29 January 2019 17:00 UTC](https://discourse.nodered.org/t/kv-read-write-node-doesn-t-work/7321 "2019-01-29T17:00:35Z")

</div>

Hey guys, I want to write to the kv-write node. At the localhost (PC) I can read or write the values and everything works fine. At the IoT2040 nothing happens. I can´t read or write from/to the kv nodes. The node work a…

---

## [Failing in install open-cv on a REVPI (possible reason is space)](https://discourse.nodered.org/t/failing-in-install-open-cv-on-a-revpi-possible-reason-is-space/6927)

<div class="topic-metadata">

**Author:** [@vongomben](https://discourse.nodered.org/u/vongomben)\
**Replies:** 2\
**Last updated:** [29 January 2019 15:10 UTC](https://discourse.nodered.org/t/failing-in-install-open-cv-on-a-revpi-possible-reason-is-space/6927 "2019-01-29T15:10:56Z")

</div>

Hi Node-red Forums. I'm working on a RevPI (which is basicalli a Pi, since it's based on its Compute Module) and wanted to use Open-CV- This is a post on the steps I did, jump to the end for the possible main reason fo…

---

## [Iframe with dashboard and multiple links](https://discourse.nodered.org/t/iframe-with-dashboard-and-multiple-links/7370)

<div class="topic-metadata">

**Author:** [@Andres](https://discourse.nodered.org/u/Andres)\
**Replies:** 0\
**Last updated:** [29 January 2019 14:30 UTC](https://discourse.nodered.org/t/iframe-with-dashboard-and-multiple-links/7370 "2019-01-29T14:30:00Z")

</div>

Hi everyone, i was trying to make a custom navigation bar that uses the advantages of the dashboard, to the left and right you would have links and in the middle there is an iframe that loads the dashboard ui, this broug…

---

## [Node-red does not work -bind address](https://discourse.nodered.org/t/node-red-does-not-work-bind-address/7233)

<div class="topic-metadata">

**Author:** [@manal](https://discourse.nodered.org/u/manal)\
**Replies:** 15\
**Last updated:** [29 January 2019 10:45 UTC](https://discourse.nodered.org/t/node-red-does-not-work-bind-address/7233 "2019-01-29T10:45:30Z")

</div>

I run CoAP server (txthing) in raspberry pi, this server works on 0.0.0.0:5683 and I run node-red in the same device. when I run both at the same time, .. node-red doesnt work and there is error in the log "Error:bind …

---

## [File Node signal error by overwrite file](https://discourse.nodered.org/t/file-node-signal-error-by-overwrite-file/3495)

<div class="topic-metadata">

**Author:** [@NetHans](https://discourse.nodered.org/u/NetHans)\
**Replies:** 5\
**Last updated:** [29 January 2019 06:13 UTC](https://discourse.nodered.org/t/file-node-signal-error-by-overwrite-file/3495 "2019-01-29T06:13:44Z")

</div>

Hi, I have update my Node-RED from v0.18.7 to v.0.19.4. Since this update, the file node sometimes signal an error when I would like to write data to a file (overwrite). failed to write to file: Error: write after en…

---

## [World Map marker click event?](https://discourse.nodered.org/t/world-map-marker-click-event/7348)

<div class="topic-metadata">

**Author:** [@birksy](https://discourse.nodered.org/u/birksy)\
**Replies:** 5\
**Last updated:** [29 January 2019 00:02 UTC](https://discourse.nodered.org/t/world-map-marker-click-event/7348 "2019-01-29T00:02:41Z")

</div>

Is there any way to have the World Map some how output a msg when a marker is clicked? For example if I want to display data about the marker on the page outside the map?

---

## [\[Announce\] Dashboard version 2.13.2](https://discourse.nodered.org/t/announce-dashboard-version-2-13-2/7344)

<div class="topic-metadata">

**Author:** [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Replies:** 0\
**Last updated:** [28 January 2019 20:01 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-13-2/7344 "2019-01-28T20:01:39Z")

</div>

Some small rollup patches for the node-red-dashboard. Fixes - 2.13.1 Fix ui\_template to return correct sessionid to each browser. Fix line chart xAxis hover to use same time format as main axis Fix chart colours to ha…

---

## [Text Node Not Displaying msg](https://discourse.nodered.org/t/text-node-not-displaying-msg/1796)

<div class="topic-metadata">

**Author:** [@rishanaziz](https://discourse.nodered.org/u/rishanaziz)\
**Replies:** 14\
**Last updated:** [28 January 2019 22:50 UTC](https://discourse.nodered.org/t/text-node-not-displaying-msg/1796 "2019-01-28T22:50:23Z")

</div>

Hi, I'm trying to display msg.payload on dashboard using text node (not text input) from the function node. However, the msg.payload only displaying on debug tab, but not on dashboard. \[{"id":"cb5c2136.c89d5","type":"…

---

## [Announce node-red-contrib-math](https://discourse.nodered.org/t/announce-node-red-contrib-math/5100)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 44\
**Last updated:** [28 January 2019 20:22 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-math/5100 "2019-01-28T20:22:51Z")

</div>

Hi folks, I needed this week some very basic mathematic stuff, but I didn't want to create a function node for it. So I tried to find something on flows.nodered.org, however without success... I'm pretty sure there mu…

---

## [Representing locations in worldmap](https://discourse.nodered.org/t/representing-locations-in-worldmap/7334)

<div class="topic-metadata">

**Author:** [@emspe](https://discourse.nodered.org/u/emspe)\
**Replies:** 2\
**Last updated:** [28 January 2019 17:26 UTC](https://discourse.nodered.org/t/representing-locations-in-worldmap/7334 "2019-01-28T17:26:32Z")

</div>

Hi, I tried below to map 2 locations in worldmap. But I couldn't see anything in my map :frowning: Kindly help me to figureout if i missed anything. I tried several times. :tired\_face: \[{"id":"b6759d10.50e8b","type":…

---

## [IoT Platform - Device Id (using variables)](https://discourse.nodered.org/t/iot-platform-device-id-using-variables/7333)

<div class="topic-metadata">

**Author:** [@sanserg](https://discourse.nodered.org/u/sanserg)\
**Replies:** 2\
**Last updated:** [28 January 2019 17:03 UTC](https://discourse.nodered.org/t/iot-platform-device-id-using-variables/7333 "2019-01-28T17:03:20Z")

</div>

Does anybody know how to use a global variable result in the IoTPlatform node device Id ? wish to use this var on Device Id parameter node var deviceId = msg.payload; global.set("deviceId", deviceId); node.warn("d…

---

## [Legends in a chart](https://discourse.nodered.org/t/legends-in-a-chart/7329)

<div class="topic-metadata">

**Author:** [@smalhao](https://discourse.nodered.org/u/smalhao)\
**Replies:** 2\
**Last updated:** [28 January 2019 13:25 UTC](https://discourse.nodered.org/t/legends-in-a-chart/7329 "2019-01-28T13:25:36Z")

</div>

I can not insert a caption on the yy axis in the image below I intend to insert in the yy's axis the temperature legend (ºC) and in the xx's axis the hour (Time) legend

---

## [Reload global variables after deploy/restart](https://discourse.nodered.org/t/reload-global-variables-after-deploy-restart/135)

<div class="topic-metadata">

**Author:** [@davidcgu](https://discourse.nodered.org/u/davidcgu)\
**Replies:** 10\
**Last updated:** [28 January 2019 12:36 UTC](https://discourse.nodered.org/t/reload-global-variables-after-deploy-restart/135 "2019-01-28T12:36:12Z")

</div>

If I understood well this is the place where we can make some improvement request right? If I’m right I think a huge amount of people will be interested that node red has native capability to recover all global variable…

---

## [Alexa Node Red to Viera TV](https://discourse.nodered.org/t/alexa-node-red-to-viera-tv/7318)

<div class="topic-metadata">

**Author:** [@mgguinne](https://discourse.nodered.org/u/mgguinne)\
**Replies:** 3\
**Last updated:** [28 January 2019 12:46 UTC](https://discourse.nodered.org/t/alexa-node-red-to-viera-tv/7318 "2019-01-28T12:46:53Z")

</div>

Hi, Hoping I can get your help with a simple issue. I have a configured both Alexa and Viera (node-red add-ons) and want to use Alexa to change the volume of my tv. I know I need the value "bri" but this needs to be se…

---

## [Node registration order](https://discourse.nodered.org/t/node-registration-order/6779)

<div class="topic-metadata">

**Author:** [@Lionel](https://discourse.nodered.org/u/Lionel)\
**Replies:** 8\
**Last updated:** [28 January 2019 12:03 UTC](https://discourse.nodered.org/t/node-registration-order/6779 "2019-01-28T12:03:22Z")

</div>

Hi, I have a specialized singleton node which needs to do a stuff, at the node registration , and then put the result in the flow. This result is expected by some other nodes, also at the node registration. So, the que…

---

## [How to simulate Arduino setup () {} and loop () {}](https://discourse.nodered.org/t/how-to-simulate-arduino-setup-and-loop/6865)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 3\
**Last updated:** [28 January 2019 12:01 UTC](https://discourse.nodered.org/t/how-to-simulate-arduino-setup-and-loop/6865 "2019-01-28T12:01:39Z")

</div>

Hi, thanks for kind help, I'm not hiding I'm new to Javascript, Nore Red, and I would prefer do everything I need much faster using Arduino code, but I need to adapt to progress and it's time to learn new language/syste…

---

## [Cryptomining Malware Infecting Node-RED servers](https://discourse.nodered.org/t/cryptomining-malware-infecting-node-red-servers/3454)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 14\
**Last updated:** [28 January 2019 10:52 UTC](https://discourse.nodered.org/t/cryptomining-malware-infecting-node-red-servers/3454 "2019-01-28T10:52:34Z")

</div>

Hi all, some of you will be aware that a few people have reported having their Node-RED servers infected by cryptomining malware. This can only happen if you have left a server exposed to the Internet in some way withou…

---

## [Node-red operation principle problem, 1, how to realize Node-red initialization](https://discourse.nodered.org/t/node-red-operation-principle-problem-1-how-to-realize-node-red-initialization/7322)

<div class="topic-metadata">

**Author:** [@JiChen](https://discourse.nodered.org/u/JiChen)\
**Replies:** 3\
**Last updated:** [28 January 2019 07:02 UTC](https://discourse.nodered.org/t/node-red-operation-principle-problem-1-how-to-realize-node-red-initialization/7322 "2019-01-28T07:02:14Z")

</div>

Node-red operation principle problem, 1, how to realize Node-red initialization 2, how to display the information of nodes and nodes on the web page 3, Node-red torch, pull, drag how to achieve. Do you have any instructi…

---

## [I need to change a character in msg.topic to something else](https://discourse.nodered.org/t/i-need-to-change-a-character-in-msg-topic-to-something-else/7319)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [27 January 2019 23:55 UTC](https://discourse.nodered.org/t/i-need-to-change-a-character-in-msg-topic-to-something-else/7319 "2019-01-27T23:55:40Z")

</div>

I have looked, but am confused, so am not confident to my options. The problem as it is now is like this: I have data coming in from different places. The msg.topic determines "who" sent it. I used the topic because …

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

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