# General

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

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

**Page:** 423

---

## [Scribbletune & Tone.js integration](https://discourse.nodered.org/t/scribbletune-tone-js-integration/58311)

<div class="topic-metadata">

**Author:** [@lizzardguki](https://discourse.nodered.org/u/lizzardguki)\
**Replies:** 7\
**Last updated:** [14 February 2022 13:24 UTC](https://discourse.nodered.org/t/scribbletune-tone-js-integration/58311 "2022-02-14T13:24:35Z")

</div>

I'm trying to generate audio using Scribbletune & Tone.js through node-red and have it play on a webpage via Tone... I found this tutorial but not sure how can I integrate webpack, and import scribbletune/browser and to…

---

## [Switch status - how to know](https://discourse.nodered.org/t/switch-status-how-to-know/58300)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 10\
**Last updated:** [14 February 2022 13:01 UTC](https://discourse.nodered.org/t/switch-status-how-to-know/58300 "2022-02-14T13:01:45Z")

</div>

Hi, to command my switches I use zigbee2mqtt and since I don’t know if I do well, ask advice .... For each switch I have this function .... if (msg.payload.state == "ON") { global.set("var\_swlucesalotto", 1) …

---

## [Timestamp for following noon](https://discourse.nodered.org/t/timestamp-for-following-noon/58297)

<div class="topic-metadata">

**Author:** [@davenrea](https://discourse.nodered.org/u/davenrea)\
**Replies:** 5\
**Last updated:** [14 February 2022 10:56 UTC](https://discourse.nodered.org/t/timestamp-for-following-noon/58297 "2022-02-14T10:56:50Z")

</div>

Hi I'm struggling to work out how to generate a time stamp for the next noon. Any help would be appreciated, ideally a node if anyone know of one. thanks

---

## [Bug with AVM FRITZ!Box Tools in combination with NODE-RED](https://discourse.nodered.org/t/bug-with-avm-fritz-box-tools-in-combination-with-node-red/58280)

<div class="topic-metadata">

**Author:** [@galen](https://discourse.nodered.org/u/galen)\
**Replies:** 2\
**Last updated:** [13 February 2022 23:45 UTC](https://discourse.nodered.org/t/bug-with-avm-fritz-box-tools-in-combination-with-node-red/58280 "2022-02-13T23:45:48Z")

</div>

To whom it may concern, Home Assistant Integration : AVM FRITZ!Box Tools in combination with NODE-RED Integration. Using the fritzbox value from download\_throughput: There is a typo. sensor.ROUTERXXX\_download\_throug…

---

## [Set RPI GPIO OUT pin dynamically](https://discourse.nodered.org/t/set-rpi-gpio-out-pin-dynamically/19447)

<div class="topic-metadata">

**Author:** [@oleig](https://discourse.nodered.org/u/oleig)\
**Replies:** 6\
**Last updated:** [13 February 2022 21:29 UTC](https://discourse.nodered.org/t/set-rpi-gpio-out-pin-dynamically/19447 "2022-02-13T21:29:07Z")

</div>

Hi, Newbie question: How can I set the pin number of a gpio out node using a function (or something else)? A short context: I want to get "recipes" from a MySQL database and send high/low signals to a series of relay…

---

## [Wrong Token for node-red-contrib-miio-roborock](https://discourse.nodered.org/t/wrong-token-for-node-red-contrib-miio-roborock/58285)

<div class="topic-metadata">

**Author:** [@Stifa](https://discourse.nodered.org/u/Stifa)\
**Replies:** 0\
**Last updated:** [13 February 2022 21:09 UTC](https://discourse.nodered.org/t/wrong-token-for-node-red-contrib-miio-roborock/58285 "2022-02-13T21:09:22Z")

</div>

I'm trying to get node-red-contrib-miio-roborock to work. The node can't connect to my vacuum. The error message says that the token might be wrong. I'm sure, the token is correct, because I'm using the same token in FHE…

---

## [Query on performance considerations](https://discourse.nodered.org/t/query-on-performance-considerations/58270)

<div class="topic-metadata">

**Author:** [@SandeepA](https://discourse.nodered.org/u/SandeepA)\
**Replies:** 5\
**Last updated:** [13 February 2022 19:07 UTC](https://discourse.nodered.org/t/query-on-performance-considerations/58270 "2022-02-13T19:07:57Z")

</div>

I have a generic query - are there performance guidelines that the flow implementer should keep in mind ? Example - when i search the forum i read function node is more expensive . Implementation of few lines of code in…

---

## [Connecting influxdb node to influx database with version 1.8](https://discourse.nodered.org/t/connecting-influxdb-node-to-influx-database-with-version-1-8/57529)

<div class="topic-metadata">

**Author:** [@Mufika](https://discourse.nodered.org/u/Mufika)\
**Replies:** 15\
**Last updated:** [13 February 2022 18:07 UTC](https://discourse.nodered.org/t/connecting-influxdb-node-to-influx-database-with-version-1-8/57529 "2022-02-13T18:07:51Z")

</div>

I've installed node red (version 1.8.10) and influxdb 1.8 on my raspberry pi. I've setup a database called influx. On the visual interface of node red, I can easliy connect to the influx database when I select option 1.x…

---

## [Numerical Integration / Area under the curve](https://discourse.nodered.org/t/numerical-integration-area-under-the-curve/57553)

<div class="topic-metadata">

**Author:** [@Mufika](https://discourse.nodered.org/u/Mufika)\
**Replies:** 7\
**Last updated:** [13 February 2022 18:04 UTC](https://discourse.nodered.org/t/numerical-integration-area-under-the-curve/57553 "2022-02-13T18:04:55Z")

</div>

I have an series of points of the phase current values from an ammeter I'm looking for node or code to integrate these values (area under the curve) in order to calculate the energy consumed (kWh).

---

## [Last Contact, last time switch](https://discourse.nodered.org/t/last-contact-last-time-switch/57858)

<div class="topic-metadata">

**Author:** [@MichaelLE](https://discourse.nodered.org/u/MichaelLE)\
**Replies:** 8\
**Last updated:** [13 February 2022 16:00 UTC](https://discourse.nodered.org/t/last-contact-last-time-switch/57858 "2022-02-13T16:00:37Z")

</div>

Hello, I use Node-RED with a LilyGO-T-SIM7000G (ESP32-Clone with 4G Connection). I want to create a mobile device with a couple of relays, sensors and servos. So far it is working very well. But now I dont know, how to…

---

## [Detect a deploy](https://discourse.nodered.org/t/detect-a-deploy/58260)

<div class="topic-metadata">

**Author:** [@biros](https://discourse.nodered.org/u/biros)\
**Replies:** 7\
**Last updated:** [13 February 2022 15:28 UTC](https://discourse.nodered.org/t/detect-a-deploy/58260 "2022-02-13T15:28:16Z")

</div>

hello, is there a method to detect (trigger a node or change a variable, etc) whenever the deploy is pressed? i am using "modified nodes" option, but i'd like to work with that event in a different node.

---

## [Extract number from a string](https://discourse.nodered.org/t/extract-number-from-a-string/58265)

<div class="topic-metadata">

**Author:** [@bigmac5753](https://discourse.nodered.org/u/bigmac5753)\
**Replies:** 2\
**Last updated:** [13 February 2022 15:06 UTC](https://discourse.nodered.org/t/extract-number-from-a-string/58265 "2022-02-13T15:06:40Z")

</div>

I want to get a folder's size using the du command in exec node. The expanded debug output is: 18019844 /mnt/8tb2/sia The collapsed debug output is: 18019844-\>/mnt/8tb2/sia I've tried a function node with: msg.payl…

---

## [Spotify Node - getMyCurrentPlaybackState](https://discourse.nodered.org/t/spotify-node-getmycurrentplaybackstate/58262)

<div class="topic-metadata">

**Author:** [@Tico](https://discourse.nodered.org/u/Tico)\
**Replies:** 0\
**Last updated:** [13 February 2022 13:17 UTC](https://discourse.nodered.org/t/spotify-node-getmycurrentplaybackstate/58262 "2022-02-13T13:17:53Z")

</div>

The Spotify/Node-Red documents have limited examples as depicted here - I've successfully setup the node to retrieve the example given 'getArtistAlbums'. This looks like this in Node-Red. I'm trying to use the nod…

---

## [KnowGo Simulator not working with the http request node](https://discourse.nodered.org/t/knowgo-simulator-not-working-with-the-http-request-node/58261)

<div class="topic-metadata">

**Author:** [@Cat2794](https://discourse.nodered.org/u/Cat2794)\
**Replies:** 0\
**Last updated:** [13 February 2022 13:17 UTC](https://discourse.nodered.org/t/knowgo-simulator-not-working-with-the-http-request-node/58261 "2022-02-13T13:17:12Z")

</div>

Hello, I have been using the KnowGo Simulator for the last approximately 3 weeks now and I was using a default node in Node-Red called http request to get/post information from their Rest API using the localhost:8086 UR…

---

## [TypeError: msg.parts.index is not a function](https://discourse.nodered.org/t/typeerror-msg-parts-index-is-not-a-function/58258)

<div class="topic-metadata">

**Author:** [@fmejialo](https://discourse.nodered.org/u/fmejialo)\
**Replies:** 1\
**Last updated:** [13 February 2022 13:12 UTC](https://discourse.nodered.org/t/typeerror-msg-parts-index-is-not-a-function/58258 "2022-02-13T13:12:35Z")

</div>

Hi, I'm trying to create a function that receives a split message, converts the message into variables and looks at a condition of the message to perform an action, but I always get a syntax error and I don't understand …

---

## [Write UTF-8 text on image using node-red-contrib-image-tools?](https://discourse.nodered.org/t/write-utf-8-text-on-image-using-node-red-contrib-image-tools/58209)

<div class="topic-metadata">

**Author:** [@superace](https://discourse.nodered.org/u/superace)\
**Replies:** 2\
**Last updated:** [13 February 2022 13:01 UTC](https://discourse.nodered.org/t/write-utf-8-text-on-image-using-node-red-contrib-image-tools/58209 "2022-02-13T13:01:12Z")

</div>

Hi, First, a huge thank you for this amazing node. It does almost everything and then some. But, is there a trick to write text on an image when the text is Unicode UTF-8? For example this. 北京 I want to make image1 wi…

---

## [Node name or friendly name for notification](https://discourse.nodered.org/t/node-name-or-friendly-name-for-notification/58228)

<div class="topic-metadata">

**Author:** [@N3RO815](https://discourse.nodered.org/u/N3RO815)\
**Replies:** 3\
**Last updated:** [13 February 2022 12:58 UTC](https://discourse.nodered.org/t/node-name-or-friendly-name-for-notification/58228 "2022-02-13T12:58:58Z")

</div>

Hello. These are my first steps with Node Red and Home Assistant. I have some battery-powered devices where I would like to send a notification when the battery runs low. This has been my idea so far: \[{"id":"0ef04…

---

## [How does the TCP In node receiving buffer payloads split it into messages?](https://discourse.nodered.org/t/how-does-the-tcp-in-node-receiving-buffer-payloads-split-it-into-messages/58213)

<div class="topic-metadata">

**Author:** [@flipzz](https://discourse.nodered.org/u/flipzz)\
**Replies:** 4\
**Last updated:** [13 February 2022 10:03 UTC](https://discourse.nodered.org/t/how-does-the-tcp-in-node-receiving-buffer-payloads-split-it-into-messages/58213 "2022-02-13T10:03:36Z")

</div>

Hi, I am using the TCP In node to listen to a port where a legacy application is sending a stream of binaries that I am decoding using buffer parser. So far so good. I have one problem though: How does the TCP In node …

---

## [Previous version of "node-red-contrib-shelly" needed](https://discourse.nodered.org/t/previous-version-of-node-red-contrib-shelly-needed/58251)

<div class="topic-metadata">

**Author:** [@Harryx99](https://discourse.nodered.org/u/Harryx99)\
**Replies:** 1\
**Last updated:** [13 February 2022 09:16 UTC](https://discourse.nodered.org/t/previous-version-of-node-red-contrib-shelly-needed/58251 "2022-02-13T09:16:06Z")

</div>

Hi. I need the the previous version of node-red-contrib-shelly the 3.XX. Does somebody where can I find this? Harry

---

## [HUE Wall switch, simple on/off lightbulb](https://discourse.nodered.org/t/hue-wall-switch-simple-on-off-lightbulb/58204)

<div class="topic-metadata">

**Author:** [@Rosenlunden](https://discourse.nodered.org/u/Rosenlunden)\
**Replies:** 17\
**Last updated:** [13 February 2022 01:22 UTC](https://discourse.nodered.org/t/hue-wall-switch-simple-on-off-lightbulb/58204 "2022-02-13T01:22:02Z")

</div>

Hi' I am a Nod-Red beginner, and kindly ask for som guidens for 'a simple light on/off' solution The wall switch is not given a simple out 'true/on', therefor it must 'through something' before my bulb can use it …

---

## [How to get ng-click to work in a table](https://discourse.nodered.org/t/how-to-get-ng-click-to-work-in-a-table/58246)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 2\
**Last updated:** [13 February 2022 00:52 UTC](https://discourse.nodered.org/t/how-to-get-ng-click-to-work-in-a-table/58246 "2022-02-13T00:52:42Z")

</div>

I'm sending an array to a ui-template node creating a table. I want to be able to click on one of the cells in the table and have that cell value returned. In my test case each row has a hostname and an IP and I want to…

---

## [Cant get Mic sound to dashboard on iphone](https://discourse.nodered.org/t/cant-get-mic-sound-to-dashboard-on-iphone/58218)

<div class="topic-metadata">

**Author:** [@funhall](https://discourse.nodered.org/u/funhall)\
**Replies:** 2\
**Last updated:** [13 February 2022 00:29 UTC](https://discourse.nodered.org/t/cant-get-mic-sound-to-dashboard-on-iphone/58218 "2022-02-13T00:29:48Z")

</div>

I am trying to make a intercom from a rpi3 to my mobile phone. I can now get the mic from my USB sound card to play in a normal chrome browser via Node 1. But I want to have the sound out on my iphone instead. I can s…

---

## [SubFlow OPCUA brackets around string](https://discourse.nodered.org/t/subflow-opcua-brackets-around-string/58188)

<div class="topic-metadata">

**Author:** [@Billy2021](https://discourse.nodered.org/u/Billy2021)\
**Replies:** 6\
**Last updated:** [12 February 2022 23:43 UTC](https://discourse.nodered.org/t/subflow-opcua-brackets-around-string/58188 "2022-02-12T23:43:08Z")

</div>

Hi, we are trying to make a SubFlow and we need help. This is the desired outcome below; ns=3;s="DB\_HMI"."Rooms"\[0\]."Cmd"."ModuleStop" But whatever we do in our subflow, we cannot get the brackets to work. ns=3;s=D…

---

## [Help modifying my code](https://discourse.nodered.org/t/help-modifying-my-code/58184)

<div class="topic-metadata">

**Author:** [@PeterBC](https://discourse.nodered.org/u/PeterBC)\
**Replies:** 5\
**Last updated:** [12 February 2022 23:40 UTC](https://discourse.nodered.org/t/help-modifying-my-code/58184 "2022-02-12T23:40:25Z")

</div>

First post so be kind please ... I've managed to adapt some Node-Red code from another person to my application. Its working (monitoring and logging a LFP battery using an Electrodacus BMS). But I am drowning in lots of…

---

## [Node Red for a complete beginner](https://discourse.nodered.org/t/node-red-for-a-complete-beginner/58231)

<div class="topic-metadata">

**Author:** [@ldanna](https://discourse.nodered.org/u/ldanna)\
**Replies:** 10\
**Last updated:** [12 February 2022 18:56 UTC](https://discourse.nodered.org/t/node-red-for-a-complete-beginner/58231 "2022-02-12T18:56:16Z")

</div>

Just getting started with Node Red. I finally have the OS Buster running on my Beaglebone Black. It looked like the service did not start. I tried to start the service \`\`\` sudo service node-red start and got messag…

---

## [Node-red not controling all relays](https://discourse.nodered.org/t/node-red-not-controling-all-relays/58210)

<div class="topic-metadata">

**Author:** [@Gremlyn](https://discourse.nodered.org/u/Gremlyn)\
**Replies:** 10\
**Last updated:** [12 February 2022 17:14 UTC](https://discourse.nodered.org/t/node-red-not-controling-all-relays/58210 "2022-02-12T17:14:45Z")

</div>

I have a flow controlling a few relays the firsts 4 works but the other ones are not working, I have checked the pins and conections and cat find the issue.

---

## [Parsing HTML filter out two values](https://discourse.nodered.org/t/parsing-html-filter-out-two-values/58167)

<div class="topic-metadata">

**Author:** [@madmax](https://discourse.nodered.org/u/madmax)\
**Replies:** 4\
**Last updated:** [12 February 2022 16:49 UTC](https://discourse.nodered.org/t/parsing-html-filter-out-two-values/58167 "2022-02-12T16:49:39Z")

</div>

Hi! I would like to filter out two values from a homepage: the article number: and the price. I've been trying for a few hours now but it doesn't work. Maybe someone can help me there. I have circled the two values in…

---

## [How can I get all the variables that I send by com from a pic](https://discourse.nodered.org/t/how-can-i-get-all-the-variables-that-i-send-by-com-from-a-pic/58223)

<div class="topic-metadata">

**Author:** [@Rona321](https://discourse.nodered.org/u/Rona321)\
**Replies:** 1\
**Last updated:** [12 February 2022 14:57 UTC](https://discourse.nodered.org/t/how-can-i-get-all-the-variables-that-i-send-by-com-from-a-pic/58223 "2022-02-12T14:57:11Z")

</div>

from my pic i send to node red four data to node red, but I don't know how to separate each one to visualize it in the dashboard I send this data just to test A=1 H=2 T=3 N=4 My Code in the pic is : printf("%i", A…

---

## [How to install node-red-contrib-usbhid on Windows 10?](https://discourse.nodered.org/t/how-to-install-node-red-contrib-usbhid-on-windows-10/58149)

<div class="topic-metadata">

**Author:** [@aa777888-2](https://discourse.nodered.org/u/aa777888-2)\
**Replies:** 7\
**Last updated:** [12 February 2022 14:18 UTC](https://discourse.nodered.org/t/how-to-install-node-red-contrib-usbhid-on-windows-10/58149 "2022-02-12T14:18:51Z")

</div>

Does anyone have a cookbook on how to do this? Is it even possible? Thanks!

---

## [Creating Custom nodes using python](https://discourse.nodered.org/t/creating-custom-nodes-using-python/58217)

<div class="topic-metadata">

**Author:** [@giorgosmarinos](https://discourse.nodered.org/u/giorgosmarinos)\
**Replies:** 6\
**Last updated:** [12 February 2022 14:04 UTC](https://discourse.nodered.org/t/creating-custom-nodes-using-python/58217 "2022-02-12T14:04:26Z")

</div>

Hi everyone, I would like to ask a question that is related to the way one needs to follow in order to create a custom node in node-red. I would like to create a custom node that will be able to run an explainability alg…

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

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