# Latest

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

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

**Page:** 850

---

## [Colorize text when no update is received](https://discourse.nodered.org/t/colorize-text-when-no-update-is-received/43237)

<div class="topic-metadata">

**Author:** [@Mortimer](https://discourse.nodered.org/u/Mortimer)\
**Replies:** 2\
**Last updated:** [30 March 2021 09:40 UTC](https://discourse.nodered.org/t/colorize-text-when-no-update-is-received/43237 "2021-03-30T09:40:28Z")

</div>

Dear all, I use MQTT to receive updates from my heating. For example, the heating will send an update every 1 minute on the humidity in my living room, which I use to present in the dashboard. However, to exclude any…

---

## [Node red atlas scientific rtd](https://discourse.nodered.org/t/node-red-atlas-scientific-rtd/43374)

<div class="topic-metadata">

**Author:** [@drtoyis](https://discourse.nodered.org/u/drtoyis)\
**Replies:** 0\
**Last updated:** [29 March 2021 18:20 UTC](https://discourse.nodered.org/t/node-red-atlas-scientific-rtd/43374 "2021-03-29T18:20:59Z")

</div>

Hi. I would like to access data of an atlas scientific rtd sensor in node red. I have created a flow with exec where i execute the atlas sample script but i cannot get the temperature data, i get a command list. If i ru…

---

## [Node-sqlite installation issue](https://discourse.nodered.org/t/node-sqlite-installation-issue/43380)

<div class="topic-metadata">

**Author:** [@NaniAP](https://discourse.nodered.org/u/NaniAP)\
**Replies:** 1\
**Last updated:** [30 March 2021 04:54 UTC](https://discourse.nodered.org/t/node-sqlite-installation-issue/43380 "2021-03-30T04:54:46Z")

</div>

0 verbose cli \[ 0 verbose cli 'C:\\Program Files\\nodejs\\node.exe', 0 verbose cli 'C:\\Users\\user\\AppData\\Roaming\\npm\\node\_modules\\npm\\bin\\npm-cli.js', 0 verbose cli 'install', 0 verbose cli 'node-red-node-sqlit…

---

## [\[ANNOUNCE\] node-red-contrib-chronos 1.8.0](https://discourse.nodered.org/t/announce-node-red-contrib-chronos-1-8-0/38905)

<div class="topic-metadata">

**Author:** [@jens\_rossbach](https://discourse.nodered.org/u/jens_rossbach)\
**Replies:** 8\
**Last updated:** [30 March 2021 04:35 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-chronos-1-8-0/38905 "2021-03-30T04:35:31Z")

</div>

Hi all, I just released version 1.8.0 of node-red-contrib-chronos. In this version, the scheduler node, the time switch node and the time filter node support loading parts of their configuration (schedule events in case…

---

## [Why does this flow generate two mqttt messages for the topic?](https://discourse.nodered.org/t/why-does-this-flow-generate-two-mqttt-messages-for-the-topic/43332)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 7\
**Last updated:** [30 March 2021 03:03 UTC](https://discourse.nodered.org/t/why-does-this-flow-generate-two-mqttt-messages-for-the-topic/43332 "2021-03-30T03:03:17Z")

</div>

Why does this flow generate two mqttt messages for the topic /eccentric/echo/data? The flow sends and receives /eccentric/echo/control, as expected, this in turn should trigger send and receive of /eccentric/echo/data, …

---

## [Why..... \[error\] \[Barcode Decoder:Qrdecode\] NotFoundException: No MultiFormat Readers were able to detect the code](https://discourse.nodered.org/t/why-error-barcode-decoder-qrdecode-notfoundexception-no-multiformat-readers-were-able-to-detect-the-code/43351)

<div class="topic-metadata">

**Author:** [@12345](https://discourse.nodered.org/u/12345)\
**Replies:** 5\
**Last updated:** [30 March 2021 02:49 UTC](https://discourse.nodered.org/t/why-error-barcode-decoder-qrdecode-notfoundexception-no-multiformat-readers-were-able-to-detect-the-code/43351 "2021-03-30T02:49:14Z")

</div>

\[{"id":"9d026d51.1a392","type":"tab","label":"webcam+Qrdecode","disabled":false,"info":""},{"id":"5e606e13.97f31","type":"inject","z":"9d026d51.1a392","name":"","props":\[{"p":"payload"},{"p":"topic","vt":"str"}\],"repeat"…

---

## [Create a template to scan a barcode using zxing and return the data as payload](https://discourse.nodered.org/t/create-a-template-to-scan-a-barcode-using-zxing-and-return-the-data-as-payload/15000)

<div class="topic-metadata">

**Author:** [@Frank2000](https://discourse.nodered.org/u/Frank2000)\
**Replies:** 1\
**Last updated:** [30 March 2021 02:12 UTC](https://discourse.nodered.org/t/create-a-template-to-scan-a-barcode-using-zxing-and-return-the-data-as-payload/15000 "2021-03-30T02:12:51Z")

</div>

HI! I try to build a ui\_template to scan a barcode by unsing zxing under android and return the bar code as payload. The free zxing tool is installed and working fine. Here is my template so far: \<script type="text/j…

---

## [Deconz-out with transition time](https://discourse.nodered.org/t/deconz-out-with-transition-time/43322)

<div class="topic-metadata">

**Author:** [@WordsOfMe](https://discourse.nodered.org/u/WordsOfMe)\
**Replies:** 2\
**Last updated:** [29 March 2021 22:47 UTC](https://discourse.nodered.org/t/deconz-out-with-transition-time/43322 "2021-03-29T22:47:46Z")

</div>

Hello, I am trying to get the colour effects output of the Hue Magic node (node-red-contrib-huemagic) to my Zigbee lights via the deconz-out node (node-red-contrib-deconz). Basicall Hue Magic outputs a colour hex-code …

---

## [Object Sqlite Query, Add Some Data & Merge](https://discourse.nodered.org/t/object-sqlite-query-add-some-data-merge/43331)

<div class="topic-metadata">

**Author:** [@aa0z](https://discourse.nodered.org/u/aa0z)\
**Replies:** 16\
**Last updated:** [29 March 2021 21:41 UTC](https://discourse.nodered.org/t/object-sqlite-query-add-some-data-merge/43331 "2021-03-29T21:41:51Z")

</div>

I have this object payload. I have a sqlite database with call signs and US states those call signs are associated with. I'd like to search the database with "call" and have it return a state. If there isn't a state…

---

## [🎉 Node-RED 1.3.0-beta.1 released](https://discourse.nodered.org/t/node-red-1-3-0-beta-1-released/41960)

<div class="topic-metadata">

**Author:** [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Replies:** 33\
**Last updated:** [29 March 2021 20:55 UTC](https://discourse.nodered.org/t/node-red-1-3-0-beta-1-released/41960 "2021-03-29T20:55:33Z")

</div>

The first beta release of Node-RED 1.3.0 is now available. This contains just about everything planned for the final release. The Change Log has the full list of changes in this release, but here are the highlights. N…

---

## [Problem with loops](https://discourse.nodered.org/t/problem-with-loops/43376)

<div class="topic-metadata">

**Author:** [@fikerplunk](https://discourse.nodered.org/u/fikerplunk)\
**Replies:** 0\
**Last updated:** [29 March 2021 20:45 UTC](https://discourse.nodered.org/t/problem-with-loops/43376 "2021-03-29T20:45:14Z")

</div>

Hi guys! I am trying to implement a way for the firestore database to become more dynamic and I have succeeded, I just need one thing. The flow: the orange node is the firestore node (node-red-contrib-cloud-firesto…

---

## [Print Label on Node-Red](https://discourse.nodered.org/t/print-label-on-node-red/43253)

<div class="topic-metadata">

**Author:** [@bobfield](https://discourse.nodered.org/u/bobfield)\
**Replies:** 22\
**Last updated:** [29 March 2021 20:39 UTC](https://discourse.nodered.org/t/print-label-on-node-red/43253 "2021-03-29T20:39:07Z")

</div>

Dears, I need print a label to identify a material, using a Node-Red flow. How can I do this? Thanks, Roberto Campos

---

## [Difference between asynchronous and synchronous](https://discourse.nodered.org/t/difference-between-asynchronous-and-synchronous/43250)

<div class="topic-metadata">

**Author:** [@fikerplunk](https://discourse.nodered.org/u/fikerplunk)\
**Replies:** 3\
**Last updated:** [29 March 2021 20:22 UTC](https://discourse.nodered.org/t/difference-between-asynchronous-and-synchronous/43250 "2021-03-29T20:22:25Z")

</div>

I'm new to node-red and I often come across the term asynchronous and synchronous when I study about it. In practice, what is the difference between them? Thank you!

---

## [Slider and numeric widgets only pass through message if different from current value](https://discourse.nodered.org/t/slider-and-numeric-widgets-only-pass-through-message-if-different-from-current-value/43275)

<div class="topic-metadata">

**Author:** [@rogerjames99](https://discourse.nodered.org/u/rogerjames99)\
**Replies:** 8\
**Last updated:** [29 March 2021 19:31 UTC](https://discourse.nodered.org/t/slider-and-numeric-widgets-only-pass-through-message-if-different-from-current-value/43275 "2021-03-29T19:31:07Z")

</div>

Unlike the behaviour of other dashboard widgets. The slider and numeric widgets do not pass through incoming message that are the same as the current value, even if the pass incoming option is set. I have tried with both…

---

## [Write file only when button is triggered](https://discourse.nodered.org/t/write-file-only-when-button-is-triggered/43370)

<div class="topic-metadata">

**Author:** [@limpstar](https://discourse.nodered.org/u/limpstar)\
**Replies:** 2\
**Last updated:** [29 March 2021 18:58 UTC](https://discourse.nodered.org/t/write-file-only-when-button-is-triggered/43370 "2021-03-29T18:58:12Z")

</div>

hello guys I am reading data from an Arduino. This data is being written into a file on the Raspi. The way it works now is that as soon as the Arduino sends anything, the Raspi immediatly writes the file. What I would l…

---

## [JS make array from object values with "key" filtering](https://discourse.nodered.org/t/js-make-array-from-object-values-with-key-filtering/43365)

<div class="topic-metadata">

**Author:** [@pautorras](https://discourse.nodered.org/u/pautorras)\
**Replies:** 6\
**Last updated:** [29 March 2021 16:14 UTC](https://discourse.nodered.org/t/js-make-array-from-object-values-with-key-filtering/43365 "2021-03-29T16:14:15Z")

</div>

Hi all, I'm looking to make a array of values from object. I would like to filter the object keys, to make array only with the desired objects. I have tested with this code, but something is wrong: var GlObject=globa…

---

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

<div class="topic-metadata">

**Author:** [@manie](https://discourse.nodered.org/u/manie)\
**Replies:** 4\
**Last updated:** [29 March 2021 14:41 UTC](https://discourse.nodered.org/t/node-red-foreach-error/42918 "2021-03-29T14:41:33Z")

</div>

Please help! I was busy with creating a ui with a table and text fields when all of a sudden my node red close and I got this error in command prompt. I thought the problem was in my flow so I copied my flow file out and…

---

## [Node-red to google assistant / Alexa](https://discourse.nodered.org/t/node-red-to-google-assistant-alexa/43111)

<div class="topic-metadata">

**Author:** [@akszyn\_pl](https://discourse.nodered.org/u/akszyn_pl)\
**Replies:** 10\
**Last updated:** [24 March 2021 13:55 UTC](https://discourse.nodered.org/t/node-red-to-google-assistant-alexa/43111 "2021-03-24T13:55:35Z")

</div>

Hello, is it possible to use node-red to sending a command to turn on / off the device to the Google assistant or Alexa from Amazon?

---

## [I got an error related to mqtt subscription](https://discourse.nodered.org/t/i-got-an-error-related-to-mqtt-subscription/43162)

<div class="topic-metadata">

**Author:** [@Athurian](https://discourse.nodered.org/u/Athurian)\
**Replies:** 20\
**Last updated:** [29 March 2021 14:03 UTC](https://discourse.nodered.org/t/i-got-an-error-related-to-mqtt-subscription/43162 "2021-03-29T14:03:19Z")

</div>

The flow is as follows. I saw the mqtt log status in a state where no data came in from node red and no connection was made. However, the content in the picture is as follows. "socket error on client mosqsub|15797-ras…

---

## [Joining messages](https://discourse.nodered.org/t/joining-messages/43343)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 7\
**Last updated:** [29 March 2021 12:29 UTC](https://discourse.nodered.org/t/joining-messages/43343 "2021-03-29T12:29:55Z")

</div>

Hi, I have 3 or 4 nodes which generates different msg.payload at different times. I need to join all the payloads into one single payload, only when the last node has completed its job. Got confused....

---

## [WRITE to S7 1500 PLC](https://discourse.nodered.org/t/write-to-s7-1500-plc/43364)

<div class="topic-metadata">

**Author:** [@iotred3307](https://discourse.nodered.org/u/iotred3307)\
**Replies:** 0\
**Last updated:** [29 March 2021 13:19 UTC](https://discourse.nodered.org/t/write-to-s7-1500-plc/43364 "2021-03-29T13:19:20Z")

</div>

I am trying to write an INT value to a data block of an S7 1500 PLC. The PUT/GET is active on the PLC and the data block is set as non-optimized. Unfortunately, the connection fails and there are multiple SET/RESET mess…

---

## [Dashboard Not Correct in Browser](https://discourse.nodered.org/t/dashboard-not-correct-in-browser/43312)

<div class="topic-metadata">

**Author:** [@n61ab](https://discourse.nodered.org/u/n61ab)\
**Replies:** 9\
**Last updated:** [29 March 2021 11:43 UTC](https://discourse.nodered.org/t/dashboard-not-correct-in-browser/43312 "2021-03-29T11:43:31Z")

</div>

Often, my dashboard does not update correctly on my browser. Mostly, background color changes, text changes, and font size do not update. Refreshing the browser helps some, but not all differences are corrected. Resta…

---

## [How to reduce 5000 lines of code to just a few using a variable?](https://discourse.nodered.org/t/how-to-reduce-5000-lines-of-code-to-just-a-few-using-a-variable/43341)

<div class="topic-metadata">

**Author:** [@Gino\_Schreuders](https://discourse.nodered.org/u/Gino_Schreuders)\
**Replies:** 11\
**Last updated:** [29 March 2021 11:11 UTC](https://discourse.nodered.org/t/how-to-reduce-5000-lines-of-code-to-just-a-few-using-a-variable/43341 "2021-03-29T11:11:33Z")

</div>

Dear reader, I'm a intern at a company that distrubits camera. Together with my internship supervisor we are making software for Hikvision camera's using Node-Red. We got our program working, however we have a function…

---

## [Http-request, cookies for different domains in one flow](https://discourse.nodered.org/t/http-request-cookies-for-different-domains-in-one-flow/40636)

<div class="topic-metadata">

**Author:** [@Marooned](https://discourse.nodered.org/u/Marooned)\
**Replies:** 1\
**Last updated:** [29 March 2021 11:21 UTC](https://discourse.nodered.org/t/http-request-cookies-for-different-domains-in-one-flow/40636 "2021-03-29T11:21:55Z")

</div>

Hi After a few days, dozens of attempts and checking all forum/google results I could find I decided to ask here for some help. I try to get some data from a page (myedenred.pl, employee benefit prepaid cards). There a…

---

## [MSSQL-PLUS, Same query, different response](https://discourse.nodered.org/t/mssql-plus-same-query-different-response/43340)

<div class="topic-metadata">

**Author:** [@JonasH](https://discourse.nodered.org/u/JonasH)\
**Replies:** 9\
**Last updated:** [29 March 2021 10:46 UTC](https://discourse.nodered.org/t/mssql-plus-same-query-different-response/43340 "2021-03-29T10:46:49Z")

</div>

Hi all, I´m using MSSQL-PLUS to read out a value from MS SQL DB. I created the Query manually, than I get the correct response from the DB. I create the Query automatically, than I get an "empty" response from DB. Wh…

---

## [Conflict between node-red-node-sqlite and node-red-contrib-sqlitedb](https://discourse.nodered.org/t/conflict-between-node-red-node-sqlite-and-node-red-contrib-sqlitedb/40736)

<div class="topic-metadata">

**Author:** [@rikki78](https://discourse.nodered.org/u/rikki78)\
**Replies:** 27\
**Last updated:** [29 March 2021 10:32 UTC](https://discourse.nodered.org/t/conflict-between-node-red-node-sqlite-and-node-red-contrib-sqlitedb/40736 "2021-03-29T10:32:35Z")

</div>

Hi there, Yesterday I have updated node-red (in Home Assistant) and since that there is a conflict between node-red-node-sqlite and node-red-contrib-sqlitedb. How can I resolve this issue? node-red-contrib-sqlitedb is …

---

## [Dashboard background image - can the template node accept raw SVG code?](https://discourse.nodered.org/t/dashboard-background-image-can-the-template-node-accept-raw-svg-code/43333)

<div class="topic-metadata">

**Author:** [@MarkC](https://discourse.nodered.org/u/MarkC)\
**Replies:** 8\
**Last updated:** [29 March 2021 10:29 UTC](https://discourse.nodered.org/t/dashboard-background-image-can-the-template-node-accept-raw-svg-code/43333 "2021-03-29T10:29:00Z")

</div>

Hello folks, I am trying to setup a dashboard with a CSS coloured background and a overlaid image/logo (using the template node), and I want to apply opacity to the image/logo without effecting anything else. To get th…

---

## [Node-red-contrib-turndown - Escaping characters](https://discourse.nodered.org/t/node-red-contrib-turndown-escaping-characters/43228)

<div class="topic-metadata">

**Author:** [@Djibril](https://discourse.nodered.org/u/Djibril)\
**Replies:** 2\
**Last updated:** [29 March 2021 09:56 UTC](https://discourse.nodered.org/t/node-red-contrib-turndown-escaping-characters/43228 "2021-03-29T09:56:36Z")

</div>

Hi, I would use node-red to create a bot able to grab specific info online through cheerio and send using telegram. To do that, I would convert html to markdownV2, in order to maintain links and some formatting. I tri…

---

## [Multiple global var injects to one array](https://discourse.nodered.org/t/multiple-global-var-injects-to-one-array/43349)

<div class="topic-metadata">

**Author:** [@pautorras](https://discourse.nodered.org/u/pautorras)\
**Replies:** 0\
**Last updated:** [29 March 2021 09:29 UTC](https://discourse.nodered.org/t/multiple-global-var-injects-to-one-array/43349 "2021-03-29T09:29:29Z")

</div>

Hi folks, I'm working on a project to upload var values to cloud. Values are readed from PLC and are stored in global context as an object. Then, with multiple injects, one for object variable, the data is uploaded to…

---

## [Cast Youtube (or other app function) to Roku](https://discourse.nodered.org/t/cast-youtube-or-other-app-function-to-roku/43337)

<div class="topic-metadata">

**Author:** [@nuvious](https://discourse.nodered.org/u/nuvious)\
**Replies:** 2\
**Last updated:** [29 March 2021 09:04 UTC](https://discourse.nodered.org/t/cast-youtube-or-other-app-function-to-roku/43337 "2021-03-29T09:04:11Z")

</div>

So I've wanted to setup my TV's to play a YouTube video as an alarm. I saw a lot of nodes for casting to Chromecast but I have Rokus at my house which luckily has a simple api. Thus I created this simple flow that takes …

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

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