# Latest

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

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

**Page:** 527

---

## [Read Data from Omron machine (use OmFins protocoll)](https://discourse.nodered.org/t/read-data-from-omron-machine-use-omfins-protocoll/65410)

<div class="topic-metadata">

**Author:** [@matteovi](https://discourse.nodered.org/u/matteovi)\
**Replies:** 6\
**Last updated:** [28 July 2022 13:24 UTC](https://discourse.nodered.org/t/read-data-from-omron-machine-use-omfins-protocoll/65410 "2022-07-28T13:24:40Z")

</div>

Hi, i'm trying to connect pvc Omron CJ2M machine to node red and reading data... I've tryed more type of connections, but all connections don't work. I copy here my flow, hoping someone could help me... \[ { …

---

## [How to use function node for 1+1=2](https://discourse.nodered.org/t/how-to-use-function-node-for-1-1-2/65749)

<div class="topic-metadata">

**Author:** [@kelvin](https://discourse.nodered.org/u/kelvin)\
**Replies:** 4\
**Last updated:** [28 July 2022 13:10 UTC](https://discourse.nodered.org/t/how-to-use-function-node-for-1-1-2/65749 "2022-07-28T13:10:04Z")

</div>

Hi everyone, May i know how to use a function node for simple mathematics, or can use others node to do that. thanks

---

## [How to connect mi scale 2 with Node-Red?](https://discourse.nodered.org/t/how-to-connect-mi-scale-2-with-node-red/65726)

<div class="topic-metadata">

**Author:** [@Qiela](https://discourse.nodered.org/u/Qiela)\
**Replies:** 7\
**Last updated:** [28 July 2022 11:13 UTC](https://discourse.nodered.org/t/how-to-connect-mi-scale-2-with-node-red/65726 "2022-07-28T11:13:48Z")

</div>

Hi, I am Qiela and still new with Node-Red. May I know, how should I connect mi scale with Node-Red? Thank you in advance.

---

## [Env var replacement for empty strings](https://discourse.nodered.org/t/env-var-replacement-for-empty-strings/65739)

<div class="topic-metadata">

**Author:** [@JbIPS](https://discourse.nodered.org/u/JbIPS)\
**Replies:** 2\
**Last updated:** [28 July 2022 10:45 UTC](https://discourse.nodered.org/t/env-var-replacement-for-empty-strings/65739 "2022-07-28T10:45:45Z")

</div>

When the value of an env var is an empty string, the ternary operator here will consider the empty string a falsy value, resulting in the variable not being replaced. If we specifically test for undefined (like here), t…

---

## [Restrict function output to one or two significant figures](https://discourse.nodered.org/t/restrict-function-output-to-one-or-two-significant-figures/65740)

<div class="topic-metadata">

**Author:** [@Surefire01](https://discourse.nodered.org/u/Surefire01)\
**Replies:** 3\
**Last updated:** [28 July 2022 10:04 UTC](https://discourse.nodered.org/t/restrict-function-output-to-one-or-two-significant-figures/65740 "2022-07-28T10:04:47Z")

</div>

Hi folks. Trying to restrict the output of a function node to one or two significant figures. With the lines below I get ridiculously long numbers. Any of you coding experts know what I can add to achieve this? 1 msg.…

---

## [Docker 3.0.1 containers respun](https://discourse.nodered.org/t/docker-3-0-1-containers-respun/65738)

<div class="topic-metadata">

**Author:** [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Replies:** 0\
**Last updated:** [28 July 2022 08:56 UTC](https://discourse.nodered.org/t/docker-3-0-1-containers-respun/65738 "2022-07-28T08:56:46Z")

</div>

I've respun the 3.0.1 Docker contianers as 3.0.1-1 to fix a problem with installing nodes. They should be tagged as normal on Docker Hub (latest,latest-14,latest-16,latest-18 and with the new version number)

---

## [Got error when install npm i node-red-contrib-tfjs-coco-ssd@1.0.2](https://discourse.nodered.org/t/got-error-when-install-npm-i-node-red-contrib-tfjs-coco-ssd-1-0-2/65728)

<div class="topic-metadata">

**Author:** [@faridomu](https://discourse.nodered.org/u/faridomu)\
**Replies:** 1\
**Last updated:** [28 July 2022 05:52 UTC](https://discourse.nodered.org/t/got-error-when-install-npm-i-node-red-contrib-tfjs-coco-ssd-1-0-2/65728 "2022-07-28T05:52:04Z")

</div>

Hello I got error when try to install npm i node-red-contrib-tfjs-coco-ssd@1.0.2 on my raspberry pi 3. I drop the error message on the picture below. Anyone can help me? I use node.js ver 16.16.0 and npm ver 8.11.0. …

---

## [Saving a bas64 string to an image file](https://discourse.nodered.org/t/saving-a-bas64-string-to-an-image-file/65729)

<div class="topic-metadata">

**Author:** [@dinesh](https://discourse.nodered.org/u/dinesh)\
**Replies:** 3\
**Last updated:** [28 July 2022 06:25 UTC](https://discourse.nodered.org/t/saving-a-bas64-string-to-an-image-file/65729 "2022-07-28T06:25:49Z")

</div>

I am trying to save the image from a camera as an image file(.jpeg). I currently ,I'm getting it as as base64 string. This was achieved by referring to the following link I can use the following website to convert the…

---

## [Set http api command](https://discourse.nodered.org/t/set-http-api-command/65731)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 1\
**Last updated:** [28 July 2022 05:55 UTC](https://discourse.nodered.org/t/set-http-api-command/65731 "2022-07-28T05:55:02Z")

</div>

Hi, I want to set my go-e with http api command as described here: But my attempts fail: \[ { "id": "41ac642c54b4a786", "type": "http request", "z": "32e1a23f.66043e", "name": "Phase…

---

## [Editor: Enable line wrapping of long lines](https://discourse.nodered.org/t/editor-enable-line-wrapping-of-long-lines/65468)

<div class="topic-metadata">

**Author:** [@hoegge](https://discourse.nodered.org/u/hoegge)\
**Replies:** 10\
**Last updated:** [28 July 2022 05:53 UTC](https://discourse.nodered.org/t/editor-enable-line-wrapping-of-long-lines/65468 "2022-07-28T05:53:51Z")

</div>

It would be great to enable line wrapping of long lines in the editor. The editor pane is slim compared to a "real" editor, and the Monaco editor supports that out of the box. Just need the option to enable it.

---

## [Advise on opening webpage using uibuider](https://discourse.nodered.org/t/advise-on-opening-webpage-using-uibuider/65709)

<div class="topic-metadata">

**Author:** [@magicman](https://discourse.nodered.org/u/magicman)\
**Replies:** 3\
**Last updated:** [28 July 2022 00:42 UTC](https://discourse.nodered.org/t/advise-on-opening-webpage-using-uibuider/65709 "2022-07-28T00:42:03Z")

</div>

I use the line below to open a uibuilder instance controlcenter from within another instance if (msg.topic == "control") {window.location.replace("http://192.168.0.103:1880/controlcenter","\_self") } the instance opens …

---

## [Node red microphone error](https://discourse.nodered.org/t/node-red-microphone-error/65716)

<div class="topic-metadata">

**Author:** [@mynodered](https://discourse.nodered.org/u/mynodered)\
**Replies:** 7\
**Last updated:** [27 July 2022 23:36 UTC](https://discourse.nodered.org/t/node-red-microphone-error/65716 "2022-07-27T23:36:51Z")

</div>

I installed microphone node from node red manage palette: I first saw the node in the dashboard, after restart of node red the microphone node is gone, missing. I tried to uninstall it but I get the following error. T…

---

## [Global environment vars accessible in various flows](https://discourse.nodered.org/t/global-environment-vars-accessible-in-various-flows/65717)

<div class="topic-metadata">

**Author:** [@3dimensional](https://discourse.nodered.org/u/3dimensional)\
**Replies:** 2\
**Last updated:** [27 July 2022 20:49 UTC](https://discourse.nodered.org/t/global-environment-vars-accessible-in-various-flows/65717 "2022-07-27T20:49:31Z")

</div>

Hi everybody, i have various flows with f.e. http request nodes using credentials and different environment urls (want to have configurable test and production integration f.e.) and therefore I am looking for a solution…

---

## [Error in payload](https://discourse.nodered.org/t/error-in-payload/65715)

<div class="topic-metadata">

**Author:** [@sn19](https://discourse.nodered.org/u/sn19)\
**Replies:** 8\
**Last updated:** [27 July 2022 19:58 UTC](https://discourse.nodered.org/t/error-in-payload/65715 "2022-07-27T19:58:30Z")

</div>

What causes the following error and how do I fix it ? msg : error "TypeError: Cannot read properties of undefined (reading 'split')"

---

## [Connect a Pico-W to the best WiFi network](https://discourse.nodered.org/t/connect-a-pico-w-to-the-best-wifi-network/64917)

<div class="topic-metadata">

**Author:** [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Replies:** 1\
**Last updated:** [27 July 2022 18:26 UTC](https://discourse.nodered.org/t/connect-a-pico-w-to-the-best-wifi-network/64917 "2022-07-27T18:26:03Z")

</div>

I've just finished writing a mini-tutorial (for my IoT students) on how to connect a Pico-W to a WiFi network with the best signal strength (lowest rssi value). Although I must admit this posting is not directly related…

---

## [Translate Português pt-BR (Done!)](https://discourse.nodered.org/t/translate-portugues-pt-br-done/65594)

<div class="topic-metadata">

**Author:** [@Fabios](https://discourse.nodered.org/u/Fabios)\
**Replies:** 4\
**Last updated:** [27 July 2022 16:51 UTC](https://discourse.nodered.org/t/translate-portugues-pt-br-done/65594 "2022-07-27T16:51:42Z")

</div>

@hardillib, @dceejay , and @knolleary. Finally, I've finished the Portuguese translation already using v 3.0 branch. There is a PR #3100 opened by @herickf, where I and others made some comments but it was 2.0.3 based …

---

## [HTTP Request: set payload to append query string when method is set via msg.method](https://discourse.nodered.org/t/http-request-set-payload-to-append-query-string-when-method-is-set-via-msg-method/65675)

<div class="topic-metadata">

**Author:** [@MyRandomThoughts](https://discourse.nodered.org/u/MyRandomThoughts)\
**Replies:** 5\
**Last updated:** [27 July 2022 15:40 UTC](https://discourse.nodered.org/t/http-request-set-payload-to-append-query-string-when-method-is-set-via-msg-method/65675 "2022-07-27T15:40:29Z")

</div>

When using a HTTP Request node, there is the option of passing msg.method, but when setting this to GET I can't see the option of setting the payload option to Append to query-string parameters Is this possible?

---

## [Node-red core will not install 3.0.0 core](https://discourse.nodered.org/t/node-red-core-will-not-install-3-0-0-core/65646)

<div class="topic-metadata">

**Author:** [@Henrys320](https://discourse.nodered.org/u/Henrys320)\
**Replies:** 4\
**Last updated:** [27 July 2022 15:30 UTC](https://discourse.nodered.org/t/node-red-core-will-not-install-3-0-0-core/65646 "2022-07-27T15:30:07Z")

</div>

I am trying to upgrade node-red to version 3.0.0 from 2.2.2. But the core does no install. Stop Node-RED ✔ Remove old version of Node-RED ✔ Node option not specified : --node14…

---

## [Sending data from node-red to xlsx file on windows 10](https://discourse.nodered.org/t/sending-data-from-node-red-to-xlsx-file-on-windows-10/65674)

<div class="topic-metadata">

**Author:** [@Aldryan](https://discourse.nodered.org/u/Aldryan)\
**Replies:** 8\
**Last updated:** [27 July 2022 15:29 UTC](https://discourse.nodered.org/t/sending-data-from-node-red-to-xlsx-file-on-windows-10/65674 "2022-07-27T15:29:40Z")

</div>

Hello, I'm still very new to Node-red and am confused on how to create a xlsx file and update it through the flow Basically, I tried to recreate a flow from this reference I modify the input to just a timestamp with a…

---

## [Manipulating XML with Node-Red](https://discourse.nodered.org/t/manipulating-xml-with-node-red/65682)

<div class="topic-metadata">

**Author:** [@Coroebus](https://discourse.nodered.org/u/Coroebus)\
**Replies:** 10\
**Last updated:** [27 July 2022 14:33 UTC](https://discourse.nodered.org/t/manipulating-xml-with-node-red/65682 "2022-07-27T14:33:33Z")

</div>

Hello, Very newbie with node-red , I have a mechanically controlled dual-flow fan which generates an XML file containing informations such as temperatures or fan speeds. With Node-Red, I get the values ​​I'm interested…

---

## [Store data in InfluxDB show in Chronograf](https://discourse.nodered.org/t/store-data-in-influxdb-show-in-chronograf/65339)

<div class="topic-metadata">

**Author:** [@maru](https://discourse.nodered.org/u/maru)\
**Replies:** 33\
**Last updated:** [27 July 2022 13:40 UTC](https://discourse.nodered.org/t/store-data-in-influxdb-show-in-chronograf/65339 "2022-07-27T13:40:52Z")

</div>

Hi, Below a testflow to get data in InfluxDB. What kind of conversion or function do I need to store the data in InfluxDB? \[{"id":"ba27c0a00ee1ad6c","type":"debug","z":"eb156835682f62e8","name":"","active":true,"tos…

---

## [What is the official logo / icon of the project?](https://discourse.nodered.org/t/what-is-the-official-logo-icon-of-the-project/65692)

<div class="topic-metadata">

**Author:** [@BenSouchet](https://discourse.nodered.org/u/BenSouchet)\
**Replies:** 1\
**Last updated:** [27 July 2022 12:38 UTC](https://discourse.nodered.org/t/what-is-the-official-logo-icon-of-the-project/65692 "2022-07-27T12:38:02Z")

</div>

Hi, Someone asked if we can add Node-RED to Devicon but It's seems there is multiple logo on your Ressource page Resources : Node-RED So my question is which one is the official one ? Additional info : on Devicon, we …

---

## [Is node-red a complete IoT solution?](https://discourse.nodered.org/t/is-node-red-a-complete-iot-solution/65178)

<div class="topic-metadata">

**Author:** [@miladmrm](https://discourse.nodered.org/u/miladmrm)\
**Replies:** 16\
**Last updated:** [27 July 2022 10:06 UTC](https://discourse.nodered.org/t/is-node-red-a-complete-iot-solution/65178 "2022-07-27T10:06:14Z")

</div>

Where does the node-red deploy? In gateway or in the central server? Can it play the role of the IoT platform in the central server? Can node-red be placed beside a local IOT platform like OpenRemote on server? Is there …

---

## [Scared of upgrading ancient Node-RED (1.1.3) to 3.x](https://discourse.nodered.org/t/scared-of-upgrading-ancient-node-red-1-1-3-to-3-x/65411)

<div class="topic-metadata">

**Author:** [@clickworkorange](https://discourse.nodered.org/u/clickworkorange)\
**Replies:** 32\
**Last updated:** [24 July 2022 17:20 UTC](https://discourse.nodered.org/t/scared-of-upgrading-ancient-node-red-1-1-3-to-3-x/65411 "2022-07-24T17:20:18Z")

</div>

I have a large and complicated Node-RED system that uses quite a few contrib nodes, some of which haven't received updates in a long time (camerapi, nut-ups, owfs, to name a few), and I'm worried that such a large jump f…

---

## [Define a new message](https://discourse.nodered.org/t/define-a-new-message/65635)

<div class="topic-metadata">

**Author:** [@salma2302](https://discourse.nodered.org/u/salma2302)\
**Replies:** 19\
**Last updated:** [27 July 2022 09:35 UTC](https://discourse.nodered.org/t/define-a-new-message/65635 "2022-07-27T09:35:34Z")

</div>

How define a new topic in a function and use the result of this topic.

---

## [When installing dependency node-red-dashboard 2.21.0 cannot reconnect to node-red](https://discourse.nodered.org/t/when-installing-dependency-node-red-dashboard-2-21-0-cannot-reconnect-to-node-red/64997)

<div class="topic-metadata">

**Author:** [@nickbou](https://discourse.nodered.org/u/nickbou)\
**Replies:** 17\
**Last updated:** [27 July 2022 08:26 UTC](https://discourse.nodered.org/t/when-installing-dependency-node-red-dashboard-2-21-0-cannot-reconnect-to-node-red/64997 "2022-07-27T08:26:47Z")

</div>

Hello, i have a weird issue. i use a raspberry pi debian sw. I clone a project from bitbucket and install the dependecies needed. when i install the . "node-red-dashboard 2.21.0 " dependency node red crashes and i can…

---

## [Speed up ui loading on Raspberry Pi 4](https://discourse.nodered.org/t/speed-up-ui-loading-on-raspberry-pi-4/65561)

<div class="topic-metadata">

**Author:** [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Replies:** 15\
**Last updated:** [27 July 2022 08:24 UTC](https://discourse.nodered.org/t/speed-up-ui-loading-on-raspberry-pi-4/65561 "2022-07-27T08:24:05Z")

</div>

Hiho my friends, my homebrew stuff (node red flows) grows on and on. The problem: if my me or my girl friend opens the ui it takes up to 10 seconds to load. - That s not very sufficient if you just want to switch a ligh…

---

## [Join/Merge msg.payload with text/string](https://discourse.nodered.org/t/join-merge-msg-payload-with-text-string/65666)

<div class="topic-metadata">

**Author:** [@gregolin](https://discourse.nodered.org/u/gregolin)\
**Replies:** 2\
**Last updated:** [27 July 2022 07:22 UTC](https://discourse.nodered.org/t/join-merge-msg-payload-with-text-string/65666 "2022-07-27T07:22:01Z")

</div>

Hi. I'm trying to construct a flow which I'll check all end devices (with battery) to get their battery level and send me a notification weekly, for instance. So I need to collect some states from entities, create only…

---

## [E-Mail Attachment](https://discourse.nodered.org/t/e-mail-attachment/65630)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 4\
**Last updated:** [27 July 2022 04:22 UTC](https://discourse.nodered.org/t/e-mail-attachment/65630 "2022-07-27T04:22:34Z")

</div>

Hi, i am able to send e-mail attachment through E-mail Node node-red-node-email 1.15.1 but i am getting a message as per below, even though i have included a msg.payload with my custom message , this is what is appeari…

---

## [Installing in WSL2](https://discourse.nodered.org/t/installing-in-wsl2/65617)

<div class="topic-metadata">

**Author:** [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)\
**Replies:** 8\
**Last updated:** [26 July 2022 20:58 UTC](https://discourse.nodered.org/t/installing-in-wsl2/65617 "2022-07-26T20:58:48Z")

</div>

I did a quick search, and found some instructions here: https://discourse.nodered.org/t/how-to-run-node-red-on-windows-10-wsl-linux-subsystem/ Just checking to see if this info is up to date before proceeding? I tried …

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

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