# General

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

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

**Page:** 657

---

## [Support for node-red-contrib-azureiothubnode](https://discourse.nodered.org/t/support-for-node-red-contrib-azureiothubnode/35581)

<div class="topic-metadata">

**Author:** [@psmtvdw](https://discourse.nodered.org/u/psmtvdw)\
**Replies:** 7\
**Last updated:** [9 November 2020 09:36 UTC](https://discourse.nodered.org/t/support-for-node-red-contrib-azureiothubnode/35581 "2020-11-09T09:36:51Z")

</div>

message for contributors of node-red-contrib-azureiothub anthonyvercolano azure-sdk jebrando microsoft windowsazure Anyone can give me a tip how to contact these guys? I am using node-red-contrib-azureiothub (v0.5.3)…

---

## [Background color change of custom node in workspace](https://discourse.nodered.org/t/background-color-change-of-custom-node-in-workspace/35579)

<div class="topic-metadata">

**Author:** [@josekavunkal](https://discourse.nodered.org/u/josekavunkal)\
**Replies:** 2\
**Last updated:** [9 November 2020 08:58 UTC](https://discourse.nodered.org/t/background-color-change-of-custom-node-in-workspace/35579 "2020-11-09T08:58:03Z")

</div>

Can the custom node background color can be different when the node is in workspace?. When I drag and drop the node to workspace I need a different color which is not same as that when it is pallet.

---

## [How to merge data of two arrays by key "month" (mapping) into 1 array and add calculations?](https://discourse.nodered.org/t/how-to-merge-data-of-two-arrays-by-key-month-mapping-into-1-array-and-add-calculations/35382)

<div class="topic-metadata">

**Author:** [@ChillXXL](https://discourse.nodered.org/u/ChillXXL)\
**Replies:** 11\
**Last updated:** [9 November 2020 08:51 UTC](https://discourse.nodered.org/t/how-to-merge-data-of-two-arrays-by-key-month-mapping-into-1-array-and-add-calculations/35382 "2020-11-09T08:51:18Z")

</div>

Hi, I try to merge data from 2 arrays into 1 based on the same date (or key). \[USE-CASE\]: net power usage I want to calculate my net powerusage by subtracting (eliminating) my kW used by my electric car charger to an…

---

## [usb-Serial-port:how to send a message with hex for RTU Modbus?](https://discourse.nodered.org/t/usb-serial-port-how-to-send-a-message-with-hex-for-rtu-modbus/35572)

<div class="topic-metadata">

**Author:** [@Davidtsai](https://discourse.nodered.org/u/Davidtsai)\
**Replies:** 0\
**Last updated:** [9 November 2020 03:34 UTC](https://discourse.nodered.org/t/usb-serial-port-how-to-send-a-message-with-hex-for-rtu-modbus/35572 "2020-11-09T03:34:54Z")

</div>

Dear all : I am use node red serial output to send a message to our modbus device and use python to send message to our modbus device is OK , but when I am use node red serial output or request to send the same message…

---

## [Switch node is not working](https://discourse.nodered.org/t/switch-node-is-not-working/35569)

<div class="topic-metadata">

**Author:** [@dangoodhead](https://discourse.nodered.org/u/dangoodhead)\
**Replies:** 10\
**Last updated:** [8 November 2020 22:11 UTC](https://discourse.nodered.org/t/switch-node-is-not-working/35569 "2020-11-08T22:11:49Z")

</div>

I trying to get a very simple flow to work. It has a virtual alexa device which is connected at all times to my amazon account. I then have this going to a switch node with String ON and one with string OFF. These …

---

## [I want to control a light bulb with node-RED (WIFI)](https://discourse.nodered.org/t/i-want-to-control-a-light-bulb-with-node-red-wifi/35534)

<div class="topic-metadata">

**Author:** [@salguero98](https://discourse.nodered.org/u/salguero98)\
**Replies:** 2\
**Last updated:** [8 November 2020 21:51 UTC](https://discourse.nodered.org/t/i-want-to-control-a-light-bulb-with-node-red-wifi/35534 "2020-11-08T21:51:59Z")

</div>

Hello, I have this bulb and I would like to be able to control it with node-RED, does anyone know what skill I can use to use it? Or where could I start looking for information? Thankyou

---

## [Status node refresh on startup](https://discourse.nodered.org/t/status-node-refresh-on-startup/35360)

<div class="topic-metadata">

**Author:** [@harveyd](https://discourse.nodered.org/u/harveyd)\
**Replies:** 9\
**Last updated:** [8 November 2020 21:07 UTC](https://discourse.nodered.org/t/status-node-refresh-on-startup/35360 "2020-11-08T21:07:24Z")

</div>

Hi, I'm new to Node-Red so I do apologise. I'm using node-red-contrib-simple-gate and have used the 'status' node to see if the gate is open or closed which then updates a Dashboard text field. This works fine under n…

---

## [Catch node, does not catch msg.error and 404 from HTTP node](https://discourse.nodered.org/t/catch-node-does-not-catch-msg-error-and-404-from-http-node/35566)

<div class="topic-metadata">

**Author:** [@mintgroen](https://discourse.nodered.org/u/mintgroen)\
**Replies:** 0\
**Last updated:** [8 November 2020 20:47 UTC](https://discourse.nodered.org/t/catch-node-does-not-catch-msg-error-and-404-from-http-node/35566 "2020-11-08T20:47:34Z")

</div>

I am using some HTTP request nodes to refresh an OAuth2 token and get data from and API. I thought I could use the Catch node to catch errors generated by the HTTP node but for functional responses of the HTTP, it does …

---

## [Post Raspberry Pi image to Google Drive via HTTP Post not working](https://discourse.nodered.org/t/post-raspberry-pi-image-to-google-drive-via-http-post-not-working/35547)

<div class="topic-metadata">

**Author:** [@pcborges](https://discourse.nodered.org/u/pcborges)\
**Replies:** 0\
**Last updated:** [8 November 2020 13:00 UTC](https://discourse.nodered.org/t/post-raspberry-pi-image-to-google-drive-via-http-post-not-working/35547 "2020-11-08T13:00:56Z")

</div>

Hi, I am trying to post a Raspberry Pi camera image to Goggle Drive along with some related information to Google Sheets using HTTP MultiPart Request (post) and a Google Script. The data is successfully recorded in the …

---

## [Plotting a path for an autonomous boat](https://discourse.nodered.org/t/plotting-a-path-for-an-autonomous-boat/35478)

<div class="topic-metadata">

**Author:** [@PauloSilva98](https://discourse.nodered.org/u/PauloSilva98)\
**Replies:** 5\
**Last updated:** [8 November 2020 18:33 UTC](https://discourse.nodered.org/t/plotting-a-path-for-an-autonomous-boat/35478 "2020-11-08T18:33:20Z")

</div>

Newbie here. I am looking to use node-red as a kind of mission-planner/interface to my autonomous boat for a project in school. My question is, would there be a way for me to plot a path using waypoints and send the coo…

---

## [Msg.payload.match(/(\\d+|\\d+\\.\\d+)'/)\[1\];](https://discourse.nodered.org/t/msg-payload-match-d-d-d-1/35374)

<div class="topic-metadata">

**Author:** [@andrea](https://discourse.nodered.org/u/andrea)\
**Replies:** 7\
**Last updated:** [8 November 2020 17:52 UTC](https://discourse.nodered.org/t/msg-payload-match-d-d-d-1/35374 "2020-11-08T17:52:25Z")

</div>

Hi, how do you read this: const value = msg.payload.match(/(\\d+|\\d+.\\d+)'/)\[1\]; What it actually do? \[{"id":"eddc8443.543858","type":"function","z":"2999a896.215b18","name":"Parse Temp","func":"const value = msg.pay…

---

## [Monitor Chrome Browser for specific window/webpage opening](https://discourse.nodered.org/t/monitor-chrome-browser-for-specific-window-webpage-opening/35407)

<div class="topic-metadata">

**Author:** [@msauto](https://discourse.nodered.org/u/msauto)\
**Replies:** 8\
**Last updated:** [8 November 2020 17:40 UTC](https://discourse.nodered.org/t/monitor-chrome-browser-for-specific-window-webpage-opening/35407 "2020-11-08T17:40:39Z")

</div>

I have a need to monitor google chrome to see if a web page has opened in the last 5 minutes(or any time really),and if so trigger an automation. I can handle the automation part but for the life of me cant think of a wa…

---

## [OPCUA Error: BadResponseTooLarge = 0x80B90000](https://discourse.nodered.org/t/opcua-error-badresponsetoolarge-0x80b90000/35557)

<div class="topic-metadata">

**Author:** [@Reneb1804](https://discourse.nodered.org/u/Reneb1804)\
**Replies:** 0\
**Last updated:** [8 November 2020 17:10 UTC](https://discourse.nodered.org/t/opcua-error-badresponsetoolarge-0x80b90000/35557 "2020-11-08T17:10:17Z")

</div>

Hello, i got a problem connecting to a OPC-UA Server. I have tried it with the Client. The Error: The Browse node had the same Problem: BadResponseTooLarge = 0x80B90000 My client config: Is there a way to change t…

---

## [Color of custom node text in left panel](https://discourse.nodered.org/t/color-of-custom-node-text-in-left-panel/35552)

<div class="topic-metadata">

**Author:** [@josekavunkal](https://discourse.nodered.org/u/josekavunkal)\
**Replies:** 2\
**Last updated:** [8 November 2020 16:32 UTC](https://discourse.nodered.org/t/color-of-custom-node-text-in-left-panel/35552 "2020-11-08T16:32:56Z")

</div>

Can I give my own color to text for my custom node in pallet ?. I tried following code:- labelStyle: function() { return this.name?"red-ui-flow-node-status-dot-grey":""; This does not change the color of the text in …

---

## [Select one specific index from array](https://discourse.nodered.org/t/select-one-specific-index-from-array/35549)

<div class="topic-metadata">

**Author:** [@oliver.es](https://discourse.nodered.org/u/oliver.es)\
**Replies:** 2\
**Last updated:** [8 November 2020 15:09 UTC](https://discourse.nodered.org/t/select-one-specific-index-from-array/35549 "2020-11-08T15:09:11Z")

</div>

Hi, I'm a newbie in Node-RED. My first exercise is to scrap the HTML page and read the specific value in the table. This is a government page that displays the river level in your city. Because they are not using a l…

---

## [Replace a JSON value with string of a TAIL node](https://discourse.nodered.org/t/replace-a-json-value-with-string-of-a-tail-node/35529)

<div class="topic-metadata">

**Author:** [@PapaPatrick](https://discourse.nodered.org/u/PapaPatrick)\
**Replies:** 5\
**Last updated:** [8 November 2020 14:00 UTC](https://discourse.nodered.org/t/replace-a-json-value-with-string-of-a-tail-node/35529 "2020-11-08T14:00:34Z")

</div>

Hi Community, I´m a fresh man in NR and need your help. I try to use a string from my TAIL node and use this string to replace a placeholder in my JSON Object which I will use as a http POST request. I stuck with the …

---

## [V1.2.2 in QNap Docker - Issue](https://discourse.nodered.org/t/v1-2-2-in-qnap-docker-issue/34891)

<div class="topic-metadata">

**Author:** [@ianfretwell](https://discourse.nodered.org/u/ianfretwell)\
**Replies:** 4\
**Last updated:** [8 November 2020 13:47 UTC](https://discourse.nodered.org/t/v1-2-2-in-qnap-docker-issue/34891 "2020-11-08T13:47:39Z")

</div>

I've been using NR within QNap's Container Station for some time time now, never usually see any issues with upgrading versions. Although I'll happily admit that if the GUI doesn't work I'm a bit stuck as to how to fault…

---

## [After upgrade failed to install node-red-contrib-mcp23017chip](https://discourse.nodered.org/t/after-upgrade-failed-to-install-node-red-contrib-mcp23017chip/35492)

<div class="topic-metadata">

**Author:** [@Marooned](https://discourse.nodered.org/u/Marooned)\
**Replies:** 7\
**Last updated:** [8 November 2020 12:45 UTC](https://discourse.nodered.org/t/after-upgrade-failed-to-install-node-red-contrib-mcp23017chip/35492 "2020-11-08T12:45:35Z")

</div>

Hi there I have RPi B rev 2 and it was running old Raspbian. I decided to upgrade the whole stack and put the latest RPi OS to fresh SD card. I was trying to get IOTstack docker to handle it all but there was so many er…

---

## [Saw-tooth to rectangular function / create additional message](https://discourse.nodered.org/t/saw-tooth-to-rectangular-function-create-additional-message/35519)

<div class="topic-metadata">

**Author:** [@Detlev](https://discourse.nodered.org/u/Detlev)\
**Replies:** 9\
**Last updated:** [8 November 2020 09:51 UTC](https://discourse.nodered.org/t/saw-tooth-to-rectangular-function-create-additional-message/35519 "2020-11-08T09:51:57Z")

</div>

Sorry if this is a beginner question, but I have the following situation: A KNX message is received everytime a binary switch changes its value, i.e. toggles between on and off. When displaying these on or off status in…

---

## [i am getting the following message whenever i try to open my node-red inside my raspberry pi](https://discourse.nodered.org/t/i-am-getting-the-following-message-whenever-i-try-to-open-my-node-red-inside-my-raspberry-pi/35412)

<div class="topic-metadata">

**Author:** [@soumyamitra1704065](https://discourse.nodered.org/u/soumyamitra1704065)\
**Replies:** 8\
**Last updated:** [8 November 2020 08:36 UTC](https://discourse.nodered.org/t/i-am-getting-the-following-message-whenever-i-try-to-open-my-node-red-inside-my-raspberry-pi/35412 "2020-11-08T08:36:44Z")

</div>

i am getting the following message whenever i try to open my node-red inside my raspberry pi 6 Nov 03:39:52 - \[info\] \[udp out:8a2aee6c.3c7c6\] udp ready: 0.0.0.0:5005 6 Nov 03:39:52 - \[info\] \[udp out:15b7225d.69ed5e\]…

---

## [Function with 2 outputs... simply think that I don't understand](https://discourse.nodered.org/t/function-with-2-outputs-simply-think-that-i-dont-understand/35526)

<div class="topic-metadata">

**Author:** [@denisjoshua](https://discourse.nodered.org/u/denisjoshua)\
**Replies:** 5\
**Last updated:** [8 November 2020 07:23 UTC](https://discourse.nodered.org/t/function-with-2-outputs-simply-think-that-i-dont-understand/35526 "2020-11-08T07:23:33Z")

</div>

Hi there all, I have this simply function node: With this code inside: msg.payload ='payload'; msg.topic = 'topic' msg2 = msg; msg2.payload ='payload2'; msg2.topic = 'topic2'; // return \[msg, msg2\]; Now I exp…

---

## [How to send raspberry pi image to Google Drive using NodeRed?](https://discourse.nodered.org/t/how-to-send-raspberry-pi-image-to-google-drive-using-nodered/35481)

<div class="topic-metadata">

**Author:** [@pcborges](https://discourse.nodered.org/u/pcborges)\
**Replies:** 4\
**Last updated:** [8 November 2020 01:01 UTC](https://discourse.nodered.org/t/how-to-send-raspberry-pi-image-to-google-drive-using-nodered/35481 "2020-11-08T01:01:40Z")

</div>

Hi, I am taking pictures with my Pi Zero and NodeRed and would like to store them at Google Drive but are still to find a way to do that. So far I found no nodes with this capability. Assistance welcome. Thanks Paulo

---

## [Anyone one convert timestamp (epoc) to formatted time string in a single change node?](https://discourse.nodered.org/t/anyone-one-convert-timestamp-epoc-to-formatted-time-string-in-a-single-change-node/35482)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 3\
**Last updated:** [8 November 2020 00:11 UTC](https://discourse.nodered.org/t/anyone-one-convert-timestamp-epoc-to-formatted-time-string-in-a-single-change-node/35482 "2020-11-08T00:11:47Z")

</div>

Anyone one convert timestamp (epoc) to formatted time string in a single change node? Say YYYY-MM-DD HH:MM:SS representation. No need for local time, just a UTC epoch to formatted string.

---

## [Triggering of Mqtt using google assistant](https://discourse.nodered.org/t/triggering-of-mqtt-using-google-assistant/11922)

<div class="topic-metadata">

**Author:** [@upulankit](https://discourse.nodered.org/u/upulankit)\
**Replies:** 5\
**Last updated:** [7 November 2020 21:11 UTC](https://discourse.nodered.org/t/triggering-of-mqtt-using-google-assistant/11922 "2020-11-07T21:11:56Z")

</div>

How to trigger mqtt node using google assistant??

---

## [No access to GPIO on OrangePi Zero](https://discourse.nodered.org/t/no-access-to-gpio-on-orangepi-zero/35517)

<div class="topic-metadata">

**Author:** [@ajheyworth](https://discourse.nodered.org/u/ajheyworth)\
**Replies:** 1\
**Last updated:** [7 November 2020 20:07 UTC](https://discourse.nodered.org/t/no-access-to-gpio-on-orangepi-zero/35517 "2020-11-07T20:07:57Z")

</div>

I have just purchased an OrangePi Zero, as I needed something small that still had an ethernet port. Running Armbian and have installed NodeRed without any problem. When trying to install any of the packages for GPIO, …

---

## [Change a entity switch state](https://discourse.nodered.org/t/change-a-entity-switch-state/35487)

<div class="topic-metadata">

**Author:** [@dowermyr](https://discourse.nodered.org/u/dowermyr)\
**Replies:** 3\
**Last updated:** [7 November 2020 19:19 UTC](https://discourse.nodered.org/t/change-a-entity-switch-state/35487 "2020-11-07T19:19:29Z")

</div>

I want to change a switch to on or off. How do I do that? Can´t find any node for that

---

## [How to listen for specific URL to restart Node red](https://discourse.nodered.org/t/how-to-listen-for-specific-url-to-restart-node-red/35504)

<div class="topic-metadata">

**Author:** [@kes](https://discourse.nodered.org/u/kes)\
**Replies:** 7\
**Last updated:** [7 November 2020 18:16 UTC](https://discourse.nodered.org/t/how-to-listen-for-specific-url-to-restart-node-red/35504 "2020-11-07T18:16:28Z")

</div>

I wish to trigger a restart of node red when I use this url on the node-red server, which is a rasp pi. http://192.168.1.120:1880/node-red-restart On the rasp pi, the node-red restart command is cd /home/pi/.node-red;…

---

## [Uibuilder: How can I get the input value to store it into DB?](https://discourse.nodered.org/t/uibuilder-how-can-i-get-the-input-value-to-store-it-into-db/35490)

<div class="topic-metadata">

**Author:** [@Mochice](https://discourse.nodered.org/u/Mochice)\
**Replies:** 8\
**Last updated:** [7 November 2020 17:41 UTC](https://discourse.nodered.org/t/uibuilder-how-can-i-get-the-input-value-to-store-it-into-db/35490 "2020-11-07T17:41:31Z")

</div>

\<b-form class="border p-3 m-2"\> \<div id="boxDate" class="col-md-4"\> \<ul class="nav nav-stacked"\> \<li\>\<strong\>New value to insert\</stro…

---

## [Cooling routine related to IR devices](https://discourse.nodered.org/t/cooling-routine-related-to-ir-devices/35500)

<div class="topic-metadata">

**Author:** [@repomanz](https://discourse.nodered.org/u/repomanz)\
**Replies:** 4\
**Last updated:** [7 November 2020 16:55 UTC](https://discourse.nodered.org/t/cooling-routine-related-to-ir-devices/35500 "2020-11-07T16:55:58Z")

</div>

Hello team, I implemented a broadlink RM4 yesterday (with humidity and temp sensor cable). I'm interested to see your cooling or heating routines for dumb cooling/heating devices based on IR control where the devices s…

---

## [Running ASN.1 succesfully](https://discourse.nodered.org/t/running-asn-1-succesfully/35507)

<div class="topic-metadata">

**Author:** [@thecoder](https://discourse.nodered.org/u/thecoder)\
**Replies:** 1\
**Last updated:** [7 November 2020 16:52 UTC](https://discourse.nodered.org/t/running-asn-1-succesfully/35507 "2020-11-07T16:52:24Z")

</div>

I've installed node-asn1 in my node\_modules, however, it doesn't appear any ASN.1 node into my dashbaord. Did someone discovered how to make it work?

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

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