# General

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

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

**Page:** 853

---

## [Node-red-contrib-xxx npm library not found in palette](https://discourse.nodered.org/t/node-red-contrib-xxx-npm-library-not-found-in-palette/15007)

<div class="topic-metadata">

**Author:** [@hschrankQmisoft](https://discourse.nodered.org/u/hschrankQmisoft)\
**Replies:** 6\
**Last updated:** [1 September 2019 18:33 UTC](https://discourse.nodered.org/t/node-red-contrib-xxx-npm-library-not-found-in-palette/15007 "2019-09-01T18:33:08Z")

</div>

after publishing of node-red library, the node-red palette does not enumerate my published library. the published library is public on npmjs. the local usage of this node is ok. the published npm can be installed by np…

---

## [Weather variables - polling state node](https://discourse.nodered.org/t/weather-variables-polling-state-node/14978)

<div class="topic-metadata">

**Author:** [@kitus](https://discourse.nodered.org/u/kitus)\
**Replies:** 14\
**Last updated:** [1 September 2019 16:15 UTC](https://discourse.nodered.org/t/weather-variables-polling-state-node/14978 "2019-09-01T16:15:59Z")

</div>

Hello everyone, I’m trying to refine my first automations with nodered. I am very new to NR :frowning: My automations start with some weather variable meeting a certain condition (rain, wind). I initially thought that …

---

## [Split up numbers](https://discourse.nodered.org/t/split-up-numbers/14987)

<div class="topic-metadata">

**Author:** [@LazzaWA](https://discourse.nodered.org/u/LazzaWA)\
**Replies:** 3\
**Last updated:** [1 September 2019 08:10 UTC](https://discourse.nodered.org/t/split-up-numbers/14987 "2019-09-01T08:10:54Z")

</div>

hi all , i'm looking at getting my snips AI to change my tv channels for me by using a RMpro. I can get snips to send me the correct intent and in node red i can change that message to the parts i need IE: msg.payload.…

---

## [How to scrap with node-red when http request fails?](https://discourse.nodered.org/t/how-to-scrap-with-node-red-when-http-request-fails/14984)

<div class="topic-metadata">

**Author:** [@LucasSaraivaAzevedo](https://discourse.nodered.org/u/LucasSaraivaAzevedo)\
**Replies:** 8\
**Last updated:** [31 August 2019 22:22 UTC](https://discourse.nodered.org/t/how-to-scrap-with-node-red-when-http-request-fails/14984 "2019-08-31T22:22:50Z")

</div>

Hy guys ... I would like to know if there is any method to get the price from this product... The link for the product.. Product Here is my code : \[ { "id": "90fe156d.97b8e8", "type": "inject", …

---

## [Understanding the rbe node](https://discourse.nodered.org/t/understanding-the-rbe-node/14974)

<div class="topic-metadata">

**Author:** [@SeRiusRod](https://discourse.nodered.org/u/SeRiusRod)\
**Replies:** 7\
**Last updated:** [31 August 2019 20:44 UTC](https://discourse.nodered.org/t/understanding-the-rbe-node/14974 "2019-08-31T20:44:09Z")

</div>

I've programmed a flow for turning on and off the TV using node-red-contrib-bravia. Since those nodes don't return a status change and this is a device that often is switched from it's remote, I implemented an automated …

---

## [Thermostat and save config after reboot system](https://discourse.nodered.org/t/thermostat-and-save-config-after-reboot-system/14805)

<div class="topic-metadata">

**Author:** [@Notturno](https://discourse.nodered.org/u/Notturno)\
**Replies:** 13\
**Last updated:** [31 August 2019 13:24 UTC](https://discourse.nodered.org/t/thermostat-and-save-config-after-reboot-system/14805 "2019-08-31T13:24:56Z")

</div>

Hello. Installed Node-Red to work with esp8266 in iot. I want to adjust the heating control according to the set temperature obtained from 18B20, as well as according to the set days and times. Tell me, how can I solve…

---

## [Receive image from remote raspberry pi](https://discourse.nodered.org/t/receive-image-from-remote-raspberry-pi/14938)

<div class="topic-metadata">

**Author:** [@martinschki](https://discourse.nodered.org/u/martinschki)\
**Replies:** 2\
**Last updated:** [31 August 2019 10:30 UTC](https://discourse.nodered.org/t/receive-image-from-remote-raspberry-pi/14938 "2019-08-31T10:30:49Z")

</div>

Hi all, I just finished part one of my doorbell project. I'm using a Raspberry with a push button connected to publish a MQTT topic to my MQTT server which also runs my node red install. For that I'm using https://gith…

---

## [This flow (on one machine) works. On another machine it doesn't](https://discourse.nodered.org/t/this-flow-on-one-machine-works-on-another-machine-it-doesnt/14967)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 16\
**Last updated:** [31 August 2019 07:58 UTC](https://discourse.nodered.org/t/this-flow-on-one-machine-works-on-another-machine-it-doesnt/14967 "2019-08-31T07:58:12Z")

</div>

I have a flow (with non-standard nodes) and it works on "machine A". I have worked out it is easier to export entire flow tabs rather than mess around importing parts. So here is a picture of it on "machine A": It i…

---

## [Crashes after adding an external module](https://discourse.nodered.org/t/crashes-after-adding-an-external-module/14891)

<div class="topic-metadata">

**Author:** [@SeRiusRod](https://discourse.nodered.org/u/SeRiusRod)\
**Replies:** 1\
**Last updated:** [30 August 2019 23:46 UTC](https://discourse.nodered.org/t/crashes-after-adding-an-external-module/14891 "2019-08-30T23:46:12Z")

</div>

I'm trying to add an external module to get signal strengt from my modem. I installed the package while at the same settings folder with: npm install dialog-router-api --save I confirmed the module exists in ./node\_mo…

---

## [Node-red-contrib-ui-sys-loft -- question](https://discourse.nodered.org/t/node-red-contrib-ui-sys-loft-question/14964)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 3\
**Last updated:** [30 August 2019 22:11 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-sys-loft-question/14964 "2019-08-30T22:11:56Z")

</div>

I found that node in the library. The link Opened it and it has a link to a github page but I am not discerning much of a readme file. What does it give?

---

## [How to split like "value in array"](https://discourse.nodered.org/t/how-to-split-like-value-in-array/14923)

<div class="topic-metadata">

**Author:** [@SeRiusRod](https://discourse.nodered.org/u/SeRiusRod)\
**Replies:** 3\
**Last updated:** [30 August 2019 16:28 UTC](https://discourse.nodered.org/t/how-to-split-like-value-in-array/14923 "2019-08-30T16:28:49Z")

</div>

I'n trying to separate one flow depending if one property is included in a set of values or in other. By now it only has two options (two different sets) but today may have more. I'm trying to acomplish this in a functi…

---

## [First flow deploy fail](https://discourse.nodered.org/t/first-flow-deploy-fail/14948)

<div class="topic-metadata">

**Author:** [@jason83](https://discourse.nodered.org/u/jason83)\
**Replies:** 15\
**Last updated:** [30 August 2019 15:46 UTC](https://discourse.nodered.org/t/first-flow-deploy-fail/14948 "2019-08-30T15:46:22Z")

</div>

When creating my first flow with an inject node and a debug node, I connect the two with a wire and when I try to deploy I get the following fail message: "activeProject.isMerging is not a function." Why am I getting t…

---

## [How to block trigger node?](https://discourse.nodered.org/t/how-to-block-trigger-node/14928)

<div class="topic-metadata">

**Author:** [@hathemi](https://discourse.nodered.org/u/hathemi)\
**Replies:** 5\
**Last updated:** [30 August 2019 10:11 UTC](https://discourse.nodered.org/t/how-to-block-trigger-node/14928 "2019-08-30T10:11:55Z")

</div>

i have a trigger node that resend me the existant msg every 1s. Isthere a way to block the sending msg for a limit time ?

---

## [Node Red Installation on Mac](https://discourse.nodered.org/t/node-red-installation-on-mac/14931)

<div class="topic-metadata">

**Author:** [@Avipur](https://discourse.nodered.org/u/Avipur)\
**Replies:** 2\
**Last updated:** [30 August 2019 09:30 UTC](https://discourse.nodered.org/t/node-red-installation-on-mac/14931 "2019-08-30T09:30:07Z")

</div>

Hi All, I am beginner to node. I installed Nodejs and Node Red on my Mac . However when I enter node red command in Terminal. I get following errors. I tried uninstalling and installing but I still continue to get th…

---

## [Help with delay](https://discourse.nodered.org/t/help-with-delay/14767)

<div class="topic-metadata">

**Author:** [@insomniux](https://discourse.nodered.org/u/insomniux)\
**Replies:** 8\
**Last updated:** [30 August 2019 05:37 UTC](https://discourse.nodered.org/t/help-with-delay/14767 "2019-08-30T05:37:26Z")

</div>

I am monitoring main power status in a remote place (using a GSM internet connection) and want that if the power outage takes more than a certain delay, a messages is issued. The system has a battery backup so messages s…

---

## [Stop state change from running within a time window](https://discourse.nodered.org/t/stop-state-change-from-running-within-a-time-window/14900)

<div class="topic-metadata">

**Author:** [@nixdat](https://discourse.nodered.org/u/nixdat)\
**Replies:** 2\
**Last updated:** [30 August 2019 02:16 UTC](https://discourse.nodered.org/t/stop-state-change-from-running-within-a-time-window/14900 "2019-08-30T02:16:09Z")

</div>

Hi There, I'm new to node-red and looking for some pointers. I have looked through the forums but can't seem to find what I'm after. Problem: I have a d1 mini present detector in my car, so when I leave or arrive home …

---

## [Need suggestion on how to proceed web search data retrieval](https://discourse.nodered.org/t/need-suggestion-on-how-to-proceed-web-search-data-retrieval/14650)

<div class="topic-metadata">

**Author:** [@Raj](https://discourse.nodered.org/u/Raj)\
**Replies:** 8\
**Last updated:** [30 August 2019 00:44 UTC](https://discourse.nodered.org/t/need-suggestion-on-how-to-proceed-web-search-data-retrieval/14650 "2019-08-30T00:44:55Z")

</div>

Hi Guys, I have reached a road bump that I have no idea how to solve. I have created a web page using the HTTP endpoint node with the get option, so someone can type localhost:1880/webpage-name to activate that flow, t…

---

## [HTTP in HTTP out nodes to show results from database search](https://discourse.nodered.org/t/http-in-http-out-nodes-to-show-results-from-database-search/14873)

<div class="topic-metadata">

**Author:** [@Raj](https://discourse.nodered.org/u/Raj)\
**Replies:** 4\
**Last updated:** [29 August 2019 19:18 UTC](https://discourse.nodered.org/t/http-in-http-out-nodes-to-show-results-from-database-search/14873 "2019-08-29T19:18:58Z")

</div>

I have various fields from the results of a database search returned in, msg.test1\[0\]xxx where xxx are the field names, the data is in the name, field value notation from the view in debug. How do I mix the information …

---

## [RPI GPIO Error Help](https://discourse.nodered.org/t/rpi-gpio-error-help/14914)

<div class="topic-metadata">

**Author:** [@MNiehaus](https://discourse.nodered.org/u/MNiehaus)\
**Replies:** 5\
**Last updated:** [29 August 2019 18:49 UTC](https://discourse.nodered.org/t/rpi-gpio-error-help/14914 "2019-08-29T18:49:02Z")

</div>

"nrpgio python command not running" Im trying to toggle an LED on/off using inject input w/ rpi gpio node. Im getting that error in the debug line. RPI.GPIO library is installed. Can you guys help..?

---

## [Help Writing My First Function](https://discourse.nodered.org/t/help-writing-my-first-function/14918)

<div class="topic-metadata">

**Author:** [@MNiehaus](https://discourse.nodered.org/u/MNiehaus)\
**Replies:** 6\
**Last updated:** [29 August 2019 17:03 UTC](https://discourse.nodered.org/t/help-writing-my-first-function/14918 "2019-08-29T17:03:16Z")

</div>

I could use some help getting my function to operate correctly. Here is my setup so far: rpi gpio node set up as a button pin input, looking for 1 or 0...This is linked to the email node. You push the button and get an e…

---

## [Help with Formatting payload](https://discourse.nodered.org/t/help-with-formatting-payload/14920)

<div class="topic-metadata">

**Author:** [@Exit2Studios](https://discourse.nodered.org/u/Exit2Studios)\
**Replies:** 0\
**Last updated:** [29 August 2019 16:32 UTC](https://discourse.nodered.org/t/help-with-formatting-payload/14920 "2019-08-29T16:32:20Z")

</div>

I'm trying to use the following flow to control some relays on an Arduino Nano. I sort of understand how the function node is working (I didn't write it), but I'm at a bit of a loss when it comes to bitSet and bitClear …

---

## [Update API endpoint to update a node in Node.RED server without restart](https://discourse.nodered.org/t/update-api-endpoint-to-update-a-node-in-node-red-server-without-restart/14859)

<div class="topic-metadata">

**Author:** [@serardica](https://discourse.nodered.org/u/serardica)\
**Replies:** 4\
**Last updated:** [29 August 2019 15:38 UTC](https://discourse.nodered.org/t/update-api-endpoint-to-update-a-node-in-node-red-server-without-restart/14859 "2019-08-29T15:38:20Z")

</div>

Hi guys! I was wondering if there a way of update a node through an API endpoint. i.e. I have a node already deployed on Node-RED and I perform a change in the html file, I want this change to be displayed without the …

---

## [Problem in enabling projects](https://discourse.nodered.org/t/problem-in-enabling-projects/14913)

<div class="topic-metadata">

**Author:** [@MarcMarc2006](https://discourse.nodered.org/u/MarcMarc2006)\
**Replies:** 11\
**Last updated:** [29 August 2019 15:20 UTC](https://discourse.nodered.org/t/problem-in-enabling-projects/14913 "2019-08-29T15:20:41Z")

</div>

Hi, I am new to node-red and a am learning how to use it but I have a problem. In the node-red site it is written that to enable projects we have to modify the "settings.js" file. I found this file but when i want to op…

---

## [Geo Fences in World Map](https://discourse.nodered.org/t/geo-fences-in-world-map/12401)

<div class="topic-metadata">

**Author:** [@JhazMedina](https://discourse.nodered.org/u/JhazMedina)\
**Replies:** 4\
**Last updated:** [29 August 2019 14:59 UTC](https://discourse.nodered.org/t/geo-fences-in-world-map/12401 "2019-08-29T14:59:36Z")

</div>

Hi everyone, I'm working with worldmap and geofences, is there any way to generate geofences in worldmap and get a reply from the map if my marker is inside or outside the geofence without using the Geofence node/module? …

---

## [Calculate the difference between two times](https://discourse.nodered.org/t/calculate-the-difference-between-two-times/14911)

<div class="topic-metadata">

**Author:** [@hathemi](https://discourse.nodered.org/u/hathemi)\
**Replies:** 1\
**Last updated:** [29 August 2019 14:47 UTC](https://discourse.nodered.org/t/calculate-the-difference-between-two-times/14911 "2019-08-29T14:47:09Z")

</div>

is there a node that can determine the difference between a given time from and current time ? Or, should i need only a function node ?

---

## [Now to add new expression to the expression list?](https://discourse.nodered.org/t/now-to-add-new-expression-to-the-expression-list/14896)

<div class="topic-metadata">

**Author:** [@fangzhu](https://discourse.nodered.org/u/fangzhu)\
**Replies:** 5\
**Last updated:** [29 August 2019 13:44 UTC](https://discourse.nodered.org/t/now-to-add-new-expression-to-the-expression-list/14896 "2019-08-29T13:44:33Z")

</div>

Some core nodes support expressions, such as debug, sort etc. I want to create my own node using similar method, and add my own expressions. Any examples to do that?

---

## [Change node \> Delete from array (JSON)](https://discourse.nodered.org/t/change-node-delete-from-array-json/14559)

<div class="topic-metadata">

**Author:** [@hobojoe720](https://discourse.nodered.org/u/hobojoe720)\
**Replies:** 8\
**Last updated:** [29 August 2019 12:45 UTC](https://discourse.nodered.org/t/change-node-delete-from-array-json/14559 "2019-08-29T12:45:33Z")

</div>

Hey Guys, New to Node-Red so sorry if this is basic. I have a simple flow, that fetches from an API and the result is a JSON object which is summarised below. { "results": \[ {"url": "https://myurl", "id": 1}, …

---

## [Message packages not working as I thought. MQTT](https://discourse.nodered.org/t/message-packages-not-working-as-i-thought-mqtt/14903)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 1\
**Last updated:** [29 August 2019 12:40 UTC](https://discourse.nodered.org/t/message-packages-not-working-as-i-thought-mqtt/14903 "2019-08-29T12:40:18Z")

</div>

I am sending a message via MQTT and things aren't working as I thought. This is an example message I am sending: {"topic":"COMMAND\_REPLY/BedPi","payload":{"payload":"Command fail","device":"COMMAND\_REPLY/BedPi"},"qos":…

---

## [Unable to find exec node](https://discourse.nodered.org/t/unable-to-find-exec-node/14898)

<div class="topic-metadata">

**Author:** [@Chinmay](https://discourse.nodered.org/u/Chinmay)\
**Replies:** 3\
**Last updated:** [29 August 2019 11:50 UTC](https://discourse.nodered.org/t/unable-to-find-exec-node/14898 "2019-08-29T11:50:40Z")

</div>

Sorry, this might be a very naive question. But unfortunately I am unable to figure it out. The problem is that, I have built a dashboard and for now I used the fake data, just to make sure that things work. But now I ne…

---

## [Running on PLC without Internet connection](https://discourse.nodered.org/t/running-on-plc-without-internet-connection/11233)

<div class="topic-metadata">

**Author:** [@Schnatter](https://discourse.nodered.org/u/Schnatter)\
**Replies:** 13\
**Last updated:** [29 August 2019 10:28 UTC](https://discourse.nodered.org/t/running-on-plc-without-internet-connection/11233 "2019-08-29T10:28:27Z")

</div>

I want to run Node-RED on a IPC427E from Siemens, but it has no Internet connection. So I have to copy all files from my PC to the IPC and Node-RED is already running. Now I\`ve copied theProjekt from my PC to the IPC, …

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

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