# General

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

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

**Page:** 923

---

## [Node-red influxdb insert-update](https://discourse.nodered.org/t/node-red-influxdb-insert-update/6699)

<div class="topic-metadata">

**Author:** [@turkdoktoru](https://discourse.nodered.org/u/turkdoktoru)\
**Replies:** 10\
**Last updated:** [12 January 2019 09:41 UTC](https://discourse.nodered.org/t/node-red-influxdb-insert-update/6699 "2019-01-12T09:41:32Z")

</div>

I am sending data to the Node-Red server with the mqtt.fx program as attached. The Mqtt server is taking it. How to register and update the received data in influxdb. can you help me ?

---

## [How to store data in JSON file in Node-RED](https://discourse.nodered.org/t/how-to-store-data-in-json-file-in-node-red/6480)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 22\
**Last updated:** [11 January 2019 22:26 UTC](https://discourse.nodered.org/t/how-to-store-data-in-json-file-in-node-red/6480 "2019-01-11T22:26:42Z")

</div>

Hi, this is quite a "beginner's" question but hopefully someone can help? I want to build up a "definitions" file that describes the properties for various custom DIY home automation devices. I'm thinking the best way …

---

## [Display HTML inside flow](https://discourse.nodered.org/t/display-html-inside-flow/6586)

<div class="topic-metadata">

**Author:** [@mvidhya86](https://discourse.nodered.org/u/mvidhya86)\
**Replies:** 3\
**Last updated:** [11 January 2019 21:42 UTC](https://discourse.nodered.org/t/display-html-inside-flow/6586 "2019-01-11T21:42:33Z")

</div>

Hello, I'm trying to preview/display html file, is there an option to display this within flow something like a preview or a popup window in which we can show the html file contents. Please help

---

## [node red dynamic topic](https://discourse.nodered.org/t/node-red-dynamic-topic/6632)

<div class="topic-metadata">

**Author:** [@turkdoktoru](https://discourse.nodered.org/u/turkdoktoru)\
**Replies:** 3\
**Last updated:** [11 January 2019 21:09 UTC](https://discourse.nodered.org/t/node-red-dynamic-topic/6632 "2019-01-11T21:09:51Z")

</div>

Hello, I have 100,000 arduino devices. I will connect them all to the node-red network with mqtt. But I don't want to add them all one by one. How can I add a mqtt entry and dynamically provide it?

---

## [TCP node and WebSocket node](https://discourse.nodered.org/t/tcp-node-and-websocket-node/6683)

<div class="topic-metadata">

**Author:** [@RahulMathavan](https://discourse.nodered.org/u/RahulMathavan)\
**Replies:** 2\
**Last updated:** [11 January 2019 20:29 UTC](https://discourse.nodered.org/t/tcp-node-and-websocket-node/6683 "2019-01-11T20:29:04Z")

</div>

I could not able to get a clear understanding of TCP nodes and WebSocket node. where and why it is used

---

## [How to use the contrib-npm](https://discourse.nodered.org/t/how-to-use-the-contrib-npm/6701)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 3\
**Last updated:** [11 January 2019 20:23 UTC](https://discourse.nodered.org/t/how-to-use-the-contrib-npm/6701 "2019-01-11T20:23:21Z")

</div>

I have a Yale smart alarm system (UK), and found this Yale Alarm System Node.js API Wrapper, which is a Node.js module. How can I get this to work in Node-RED? Here's what I tried so far. I found node-red-contrib-npm w…

---

## [Adding npm module and using it](https://discourse.nodered.org/t/adding-npm-module-and-using-it/6655)

<div class="topic-metadata">

**Author:** [@alanca](https://discourse.nodered.org/u/alanca)\
**Replies:** 5\
**Last updated:** [11 January 2019 16:39 UTC](https://discourse.nodered.org/t/adding-npm-module-and-using-it/6655 "2019-01-11T16:39:42Z")

</div>

I want to use the atob function to convert base64 to hex. After googling a little bit I found out that npm modules can be added manually. I did npm i atob in the npm directory, as well as the node-red directory: usr/li…

---

## [Repeat node not working correctly](https://discourse.nodered.org/t/repeat-node-not-working-correctly/6696)

<div class="topic-metadata">

**Author:** [@IvarMvl](https://discourse.nodered.org/u/IvarMvl)\
**Replies:** 8\
**Last updated:** [11 January 2019 13:44 UTC](https://discourse.nodered.org/t/repeat-node-not-working-correctly/6696 "2019-01-11T13:44:04Z")

</div>

repeat node not working correctly doesnt awitch to ELSE output after message passed 3 times . . the node:. my code: \[{"id":"cda5a735.9bf3a8","type":"delay","z":"e4d8382f.f4813","name":"","pauseType":"delay","tim…

---

## [Error No url specified](https://discourse.nodered.org/t/error-no-url-specified/6692)

<div class="topic-metadata">

**Author:** [@Sudha](https://discourse.nodered.org/u/Sudha)\
**Replies:** 2\
**Last updated:** [11 January 2019 12:48 UTC](https://discourse.nodered.org/t/error-no-url-specified/6692 "2019-01-11T12:48:02Z")

</div>

Hello Everyone, I am working on a project on the cloud. I am facing the error of No url specified. Here is the screenshot. I also have trouble in charts and gauge which is not working. It will be really great you anyone…

---

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

<div class="topic-metadata">

**Author:** [@noobPLC](https://discourse.nodered.org/u/noobPLC)\
**Replies:** 2\
**Last updated:** [11 January 2019 11:54 UTC](https://discourse.nodered.org/t/node-red-modbus/6689 "2019-01-11T11:54:25Z")

</div>

I am trying to turn on a LED using node-red. I have attached a LED to a PIN in PLC ( %Q0.0) . I have made the configuration in modbus-write node accordingly as shown in screenshots below. but Its not working for some r…

---

## [Adding a topic to payload?](https://discourse.nodered.org/t/adding-a-topic-to-payload/6691)

<div class="topic-metadata">

**Author:** [@IvarMvl](https://discourse.nodered.org/u/IvarMvl)\
**Replies:** 2\
**Last updated:** [11 January 2019 10:58 UTC](https://discourse.nodered.org/t/adding-a-topic-to-payload/6691 "2019-01-11T10:58:04Z")

</div>

Im trying to controll the Gate node with a normal payload but to actualy controll the gate its self, u need to add the Topic : ''control' to actually control the Gate instead of the payload to just go through the Gate b…

---

## [Testing a node locally](https://discourse.nodered.org/t/testing-a-node-locally/6688)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 6\
**Last updated:** [11 January 2019 10:54 UTC](https://discourse.nodered.org/t/testing-a-node-locally/6688 "2019-01-11T10:54:10Z")

</div>

Rather than publishing my new node, I followed the node-red packaging guide to test the node locally, but I can't get it to display in my node-RED palette, and seeing strange npm behaviour. npm v6.4.1 node-RED v 0.19.5 …

---

## [Creating a node with dependency](https://discourse.nodered.org/t/creating-a-node-with-dependency/6650)

<div class="topic-metadata">

**Author:** [@kuzmich](https://discourse.nodered.org/u/kuzmich)\
**Replies:** 5\
**Last updated:** [11 January 2019 07:45 UTC](https://discourse.nodered.org/t/creating-a-node-with-dependency/6650 "2019-01-11T07:45:55Z")

</div>

Hello, i'm new to Node-Red, and i'm trying to make a new node which is dependent on another module. Simply put, i'm trying to use the module (which works fine in pure Node) in Node-Red, but i'm getting an error "Waiting …

---

## [MQTT counting number of messages](https://discourse.nodered.org/t/mqtt-counting-number-of-messages/6644)

<div class="topic-metadata">

**Author:** [@role2mail](https://discourse.nodered.org/u/role2mail)\
**Replies:** 7\
**Last updated:** [11 January 2019 00:17 UTC](https://discourse.nodered.org/t/mqtt-counting-number-of-messages/6644 "2019-01-11T00:17:22Z")

</div>

A beginner here. I've read through forums and the web but only able to understand persistence of MQTT at broker level, but what about persistence at device level? How does MQTT deal with that? Do I need to build it mys…

---

## [Flow wont import back](https://discourse.nodered.org/t/flow-wont-import-back/6659)

<div class="topic-metadata">

**Author:** [@IvarMvl](https://discourse.nodered.org/u/IvarMvl)\
**Replies:** 2\
**Last updated:** [10 January 2019 14:02 UTC](https://discourse.nodered.org/t/flow-wont-import-back/6659 "2019-01-10T14:02:55Z")

</div>

i copied like 300 nodes into an text document and cant get them to import back in uses this site to find error and dont understand how to fix error \[\]{"id":"10245beb.ab2c9c","type":"ui\_button","z":"e4d8382f.f4813","…

---

## [Repeat node x times](https://discourse.nodered.org/t/repeat-node-x-times/6657)

<div class="topic-metadata">

**Author:** [@IvarMvl](https://discourse.nodered.org/u/IvarMvl)\
**Replies:** 4\
**Last updated:** [10 January 2019 13:44 UTC](https://discourse.nodered.org/t/repeat-node-x-times/6657 "2019-01-10T13:44:31Z")

</div>

hi just asking if there is a way for a signal to go through a nodes first output x amount of time and after that go to the second output of the node thanks in advance, I

---

## [Redirect to local file or web page from Node Red](https://discourse.nodered.org/t/redirect-to-local-file-or-web-page-from-node-red/6547)

<div class="topic-metadata">

**Author:** [@mvidhya86](https://discourse.nodered.org/u/mvidhya86)\
**Replies:** 3\
**Last updated:** [10 January 2019 09:25 UTC](https://discourse.nodered.org/t/redirect-to-local-file-or-web-page-from-node-red/6547 "2019-01-10T09:25:22Z")

</div>

Hi, I have node red installed and configured with workflows on a server machine. These workflows are rendered to html web pages using iframe. Runtime - these htnl pages display the appropriate workflows which are creat…

---

## [Projects - Cloning via SSH for new instance UX issue](https://discourse.nodered.org/t/projects-cloning-via-ssh-for-new-instance-ux-issue/6633)

<div class="topic-metadata">

**Author:** [@beneuto](https://discourse.nodered.org/u/beneuto)\
**Replies:** 1\
**Last updated:** [10 January 2019 08:36 UTC](https://discourse.nodered.org/t/projects-cloning-via-ssh-for-new-instance-ux-issue/6633 "2019-01-10T08:36:31Z")

</div>

Node-Red v0.19.5 I am just working on our documentation for setting up new node-red instances to incorporate the Projects functionality but have hit a snag in trying to initially setup by cloning a project. This is ma…

---

## [Node-Red save Context to Redis](https://discourse.nodered.org/t/node-red-save-context-to-redis/6647)

<div class="topic-metadata">

**Author:** [@gc12345](https://discourse.nodered.org/u/gc12345)\
**Replies:** 1\
**Last updated:** [10 January 2019 07:49 UTC](https://discourse.nodered.org/t/node-red-save-context-to-redis/6647 "2019-01-10T07:49:38Z")

</div>

Hi, Really interested as to when we might see context to be able to be saved into Redis?

---

## [Filter incoming data based on payload](https://discourse.nodered.org/t/filter-incoming-data-based-on-payload/6548)

<div class="topic-metadata">

**Author:** [@MCatGC](https://discourse.nodered.org/u/MCatGC)\
**Replies:** 5\
**Last updated:** [9 January 2019 19:50 UTC](https://discourse.nodered.org/t/filter-incoming-data-based-on-payload/6548 "2019-01-09T19:50:26Z")

</div>

Could someone please help me to switch the payload output to a node based on a key name within the payload. This is a sample of the message I receive from a Xiaomi HT sensor: 08/01/2019, 21:08:16node: 85df857.d44e778 m…

---

## [Function with 2 outputs](https://discourse.nodered.org/t/function-with-2-outputs/6576)

<div class="topic-metadata">

**Author:** [@NickB](https://discourse.nodered.org/u/NickB)\
**Replies:** 5\
**Last updated:** [9 January 2019 18:42 UTC](https://discourse.nodered.org/t/function-with-2-outputs/6576 "2019-01-09T18:42:21Z")

</div>

Hi, I know it's stupid, but I have found allready different 'methods' to control 2 outputs, and for me, none of them work. What is the idea? I have 1 input & 2 outputs. If the input is 'True', I want a '1' on output …

---

## [how do i exchange data between arduino and node red with the siemens iot2040](https://discourse.nodered.org/t/how-do-i-exchange-data-between-arduino-and-node-red-with-the-siemens-iot2040/6618)

<div class="topic-metadata">

**Author:** [@Markf2017](https://discourse.nodered.org/u/Markf2017)\
**Replies:** 1\
**Last updated:** [9 January 2019 17:09 UTC](https://discourse.nodered.org/t/how-do-i-exchange-data-between-arduino-and-node-red-with-the-siemens-iot2040/6618 "2019-01-09T17:09:19Z")

</div>

Hello, im working on a project where i have to sent 8 sensor readings from the arduino side of the IOT2040 to node red. i dont know how to do it because im new to this, so any help would be appreciated. Thanks in advan…

---

## [Receive events from callbacks server to admin configuration HTTPS endpoint](https://discourse.nodered.org/t/receive-events-from-callbacks-server-to-admin-configuration-https-endpoint/6608)

<div class="topic-metadata">

**Author:** [@stamer](https://discourse.nodered.org/u/stamer)\
**Replies:** 0\
**Last updated:** [9 January 2019 11:51 UTC](https://discourse.nodered.org/t/receive-events-from-callbacks-server-to-admin-configuration-https-endpoint/6608 "2019-01-09T11:51:19Z")

</div>

Hello, I created an admin configuration API HTTPS Endpoint that works properly. Now, I want to receive events from the Callbacks-Server of a REST API and I am not sure how to do this. The Node-RED UI is available at h…

---

## [TP - Link HS110 status](https://discourse.nodered.org/t/tp-link-hs110-status/6591)

<div class="topic-metadata">

**Author:** [@nodezzz](https://discourse.nodered.org/u/nodezzz)\
**Replies:** 2\
**Last updated:** [9 January 2019 10:08 UTC](https://discourse.nodered.org/t/tp-link-hs110-status/6591 "2019-01-09T10:08:32Z")

</div>

Hi Guys, hopefully i'm at the right place here in the forum. I have a problem with the TP Link Smart plug node. I can switch the plug on and off. That works. But, how can i get the status from the plug and convert …

---

## [Addressing Scheme of openPLC in node-red](https://discourse.nodered.org/t/addressing-scheme-of-openplc-in-node-red/6595)

<div class="topic-metadata">

**Author:** [@noobPLC](https://discourse.nodered.org/u/noobPLC)\
**Replies:** 2\
**Last updated:** [9 January 2019 09:35 UTC](https://discourse.nodered.org/t/addressing-scheme-of-openplc-in-node-red/6595 "2019-01-09T09:35:57Z")

</div>

I am trying to write a value 1 to location %Qx0.0 using a modbus-write node to openPLC running in RPI. and read the Location %QX0.1 using modbus-read node . can someone please help me with the Address i need to fill whil…

---

## [Check state and send to mqtt from multiple array](https://discourse.nodered.org/t/check-state-and-send-to-mqtt-from-multiple-array/6592)

<div class="topic-metadata">

**Author:** [@junoprima](https://discourse.nodered.org/u/junoprima)\
**Replies:** 4\
**Last updated:** [9 January 2019 09:27 UTC](https://discourse.nodered.org/t/check-state-and-send-to-mqtt-from-multiple-array/6592 "2019-01-09T09:27:27Z")

</div>

Hello i need some help , how to check casenamemax inside any array \[0\]\[1\]\[2\]........ example if case == 01 send to mqtt ........ with all index data status,imei,casenamemax or case == 02,03 ...... send Thank yo…

---

## [Node-RED function counter reset and function 4 outputs](https://discourse.nodered.org/t/node-red-function-counter-reset-and-function-4-outputs/6593)

<div class="topic-metadata">

**Author:** [@IvarMvl](https://discourse.nodered.org/u/IvarMvl)\
**Replies:** 4\
**Last updated:** [9 January 2019 09:00 UTC](https://discourse.nodered.org/t/node-red-function-counter-reset-and-function-4-outputs/6593 "2019-01-09T09:00:48Z")

</div>

So I made a counter in Node-Red and cant figure out hot to reset the counter function when it hits a sertain number, and than to split the payload to 4 different outputs with the number from the counter. Thanks in advan…

---

## [Decoding Jeelib binary packets](https://discourse.nodered.org/t/decoding-jeelib-binary-packets/6577)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 7\
**Last updated:** [9 January 2019 08:45 UTC](https://discourse.nodered.org/t/decoding-jeelib-binary-packets/6577 "2019-01-09T08:45:08Z")

</div>

Using a jeelabs HAT on a Raspberry Pi to receive RF data from remote sensors, which can then be picked up by a 'serial in node' from /dev/ttyAMA0. The payload received by the serial node takes the following format; OK …

---

## [PCF9685 Dimmen slow](https://discourse.nodered.org/t/pcf9685-dimmen-slow/2731)

<div class="topic-metadata">

**Author:** [@rieders](https://discourse.nodered.org/u/rieders)\
**Replies:** 20\
**Last updated:** [9 January 2019 01:55 UTC](https://discourse.nodered.org/t/pcf9685-dimmen-slow/2731 "2019-01-09T01:55:36Z")

</div>

Hello I'm only recently with Node Red. I would like to dim the PCF9685 that I have provided slidern slowly. I can adjust the brightness via the slider. But that changes too much. Can I add something else where I can …

---

## [Question about MQTT Log lines](https://discourse.nodered.org/t/question-about-mqtt-log-lines/6440)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 19\
**Last updated:** [8 January 2019 19:33 UTC](https://discourse.nodered.org/t/question-about-mqtt-log-lines/6440 "2019-01-08T19:33:13Z")

</div>

I saw this issue a few months ago and promptly forgot about it. My log files are full of lines like the dump below. Can anyone suggest how I can determine why so many of my client devices are trying to reconnect? sudo…

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

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