# General

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

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

**Page:** 890

---

## [Rename key based on a value](https://discourse.nodered.org/t/rename-key-based-on-a-value/10724)

<div class="topic-metadata">

**Author:** [@JayDickson](https://discourse.nodered.org/u/JayDickson)\
**Replies:** 2\
**Last updated:** [2 May 2019 18:30 UTC](https://discourse.nodered.org/t/rename-key-based-on-a-value/10724 "2019-05-02T18:30:01Z")

</div>

I'm probably missing something simple, but it's driving me crazy so I figure I'd ask in here. I want to change the key of an object property to match a value of a property contained within it. Can anyone recommend a trac…

---

## [\[solved\] How to send MQTT topic w/o payload](https://discourse.nodered.org/t/solved-how-to-send-mqtt-topic-w-o-payload/10731)

<div class="topic-metadata">

**Author:** [@onkel\_joerg](https://discourse.nodered.org/u/onkel_joerg)\
**Replies:** 6\
**Last updated:** [2 May 2019 17:17 UTC](https://discourse.nodered.org/t/solved-how-to-send-mqtt-topic-w-o-payload/10731 "2019-05-02T17:17:08Z")

</div>

Hello all, I am searching for a solution to send only the topic without the payload. Background: I have a Heos 1 Wifi speaker. it is connected to my homeautomation system FHEM. FHEM is able to publish ans subscibe MQTT…

---

## [Webpage in Node-RED](https://discourse.nodered.org/t/webpage-in-node-red/10715)

<div class="topic-metadata">

**Author:** [@lodv](https://discourse.nodered.org/u/lodv)\
**Replies:** 14\
**Last updated:** [2 May 2019 15:08 UTC](https://discourse.nodered.org/t/webpage-in-node-red/10715 "2019-05-02T15:08:54Z")

</div>

Hi, I suppose it is a rather stupid question, but I don't understand what to do when making a webpage/site. I read '\[http://{your-server-ip:1880/simple\]' - what does that mean? Do I have to make a simple directory and …

---

## [Custom node without input](https://discourse.nodered.org/t/custom-node-without-input/10749)

<div class="topic-metadata">

**Author:** [@Louise](https://discourse.nodered.org/u/Louise)\
**Replies:** 5\
**Last updated:** [2 May 2019 13:37 UTC](https://discourse.nodered.org/t/custom-node-without-input/10749 "2019-05-02T13:37:24Z")

</div>

Hello, I've been experimenting with custom nodes and I try to create a node that will output once two messages and that has no input. In the html file I've already specified that I have no input and two outputs. My prob…

---

## [DATA storage (temperature automation)](https://discourse.nodered.org/t/data-storage-temperature-automation/10740)

<div class="topic-metadata">

**Author:** [@ihebabidi](https://discourse.nodered.org/u/ihebabidi)\
**Replies:** 7\
**Last updated:** [2 May 2019 10:38 UTC](https://discourse.nodered.org/t/data-storage-temperature-automation/10740 "2019-05-02T10:38:49Z")

</div>

hello all ! my project consists on temperature automation, the air condionner will work if the temperature is more than 27, so i want to store the operating time of the air condionner and show it in the dashboard, any i…

---

## [What is the recommended way of upgrading Node on a Raspberry Pi?](https://discourse.nodered.org/t/what-is-the-recommended-way-of-upgrading-node-on-a-raspberry-pi/10679)

<div class="topic-metadata">

**Author:** [@TheHypnoToad](https://discourse.nodered.org/u/TheHypnoToad)\
**Replies:** 2\
**Last updated:** [2 May 2019 10:05 UTC](https://discourse.nodered.org/t/what-is-the-recommended-way-of-upgrading-node-on-a-raspberry-pi/10679 "2019-05-02T10:05:29Z")

</div>

Hi, I'm running NodeRED on a Raspberry Pi 2 and it works really well. I installed it using the guide here that says to run this script: bash \<(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/ma…

---

## [Send notification](https://discourse.nodered.org/t/send-notification/10704)

<div class="topic-metadata">

**Author:** [@manal](https://discourse.nodered.org/u/manal)\
**Replies:** 8\
**Last updated:** [2 May 2019 09:43 UTC](https://discourse.nodered.org/t/send-notification/10704 "2019-05-02T09:43:32Z")

</div>

Hi All, Is there any way to send notification to mobile device(iPhone) using node-red without any Internet connection? I have one iPhone device that connects with node-red device using wi-fi in a local network. how I ca…

---

## [\[SOLVED\] Mqtt from mosquitto not update](https://discourse.nodered.org/t/solved-mqtt-from-mosquitto-not-update/10743)

<div class="topic-metadata">

**Author:** [@EnricoSx](https://discourse.nodered.org/u/EnricoSx)\
**Replies:** 2\
**Last updated:** [2 May 2019 09:13 UTC](https://discourse.nodered.org/t/solved-mqtt-from-mosquitto-not-update/10743 "2019-05-02T09:13:17Z")

</div>

very trivial question. I have mosquitto in local that receives data from another device every minutes i created a mqtt node in, but reads the values only when I press deploy localhost raspberrypi2 with mosquitto serv…

---

## [UDP Nodes Source Code](https://discourse.nodered.org/t/udp-nodes-source-code/10739)

<div class="topic-metadata">

**Author:** [@caracall](https://discourse.nodered.org/u/caracall)\
**Replies:** 1\
**Last updated:** [2 May 2019 09:12 UTC](https://discourse.nodered.org/t/udp-nodes-source-code/10739 "2019-05-02T09:12:05Z")

</div>

Hello, I was just wondering if there is a way to view the source code of "udp in" and "udp out" nodes (JavaScript and HTML files mainly). Thank you in advance!

---

## [How to print all nodes I installed?](https://discourse.nodered.org/t/how-to-print-all-nodes-i-installed/10734)

<div class="topic-metadata">

**Author:** [@kenkoknz](https://discourse.nodered.org/u/kenkoknz)\
**Replies:** 4\
**Last updated:** [2 May 2019 08:00 UTC](https://discourse.nodered.org/t/how-to-print-all-nodes-i-installed/10734 "2019-05-02T08:00:36Z")

</div>

Hi, While I can use the palatte to list all the nodes I installed, and can see them by scrolling thru visually . How do I print all the nodes I installed (excluding the nodes that came bundled with the initial NR instal…

---

## [How to test watts on panels, if watts higher than 500 then](https://discourse.nodered.org/t/how-to-test-watts-on-panels-if-watts-higher-than-500-then/10732)

<div class="topic-metadata">

**Author:** [@admintite](https://discourse.nodered.org/u/admintite)\
**Replies:** 2\
**Last updated:** [2 May 2019 02:04 UTC](https://discourse.nodered.org/t/how-to-test-watts-on-panels-if-watts-higher-than-500-then/10732 "2019-05-02T02:04:17Z")

</div>

Greetings, i have a solar system that i can talk to via MQTT and MODBUS. I would like to turn on "load" when there is enough (500 watts) solar energy. The issue is that i have to I have to turn the inverter on in order …

---

## [Trouble with mysql flow, mariandb](https://discourse.nodered.org/t/trouble-with-mysql-flow-mariandb/10699)

<div class="topic-metadata">

**Author:** [@Rassilon](https://discourse.nodered.org/u/Rassilon)\
**Replies:** 2\
**Last updated:** [1 May 2019 20:47 UTC](https://discourse.nodered.org/t/trouble-with-mysql-flow-mariandb/10699 "2019-05-01T20:47:49Z")

</div>

\[{"id":"c67aa2b8.aef96","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"3449c78b.5e7a08","type":"mysql","z":"c67aa2b8.aef96","mydb":"5785e23e.a04c2c","name":"Temp DB","x":379.16705322265625,"y":468.84997…

---

## [Can't upgrade npm from 6.9.0 to latest on raspian stretch](https://discourse.nodered.org/t/cant-upgrade-npm-from-6-9-0-to-latest-on-raspian-stretch/10682)

<div class="topic-metadata">

**Author:** [@chuckf201](https://discourse.nodered.org/u/chuckf201)\
**Replies:** 10\
**Last updated:** [1 May 2019 17:01 UTC](https://discourse.nodered.org/t/cant-upgrade-npm-from-6-9-0-to-latest-on-raspian-stretch/10682 "2019-05-01T17:01:16Z")

</div>

My code tells me that the process worked but it hasn't. Also, can't upgrade node-red-contrib-ui-level or node-red-serialport. This all started when my 12c node for bmp085 failed. bash \<(curl -sL https://raw.githubuserc…

---

## [When to use MQTT mosca broker](https://discourse.nodered.org/t/when-to-use-mqtt-mosca-broker/10712)

<div class="topic-metadata">

**Author:** [@jg\_spitfire](https://discourse.nodered.org/u/jg_spitfire)\
**Replies:** 2\
**Last updated:** [1 May 2019 13:49 UTC](https://discourse.nodered.org/t/when-to-use-mqtt-mosca-broker/10712 "2019-05-01T13:49:09Z")

</div>

hi, in this tutorial mqtt node red ttn and aws he doesnt add the mosca broker, just take a mqtt out block (for me it acts just as a publisher) and send the data to aws(amazon web services) where he emulates a mqtt client…

---

## [\[help\] How to restore the path of node-red](https://discourse.nodered.org/t/help-how-to-restore-the-path-of-node-red/10663)

<div class="topic-metadata">

**Author:** [@anphalovekt](https://discourse.nodered.org/u/anphalovekt)\
**Replies:** 2\
**Last updated:** [1 May 2019 12:54 UTC](https://discourse.nodered.org/t/help-how-to-restore-the-path-of-node-red/10663 "2019-05-01T12:54:25Z")

</div>

Hi guys, I want to restore the command "node-red" to run Node Red. It doesn't work now, because I have tried to use Sqlite and I have changed the path on Environment Variables (Window 7) to C:/sqlite and I don't rememb…

---

## [\[help\] How to extract 2 values from a 2 mqtt nodes](https://discourse.nodered.org/t/help-how-to-extract-2-values-from-a-2-mqtt-nodes/10668)

<div class="topic-metadata">

**Author:** [@Oshadhi1](https://discourse.nodered.org/u/Oshadhi1)\
**Replies:** 8\
**Last updated:** [1 May 2019 07:18 UTC](https://discourse.nodered.org/t/help-how-to-extract-2-values-from-a-2-mqtt-nodes/10668 "2019-05-01T07:18:04Z")

</div>

Hey, I want to extract temperature and sate from the two individual mqtt nodes and put it to a variable for an if condition. \[{"id":"e138bfbf.d608d","type":"tab","label":"Flow 4","disabled":false,"info":""},{"id":"681e2…

---

## [Count messages in rolling window?](https://discourse.nodered.org/t/count-messages-in-rolling-window/10691)

<div class="topic-metadata">

**Author:** [@swiftnesses](https://discourse.nodered.org/u/swiftnesses)\
**Replies:** 6\
**Last updated:** [1 May 2019 06:44 UTC](https://discourse.nodered.org/t/count-messages-in-rolling-window/10691 "2019-05-01T06:44:03Z")

</div>

Hello, I'm looking to count the number of messages in a rolling window, i.e. 15 minutes and output the number when a new message is received, is this possible with nodes, or would I need a custom function? I've tried t…

---

## [Connecting to firebase](https://discourse.nodered.org/t/connecting-to-firebase/10702)

<div class="topic-metadata">

**Author:** [@Oshadhi1](https://discourse.nodered.org/u/Oshadhi1)\
**Replies:** 4\
**Last updated:** [1 May 2019 06:37 UTC](https://discourse.nodered.org/t/connecting-to-firebase/10702 "2019-05-01T06:37:24Z")

</div>

Hi, I tried connecting firebase through node red. But it says I'm unable to authenticate. Any advise on the authentication type selected?

---

## [Node red booting](https://discourse.nodered.org/t/node-red-booting/10688)

<div class="topic-metadata">

**Author:** [@sucram](https://discourse.nodered.org/u/sucram)\
**Replies:** 9\
**Last updated:** [30 April 2019 21:42 UTC](https://discourse.nodered.org/t/node-red-booting/10688 "2019-04-30T21:42:58Z")

</div>

Hei, can anyone look at the below start up log i get when i load node red? I have changed my ip for my tv but node red is still searching for old info! I'm not very techy but can try a little. Trying to stop last line tc…

---

## [TCP connection over lan apk](https://discourse.nodered.org/t/tcp-connection-over-lan-apk/6754)

<div class="topic-metadata">

**Author:** [@davidcgu](https://discourse.nodered.org/u/davidcgu)\
**Replies:** 2\
**Last updated:** [30 April 2019 21:39 UTC](https://discourse.nodered.org/t/tcp-connection-over-lan-apk/6754 "2019-04-30T21:39:22Z")

</div>

This must be a silly question most probably but my knowledge on programming is very limited. I have one application that works on my mobile only when I'm connected to my lan to control remotely a printer. I'm also able…

---

## [Ideas for queuing jobs from multiple flows](https://discourse.nodered.org/t/ideas-for-queuing-jobs-from-multiple-flows/10630)

<div class="topic-metadata">

**Author:** [@Yadest](https://discourse.nodered.org/u/Yadest)\
**Replies:** 2\
**Last updated:** [30 April 2019 21:37 UTC](https://discourse.nodered.org/t/ideas-for-queuing-jobs-from-multiple-flows/10630 "2019-04-30T21:37:19Z")

</div>

Hi, I’m controlling an Arduino for a few experiments. The control includes some basic sensor requests and also some mechanic motors for occasional movement of the experiment. I have a few flows that make requests to th…

---

## [Problem to install node-red-contrib-model-asset-exchange 0.2.3](https://discourse.nodered.org/t/problem-to-install-node-red-contrib-model-asset-exchange-0-2-3/10646)

<div class="topic-metadata">

**Author:** [@PePe](https://discourse.nodered.org/u/PePe)\
**Replies:** 9\
**Last updated:** [30 April 2019 20:51 UTC](https://discourse.nodered.org/t/problem-to-install-node-red-contrib-model-asset-exchange-0-2-3/10646 "2019-04-30T20:51:14Z")

</div>

Hi, I'm trying to install : "node-red-contrib-model-asset-exchange 0.2.3" node. Tried both palette and terminal. In both cases installation fails. Is there anything specific about this node that should be done prior …

---

## [Modbus TCP/IP command](https://discourse.nodered.org/t/modbus-tcp-ip-command/10641)

<div class="topic-metadata">

**Author:** [@ihebabidi](https://discourse.nodered.org/u/ihebabidi)\
**Replies:** 5\
**Last updated:** [30 April 2019 17:47 UTC](https://discourse.nodered.org/t/modbus-tcp-ip-command/10641 "2019-04-30T17:47:22Z")

</div>

hello all ! do i have the ability to order a modbus tcp/ip node? because as soon as i click deploy its connected to the server.

---

## [TCP Output Node: Needed Clarification; Please Help](https://discourse.nodered.org/t/tcp-output-node-needed-clarification-please-help/2846)

<div class="topic-metadata">

**Author:** [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Replies:** 16\
**Last updated:** [30 April 2019 16:52 UTC](https://discourse.nodered.org/t/tcp-output-node-needed-clarification-please-help/2846 "2019-04-30T16:52:04Z")

</div>

Dear Sirs: (Windows 10 Node Red install.) Using a Cognex barcode reader/scanner. I need to communicate from Node-Red. The TCP Input node responds well from the scanner input and Hyperterminal input as well. I need h…

---

## [How to check rate limit queue is empty?](https://discourse.nodered.org/t/how-to-check-rate-limit-queue-is-empty/10664)

<div class="topic-metadata">

**Author:** [@swiftnesses](https://discourse.nodered.org/u/swiftnesses)\
**Replies:** 4\
**Last updated:** [30 April 2019 13:26 UTC](https://discourse.nodered.org/t/how-to-check-rate-limit-queue-is-empty/10664 "2019-04-30T13:26:33Z")

</div>

Hi, I require a way to know when the delay node rate limit queue is empty (so I can route messages an alternative way when it is), what is the best way to do this? Example: Rate limit required, rate limit messages... …

---

## [UDP - Out / In Functionality](https://discourse.nodered.org/t/udp-out-in-functionality/10670)

<div class="topic-metadata">

**Author:** [@Manfred](https://discourse.nodered.org/u/Manfred)\
**Replies:** 1\
**Last updated:** [30 April 2019 12:38 UTC](https://discourse.nodered.org/t/udp-out-in-functionality/10670 "2019-04-30T12:38:28Z")

</div>

Hello Guys I wonder, if there exits a node, that is able to send UDP - Messages with local port set to auto AND receive some kind of answer on the same port. ( simple send / receive UDP - Socket ) If using an UDP - In …

---

## [Header is in post request](https://discourse.nodered.org/t/header-is-in-post-request/10661)

<div class="topic-metadata">

**Author:** [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)\
**Replies:** 1\
**Last updated:** [30 April 2019 08:07 UTC](https://discourse.nodered.org/t/header-is-in-post-request/10661 "2019-04-30T08:07:19Z")

</div>

Hi. Trying to set the message header Content-Type but I can not get it to work. my code looks like this msg.payload = {"action":"ARM\_REQUEST"}, msg.headers = {"Content-Type":"application/vnd.assaabloy.arx.integrated-…

---

## [Location of httpStatic](https://discourse.nodered.org/t/location-of-httpstatic/10649)

<div class="topic-metadata">

**Author:** [@Dave](https://discourse.nodered.org/u/Dave)\
**Replies:** 2\
**Last updated:** [30 April 2019 05:52 UTC](https://discourse.nodered.org/t/location-of-httpstatic/10649 "2019-04-30T05:52:26Z")

</div>

I have set httpStatic: '/media/usbHDD/nas/', in my settings.js file everything is working fine however my question is can I retrieve this information in a function node.?

---

## [Another PID Question!](https://discourse.nodered.org/t/another-pid-question/10650)

<div class="topic-metadata">

**Author:** [@tiagoclc](https://discourse.nodered.org/u/tiagoclc)\
**Replies:** 1\
**Last updated:** [29 April 2019 20:50 UTC](https://discourse.nodered.org/t/another-pid-question/10650 "2019-04-29T20:50:45Z")

</div>

Hi! I'm facing a problem with node-red-contrib-pid and hope someone could help. Trying to set prop\_band, t\_integral and t\_derivative dynamically with sliders, but it always return NaN. Already tried to use function us…

---

## [Big timer Node - How to change timers from Dashboard](https://discourse.nodered.org/t/big-timer-node-how-to-change-timers-from-dashboard/10625)

<div class="topic-metadata">

**Author:** [@manueldiasmanuel](https://discourse.nodered.org/u/manueldiasmanuel)\
**Replies:** 3\
**Last updated:** [29 April 2019 18:29 UTC](https://discourse.nodered.org/t/big-timer-node-how-to-change-timers-from-dashboard/10625 "2019-04-29T18:29:17Z")

</div>

Hi, How could i edit or set the time of Big Timer Node from Dashboard ? Is this possible ? MD

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

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