# Latest

**URL:** https://discourse.nodered.org/latest.md?page=586

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

**Page:** 587

---

## [Using the Node-RED console output in a function](https://discourse.nodered.org/t/using-the-node-red-console-output-in-a-function/61312)

<div class="topic-metadata">

**Author:** [@Hishamjz](https://discourse.nodered.org/u/Hishamjz)\
**Replies:** 12\
**Last updated:** [18 April 2022 23:35 UTC](https://discourse.nodered.org/t/using-the-node-red-console-output-in-a-function/61312 "2022-04-18T23:35:05Z")

</div>

Hello everyone, I am using a function to import a C++ addon to my flow. As I want to send synchronous data and recieve it in Node-RED, the C++ addon is treated as a function, and I can only return one array at the end o…

---

## [Turn servo 90 degrees during sun rise and sun set](https://discourse.nodered.org/t/turn-servo-90-degrees-during-sun-rise-and-sun-set/61463)

<div class="topic-metadata">

**Author:** [@astrojav](https://discourse.nodered.org/u/astrojav)\
**Replies:** 1\
**Last updated:** [18 April 2022 23:54 UTC](https://discourse.nodered.org/t/turn-servo-90-degrees-during-sun-rise-and-sun-set/61463 "2022-04-18T23:54:38Z")

</div>

Hi folks, I just completed an all-sky-cam build which should only take pictures at night. To protect the camera sensor due to sunlight, the idea is to put a type of "cap" over the lens, an example below. The "cap" shoul…

---

## [Inject message not correct after interval](https://discourse.nodered.org/t/inject-message-not-correct-after-interval/61465)

<div class="topic-metadata">

**Author:** [@jonkers71](https://discourse.nodered.org/u/jonkers71)\
**Replies:** 2\
**Last updated:** [18 April 2022 23:32 UTC](https://discourse.nodered.org/t/inject-message-not-correct-after-interval/61465 "2022-04-18T23:32:21Z")

</div>

Hello all. Having an issue with the inject node. I have it set to inject after 5sec and then repeat every minute. On the startup it does what I expect. After the interval, it is like the join node doesn't work or som…

---

## [Split two strings into key value pairs](https://discourse.nodered.org/t/split-two-strings-into-key-value-pairs/61458)

<div class="topic-metadata">

**Author:** [@tas22](https://discourse.nodered.org/u/tas22)\
**Replies:** 2\
**Last updated:** [18 April 2022 19:59 UTC](https://discourse.nodered.org/t/split-two-strings-into-key-value-pairs/61458 "2022-04-18T19:59:00Z")

</div>

Hi guys, I am new to the forum! Excited to be apart of this community. I was trying to research and figure out how to solve this problem. I have two key values with strings that I am merging into individual key value pa…

---

## [How to make a created node's property accept dynamic (msg) values](https://discourse.nodered.org/t/how-to-make-a-created-nodes-property-accept-dynamic-msg-values/61305)

<div class="topic-metadata">

**Author:** [@joaquim.braga](https://discourse.nodered.org/u/joaquim.braga)\
**Replies:** 3\
**Last updated:** [18 April 2022 19:22 UTC](https://discourse.nodered.org/t/how-to-make-a-created-nodes-property-accept-dynamic-msg-values/61305 "2022-04-18T19:22:37Z")

</div>

I created a node that takes a property called tagId The node works fine when I set tagId to a static value. I want the node to be able to receive either a static value or a value from msg. Something like Is there …

---

## [Passing output from a range if it hasn't changed in the last n minutes](https://discourse.nodered.org/t/passing-output-from-a-range-if-it-hasnt-changed-in-the-last-n-minutes/61288)

<div class="topic-metadata">

**Author:** [@BerkshireBugsy](https://discourse.nodered.org/u/BerkshireBugsy)\
**Replies:** 4\
**Last updated:** [18 April 2022 18:52 UTC](https://discourse.nodered.org/t/passing-output-from-a-range-if-it-hasnt-changed-in-the-last-n-minutes/61288 "2022-04-18T18:52:27Z")

</div>

I am creating a flow in Node Red (HA)which changes the colour of the light on an Amazon Flex device depending on what range the electricity consumption of the house is. The entity (We will call it Emoncms Import) contai…

---

## [Change JSON output (to line protocol or other JSON)](https://discourse.nodered.org/t/change-json-output-to-line-protocol-or-other-json/61425)

<div class="topic-metadata">

**Author:** [@m8dhouse](https://discourse.nodered.org/u/m8dhouse)\
**Replies:** 3\
**Last updated:** [18 April 2022 16:44 UTC](https://discourse.nodered.org/t/change-json-output-to-line-protocol-or-other-json/61425 "2022-04-18T16:44:56Z")

</div>

Hi I have a solar data input that gives me a JSON. I need to convert it to line protocol. Input: {"forecasts":\[{"pv\_estimate":2.986,"pv\_estimate10":2.923,"pv\_estimate90":2.986,"period\_end":"2022-04-17T09:00:00.0000000Z…

---

## [TypedInput Change options upon change event](https://discourse.nodered.org/t/typedinput-change-options-upon-change-event/61448)

<div class="topic-metadata">

**Author:** [@jayson](https://discourse.nodered.org/u/jayson)\
**Replies:** 0\
**Last updated:** [18 April 2022 15:06 UTC](https://discourse.nodered.org/t/typedinput-change-options-upon-change-event/61448 "2022-04-18T15:06:02Z")

</div>

Hi, How can I change the options of the initialized dropdown for typedinput? the on change event id being triggered but the options are not changing. Here is my initial creation of the typedinput. var methods…

---

## [Payload to base64](https://discourse.nodered.org/t/payload-to-base64/61447)

<div class="topic-metadata">

**Author:** [@rex](https://discourse.nodered.org/u/rex)\
**Replies:** 4\
**Last updated:** [18 April 2022 15:05 UTC](https://discourse.nodered.org/t/payload-to-base64/61447 "2022-04-18T15:05:27Z")

</div>

I'm trying to encode a simple string into base64 and it doesn't work. Where is my mistake? This is my simple flow. It is an injection of payload string and I use msg.payload.toString('base64') function that return the p…

---

## [FR: Quick add multiple nodes (ready linked)](https://discourse.nodered.org/t/fr-quick-add-multiple-nodes-ready-linked/52439)

<div class="topic-metadata">

**Author:** [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Replies:** 10\
**Last updated:** [18 April 2022 15:00 UTC](https://discourse.nodered.org/t/fr-quick-add-multiple-nodes-ready-linked/52439 "2022-04-18T15:00:20Z")

</div>

Hi all, I'd love to see some time saving "quick add" nodes (kinda like macros or snippets) @node-red-devs is this on the road map / spec? is it something you would consider for 2.2.x? Below is a demo of what I mean -…

---

## [Trying to make winddirection compass gauge with ui\_control](https://discourse.nodered.org/t/trying-to-make-winddirection-compass-gauge-with-ui-control/60880)

<div class="topic-metadata">

**Author:** [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Replies:** 24\
**Last updated:** [18 April 2022 14:16 UTC](https://discourse.nodered.org/t/trying-to-make-winddirection-compass-gauge-with-ui-control/60880 "2022-04-18T14:16:24Z")

</div>

I am trying to make a windirection compass with standard ui\_gauge and manipulate with ui\_control. I ran into a few issues/questions here. I noticed that the compass needle is not always following correctly. Any reaso…

---

## [Get three highest avg values](https://discourse.nodered.org/t/get-three-highest-avg-values/61426)

<div class="topic-metadata">

**Author:** [@lundig](https://discourse.nodered.org/u/lundig)\
**Replies:** 4\
**Last updated:** [18 April 2022 13:42 UTC](https://discourse.nodered.org/t/get-three-highest-avg-values/61426 "2022-04-18T13:42:12Z")

</div>

Hello, I have a sensor that shows the actual energy consumption. I want to calculate the avg of the three highest values of a month. Anyone? :slight\_smile: Regards

---

## [Help with base64 image](https://discourse.nodered.org/t/help-with-base64-image/61430)

<div class="topic-metadata">

**Author:** [@Patrick\_UK](https://discourse.nodered.org/u/Patrick_UK)\
**Replies:** 2\
**Last updated:** [18 April 2022 12:49 UTC](https://discourse.nodered.org/t/help-with-base64-image/61430 "2022-04-18T12:49:27Z")

</div>

I am trying to save a base64 image to a file but I don't seem to be able to get it to work. Any assistance / guidance would be appreciated. Tried using a function module and also just saving it to a file with a base64 …

---

## [Node-red x Odoo : Display shippings (model = stock.picking) in a table](https://discourse.nodered.org/t/node-red-x-odoo-display-shippings-model-stock-picking-in-a-table/61436)

<div class="topic-metadata">

**Author:** [@cpedroni](https://discourse.nodered.org/u/cpedroni)\
**Replies:** 0\
**Last updated:** [18 April 2022 12:49 UTC](https://discourse.nodered.org/t/node-red-x-odoo-display-shippings-model-stock-picking-in-a-table/61436 "2022-04-18T12:49:40Z")

</div>

Hello, I am currently trying to display data from Odoo in a table. I managed to do it for the orders as well as the invoices. Now I want to display the shippings, and the model is stock.picking: Here is my flow : \[ …

---

## [Extracting a value from an MS-SQL database](https://discourse.nodered.org/t/extracting-a-value-from-an-ms-sql-database/61228)

<div class="topic-metadata">

**Author:** [@milner236](https://discourse.nodered.org/u/milner236)\
**Replies:** 8\
**Last updated:** [18 April 2022 12:47 UTC](https://discourse.nodered.org/t/extracting-a-value-from-an-ms-sql-database/61228 "2022-04-18T12:47:38Z")

</div>

Hello everyone. Assuming I have the following SQL table (ignore the fact that the picture is from excel)- And I receive the value 'Jerry' in the payload, how can I extract his phone number from the MS-SQL table? Muc…

---

## [Http request with windows-1250 encoding problem](https://discourse.nodered.org/t/http-request-with-windows-1250-encoding-problem/61411)

<div class="topic-metadata">

**Author:** [@jelinek](https://discourse.nodered.org/u/jelinek)\
**Replies:** 4\
**Last updated:** [18 April 2022 12:37 UTC](https://discourse.nodered.org/t/http-request-with-windows-1250-encoding-problem/61411 "2022-04-18T12:37:22Z")

</div>

I am having troubles loading HTTP request when the page is in windows-1250 encoding. The http request component parses the input into UTF-8 incorrectly and that seems to be irreversible. Any output after that is basicall…

---

## [Compose Base64 string from different input values](https://discourse.nodered.org/t/compose-base64-string-from-different-input-values/61429)

<div class="topic-metadata">

**Author:** [@tjvandam](https://discourse.nodered.org/u/tjvandam)\
**Replies:** 1\
**Last updated:** [18 April 2022 10:40 UTC](https://discourse.nodered.org/t/compose-base64-string-from-different-input-values/61429 "2022-04-18T10:40:28Z")

</div>

I need some help composing a new Base64 string from a msg.payload. I am using a function node to do this. I am using the Buffer. function. I have managed to construct all needed parts of the new msg.payload, however I ca…

---

## [Component how can i import factory component](https://discourse.nodered.org/t/component-how-can-i-import-factory-component/61428)

<div class="topic-metadata">

**Author:** [@bilel](https://discourse.nodered.org/u/bilel)\
**Replies:** 2\
**Last updated:** [18 April 2022 10:20 UTC](https://discourse.nodered.org/t/component-how-can-i-import-factory-component/61428 "2022-04-18T10:20:24Z")

</div>

iù trying to build a scada inteface using node red but with using the svg cant find any of factory component how can i import them (moteur ,ventilateur)

---

## [Authentication failed on github](https://discourse.nodered.org/t/authentication-failed-on-github/61419)

<div class="topic-metadata">

**Author:** [@Henjoe](https://discourse.nodered.org/u/Henjoe)\
**Replies:** 2\
**Last updated:** [18 April 2022 08:29 UTC](https://discourse.nodered.org/t/authentication-failed-on-github/61419 "2022-04-18T08:29:54Z")

</div>

Hi nodered experts, I am trying to use the nodered projects features. I already setup my github repositories, however everytime I push to create new branch, it always ask me my credentials I already put my credentia…

---

## [Uncaught ReferenceError when deploy flow](https://discourse.nodered.org/t/uncaught-referenceerror-when-deploy-flow/61277)

<div class="topic-metadata">

**Author:** [@jinx](https://discourse.nodered.org/u/jinx)\
**Replies:** 4\
**Last updated:** [18 April 2022 07:53 UTC](https://discourse.nodered.org/t/uncaught-referenceerror-when-deploy-flow/61277 "2022-04-18T07:53:48Z")

</div>

Node-RED version: 2.2.2(Maintenance Release) Installation steps: git clone GitHub - node-red/node-red: Low-code programming for event-driven applications cd node-red npm install npm run build npm start Problem: Aft…

---

## [New web tab from nodered](https://discourse.nodered.org/t/new-web-tab-from-nodered/61417)

<div class="topic-metadata">

**Author:** [@SuperMan](https://discourse.nodered.org/u/SuperMan)\
**Replies:** 2\
**Last updated:** [18 April 2022 07:31 UTC](https://discourse.nodered.org/t/new-web-tab-from-nodered/61417 "2022-04-18T07:31:31Z")

</div>

Hi Friends, I'm just trying to open a new web tab from nodered Dashboard. Not a static IP address but the Ip address is selected from the a table( msg.topic). I've tried this with the table, but when the links open its…

---

## [I cant update my data on editable table-ui](https://discourse.nodered.org/t/i-cant-update-my-data-on-editable-table-ui/61388)

<div class="topic-metadata">

**Author:** [@loxinoi](https://discourse.nodered.org/u/loxinoi)\
**Replies:** 1\
**Last updated:** [18 April 2022 07:02 UTC](https://discourse.nodered.org/t/i-cant-update-my-data-on-editable-table-ui/61388 "2022-04-18T07:02:34Z")

</div>

Hello, i have an issues like i want to update my table display after editing it, but everytime i refresh my browser it cameback to the default payload. Here's the code \[ { "id": "00466a35d85535bb", "…

---

## [UI chart not rendered properly](https://discourse.nodered.org/t/ui-chart-not-rendered-properly/61328)

<div class="topic-metadata">

**Author:** [@Andrew4891](https://discourse.nodered.org/u/Andrew4891)\
**Replies:** 4\
**Last updated:** [18 April 2022 06:39 UTC](https://discourse.nodered.org/t/ui-chart-not-rendered-properly/61328 "2022-04-18T06:39:16Z")

</div>

Dear all, I am getting crazy with a very probably tiny missing settings. I do have a flow in Nodered which does also uses an UI and some charts on it. Everything works perfectly except that the every time the UI is ac…

---

## [S7Comm node Output operation](https://discourse.nodered.org/t/s7comm-node-output-operation/61164)

<div class="topic-metadata">

**Author:** [@DSongra11\_forum.com](https://discourse.nodered.org/u/DSongra11_forum.com)\
**Replies:** 5\
**Last updated:** [18 April 2022 04:48 UTC](https://discourse.nodered.org/t/s7comm-node-output-operation/61164 "2022-04-18T04:48:07Z")

</div>

Hello, I am taking data from Siemens PLC into node-red using the S7comm node. Reading operation performs perfectly, but not able to write getting error as you can in the screenshot. Yellow highlight - For Read Oper…

---

## [\[Announce\] uibuilder - the next phase! Part 1](https://discourse.nodered.org/t/announce-uibuilder-the-next-phase-part-1/61365)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 10\
**Last updated:** [17 April 2022 21:42 UTC](https://discourse.nodered.org/t/announce-uibuilder-the-next-phase-part-1/61365 "2022-04-17T21:42:12Z")

</div>

Hi all, couldn't resist sharing something quite exciting on this Bank Holiday weekend. In the next phase of development for uibuilder, I'm focusing on the client library. At present, I'm creating an all-new library that…

---

## [Looking for tips, NR control kiosk - open webpage](https://discourse.nodered.org/t/looking-for-tips-nr-control-kiosk-open-webpage/61372)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 13\
**Last updated:** [17 April 2022 18:39 UTC](https://discourse.nodered.org/t/looking-for-tips-nr-control-kiosk-open-webpage/61372 "2022-04-17T18:39:40Z")

</div>

Hi! Looking for advise how to start. Trying to find examples on command line control of a kiosk browser did not solve my challenge. What i want to achieve is the following. I receive a changing url with mqtt. This u…

---

## [Rounded Corners](https://discourse.nodered.org/t/rounded-corners/34689)

<div class="topic-metadata">

**Author:** [@buijsp](https://discourse.nodered.org/u/buijsp)\
**Replies:** 13\
**Last updated:** [23 October 2020 21:40 UTC](https://discourse.nodered.org/t/rounded-corners/34689 "2020-10-23T21:40:57Z")

</div>

Is it possible to configure Node UI output with rounded corners? And configure the arc of this rounded corners?

---

## [Consume an array into function to do math](https://discourse.nodered.org/t/consume-an-array-into-function-to-do-math/61374)

<div class="topic-metadata">

**Author:** [@Tomadoggy](https://discourse.nodered.org/u/Tomadoggy)\
**Replies:** 5\
**Last updated:** [17 April 2022 14:08 UTC](https://discourse.nodered.org/t/consume-an-array-into-function-to-do-math/61374 "2022-04-17T14:08:12Z")

</div>

This likely seems simple but after hours of different attempts, I am unable to resolve. I have an array of two values that I wish to do math on in a function node but don't know how to set the variables within the funct…

---

## [I hope for help, I have been trying for hours to install new nodes without any result](https://discourse.nodered.org/t/i-hope-for-help-i-have-been-trying-for-hours-to-install-new-nodes-without-any-result/61396)

<div class="topic-metadata">

**Author:** [@Mohannad\_Alobaid](https://discourse.nodered.org/u/Mohannad_Alobaid)\
**Replies:** 1\
**Last updated:** [17 April 2022 13:31 UTC](https://discourse.nodered.org/t/i-hope-for-help-i-have-been-trying-for-hours-to-install-new-nodes-without-any-result/61396 "2022-04-17T13:31:22Z")

</div>

2022-04-17T12:39:16.045Z Install : node-red-dashboard 3.1.6 2022-04-17T12:39:16.086Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-dashboard@3.1.6 20…

---

## [Reading power consumption from Sonoff Dual R3 (Tasmota)](https://discourse.nodered.org/t/reading-power-consumption-from-sonoff-dual-r3-tasmota/61392)

<div class="topic-metadata">

**Author:** [@HaVi](https://discourse.nodered.org/u/HaVi)\
**Replies:** 2\
**Last updated:** [17 April 2022 11:28 UTC](https://discourse.nodered.org/t/reading-power-consumption-from-sonoff-dual-r3-tasmota/61392 "2022-04-17T11:28:45Z")

</div>

My Sonoff Dual R3 is flashed with Tasmota and in NodeRED I can read the status of the switches via MQTT (stat/Fietsen/RESULT). Now I would also like to be able to see the power consumption, preferably with an interval of…

[Previous page](https://discourse.nodered.org/latest.md?page=585)

[Next page](https://discourse.nodered.org/latest.md?page=587)
