# General

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

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

**Page:** 419

---

## [Unable to get audio out of 3.5mm jack](https://discourse.nodered.org/t/unable-to-get-audio-out-of-3-5mm-jack/58580)

<div class="topic-metadata">

**Author:** [@mark.lucas](https://discourse.nodered.org/u/mark.lucas)\
**Replies:** 19\
**Last updated:** [20 February 2022 11:40 UTC](https://discourse.nodered.org/t/unable-to-get-audio-out-of-3-5mm-jack/58580 "2022-02-20T11:40:51Z")

</div>

Hi All, I'm sure this is a fairly common issue, however, I am unable to find a solution. I am trying to create a warning system using node red (raspberry pi) and a two way radio. I cant get the speakerpi node to work …

---

## [No payload returned](https://discourse.nodered.org/t/no-payload-returned/58680)

<div class="topic-metadata">

**Author:** [@podi62](https://discourse.nodered.org/u/podi62)\
**Replies:** 2\
**Last updated:** [20 February 2022 11:20 UTC](https://discourse.nodered.org/t/no-payload-returned/58680 "2022-02-20T11:20:25Z")

</div>

I'm trying to create a histogram like structure using the function below but can't get ti return any payload. Any ideas? var Hy64={}; var arr\[\]; for (j=1;j\<129; j+=2) { Hy64.labels\[j\]=j; Hy64.labels\[j+1\]=j; ar…

---

## [Transfer energy prices from API to Node-red to Grafana (European Commission Infrastructure Forum)](https://discourse.nodered.org/t/transfer-energy-prices-from-api-to-node-red-to-grafana-european-commission-infrastructure-forum/11328)

<div class="topic-metadata">

**Author:** [@ole88](https://discourse.nodered.org/u/ole88)\
**Replies:** 4\
**Last updated:** [20 February 2022 07:51 UTC](https://discourse.nodered.org/t/transfer-energy-prices-from-api-to-node-red-to-grafana-european-commission-infrastructure-forum/11328 "2022-02-20T07:51:31Z")

</div>

Hi. I was wondering if anyone could help me set up a graph of Day-ahed prices. I have influxdb, grafana running, and node-red. I primary need help with configure the url to get a correct xml file to node-red. Day ahed …

---

## [What is wrong with this function code?](https://discourse.nodered.org/t/what-is-wrong-with-this-function-code/58672)

<div class="topic-metadata">

**Author:** [@LosinIt](https://discourse.nodered.org/u/LosinIt)\
**Replies:** 2\
**Last updated:** [20 February 2022 03:46 UTC](https://discourse.nodered.org/t/what-is-wrong-with-this-function-code/58672 "2022-02-20T03:46:22Z")

</div>

From everything I've been able to find this code in a function in a subflow should produce 2 output connectors, the 2nd for the subflow status to connect to. But there is only 1 connector. if (isNaN(msg.payload)) { …

---

## [How to get subflow's parent's flow variable value where the flow variable can change](https://discourse.nodered.org/t/how-to-get-subflows-parents-flow-variable-value-where-the-flow-variable-can-change/58655)

<div class="topic-metadata">

**Author:** [@hepcat72](https://discourse.nodered.org/u/hepcat72)\
**Replies:** 12\
**Last updated:** [20 February 2022 00:54 UTC](https://discourse.nodered.org/t/how-to-get-subflows-parents-flow-variable-value-where-the-flow-variable-can-change/58655 "2022-02-20T00:54:53Z")

</div>

I keep the power states of some lights in flow variables, for example: flow.garageeavelights flow.backyardfloowlight flow.drivewayflood And I have a number of switch nodes that use jsonata to see if the saved value dif…

---

## [Subflow $ENV variable names feature request](https://discourse.nodered.org/t/subflow-env-variable-names-feature-request/58636)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [19 February 2022 21:22 UTC](https://discourse.nodered.org/t/subflow-env-variable-names-feature-request/58636 "2022-02-19T21:22:10Z")

</div>

Subflows have an option to have $ENV variables set and used. But unless you read the documentation - and that it is correct - you may miss one. An option to make required $ENV variable names shown by Default when set. …

---

## [Extract data from msg.payload.response](https://discourse.nodered.org/t/extract-data-from-msg-payload-response/58664)

<div class="topic-metadata">

**Author:** [@old-hell](https://discourse.nodered.org/u/old-hell)\
**Replies:** 4\
**Last updated:** [19 February 2022 20:25 UTC](https://discourse.nodered.org/t/extract-data-from-msg-payload-response/58664 "2022-02-19T20:25:31Z")

</div>

Hi, Id like to extract an integer from a msg.payload.response I just need the power data. tried many functions, but don't get it. can someone help me out here? this is the payload result: { "power": 3.037565, "rela…

---

## [Stop message payload from repeatedly sending](https://discourse.nodered.org/t/stop-message-payload-from-repeatedly-sending/58660)

<div class="topic-metadata">

**Author:** [@Luminary](https://discourse.nodered.org/u/Luminary)\
**Replies:** 1\
**Last updated:** [19 February 2022 20:00 UTC](https://discourse.nodered.org/t/stop-message-payload-from-repeatedly-sending/58660 "2022-02-19T20:00:31Z")

</div>

Hello all, I'm new to node red (and code in general), and I could use some tips on this one. We have a sauna with a temperature sensor inside that's hooked up to our Home Assistant. I have an events state node set up to …

---

## [How to initiate very first message from telegram bot? Where a user never chatted/interacted with that bot](https://discourse.nodered.org/t/how-to-initiate-very-first-message-from-telegram-bot-where-a-user-never-chatted-interacted-with-that-bot/58647)

<div class="topic-metadata">

**Author:** [@RavinderSingh13](https://discourse.nodered.org/u/RavinderSingh13)\
**Replies:** 6\
**Last updated:** [19 February 2022 16:32 UTC](https://discourse.nodered.org/t/how-to-initiate-very-first-message-from-telegram-bot-where-a-user-never-chatted-interacted-with-that-bot/58647 "2022-02-19T16:32:50Z")

</div>

Hello All, Greetings!! I am coming across a requirement where I need to initiate messages to user(s) without their first interaction(NOT even once they interacted with BOT I mean) they should receive messages send by my…

---

## [Mqtt data to Domoticz IDX](https://discourse.nodered.org/t/mqtt-data-to-domoticz-idx/58476)

<div class="topic-metadata">

**Author:** [@Smitex](https://discourse.nodered.org/u/Smitex)\
**Replies:** 11\
**Last updated:** [19 February 2022 15:24 UTC](https://discourse.nodered.org/t/mqtt-data-to-domoticz-idx/58476 "2022-02-19T15:24:04Z")

</div>

Hi, I want to inport data from MQTT to a certain IDX in Domoticz this is wat I read in MQTT Explorer, Topïc FlowA { "devices": "A", "payload": { "Input": 23,12; "Output": 23,18 "Flow": 0.19; "Watt":-50,17 } …

---

## [Node-red-contrib-dynamic-thermostat switch state?](https://discourse.nodered.org/t/node-red-contrib-dynamic-thermostat-switch-state/58648)

<div class="topic-metadata">

**Author:** [@magicman](https://discourse.nodered.org/u/magicman)\
**Replies:** 2\
**Last updated:** [19 February 2022 14:15 UTC](https://discourse.nodered.org/t/node-red-contrib-dynamic-thermostat-switch-state/58648 "2022-02-19T14:15:45Z")

</div>

i am attempting to use this dynamic thermostat with a underfloor heating project but in testing found that whenever i update the current it changes the switch state to true thereby locking the output on. the yellow l…

---

## [Getting an error related to telegram receiver node](https://discourse.nodered.org/t/getting-an-error-related-to-telegram-receiver-node/58594)

<div class="topic-metadata">

**Author:** [@RavinderSingh13](https://discourse.nodered.org/u/RavinderSingh13)\
**Replies:** 16\
**Last updated:** [19 February 2022 13:09 UTC](https://discourse.nodered.org/t/getting-an-error-related-to-telegram-receiver-node/58594 "2022-02-19T13:09:57Z")

</div>

Hello Experts, I have newly installed node-red in Ubuntu 20 OS successfully. I have installed node-red-contrib-telegrambot package from npm too. But when I am simply importing "receiver" node of teelgram its keep giving…

---

## [Multi-user suggestions/thoughts](https://discourse.nodered.org/t/multi-user-suggestions-thoughts/58639)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 1\
**Last updated:** [19 February 2022 11:55 UTC](https://discourse.nodered.org/t/multi-user-suggestions-thoughts/58639 "2022-02-19T11:55:53Z")

</div>

Ok, I know SFA about a lot of it, but as an external perspective. Could there be something like a global.context which is set to different levels of access to the nodes. Then, as users log in that global.context is set…

---

## [Node red and snapshots](https://discourse.nodered.org/t/node-red-and-snapshots/58643)

<div class="topic-metadata">

**Author:** [@pilou8830](https://discourse.nodered.org/u/pilou8830)\
**Replies:** 1\
**Last updated:** [19 February 2022 11:30 UTC](https://discourse.nodered.org/t/node-red-and-snapshots/58643 "2022-02-19T11:30:05Z")

</div>

hello is it possible to have images or fluw in notification on my smartphone, via node red? I have an ESP32-CAM type camera (see photo) and I installed ESPhome addon I am a Home Assistant Supervisor. I tried severa…

---

## [CSV input - publish MQTT topics](https://discourse.nodered.org/t/csv-input-publish-mqtt-topics/58632)

<div class="topic-metadata">

**Author:** [@trialnerror](https://discourse.nodered.org/u/trialnerror)\
**Replies:** 5\
**Last updated:** [19 February 2022 11:21 UTC](https://discourse.nodered.org/t/csv-input-publish-mqtt-topics/58632 "2022-02-19T11:21:10Z")

</div>

This is my first project with Node-Red, and my previous programming was a decade ago with VBA, so apologies in advance. I am trying to pull in CSV data from an http request (that's pretty simple, I think I have that par…

---

## [Node-red and logical functions](https://discourse.nodered.org/t/node-red-and-logical-functions/58314)

<div class="topic-metadata">

**Author:** [@pilou8830](https://discourse.nodered.org/u/pilou8830)\
**Replies:** 8\
**Last updated:** [19 February 2022 10:04 UTC](https://discourse.nodered.org/t/node-red-and-logical-functions/58314 "2022-02-19T10:04:05Z")

</div>

hello, a problem with a function: :face\_with\_raised\_eyebrow: the goal: when the virtual switch "A" in lovelace is "true" and the motion detector is "true" I have the plug on "on" in other cases on "off" \* But nothing c…

---

## [I need help with the code from a function node](https://discourse.nodered.org/t/i-need-help-with-the-code-from-a-function-node/58160)

<div class="topic-metadata">

**Author:** [@nodenoob](https://discourse.nodered.org/u/nodenoob)\
**Replies:** 6\
**Last updated:** [19 February 2022 09:08 UTC](https://discourse.nodered.org/t/i-need-help-with-the-code-from-a-function-node/58160 "2022-02-19T09:08:38Z")

</div>

So I tried programming a function node which builds the average of the last 5 sent values and then sends it away.(to a database, because of that I save the first timestamp) But it just wont send away anything. Did I use…

---

## [cURL in Node red](https://discourse.nodered.org/t/curl-in-node-red/58628)

<div class="topic-metadata">

**Author:** [@Chaos](https://discourse.nodered.org/u/Chaos)\
**Replies:** 3\
**Last updated:** [19 February 2022 08:12 UTC](https://discourse.nodered.org/t/curl-in-node-red/58628 "2022-02-19T08:12:50Z")

</div>

I have this simple cUrl command that i want to implement into node red but can't get to work. i have tried a couple of examples, but just cant get the data required. the command works ok in terminal to retrieve location …

---

## [(Locally) how to apply an updated subflow over multiple machines?](https://discourse.nodered.org/t/locally-how-to-apply-an-updated-subflow-over-multiple-machines/55701)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 12\
**Last updated:** [18 February 2022 22:48 UTC](https://discourse.nodered.org/t/locally-how-to-apply-an-updated-subflow-over-multiple-machines/55701 "2022-02-18T22:48:04Z")

</div>

Yeah, I probably have asked before. I have just had a lot of fun retrospectively rolling out an update of a subflow I wrote over my machines. Is there an easier way? I had to copy/export the new code, go to each machi…

---

## [Uibuilder initial vuejs page empty](https://discourse.nodered.org/t/uibuilder-initial-vuejs-page-empty/58626)

<div class="topic-metadata">

**Author:** [@novski](https://discourse.nodered.org/u/novski)\
**Replies:** 1\
**Last updated:** [18 February 2022 22:17 UTC](https://discourse.nodered.org/t/uibuilder-initial-vuejs-page-empty/58626 "2022-02-18T22:17:40Z")

</div>

I get a blank page when setting the Template Settings to Simple VueJS. The Blank Template works. Console logs: \<ip\>:1880/uibuilder/vendor/vue/dist/vue.js \[HTTP/1.1 404 Not Found 4ms\] But i have installed vue over…

---

## [Climate control for a heater](https://discourse.nodered.org/t/climate-control-for-a-heater/58504)

<div class="topic-metadata">

**Author:** [@todaxtream](https://discourse.nodered.org/u/todaxtream)\
**Replies:** 5\
**Last updated:** [18 February 2022 22:05 UTC](https://discourse.nodered.org/t/climate-control-for-a-heater/58504 "2022-02-18T22:05:32Z")

</div>

Hello, ive been trying to setup a climate control for my Addition, i have a heater plugged into a smart switch, and i have a esp with a thermometer on it, my problem is that i cant get it working correctly, ether i cant …

---

## [Ffmpeg-spawn install problem](https://discourse.nodered.org/t/ffmpeg-spawn-install-problem/57354)

<div class="topic-metadata">

**Author:** [@anto86na](https://discourse.nodered.org/u/anto86na)\
**Replies:** 7\
**Last updated:** [18 February 2022 19:57 UTC](https://discourse.nodered.org/t/ffmpeg-spawn-install-problem/57354 "2022-02-18T19:57:37Z")

</div>

@kevinGodell trying to install your nodes but i get this error

---

## [Convert file .udt to .csv](https://discourse.nodered.org/t/convert-file-udt-to-csv/58618)

<div class="topic-metadata">

**Author:** [@bparra](https://discourse.nodered.org/u/bparra)\
**Replies:** 1\
**Last updated:** [18 February 2022 18:40 UTC](https://discourse.nodered.org/t/convert-file-udt-to-csv/58618 "2022-02-18T18:40:26Z")

</div>

Hi, Is it possible to convert a file .udt to a file .csv using Node red? How can I do this?

---

## [Logging all visited URL's from browser](https://discourse.nodered.org/t/logging-all-visited-urls-from-browser/58581)

<div class="topic-metadata">

**Author:** [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)\
**Replies:** 2\
**Last updated:** [18 February 2022 16:24 UTC](https://discourse.nodered.org/t/logging-all-visited-urls-from-browser/58581 "2022-02-18T16:24:51Z")

</div>

So I'm trying to POST the URLs I visit in my browser(Firefox) to my Node-red instance on the same machine. I set up a very simple flow with an "HTTP in" node to grab them: \[{"id":"74ec266a4dce6944","type":"http in","z"…

---

## [XOR and ADD of the buffer numbers](https://discourse.nodered.org/t/xor-and-add-of-the-buffer-numbers/58547)

<div class="topic-metadata">

**Author:** [@alda](https://discourse.nodered.org/u/alda)\
**Replies:** 22\
**Last updated:** [18 February 2022 16:07 UTC](https://discourse.nodered.org/t/xor-and-add-of-the-buffer-numbers/58547 "2022-02-18T16:07:36Z")

</div>

I need help to make a XOR and ADD of the values from this buffer : is ADD this : var sum = msg.payload.DLE+msg.payload.SOH+msg.payload.BUSH+msg.payload.BUSL+msg.payload.RAMH+msg.payload.RAML+msg.payload.DC+msg.payloa…

---

## [Check when finished reading the whole file](https://discourse.nodered.org/t/check-when-finished-reading-the-whole-file/58610)

<div class="topic-metadata">

**Author:** [@AlfEng](https://discourse.nodered.org/u/AlfEng)\
**Replies:** 2\
**Last updated:** [18 February 2022 16:02 UTC](https://discourse.nodered.org/t/check-when-finished-reading-the-whole-file/58610 "2022-02-18T16:02:51Z")

</div>

I read a csv file and send a message for each line in the file. Now I would like to save in an file in append mode the last file read with the number of lines read. So I need a trigger to know when it has finished read…

---

## [Error: Cannot find module '/home/$USER/red.js'](https://discourse.nodered.org/t/error-cannot-find-module-home-user-red-js/58525)

<div class="topic-metadata">

**Author:** [@quemf](https://discourse.nodered.org/u/quemf)\
**Replies:** 4\
**Last updated:** [18 February 2022 15:47 UTC](https://discourse.nodered.org/t/error-cannot-find-module-home-user-red-js/58525 "2022-02-18T15:47:45Z")

</div>

Hi, I am a Node-RED user and I use it regularly, although I haven't been able to access Node-RED for a few days, since I get the following error: \> de febr. 17 09:57:53 industrialshields Node-RED\[15788\]: Error: Cannot …

---

## [MQTT "close timeout" issue using Aedes](https://discourse.nodered.org/t/mqtt-close-timeout-issue-using-aedes/57583)

<div class="topic-metadata">

**Author:** [@alex88](https://discourse.nodered.org/u/alex88)\
**Replies:** 13\
**Last updated:** [18 February 2022 15:05 UTC](https://discourse.nodered.org/t/mqtt-close-timeout-issue-using-aedes/57583 "2022-02-18T15:05:07Z")

</div>

I found this thread after upgrading from a pre 1.3. version of NR to 2.2 a few days ago: Error stopping node: Close timed out - MQTT nodes https://discourse.nodered.org/t/error-stopping-node-close-timed-out-mqtt-nodes/…

---

## [Error stopping node: Close timed out - MQTT nodes](https://discourse.nodered.org/t/error-stopping-node-close-timed-out-mqtt-nodes/52830)

<div class="topic-metadata">

**Author:** [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Replies:** 13\
**Last updated:** [18 February 2022 15:03 UTC](https://discourse.nodered.org/t/error-stopping-node-close-timed-out-mqtt-nodes/52830 "2022-02-18T15:03:51Z")

</div>

After upgrading to v2.0+ I started getting this error on every deploy. The node that it points to is always a MQTT node. Sometimes an IN node and sometimes an OUT node. Also, the deploy itself takes about 10-15 seconds n…

---

## ['2147942405 - Unknown error' using node opc-da-in](https://discourse.nodered.org/t/2147942405-unknown-error-using-node-opc-da-in/58602)

<div class="topic-metadata">

**Author:** [@Laura1](https://discourse.nodered.org/u/Laura1)\
**Replies:** 0\
**Last updated:** [18 February 2022 14:22 UTC](https://discourse.nodered.org/t/2147942405-unknown-error-using-node-opc-da-in/58602 "2022-02-18T14:22:08Z")

</div>

I'm trying to connect to OPC DA Server and I'm receiving the screenshot error. This OPC connection has been working fine for several months now and suddenly has stopped. I read this error is due to DCOM settings. I t…

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

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