# General

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

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

**Page:** 781

---

## [Custom node to run on hour or half hour](https://discourse.nodered.org/t/custom-node-to-run-on-hour-or-half-hour/23104)

<div class="topic-metadata">

**Author:** [@borpin](https://discourse.nodered.org/u/borpin)\
**Replies:** 16\
**Last updated:** [18 March 2020 17:01 UTC](https://discourse.nodered.org/t/custom-node-to-run-on-hour-or-half-hour/23104 "2020-03-18T17:01:10Z")

</div>

I've written a custom node to make an API call every 30 minutes. I have some code to make it only run once within the half hour period but I cannot find a way of triggering it on the hour/half hour. What is the best way…

---

## [Projects / github](https://discourse.nodered.org/t/projects-github/23251)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 2\
**Last updated:** [18 March 2020 10:33 UTC](https://discourse.nodered.org/t/projects-github/23251 "2020-03-18T10:33:19Z")

</div>

Playing around with git ia have many questions :wink: But most hard for now are a. how or were do i set git remote? In older post i see this option on the tab but cannot find it now b. is it possible to protect you fl…

---

## [Publishing to a wildcard MQTT topic disconnects all MQTT nodes](https://discourse.nodered.org/t/publishing-to-a-wildcard-mqtt-topic-disconnects-all-mqtt-nodes/23244)

<div class="topic-metadata">

**Author:** [@techraf](https://discourse.nodered.org/u/techraf)\
**Replies:** 1\
**Last updated:** [18 March 2020 08:50 UTC](https://discourse.nodered.org/t/publishing-to-a-wildcard-mqtt-topic-disconnects-all-mqtt-nodes/23244 "2020-03-18T08:50:22Z")

</div>

While playing with MQTT in Node-RED, I accidentally configured an mqtt out node to publish to a topic with a wildcard: topic/+. \[{"id":"ca140429.24cef8","type":"inject","z":"3ac27de3.268a52","name":"","topic":"topic/+",…

---

## [From node red to button in HA Lovelace](https://discourse.nodered.org/t/from-node-red-to-button-in-ha-lovelace/23250)

<div class="topic-metadata">

**Author:** [@Henryjo59](https://discourse.nodered.org/u/Henryjo59)\
**Replies:** 0\
**Last updated:** [17 March 2020 21:25 UTC](https://discourse.nodered.org/t/from-node-red-to-button-in-ha-lovelace/23250 "2020-03-17T21:25:14Z")

</div>

I am very new at HA and node red and could really use a little help after trying countless possibilities and searching the web , I would like to end up with a wall tablet to control my aircon in terms of degrees and th…

---

## [How to delete all retained messages from MQTT subtopic?](https://discourse.nodered.org/t/how-to-delete-all-retained-messages-from-mqtt-subtopic/23200)

<div class="topic-metadata">

**Author:** [@techraf](https://discourse.nodered.org/u/techraf)\
**Replies:** 10\
**Last updated:** [18 March 2020 08:44 UTC](https://discourse.nodered.org/t/how-to-delete-all-retained-messages-from-mqtt-subtopic/23200 "2020-03-18T08:44:44Z")

</div>

Is there a way to remove all retained messages under a subtopic from (i.e. using) Red-NODE? \[{"id":"891248f8.835ea8","type":"mqtt out","z":"fc382e1f.ee08d","name":"","topic":"","qos":"2","retain":"true","broker":"7057…

---

## [Http get token fail](https://discourse.nodered.org/t/http-get-token-fail/23257)

<div class="topic-metadata">

**Author:** [@apex](https://discourse.nodered.org/u/apex)\
**Replies:** 2\
**Last updated:** [18 March 2020 07:27 UTC](https://discourse.nodered.org/t/http-get-token-fail/23257 "2020-03-18T07:27:26Z")

</div>

HI i am new to nodered and api backend programming. I am trying to do a HTTP get to get someresult from my application API (i was able to do it in postman) i test few day and read thru some topic but still cannot able…

---

## [Filter Objects from BLE Beacon scanner](https://discourse.nodered.org/t/filter-objects-from-ble-beacon-scanner/23149)

<div class="topic-metadata">

**Author:** [@MasterOfPuppets](https://discourse.nodered.org/u/MasterOfPuppets)\
**Replies:** 10\
**Last updated:** [17 March 2020 23:40 UTC](https://discourse.nodered.org/t/filter-objects-from-ble-beacon-scanner/23149 "2020-03-17T23:40:36Z")

</div>

Hello Guys, I use Node-Red on a Raspberry Pi 3 and i want to Read out Typrepressure Sensors via BLE. So i decided to use the node "BLE Bacon Scanner": The output gives me many messages from many BLE devices in the d…

---

## [Automatically update a Linux firewall (ufw) with DNS look up results](https://discourse.nodered.org/t/automatically-update-a-linux-firewall-ufw-with-dns-look-up-results/22955)

<div class="topic-metadata">

**Author:** [@nodecentral](https://discourse.nodered.org/u/nodecentral)\
**Replies:** 23\
**Last updated:** [17 March 2020 21:22 UTC](https://discourse.nodered.org/t/automatically-update-a-linux-firewall-ufw-with-dns-look-up-results/22955 "2020-03-17T21:22:19Z")

</div>

Perhaps a long shot, but it seems that the firewall rules (ufw) on a Debian Linux set up does not support domain names - only IP addresses. , Could anyone recommend or even provide a way to use the results of a ‘domain …

---

## [Node red doesn't run](https://discourse.nodered.org/t/node-red-doesnt-run/23241)

<div class="topic-metadata">

**Author:** [@aabbas](https://discourse.nodered.org/u/aabbas)\
**Replies:** 2\
**Last updated:** [17 March 2020 21:16 UTC](https://discourse.nodered.org/t/node-red-doesnt-run/23241 "2020-03-17T21:16:38Z")

</div>

Hi Node red launch when I write sudo node-red-start but doesn't launch with node-red-start. I get this message. have an idea please. Thank you nodered.service: Service RestartSec=100ms expired, scheduling restart. no…

---

## [Cron Plus help send payload topic](https://discourse.nodered.org/t/cron-plus-help-send-payload-topic/23223)

<div class="topic-metadata">

**Author:** [@junoprima](https://discourse.nodered.org/u/junoprima)\
**Replies:** 6\
**Last updated:** [17 March 2020 21:11 UTC](https://discourse.nodered.org/t/cron-plus-help-send-payload-topic/23223 "2020-03-17T21:11:58Z")

</div>

Cron Plus can possible to send message like object or flow I try to send message like object type to payload but it return string \[object , object\] \[{"id":"d6c53c4.d0eb34","type":"inject","z":"442af5ca.cd920c","name"…

---

## [How to display CCTV camera in dashboard (RTSP)](https://discourse.nodered.org/t/how-to-display-cctv-camera-in-dashboard-rtsp/5860)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 169\
**Last updated:** [17 March 2020 19:32 UTC](https://discourse.nodered.org/t/how-to-display-cctv-camera-in-dashboard-rtsp/5860 "2020-03-17T19:32:16Z")

</div>

So far I've been able to use VLC on my Windows laptop to decode and stream an RTSP stream directly from my HikVision cameras. The command to run VLC to do this is vlc.exe -R rtsp://admin:password@10.4.5.24:554/Streaming…

---

## [Help with function, please](https://discourse.nodered.org/t/help-with-function-please/5103)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 14\
**Last updated:** [17 March 2020 19:13 UTC](https://discourse.nodered.org/t/help-with-function-please/5103 "2020-03-17T19:13:03Z")

</div>

Found it- see my next message... I am trying to send data to a Home Assistant Call Service Node. Here is what the info tab shows for the node: Node Help Call a Home Assistant service Inputs payload.domain strin…

---

## [Community Project - hand washing reminder (suggestions wanted)](https://discourse.nodered.org/t/community-project-hand-washing-reminder-suggestions-wanted/22579)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 31\
**Last updated:** [17 March 2020 17:29 UTC](https://discourse.nodered.org/t/community-project-hand-washing-reminder-suggestions-wanted/22579 "2020-03-17T17:29:05Z")

</div>

With the corona virus in the news everywhere, my daughter asked me to come up with a way to remind her kids - and anyone else who comes in the house - to go wash their hands. I was thinking of a Pi with a camera and som…

---

## [Spark plug to Mosquitto Broker - Issues](https://discourse.nodered.org/t/spark-plug-to-mosquitto-broker-issues/23209)

<div class="topic-metadata">

**Author:** [@NC16](https://discourse.nodered.org/u/NC16)\
**Replies:** 6\
**Last updated:** [17 March 2020 17:11 UTC](https://discourse.nodered.org/t/spark-plug-to-mosquitto-broker-issues/23209 "2020-03-17T17:11:19Z")

</div>

So I'm wondering Node Red can support what I am trying to achieve, or if I should resort to writing this in python. I currently am running Node Red on a BeagleBone, using it for data collection. I am trying to create a g…

---

## [Nodes with internal variables and "context"](https://discourse.nodered.org/t/nodes-with-internal-variables-and-context/23205)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 9\
**Last updated:** [17 March 2020 16:15 UTC](https://discourse.nodered.org/t/nodes-with-internal-variables-and-context/23205 "2020-03-17T16:15:09Z")

</div>

In the editor screen you can see any context data for nodes using the context mode - top right of window - either by clicking on the icon or selecting it from the menu. This works for function nodes, but it doesn't wo…

---

## [Email Attachament](https://discourse.nodered.org/t/email-attachament/23190)

<div class="topic-metadata">

**Author:** [@salgado](https://discourse.nodered.org/u/salgado)\
**Replies:** 2\
**Last updated:** [17 March 2020 16:03 UTC](https://discourse.nodered.org/t/email-attachament/23190 "2020-03-17T16:03:55Z")

</div>

Hi there, I am a starter programmer in Node-Red and I am trying to send an email with a attachament with the node "Node-Red-Node-Email" but I don't understand how use the msg.attachament to do this. Could you help me w…

---

## [Passing multiple args to exec node](https://discourse.nodered.org/t/passing-multiple-args-to-exec-node/22671)

<div class="topic-metadata">

**Author:** [@singhkpratham](https://discourse.nodered.org/u/singhkpratham)\
**Replies:** 14\
**Last updated:** [17 March 2020 15:35 UTC](https://discourse.nodered.org/t/passing-multiple-args-to-exec-node/22671 "2020-03-17T15:35:56Z")

</div>

Hello, I have a python script, which expects 2 arguments. MQTT Topic and Payload. Using exec node, I am able to send the 'Payload', but I also need to send msg.topic to the script. I have tried a lot, using msg.topic …

---

## [Start above and send message if below](https://discourse.nodered.org/t/start-above-and-send-message-if-below/23170)

<div class="topic-metadata">

**Author:** [@florianmulatz](https://discourse.nodered.org/u/florianmulatz)\
**Replies:** 17\
**Last updated:** [17 March 2020 13:51 UTC](https://discourse.nodered.org/t/start-above-and-send-message-if-below/23170 "2020-03-17T13:51:32Z")

</div>

Hi Guys, I want to have a flow which tells via Alexa-Routine that the room humidty in bathroom drops below 50% (to remember me to close the window after daily showering) but only if it was higher before. To be honest I…

---

## [Node Red IKEa Tradfri dropout](https://discourse.nodered.org/t/node-red-ikea-tradfri-dropout/23227)

<div class="topic-metadata">

**Author:** [@orandaadnaro](https://discourse.nodered.org/u/orandaadnaro)\
**Replies:** 0\
**Last updated:** [17 March 2020 11:13 UTC](https://discourse.nodered.org/t/node-red-ikea-tradfri-dropout/23227 "2020-03-17T11:13:16Z")

</div>

I've been using Raspberry Pi 4 with Node Red managing IKEA tradri lights and switches for the past 6 months. As well as lighting I get data passed to Grafana for my solar panels, central heating and weather from Darksky. …

---

## [Email succeeds on one server but fails on other](https://discourse.nodered.org/t/email-succeeds-on-one-server-but-fails-on-other/23213)

<div class="topic-metadata">

**Author:** [@faisalchishti](https://discourse.nodered.org/u/faisalchishti)\
**Replies:** 2\
**Last updated:** [17 March 2020 10:05 UTC](https://discourse.nodered.org/t/email-succeeds-on-one-server-but-fails-on-other/23213 "2020-03-17T10:05:29Z")

</div>

We are using Docker and one of my flow uses node-red-node-email node to send out an email after a certain action. The email node works good in our dev environment but does not work in production (Same image is pushed to …

---

## [How to send and receive TCP/IP messages](https://discourse.nodered.org/t/how-to-send-and-receive-tcp-ip-messages/23208)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 4\
**Last updated:** [17 March 2020 09:57 UTC](https://discourse.nodered.org/t/how-to-send-and-receive-tcp-ip-messages/23208 "2020-03-17T09:57:00Z")

</div>

Hello, I haven't used the TCP nodes yet and I was wondering if someone could help me get started. I want low level control of my media server, which runs Squeezeserver / Logitech Media Server. Here's the CLI reference. …

---

## [Good way to duplicate flow for multiple, almost identical devices](https://discourse.nodered.org/t/good-way-to-duplicate-flow-for-multiple-almost-identical-devices/23191)

<div class="topic-metadata">

**Author:** [@m\_elias](https://discourse.nodered.org/u/m_elias)\
**Replies:** 12\
**Last updated:** [17 March 2020 09:30 UTC](https://discourse.nodered.org/t/good-way-to-duplicate-flow-for-multiple-almost-identical-devices/23191 "2020-03-17T09:30:57Z")

</div>

I have an application for a join node, which needs to be duplicated for a dozen identical flows (except one branch of their mqtt topic is unique). farm/fans/\[device1:device2:etc\]/cmd/# \[{"id":"53f6c7f2.440858","type"…

---

## [Help for a newbie](https://discourse.nodered.org/t/help-for-a-newbie/23211)

<div class="topic-metadata">

**Author:** [@shuri1](https://discourse.nodered.org/u/shuri1)\
**Replies:** 1\
**Last updated:** [17 March 2020 09:29 UTC](https://discourse.nodered.org/t/help-for-a-newbie/23211 "2020-03-17T09:29:47Z")

</div>

So i have what i consider to be a very simple situation.... I want to receive data through an http request....try and send it out, and if for some reason it fails, queue so i can send it later. So i thought it made sen…

---

## [Auto install packages using package.json](https://discourse.nodered.org/t/auto-install-packages-using-package-json/23135)

<div class="topic-metadata">

**Author:** [@IoTPlay](https://discourse.nodered.org/u/IoTPlay)\
**Replies:** 4\
**Last updated:** [17 March 2020 08:56 UTC](https://discourse.nodered.org/t/auto-install-packages-using-package-json/23135 "2020-03-17T08:56:45Z")

</div>

Hi, I am still busy with a CD/CI config. I do dev on Docker on Mac - push the flows.json etc back top github, then want to install - without Projects - on RPi. In this port of Nic creating-a-node-red-deployment-pipeline…

---

## [Adding Items to User Settings](https://discourse.nodered.org/t/adding-items-to-user-settings/23078)

<div class="topic-metadata">

**Author:** [@vlagnar](https://discourse.nodered.org/u/vlagnar)\
**Replies:** 3\
**Last updated:** [17 March 2020 07:55 UTC](https://discourse.nodered.org/t/adding-items-to-user-settings/23078 "2020-03-17T07:55:24Z")

</div>

Is there anyone who can point me in a direction on how to add items to the "User Settings" editor menu within Node-red? (or a custom menu like "User Settings"). I am specifically trying to add some items that I can use …

---

## [Visual ambiguity of connection points](https://discourse.nodered.org/t/visual-ambiguity-of-connection-points/23186)

<div class="topic-metadata">

**Author:** [@tb4450](https://discourse.nodered.org/u/tb4450)\
**Replies:** 27\
**Last updated:** [16 March 2020 17:58 UTC](https://discourse.nodered.org/t/visual-ambiguity-of-connection-points/23186 "2020-03-16T17:58:37Z")

</div>

When pasting a node and then dragging it over a connecting line that line becomes dashed to indicate that the node will be "interconnected" to that line. But sometimes I seem to move the mouse in an awkward way so that …

---

## [Populate Array and display through template node](https://discourse.nodered.org/t/populate-array-and-display-through-template-node/23188)

<div class="topic-metadata">

**Author:** [@Laura](https://discourse.nodered.org/u/Laura)\
**Replies:** 2\
**Last updated:** [16 March 2020 16:22 UTC](https://discourse.nodered.org/t/populate-array-and-display-through-template-node/23188 "2020-03-16T16:22:08Z")

</div>

Hi there, Is it possible to populate an empty array in a function node - in a way that it looks like: {array: \["example1", "example2"\]} So far I only managed to do something like this: var array= var v1 = ""; var v…

---

## [Change data in inject](https://discourse.nodered.org/t/change-data-in-inject/23161)

<div class="topic-metadata">

**Author:** [@Mastin](https://discourse.nodered.org/u/Mastin)\
**Replies:** 2\
**Last updated:** [16 March 2020 15:59 UTC](https://discourse.nodered.org/t/change-data-in-inject/23161 "2020-03-16T15:59:06Z")

</div>

Hello, sorry if this does not go here, but I am very new to this. I have a doubt that I have not been able to solve by myself. I have an inject to a "socketcan -in" as I show in the attachment. that inject sends thi…

---

## [Install node red](https://discourse.nodered.org/t/install-node-red/23157)

<div class="topic-metadata">

**Author:** [@DemonKing](https://discourse.nodered.org/u/DemonKing)\
**Replies:** 7\
**Last updated:** [16 March 2020 15:12 UTC](https://discourse.nodered.org/t/install-node-red/23157 "2020-03-16T15:12:42Z")

</div>

How to install node red on particular directory on windows? eg npm install D:\\abc\\def\\Node-red --unsafe-perm node-red its not working please let me know how to do that thanks

---

## [Digital State Machine Graphic Design](https://discourse.nodered.org/t/digital-state-machine-graphic-design/23131)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 12\
**Last updated:** [16 March 2020 15:06 UTC](https://discourse.nodered.org/t/digital-state-machine-graphic-design/23131 "2020-03-16T15:06:27Z")

</div>

I suppose this is actually off topic, but I am looking for a graphic design aid for designing DSMs (which will be implemented using node-red-contrib-dsm). So I am looking for something that will let me layout shapes wit…

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

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