# General

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

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

**Page:** 685

---

## [SWITCH - trigger on boolean name](https://discourse.nodered.org/t/switch-trigger-on-boolean-name/32886)

<div class="topic-metadata">

**Author:** [@thomkedc](https://discourse.nodered.org/u/thomkedc)\
**Replies:** 2\
**Last updated:** [14 September 2020 18:04 UTC](https://discourse.nodered.org/t/switch-trigger-on-boolean-name/32886 "2020-09-14T18:04:51Z")

</div>

Hi! I'm have the following situation: I have an input node that sends out different booleans: First time it sends this (using debug node): Test1: msg.payload:boolean Second time it sends this (using debug node) Te…

---

## [Problems installing Node-RED npm missing Ubuntu 20.04 (Solved)](https://discourse.nodered.org/t/problems-installing-node-red-npm-missing-ubuntu-20-04-solved/32880)

<div class="topic-metadata">

**Author:** [@mudwalker](https://discourse.nodered.org/u/mudwalker)\
**Replies:** 3\
**Last updated:** [14 September 2020 17:43 UTC](https://discourse.nodered.org/t/problems-installing-node-red-npm-missing-ubuntu-20-04-solved/32880 "2020-09-14T17:43:50Z")

</div>

Hi, I am trying to install Node-RED using the script on my Dell M6700 Lapto running Ubuntu 20.04, however, this is proving to be a challenge. bash \<(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/…

---

## [Function filter](https://discourse.nodered.org/t/function-filter/32869)

<div class="topic-metadata">

**Author:** [@pm.integrator](https://discourse.nodered.org/u/pm.integrator)\
**Replies:** 1\
**Last updated:** [14 September 2020 12:26 UTC](https://discourse.nodered.org/t/function-filter/32869 "2020-09-14T12:26:28Z")

</div>

Salve a tutti, sto iniziando a lavorare con node-red in ambito della building automation, avrei un esigenza che dovrebbe risolversi con un function node, fondamentalmente ho un sistema di domotica (sistema A) con colleg…

---

## [Set GIT User and Email during Login](https://discourse.nodered.org/t/set-git-user-and-email-during-login/32863)

<div class="topic-metadata">

**Author:** [@crackytsi](https://discourse.nodered.org/u/crackytsi)\
**Replies:** 2\
**Last updated:** [14 September 2020 10:56 UTC](https://discourse.nodered.org/t/set-git-user-and-email-during-login/32863 "2020-09-14T10:56:33Z")

</div>

Hi, Is it possible to set the git username/mail during AdminLogin automatically? e.g. If I authenticate with an email using header variable (token), I would like to automatically set the git user-name and email accordi…

---

## [How to define an array and call a specifc value](https://discourse.nodered.org/t/how-to-define-an-array-and-call-a-specifc-value/32862)

<div class="topic-metadata">

**Author:** [@edwardr](https://discourse.nodered.org/u/edwardr)\
**Replies:** 1\
**Last updated:** [14 September 2020 10:31 UTC](https://discourse.nodered.org/t/how-to-define-an-array-and-call-a-specifc-value/32862 "2020-09-14T10:31:23Z")

</div>

Hi guys, This maybe very straight forward but I\`m struggling to format a data array read through a modbus server. I want to refer to msg.payload\[0\] of the array but in doing so I get a response saying the point is un…

---

## [How to build an Jsonata for this switch node?](https://discourse.nodered.org/t/how-to-build-an-jsonata-for-this-switch-node/32836)

<div class="topic-metadata">

**Author:** [@gregor-samosir](https://discourse.nodered.org/u/gregor-samosir)\
**Replies:** 13\
**Last updated:** [14 September 2020 10:07 UTC](https://discourse.nodered.org/t/how-to-build-an-jsonata-for-this-switch-node/32836 "2020-09-14T10:07:16Z")

</div>

Hi, i am new on NR and building up the first flows. Every thing is working, but some points can be made better, I think. One question to start. I have an switch node to select the outputs based on the topics. For now I…

---

## [Injecting Messages on a specific node for building approval workflows](https://discourse.nodered.org/t/injecting-messages-on-a-specific-node-for-building-approval-workflows/32640)

<div class="topic-metadata">

**Author:** [@crackytsi](https://discourse.nodered.org/u/crackytsi)\
**Replies:** 12\
**Last updated:** [14 September 2020 09:48 UTC](https://discourse.nodered.org/t/injecting-messages-on-a-specific-node-for-building-approval-workflows/32640 "2020-09-14T09:48:32Z")

</div>

Hi, I want to build an approval Node object. The idear is, that the node stores the msg object (e.g. in a database) and sends an email to the user. Once the user confirms or makes a decision, this triggers a continue …

---

## [How to merge two large table in two different flow](https://discourse.nodered.org/t/how-to-merge-two-large-table-in-two-different-flow/32860)

<div class="topic-metadata">

**Author:** [@apex](https://discourse.nodered.org/u/apex)\
**Replies:** 0\
**Last updated:** [14 September 2020 09:30 UTC](https://discourse.nodered.org/t/how-to-merge-two-large-table-in-two-different-flow/32860 "2020-09-14T09:30:32Z")

</div>

i have two large table , one from a API call and one from a csv file, i want to merge two into a table.... so far i only figure out i store all the content from 1 csv into variable and restore it in other flow and me…

---

## [File in node no success](https://discourse.nodered.org/t/file-in-node-no-success/32845)

<div class="topic-metadata">

**Author:** [@apex](https://discourse.nodered.org/u/apex)\
**Replies:** 5\
**Last updated:** [14 September 2020 09:16 UTC](https://discourse.nodered.org/t/file-in-node-no-success/32845 "2020-09-14T09:16:10Z")

</div>

can anyone help me about the "File" node? i want to create a file but without success: i have nothing created in the following node \[{"id":"c7780f7b.e52008","type":"inject","z":"11049fd.f81936","name":"","topic":"","p…

---

## [Enabling-projects-feature-missing-git](https://discourse.nodered.org/t/enabling-projects-feature-missing-git/32857)

<div class="topic-metadata">

**Author:** [@Eelco](https://discourse.nodered.org/u/Eelco)\
**Replies:** 0\
**Last updated:** [14 September 2020 09:11 UTC](https://discourse.nodered.org/t/enabling-projects-feature-missing-git/32857 "2020-09-14T09:11:36Z")

</div>

Add-on to https://discourse.nodered.org/t/enabling-projects-feature-missing-git/29317. Perhaps Projects guide can be improved from this experience? Sharing my path. May help others working in Windows 10 Update of node…

---

## [How to run script from node-red?](https://discourse.nodered.org/t/how-to-run-script-from-node-red/32828)

<div class="topic-metadata">

**Author:** [@Zerg](https://discourse.nodered.org/u/Zerg)\
**Replies:** 6\
**Last updated:** [14 September 2020 07:41 UTC](https://discourse.nodered.org/t/how-to-run-script-from-node-red/32828 "2020-09-14T07:41:37Z")

</div>

I have a simple script that restarts the zigbee2mqtt.service The script is located on "Orange pi zero" where is installed the "Node -red". code of script #!/usr/bin/env bash systemctl restart zigbee2mqtt But I can'…

---

## [Dbly-linked-list not working in Electron](https://discourse.nodered.org/t/dbly-linked-list-not-working-in-electron/32668)

<div class="topic-metadata">

**Author:** [@geoffatblacktusk](https://discourse.nodered.org/u/geoffatblacktusk)\
**Replies:** 2\
**Last updated:** [14 September 2020 04:59 UTC](https://discourse.nodered.org/t/dbly-linked-list-not-working-in-electron/32668 "2020-09-14T04:59:59Z")

</div>

I need to remove usage of the node-red-contrib-function-npm node as I am packaging an application that is running offline. I have been using Electron successfully based on the package supplied by dceejay (thankyou) and …

---

## [Counting time of turned on device](https://discourse.nodered.org/t/counting-time-of-turned-on-device/32808)

<div class="topic-metadata">

**Author:** [@Glen36](https://discourse.nodered.org/u/Glen36)\
**Replies:** 3\
**Last updated:** [13 September 2020 22:27 UTC](https://discourse.nodered.org/t/counting-time-of-turned-on-device/32808 "2020-09-13T22:27:37Z")

</div>

Hey Guys, Basically i have a TP link switch that when it turns off i want it to send me a notification (through pushover) telling me how long it was switched on for. I've tried a few different ways with counter nodes wi…

---

## [Backup & migrate](https://discourse.nodered.org/t/backup-migrate/32221)

<div class="topic-metadata">

**Author:** [@koos147](https://discourse.nodered.org/u/koos147)\
**Replies:** 8\
**Last updated:** [13 September 2020 19:24 UTC](https://discourse.nodered.org/t/backup-migrate/32221 "2020-09-13T19:24:07Z")

</div>

Good day, I am currently running a node-red installation for 3 years on a raspberry-pi. i have installed and removed multiple applications (not related to node-red) on this system so it was time to start fresh. I inst…

---

## [Dimming using single push button](https://discourse.nodered.org/t/dimming-using-single-push-button/13502)

<div class="topic-metadata">

**Author:** [@brettlg](https://discourse.nodered.org/u/brettlg)\
**Replies:** 6\
**Last updated:** [13 September 2020 10:46 UTC](https://discourse.nodered.org/t/dimming-using-single-push-button/13502 "2020-09-13T10:46:30Z")

</div>

Hi, I am a newbie to Node Red and loving it. I am trying to achieve a flow for Tuya Dimmers flashed with Tasmota and working with Homeassistant. I am wanting to use another single pushbutton on a seperate Sonoff devic…

---

## [Running python in node-red, passing back a msg](https://discourse.nodered.org/t/running-python-in-node-red-passing-back-a-msg/32673)

<div class="topic-metadata">

**Author:** [@jabrockert](https://discourse.nodered.org/u/jabrockert)\
**Replies:** 60\
**Last updated:** [13 September 2020 13:18 UTC](https://discourse.nodered.org/t/running-python-in-node-red-passing-back-a-msg/32673 "2020-09-13T13:18:09Z")

</div>

I've been all over google for a few days and this forum getting nowhere. I'm working on a raspberry pi 4 8GB, running current Raspbian. Installed node-red and have simple flows working. Have a simple python3 program ru…

---

## [Cannot Install/Remove any Nodes from Palette Manager](https://discourse.nodered.org/t/cannot-install-remove-any-nodes-from-palette-manager/32802)

<div class="topic-metadata">

**Author:** [@Cjkeenan](https://discourse.nodered.org/u/Cjkeenan)\
**Replies:** 21\
**Last updated:** [13 September 2020 09:36 UTC](https://discourse.nodered.org/t/cannot-install-remove-any-nodes-from-palette-manager/32802 "2020-09-13T09:36:16Z")

</div>

Hi I hope someone here can help me. I am trying to install a set of nodes and uninstall another set and they both return similar error. If someone here who has more experience in deciphering the logs, it would be much ap…

---

## [Query modbus registers for SMA Inverter without crash](https://discourse.nodered.org/t/query-modbus-registers-for-sma-inverter-without-crash/32788)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 18\
**Last updated:** [13 September 2020 09:51 UTC](https://discourse.nodered.org/t/query-modbus-registers-for-sma-inverter-without-crash/32788 "2020-09-13T09:51:38Z")

</div>

Hello, I´m trying to query my SMA Inverters. When I query 2-4 values, the modbus server crashes always (i tried both Inverters). the poll rate is 10s I think the problem could be that nodered queries them all at o…

---

## [Saving a status and using it in a function node](https://discourse.nodered.org/t/saving-a-status-and-using-it-in-a-function-node/32806)

<div class="topic-metadata">

**Author:** [@pawihd](https://discourse.nodered.org/u/pawihd)\
**Replies:** 2\
**Last updated:** [13 September 2020 08:56 UTC](https://discourse.nodered.org/t/saving-a-status-and-using-it-in-a-function-node/32806 "2020-09-13T08:56:05Z")

</div>

Hi, node-red looks so simple and does already a lot for me. But now things get complicated. I have a window which should be opened and closed in relation to the temperature in the room. So i have a function node whi…

---

## [GPIO not control External Relè](https://discourse.nodered.org/t/gpio-not-control-external-rele/32795)

<div class="topic-metadata">

**Author:** [@sjpagan](https://discourse.nodered.org/u/sjpagan)\
**Replies:** 4\
**Last updated:** [13 September 2020 08:51 UTC](https://discourse.nodered.org/t/gpio-not-control-external-rele/32795 "2020-09-13T08:51:16Z")

</div>

Hi all, i have little problem with nodered, i think the problem is the configuration i am using. i have a relay that activates with 0V, and even using a BC337 i can't get it energized. it seems to go the loop regardles…

---

## [Dummy Question: Use URL Link](https://discourse.nodered.org/t/dummy-question-use-url-link/32787)

<div class="topic-metadata">

**Author:** [@corin.corvus](https://discourse.nodered.org/u/corin.corvus)\
**Replies:** 1\
**Last updated:** [12 September 2020 18:12 UTC](https://discourse.nodered.org/t/dummy-question-use-url-link/32787 "2020-09-12T18:12:21Z")

</div>

Hi, i build a IR Remote with an Arduino. Now i can use the Webgui or URL Links to trigger IR Codes in my Room for the TV or my very old not smart Kenwood AMP. The State (On or Off) i get with a socket with watt messure…

---

## [Trigger from / with url](https://discourse.nodered.org/t/trigger-from-with-url/11060)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 14\
**Last updated:** [12 September 2020 17:53 UTC](https://discourse.nodered.org/t/trigger-from-with-url/11060 "2020-09-12T17:53:15Z")

</div>

Hi! Can i trigger a node-red flow with just calling an url? Just like 127.0.0.1:1880/some\_url and the start a flow Thanks!

---

## [Asure write in Mysql VPS if connection loss](https://discourse.nodered.org/t/asure-write-in-mysql-vps-if-connection-loss/32768)

<div class="topic-metadata">

**Author:** [@Jotarod](https://discourse.nodered.org/u/Jotarod)\
**Replies:** 9\
**Last updated:** [12 September 2020 15:50 UTC](https://discourse.nodered.org/t/asure-write-in-mysql-vps-if-connection-loss/32768 "2020-09-12T15:50:39Z")

</div>

Hello!! I would like develop something but i dont have idea What could be the right way. I am collenting data in a local network with vps and writing in a csv. Now, I would like send that data to Mysql in VPS at same …

---

## [Modbus Data correctly read out](https://discourse.nodered.org/t/modbus-data-correctly-read-out/32776)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 5\
**Last updated:** [12 September 2020 14:00 UTC](https://discourse.nodered.org/t/modbus-data-correctly-read-out/32776 "2020-09-12T14:00:49Z")

</div>

Hi, I want to read out some Data from my Inverters (SMA) over modbus tcp, it works but I get a "0" in front of the value: 0, 2695 I only need the second value: 2695 (W). In a windows app is the same: +0: 0 +1: …

---

## [Python. node red](https://discourse.nodered.org/t/python-node-red/32772)

<div class="topic-metadata">

**Author:** [@HenryG](https://discourse.nodered.org/u/HenryG)\
**Replies:** 7\
**Last updated:** [12 September 2020 07:23 UTC](https://discourse.nodered.org/t/python-node-red/32772 "2020-09-12T07:23:06Z")

</div>

Hey all, I'm struggling to pass an output of either "Rain" or "No Rain" from my python script. It predicts either those outputs by input the temp, humidity and wind speed. Currently I'm using python to communicate to no…

---

## [Is there a way to dynamically enable nodes in a flow](https://discourse.nodered.org/t/is-there-a-way-to-dynamically-enable-nodes-in-a-flow/32770)

<div class="topic-metadata">

**Author:** [@shanajira](https://discourse.nodered.org/u/shanajira)\
**Replies:** 1\
**Last updated:** [12 September 2020 06:45 UTC](https://discourse.nodered.org/t/is-there-a-way-to-dynamically-enable-nodes-in-a-flow/32770 "2020-09-12T06:45:40Z")

</div>

Is there a way to enable or disable certain nodes in a flow, based on msg.payload? or some other string? My intended flow is like this: Node1 (dropdown from node red UI dashboard's node) Based on what is selected in t…

---

## [HTTP Post Image image](https://discourse.nodered.org/t/http-post-image-image/32669)

<div class="topic-metadata">

**Author:** [@kceleslie](https://discourse.nodered.org/u/kceleslie)\
**Replies:** 3\
**Last updated:** [12 September 2020 00:58 UTC](https://discourse.nodered.org/t/http-post-image-image/32669 "2020-09-12T00:58:49Z")

</div>

I'm trying to create a flow that will upload an image to pushbullet. The pushbullet APi has 2 parts for uploading an image. I have the first part working, but cannot seem to get the image upload to work correctly. I've c…

---

## [How to deployer app node red in local computer](https://discourse.nodered.org/t/how-to-deployer-app-node-red-in-local-computer/32704)

<div class="topic-metadata">

**Author:** [@hassengh](https://discourse.nodered.org/u/hassengh)\
**Replies:** 7\
**Last updated:** [11 September 2020 23:38 UTC](https://discourse.nodered.org/t/how-to-deployer-app-node-red-in-local-computer/32704 "2020-09-11T23:38:53Z")

</div>

hello , I want deployer my project node red on my server (local computer ) I need your help

---

## [Fontawesome icon not appearing in flows.nodered.org](https://discourse.nodered.org/t/fontawesome-icon-not-appearing-in-flows-nodered-org/32748)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 10\
**Last updated:** [11 September 2020 21:39 UTC](https://discourse.nodered.org/t/fontawesome-icon-not-appearing-in-flows-nodered-org/32748 "2020-09-11T21:39:18Z")

</div>

Hi folks, I got an issue on Github that the icon of my node is not appearing on flows.nodered.org: If found out that this is the case for all my nodes that use a FontAwesome icon, like this: ... outputs: 1, icon: "f…

---

## [Anyone using cec-client via exec node, seen segmentation faults?](https://discourse.nodered.org/t/anyone-using-cec-client-via-exec-node-seen-segmentation-faults/32766)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 0\
**Last updated:** [11 September 2020 20:50 UTC](https://discourse.nodered.org/t/anyone-using-cec-client-via-exec-node-seen-segmentation-faults/32766 "2020-09-11T20:50:33Z")

</div>

Just to set the expectation, this is not a ding against the exec node or NR, but I have had a couple of flows that drive cec-client commands for 2 months or so working fine, in fact some of the very first NR flows I did,…

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

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