# General

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

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

**Page:** 895

---

## [How to implement a task scheduler?](https://discourse.nodered.org/t/how-to-implement-a-task-scheduler/10273)

<div class="topic-metadata">

**Author:** [@elisascheer](https://discourse.nodered.org/u/elisascheer)\
**Replies:** 8\
**Last updated:** [17 April 2019 08:26 UTC](https://discourse.nodered.org/t/how-to-implement-a-task-scheduler/10273 "2019-04-17T08:26:46Z")

</div>

Hi, To resume, I am working with a S7 PLC and I am aiming to retrieve periodic data and alarms from the S7, so I declared two S7 connectors : -one for periodic reading -one for alarm reading I also add a status no…

---

## [Switch node issue](https://discourse.nodered.org/t/switch-node-issue/10266)

<div class="topic-metadata">

**Author:** [@pixelview](https://discourse.nodered.org/u/pixelview)\
**Replies:** 5\
**Last updated:** [17 April 2019 08:25 UTC](https://discourse.nodered.org/t/switch-node-issue/10266 "2019-04-17T08:25:02Z")

</div>

Hi, I'm trying to get the switch node to read in a json message from a sigfox callback and send a twillio message based on the data. The messages can be of 3 types: first type: { "data":"{c0}" } second type: { …

---

## [Postgres+Listen/Notify](https://discourse.nodered.org/t/postgres-listen-notify/10269)

<div class="topic-metadata">

**Author:** [@cfb](https://discourse.nodered.org/u/cfb)\
**Replies:** 1\
**Last updated:** [17 April 2019 04:42 UTC](https://discourse.nodered.org/t/postgres-listen-notify/10269 "2019-04-17T04:42:53Z")

</div>

Hi, i've seen that node-red-contrib-postgres as been deprecated and not available for node-red v0.20, this also disable the node-red-contrib-postgres-listen node. Any way to enable these? or substitutes? Someone are …

---

## [Store data in flow variable to be used in another node (in Python3 function)](https://discourse.nodered.org/t/store-data-in-flow-variable-to-be-used-in-another-node-in-python3-function/10217)

<div class="topic-metadata">

**Author:** [@xoani](https://discourse.nodered.org/u/xoani)\
**Replies:** 8\
**Last updated:** [17 April 2019 00:46 UTC](https://discourse.nodered.org/t/store-data-in-flow-variable-to-be-used-in-another-node-in-python3-function/10217 "2019-04-17T00:46:25Z")

</div>

Hello everyone. I am trying to save the name of a file into a variable so that I can call it in another function node later. I have read that there is a flow variable that is available in the flow scope, which is what I…

---

## [Use an object with a hyphen in a function](https://discourse.nodered.org/t/use-an-object-with-a-hyphen-in-a-function/10257)

<div class="topic-metadata">

**Author:** [@gbomacfly](https://discourse.nodered.org/u/gbomacfly)\
**Replies:** 9\
**Last updated:** [16 April 2019 22:19 UTC](https://discourse.nodered.org/t/use-an-object-with-a-hyphen-in-a-function/10257 "2019-04-16T22:19:30Z")

</div>

Hello all, I have a problem with a function in node-red. I want to read an object of the instance spotify-premium. The problem is the hyphen in the name. The path I would like to read is: spotify-premium.0.player.isPl…

---

## [Worldmap how to send several Markers](https://discourse.nodered.org/t/worldmap-how-to-send-several-markers/10197)

<div class="topic-metadata">

**Author:** [@MrDmx1024](https://discourse.nodered.org/u/MrDmx1024)\
**Replies:** 7\
**Last updated:** [16 April 2019 21:54 UTC](https://discourse.nodered.org/t/worldmap-how-to-send-several-markers/10197 "2019-04-16T21:54:54Z")

</div>

Does anybody have an example of how to send several locations to the worldmap node? Say I wanted to populate the map with 10 markers. I have the formatting working for one location no problem but do not see any info on…

---

## [Node-red will not start after NPM installation](https://discourse.nodered.org/t/node-red-will-not-start-after-npm-installation/7785)

<div class="topic-metadata">

**Author:** [@Rulevalley](https://discourse.nodered.org/u/Rulevalley)\
**Replies:** 3\
**Last updated:** [16 April 2019 21:46 UTC](https://discourse.nodered.org/t/node-red-will-not-start-after-npm-installation/7785 "2019-04-16T21:46:16Z")

</div>

Hi. I have installed a NPM - node-red-contrib-sonoff-server. After that it all crashed. When I start up it now just stops as listed below. \*\* pi@raspberrypi:~ $ node-red 10 Feb 01:20:06 - \[info\] Welcome to Node-RED …

---

## [Need help with design for my home flow](https://discourse.nodered.org/t/need-help-with-design-for-my-home-flow/10263)

<div class="topic-metadata">

**Author:** [@aihysp](https://discourse.nodered.org/u/aihysp)\
**Replies:** 0\
**Last updated:** [16 April 2019 20:26 UTC](https://discourse.nodered.org/t/need-help-with-design-for-my-home-flow/10263 "2019-04-16T20:26:49Z")

</div>

Hi All i am using NR + Openhab for a long time , i use NR+mosquito as my MQTT Broker and OH only saves my values(maybe little stupid but working :slight\_smile: ) i am using this simple flow to pass values between MQT…

---

## [Read node data from node-info pane](https://discourse.nodered.org/t/read-node-data-from-node-info-pane/10210)

<div class="topic-metadata">

**Author:** [@Holger-Will](https://discourse.nodered.org/u/Holger-Will)\
**Replies:** 8\
**Last updated:** [16 April 2019 17:14 UTC](https://discourse.nodered.org/t/read-node-data-from-node-info-pane/10210 "2019-04-16T17:14:30Z")

</div>

i'm currently writing a node to bring enocean to node-red. enocean is an iot protocol. I'm facing following problem: enocean telegrams come in different encodings. to know wich encoding is use by a device, it can send …

---

## [Read data from TCP/IP port](https://discourse.nodered.org/t/read-data-from-tcp-ip-port/10185)

<div class="topic-metadata">

**Author:** [@JD2010](https://discourse.nodered.org/u/JD2010)\
**Replies:** 7\
**Last updated:** [16 April 2019 16:42 UTC](https://discourse.nodered.org/t/read-data-from-tcp-ip-port/10185 "2019-04-16T16:42:07Z")

</div>

HI, I want to ask you the next one: I have a datalogger for temperature and I want to read the data with Node-Red. How Can I do to read data form TCP/IP?

---

## [How to autmoatically increase a percentage value using start and stop triggers](https://discourse.nodered.org/t/how-to-autmoatically-increase-a-percentage-value-using-start-and-stop-triggers/10233)

<div class="topic-metadata">

**Author:** [@zaphood](https://discourse.nodered.org/u/zaphood)\
**Replies:** 15\
**Last updated:** [16 April 2019 16:19 UTC](https://discourse.nodered.org/t/how-to-autmoatically-increase-a-percentage-value-using-start-and-stop-triggers/10233 "2019-04-16T16:19:23Z")

</div>

Hi there, I am looking for a way to do the following: Input node is numeric, delivers either a "1" for begin or a "0" for stop (like pressing a button triggers the "1", while releasing it sends the "0"). Output node e…

---

## [This.context().flow does not work?](https://discourse.nodered.org/t/this-context-flow-does-not-work/10252)

<div class="topic-metadata">

**Author:** [@stefanopog](https://discourse.nodered.org/u/stefanopog)\
**Replies:** 0\
**Last updated:** [16 April 2019 14:43 UTC](https://discourse.nodered.org/t/this-context-flow-does-not-work/10252 "2019-04-16T14:43:18Z")

</div>

I have the following three test lines in my CUSTOM NODE: let camo = node.context(); let zorro = node.context().flow; let zorro2 = node.context().global; Using VSCode Debugger, camo and zorro2 have values,…

---

## [POST request to Traccar demoserver](https://discourse.nodered.org/t/post-request-to-traccar-demoserver/10219)

<div class="topic-metadata">

**Author:** [@greyser](https://discourse.nodered.org/u/greyser)\
**Replies:** 3\
**Last updated:** [16 April 2019 11:15 UTC](https://discourse.nodered.org/t/post-request-to-traccar-demoserver/10219 "2019-04-16T11:15:28Z")

</div>

Hello guys! Trying to get geo info fron Traccar demo server via POST request. Trying http request node and get mistake: \> The @FormParam is utilized when the content type of the request entity is not application/x-www…

---

## [Help needed with pusher chatkit](https://discourse.nodered.org/t/help-needed-with-pusher-chatkit/9953)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 2\
**Last updated:** [16 April 2019 10:42 UTC](https://discourse.nodered.org/t/help-needed-with-pusher-chatkit/9953 "2019-04-16T10:42:33Z")

</div>

Is there some one who can help me to implement the pusher chatkit in Node Red? I found a pusher node but that does not support the chatkit... What i need to do is send and receive messages to an app on an iphone More …

---

## [Node-red-contrib-modbus Server read/write](https://discourse.nodered.org/t/node-red-contrib-modbus-server-read-write/10160)

<div class="topic-metadata">

**Author:** [@ABNodered](https://discourse.nodered.org/u/ABNodered)\
**Replies:** 3\
**Last updated:** [16 April 2019 08:34 UTC](https://discourse.nodered.org/t/node-red-contrib-modbus-server-read-write/10160 "2019-04-16T08:34:11Z")

</div>

I am using the Modbus server node to simulate a modbus controller for 13 air handling units The controller has 1 IP address and each air handling unit has its own unit ID (1-13) I am using the Modbus write node to forc…

---

## [Save payload in a local file, then set as output of the file node the name of the file and not the payload?](https://discourse.nodered.org/t/save-payload-in-a-local-file-then-set-as-output-of-the-file-node-the-name-of-the-file-and-not-the-payload/10020)

<div class="topic-metadata">

**Author:** [@xoani](https://discourse.nodered.org/u/xoani)\
**Replies:** 2\
**Last updated:** [16 April 2019 08:18 UTC](https://discourse.nodered.org/t/save-payload-in-a-local-file-then-set-as-output-of-the-file-node-the-name-of-the-file-and-not-the-payload/10020 "2019-04-16T08:18:38Z")

</div>

I am trying to send data to the Azure Blob Storage service. In the future this data should be sent every 5 seconds but at the moment I am trying to keep it simple. So, here is what I know (I am a beginner): Part 1 : I…

---

## [Multiple outputs from Function node](https://discourse.nodered.org/t/multiple-outputs-from-function-node/10204)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 10\
**Last updated:** [16 April 2019 08:12 UTC](https://discourse.nodered.org/t/multiple-outputs-from-function-node/10204 "2019-04-16T08:12:54Z")

</div>

I'm getting an error saying: ReferenceError: msg1 is not defined (line 56, col 9) I've used multiple message outputs before and this is the second attempt at getting it to work. so I am not understanding what is gonig…

---

## [Cant remove node-red-contrib-generic-ble: "Solved"](https://discourse.nodered.org/t/cant-remove-node-red-contrib-generic-ble-solved/10184)

<div class="topic-metadata">

**Author:** [@kenkoknz](https://discourse.nodered.org/u/kenkoknz)\
**Replies:** 8\
**Last updated:** [16 April 2019 08:06 UTC](https://discourse.nodered.org/t/cant-remove-node-red-contrib-generic-ble-solved/10184 "2019-04-16T08:06:09Z")

</div>

Hi, I installed node-red-contrib-generic-ble from the palette, but now cannot uninstall it. Advice will be appreciated. When I open NR now I get: I have deleted all the flows with the ble nodes and even deleted the …

---

## [Reading GPS data from MySQL to plot on World map](https://discourse.nodered.org/t/reading-gps-data-from-mysql-to-plot-on-world-map/10195)

<div class="topic-metadata">

**Author:** [@Greenprotocol](https://discourse.nodered.org/u/Greenprotocol)\
**Replies:** 5\
**Last updated:** [16 April 2019 07:00 UTC](https://discourse.nodered.org/t/reading-gps-data-from-mysql-to-plot-on-world-map/10195 "2019-04-16T07:00:49Z")

</div>

Hey everyone, I have the following flow: GPS Tracker provides data, change node changes keys into Worldmap format, Insert that data into a Mysql db and plot on Worldmap. Works no problem. I want to read the db recor…

---

## [Errors loading modbus nodes on RevPi](https://discourse.nodered.org/t/errors-loading-modbus-nodes-on-revpi/10156)

<div class="topic-metadata">

**Author:** [@stgv](https://discourse.nodered.org/u/stgv)\
**Replies:** 3\
**Last updated:** [16 April 2019 06:58 UTC](https://discourse.nodered.org/t/errors-loading-modbus-nodes-on-revpi/10156 "2019-04-16T06:58:50Z")

</div>

Since my company considers using the Revolution Pi Connect in the future, I tried deploying our current flow on this hardware. I've set up Node-RED by following the steps outlined in the installation guide, then loaded …

---

## [File fetching from cloud](https://discourse.nodered.org/t/file-fetching-from-cloud/10158)

<div class="topic-metadata">

**Author:** [@ApiAsylum](https://discourse.nodered.org/u/ApiAsylum)\
**Replies:** 7\
**Last updated:** [16 April 2019 04:55 UTC](https://discourse.nodered.org/t/file-fetching-from-cloud/10158 "2019-04-16T04:55:23Z")

</div>

I have a file in git repository, and i want to map that file in python function node, Can someone help me with this?

---

## [Navigator window not in sync with scroll on screen](https://discourse.nodered.org/t/navigator-window-not-in-sync-with-scroll-on-screen/10202)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 0\
**Last updated:** [16 April 2019 04:50 UTC](https://discourse.nodered.org/t/navigator-window-not-in-sync-with-scroll-on-screen/10202 "2019-04-16T04:50:32Z")

</div>

I just noticed this. But scrolling around with the navigator the map (smaller image, with the bigger view) doesn't always sync with what is showing on the screen. A lot of piccies to show the problem. I have tried to …

---

## [\`switch\` node....... Missing option?](https://discourse.nodered.org/t/switch-node-missing-option/10201)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 1\
**Last updated:** [16 April 2019 02:56 UTC](https://discourse.nodered.org/t/switch-node-missing-option/10201 "2019-04-16T02:56:43Z")

</div>

Ok, I have an output. It sits there spitting out results. I want to switch if the output is........ condition. As I am going further down the rabbit hole of learning best practices, I think I have found an omission. I…

---

## [Saving HTML Table object(s)](https://discourse.nodered.org/t/saving-html-table-object-s/10190)

<div class="topic-metadata">

**Author:** [@justinsroy](https://discourse.nodered.org/u/justinsroy)\
**Replies:** 0\
**Last updated:** [15 April 2019 21:23 UTC](https://discourse.nodered.org/t/saving-html-table-object-s/10190 "2019-04-15T21:23:45Z")

</div>

Blocked out the data for personal reasons. Essentially I am passing images from a MongoDB to NodeRed and parsing the actual image file back to base64 to create a set of up to 100 images (records) and the "alarm" descr…

---

## [Need help about google action](https://discourse.nodered.org/t/need-help-about-google-action/10104)

<div class="topic-metadata">

**Author:** [@mike67](https://discourse.nodered.org/u/mike67)\
**Replies:** 2\
**Last updated:** [15 April 2019 20:37 UTC](https://discourse.nodered.org/t/need-help-about-google-action/10104 "2019-04-15T20:37:56Z")

</div>

Hello I try to make a link beetween Google assistant and Node-red. So, I have installed the google action contrib, and I have followed the tuto. I have created the project, used the CLI for gactions, redirected the po…

---

## [Serial in node not working in node-red 0.20.5](https://discourse.nodered.org/t/serial-in-node-not-working-in-node-red-0-20-5/10141)

<div class="topic-metadata">

**Author:** [@dennishvo](https://discourse.nodered.org/u/dennishvo)\
**Replies:** 4\
**Last updated:** [15 April 2019 15:17 UTC](https://discourse.nodered.org/t/serial-in-node-not-working-in-node-red-0-20-5/10141 "2019-04-15T15:17:53Z")

</div>

I'm running node-red 0.20.5 on an RPi 3 B+ with Raspbian GNU/Linux 9.8 (stretch) and node-red-serial-port 0.8.1. Since upgrading from node-red 0.19.5, the serial in node has started behaving strangely. Messages are bein…

---

## [Mathematic Function](https://discourse.nodered.org/t/mathematic-function/10178)

<div class="topic-metadata">

**Author:** [@aabbas](https://discourse.nodered.org/u/aabbas)\
**Replies:** 1\
**Last updated:** [15 April 2019 15:04 UTC](https://discourse.nodered.org/t/mathematic-function/10178 "2019-04-15T15:04:12Z")

</div>

Hi, I have 2 msg.payload A and B and I want to insert after a function like (A+B)/(A-B), but I don't know how to define each msg.payload. Thank you for your help.

---

## [Is there a way to pass an array through the ToneAnalyzer?](https://discourse.nodered.org/t/is-there-a-way-to-pass-an-array-through-the-toneanalyzer/10133)

<div class="topic-metadata">

**Author:** [@nhar](https://discourse.nodered.org/u/nhar)\
**Replies:** 4\
**Last updated:** [15 April 2019 14:23 UTC](https://discourse.nodered.org/t/is-there-a-way-to-pass-an-array-through-the-toneanalyzer/10133 "2019-04-15T14:23:49Z")

</div>

I have an array of different texts that I need to pass separately through the ToneAnalyzer. I have to be able to access all of the analysis values afterwards. Is there a way to do this without setting up a separate inst…

---

## [Node-RED unable to find Discovery Collection](https://discourse.nodered.org/t/node-red-unable-to-find-discovery-collection/9699)

<div class="topic-metadata">

**Author:** [@nhar](https://discourse.nodered.org/u/nhar)\
**Replies:** 4\
**Last updated:** [15 April 2019 14:21 UTC](https://discourse.nodered.org/t/node-red-unable-to-find-discovery-collection/9699 "2019-04-15T14:21:15Z")

</div>

I have an environment set up in Node-RED which has two collections. When I use the 'list-collections' property of the Discovery node it returns an empty array. I can see that the collections are present in the environme…

---

## [Best way to access dynamic msg payload?](https://discourse.nodered.org/t/best-way-to-access-dynamic-msg-payload/10170)

<div class="topic-metadata">

**Author:** [@swiftnesses](https://discourse.nodered.org/u/swiftnesses)\
**Replies:** 13\
**Last updated:** [15 April 2019 13:49 UTC](https://discourse.nodered.org/t/best-way-to-access-dynamic-msg-payload/10170 "2019-04-15T13:49:40Z")

</div>

Good day, I have an issue whereby I need to access a data inside a dynamically generated payload, the position I need to access is always the same, but the name of a certain level is generated as part of the return... e…

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

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