# Latest

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

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

**Page:** 250

---

## [Modbus data not update on 2nd unit id or any other unit id](https://discourse.nodered.org/t/modbus-data-not-update-on-2nd-unit-id-or-any-other-unit-id/84501)

<div class="topic-metadata">

**Author:** [@PRABHAKAR82](https://discourse.nodered.org/u/PRABHAKAR82)\
**Replies:** 0\
**Last updated:** [12 January 2024 05:00 UTC](https://discourse.nodered.org/t/modbus-data-not-update-on-2nd-unit-id-or-any-other-unit-id/84501 "2024-01-12T05:00:49Z")

</div>

flows (4).json (7.7 KB) I write data into unit id 1 in Modbus server its working properly but when I write data on 2nd unit id then its not working. Same data is showing on unit id 2 or any other unit id whatever data i…

---

## [Random nodered crashes with node-red-contrib-tuya-local](https://discourse.nodered.org/t/random-nodered-crashes-with-node-red-contrib-tuya-local/84490)

<div class="topic-metadata">

**Author:** [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Replies:** 2\
**Last updated:** [12 January 2024 04:10 UTC](https://discourse.nodered.org/t/random-nodered-crashes-with-node-red-contrib-tuya-local/84490 "2024-01-12T04:10:12Z")

</div>

Hello Just wondering if anyone else has experienced this. I am using node-red-contrib-tuya-local which makes use of the Tuya API to locally control Tuya switches. Every now and again (randomly) a switch will show "disc…

---

## [Non-Linear characteristic calibration](https://discourse.nodered.org/t/non-linear-characteristic-calibration/84474)

<div class="topic-metadata">

**Author:** [@Berx](https://discourse.nodered.org/u/Berx)\
**Replies:** 2\
**Last updated:** [11 January 2024 22:38 UTC](https://discourse.nodered.org/t/non-linear-characteristic-calibration/84474 "2024-01-11T22:38:04Z")

</div>

which is the best method to straighten non linear characteristics of analog sensors. For example some temperature sensors are not linear, so therefore they need to be calibrated. Supposing you had true physical temperatu…

---

## [UI Template using alert()](https://discourse.nodered.org/t/ui-template-using-alert/84491)

<div class="topic-metadata">

**Author:** [@Mick](https://discourse.nodered.org/u/Mick)\
**Replies:** 4\
**Last updated:** [11 January 2024 22:26 UTC](https://discourse.nodered.org/t/ui-template-using-alert/84491 "2024-01-11T22:26:14Z")

</div>

I want to have an alert pop up that uses alert() method. I have an example and it works fine when using ngclick. However when I try to pass a msg.payload to the template the pop up will not show until I click on the b…

---

## [Chart Node Auto-Scaling](https://discourse.nodered.org/t/chart-node-auto-scaling/84450)

<div class="topic-metadata">

**Author:** [@MakerMan](https://discourse.nodered.org/u/MakerMan)\
**Replies:** 4\
**Last updated:** [11 January 2024 21:35 UTC](https://discourse.nodered.org/t/chart-node-auto-scaling/84450 "2024-01-11T21:35:48Z")

</div>

By default the chart will auto-scale on the Y axis. Or I can specify axes values with msg.ui\_control = { "ymax": (scale\_max), "ymin": (scale\_min), "stepSize": '0.5' }; I'm trying to prevent a chart Y axis being too 's…

---

## [Convert decimal to hex then store in binary buffer](https://discourse.nodered.org/t/convert-decimal-to-hex-then-store-in-binary-buffer/84435)

<div class="topic-metadata">

**Author:** [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Replies:** 5\
**Last updated:** [11 January 2024 20:27 UTC](https://discourse.nodered.org/t/convert-decimal-to-hex-then-store-in-binary-buffer/84435 "2024-01-11T20:27:03Z")

</div>

Hello I have a slider node that I slide from 0 to 40. The output is obviously a decimal number. I need to convert this to hex, so I used var hexstring1 = "0x" + msg.payload.toString(16); However, when I try to load th…

---

## [Opcua invalid end point check that server has sercurity polic](https://discourse.nodered.org/t/opcua-invalid-end-point-check-that-server-has-sercurity-polic/84488)

<div class="topic-metadata">

**Author:** [@PRABHAKAR82](https://discourse.nodered.org/u/PRABHAKAR82)\
**Replies:** 1\
**Last updated:** [11 January 2024 20:07 UTC](https://discourse.nodered.org/t/opcua-invalid-end-point-check-that-server-has-sercurity-polic/84488 "2024-01-11T20:07:08Z")

</div>

I am trying to set up an opcua client. i entered end point address correct but get an error "invalid end point check that server has security policy". What is the solution to this problem?

---

## [Raspi Zero 2W GPIO](https://discourse.nodered.org/t/raspi-zero-2w-gpio/84484)

<div class="topic-metadata">

**Author:** [@BennyBarnes](https://discourse.nodered.org/u/BennyBarnes)\
**Replies:** 2\
**Last updated:** [11 January 2024 19:03 UTC](https://discourse.nodered.org/t/raspi-zero-2w-gpio/84484 "2024-01-11T19:03:53Z")

</div>

Raspi GPIOs unusable in up to date installation (Nodes say "not available") node red v3.1.3 running on bullseye Linux 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux) on Raspi Zero 2W, Syslog leve…

---

## [Pulsating icon with node-red-contrib-web-worldmap](https://discourse.nodered.org/t/pulsating-icon-with-node-red-contrib-web-worldmap/84485)

<div class="topic-metadata">

**Author:** [@pirox](https://discourse.nodered.org/u/pirox)\
**Replies:** 0\
**Last updated:** [11 January 2024 16:11 UTC](https://discourse.nodered.org/t/pulsating-icon-with-node-red-contrib-web-worldmap/84485 "2024-01-11T16:11:29Z")

</div>

I would like to make the icon displayed on the map 'pulsating'. For example, using the color of the point. For instance, white-green-orange-red-black icon. The pulsation speed ranges from once every 5 seconds to black p…

---

## [Modbus tcp readout](https://discourse.nodered.org/t/modbus-tcp-readout/84311)

<div class="topic-metadata">

**Author:** [@Egge](https://discourse.nodered.org/u/Egge)\
**Replies:** 11\
**Last updated:** [11 January 2024 16:36 UTC](https://discourse.nodered.org/t/modbus-tcp-readout/84311 "2024-01-11T16:36:59Z")

</div>

Hi - very basic newbie question goal is to read-out an energy meter via modbus tcp with node-red and dispaly results in a dahsboard energy meter has proper IP-adress and works well with another modbus read-out tool. I…

---

## [Data not write in modbus](https://discourse.nodered.org/t/data-not-write-in-modbus/84482)

<div class="topic-metadata">

**Author:** [@PRABHAKAR82](https://discourse.nodered.org/u/PRABHAKAR82)\
**Replies:** 5\
**Last updated:** [11 January 2024 16:25 UTC](https://discourse.nodered.org/t/data-not-write-in-modbus/84482 "2024-01-11T16:25:34Z")

</div>

flows (3).json (7.7 KB) Please see my attached flow and guide where I did mistake. When I write data into Modbus server through inject node then it write on Modbus server, But when I try to write data of MQTT then its…

---

## [Websocket connection error?](https://discourse.nodered.org/t/websocket-connection-error/83929)

<div class="topic-metadata">

**Author:** [@hansimeister](https://discourse.nodered.org/u/hansimeister)\
**Replies:** 5\
**Last updated:** [11 January 2024 14:31 UTC](https://discourse.nodered.org/t/websocket-connection-error/83929 "2024-01-11T14:31:06Z")

</div>

Hey there :slight\_smile: I am developing a custom node. When I do not enter valid input for rectangleItems the node succeeds, however as soon as I enter some values for rectangleItems the node stops working and I get th…

---

## [Node-red-node-ui-table node, cell formatting](https://discourse.nodered.org/t/node-red-node-ui-table-node-cell-formatting/84387)

<div class="topic-metadata">

**Author:** [@chrisofCCL](https://discourse.nodered.org/u/chrisofCCL)\
**Replies:** 4\
**Last updated:** [11 January 2024 13:30 UTC](https://discourse.nodered.org/t/node-red-node-ui-table-node-cell-formatting/84387 "2024-01-11T13:30:50Z")

</div>

I may be being thick here, but having read the documentation about formatting tables, I still don't get it. I want to use the Format-Color or Format-Traffic options to colour a single cell red or amber. How would I do …

---

## [Filtering a number value in a string](https://discourse.nodered.org/t/filtering-a-number-value-in-a-string/84473)

<div class="topic-metadata">

**Author:** [@sneakynuts](https://discourse.nodered.org/u/sneakynuts)\
**Replies:** 4\
**Last updated:** [11 January 2024 12:50 UTC](https://discourse.nodered.org/t/filtering-a-number-value-in-a-string/84473 "2024-01-11T12:50:45Z")

</div>

Using the alexa.remote2 palette, when asking alexa, for example, "Whats the current temperature?" This is the response i get in the debug How do i use a switch node to use like "is between" two values when the answer…

---

## [Problem with Layout when width greater than 30](https://discourse.nodered.org/t/problem-with-layout-when-width-greater-than-30/84471)

<div class="topic-metadata">

**Author:** [@JeromeVISUALS](https://discourse.nodered.org/u/JeromeVISUALS)\
**Replies:** 4\
**Last updated:** [11 January 2024 12:38 UTC](https://discourse.nodered.org/t/problem-with-layout-when-width-greater-than-30/84471 "2024-01-11T12:38:04Z")

</div>

Hi all, this topic is to mention the exact same problem as what is described here : https://discourse.nodered.org/t/layout-with-width-greater-than-30/80645 I see exactly the same layout trouble, as soon as I set a col…

---

## [Web Page Launch using node Template in dashboard with two tabs](https://discourse.nodered.org/t/web-page-launch-using-node-template-in-dashboard-with-two-tabs/84445)

<div class="topic-metadata">

**Author:** [@bobfield](https://discourse.nodered.org/u/bobfield)\
**Replies:** 6\
**Last updated:** [11 January 2024 12:06 UTC](https://discourse.nodered.org/t/web-page-launch-using-node-template-in-dashboard-with-two-tabs/84445 "2024-01-11T12:06:48Z")

</div>

Hi, I have a dashboard with two screens (tabs). The first has a button that when clicked opens a web page in the browser, using the node template with an HTML program. When I go to the second screen and return to the fi…

---

## [Function node programming for LED signaling](https://discourse.nodered.org/t/function-node-programming-for-led-signaling/84455)

<div class="topic-metadata">

**Author:** [@Berx](https://discourse.nodered.org/u/Berx)\
**Replies:** 6\
**Last updated:** [11 January 2024 12:03 UTC](https://discourse.nodered.org/t/function-node-programming-for-led-signaling/84455 "2024-01-11T12:03:21Z")

</div>

I would appreciate suggestions on how to best program the function node to get a signalling lamp to respond accordingly to the analog input levels. In advance, thanks for your response.

---

## [TypeError: BigQuery is not a constructor](https://discourse.nodered.org/t/typeerror-bigquery-is-not-a-constructor/84464)

<div class="topic-metadata">

**Author:** [@NikhilPal2468](https://discourse.nodered.org/u/NikhilPal2468)\
**Replies:** 1\
**Last updated:** [11 January 2024 08:21 UTC](https://discourse.nodered.org/t/typeerror-bigquery-is-not-a-constructor/84464 "2024-01-11T08:21:18Z")

</div>

Hello everyone, I am trying to use google-cloud-bigquery from node-red-contrib-google-cloud. After setting up the Bigquery node I get the following error message: " TypeError: BigQuery is not a constructor" Node…

---

## [Nodered, refactoring code and autocompletion](https://discourse.nodered.org/t/nodered-refactoring-code-and-autocompletion/84427)

<div class="topic-metadata">

**Author:** [@iznogoud320](https://discourse.nodered.org/u/iznogoud320)\
**Replies:** 12\
**Last updated:** [11 January 2024 01:08 UTC](https://discourse.nodered.org/t/nodered-refactoring-code-and-autocompletion/84427 "2024-01-11T01:08:38Z")

</div>

Hello everyone, I'm relatively new to nodered, and using it mainly for my home automation. I already learned a lot using this forum on another subject. I now have a question regarding refactoring code and autocompletion…

---

## [What is the function of "\_msgid"?](https://discourse.nodered.org/t/what-is-the-function-of-msgid/84436)

<div class="topic-metadata">

**Author:** [@Yesung](https://discourse.nodered.org/u/Yesung)\
**Replies:** 9\
**Last updated:** [11 January 2024 00:46 UTC](https://discourse.nodered.org/t/what-is-the-function-of-msgid/84436 "2024-01-11T00:46:34Z")

</div>

If the same rule is triggered multiple times in a short period of time, can "\_msgid" be used to distinguish different events?

---

## [Security breach, malware alert](https://discourse.nodered.org/t/security-breach-malware-alert/84456)

<div class="topic-metadata">

**Author:** [@vtanasiev](https://discourse.nodered.org/u/vtanasiev)\
**Replies:** 5\
**Last updated:** [10 January 2024 20:13 UTC](https://discourse.nodered.org/t/security-breach-malware-alert/84456 "2024-01-10T20:13:53Z")

</div>

Hi, My first server was hacked. All my files were encrypted using twi extension. The email address for communication purposes was twinkkast@xmpp.jp. Moving on, I installed another node-red instance on a new server and …

---

## [Socket-can CPU usage](https://discourse.nodered.org/t/socket-can-cpu-usage/84452)

<div class="topic-metadata">

**Author:** [@Ino](https://discourse.nodered.org/u/Ino)\
**Replies:** 0\
**Last updated:** [10 January 2024 17:58 UTC](https://discourse.nodered.org/t/socket-can-cpu-usage/84452 "2024-01-10T17:58:24Z")

</div>

I am using the scoket-can node for receiving and transmitting CAN messages. It works ok with over 150 messages in a second; receiving and transmitting and the CPU load is about 20 %. When I stop transmitting and receivin…

---

## [Convert buffer packet from python code](https://discourse.nodered.org/t/convert-buffer-packet-from-python-code/84429)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 12\
**Last updated:** [10 January 2024 16:51 UTC](https://discourse.nodered.org/t/convert-buffer-packet-from-python-code/84429 "2024-01-10T16:51:26Z")

</div>

I am trying to access the camera feed of my 3d printer using node-red, but this is not directly accessible and have to go through some hoops to make it work. I found a way to do it - but it was written in python, i woul…

---

## [Error: connect ECONNREFUSED](https://discourse.nodered.org/t/error-connect-econnrefused/84271)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 9\
**Last updated:** [10 January 2024 16:44 UTC](https://discourse.nodered.org/t/error-connect-econnrefused/84271 "2024-01-10T16:44:46Z")

</div>

Hi, randomly, one a month, two months, my node-red crash (and consequently my home automation go down). The error is (by the terminal) 3 Jan 22:41:38 - \[red\] Uncaught Exception: 3 Jan 22:41:38 - \[error\] Error: connect…

---

## [MSSQL-PLUS node error](https://discourse.nodered.org/t/mssql-plus-node-error/84398)

<div class="topic-metadata">

**Author:** [@lesmar96](https://discourse.nodered.org/u/lesmar96)\
**Replies:** 5\
**Last updated:** [10 January 2024 14:35 UTC](https://discourse.nodered.org/t/mssql-plus-node-error/84398 "2024-01-10T14:35:15Z")

</div>

I am trying to execute a stored procedure on a MSSQL database. I have attempted to closely follow the instructions here. Though I don't understand all the specifics. Here is how the MSSQL node is configured currently: …

---

## [Node\_module\_version 115](https://discourse.nodered.org/t/node-module-version-115/84399)

<div class="topic-metadata">

**Author:** [@SwatCat](https://discourse.nodered.org/u/SwatCat)\
**Replies:** 6\
**Last updated:** [10 January 2024 14:20 UTC](https://discourse.nodered.org/t/node-module-version-115/84399 "2024-01-10T14:20:18Z")

</div>

hello, after a general update my i2c pallets are not working any more ( using a PI 4). i\`ve tried to update i2c.node, nothing What do i need to search?

---

## [Formatting text](https://discourse.nodered.org/t/formatting-text/84440)

<div class="topic-metadata">

**Author:** [@leftymuller](https://discourse.nodered.org/u/leftymuller)\
**Replies:** 2\
**Last updated:** [10 January 2024 11:34 UTC](https://discourse.nodered.org/t/formatting-text/84440 "2024-01-10T11:34:36Z")

</div>

Hi All, Im trying to format some text data into columns that gets exported to pdf Ive got all of that working but the data is all over the place. I couldnt see a node that will do it? I have the data in a ui table b…

---

## [Error while setting the position property](https://discourse.nodered.org/t/error-while-setting-the-position-property/84442)

<div class="topic-metadata">

**Author:** [@christianbalz](https://discourse.nodered.org/u/christianbalz)\
**Replies:** 4\
**Last updated:** [10 January 2024 11:33 UTC](https://discourse.nodered.org/t/error-while-setting-the-position-property/84442 "2024-01-10T11:33:03Z")

</div>

I would like to set the curtain position by adjusting the 'position' attribute through Alexa. When I say 'Alexa, set the curtain to 50%', I'm receiving the expected 'msg.payload' from Alexa through Node-RED. However, upo…

---

## [Node-Red restarting on Uncaught Exception](https://discourse.nodered.org/t/node-red-restarting-on-uncaught-exception/84413)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 5\
**Last updated:** [10 January 2024 10:33 UTC](https://discourse.nodered.org/t/node-red-restarting-on-uncaught-exception/84413 "2024-01-10T10:33:35Z")

</div>

During the night, I see that randomly NR restarts. These are the log lines: 2024-01-09T02:56:47.312255+01:00 PI4bOpenVPN Node-RED\[29652\]: 9 Jan 02:56:47 - \[red\] Uncaught Exception: 2024-01-09T02:56:47.313265+01:00 PI4bO…

---

## [SNMP msg.payload changed between versions](https://discourse.nodered.org/t/snmp-msg-payload-changed-between-versions/84434)

<div class="topic-metadata">

**Author:** [@element22](https://discourse.nodered.org/u/element22)\
**Replies:** 2\
**Last updated:** [10 January 2024 09:59 UTC](https://discourse.nodered.org/t/snmp-msg-payload-changed-between-versions/84434 "2024-01-10T09:59:33Z")

</div>

I've recently upgraded from Node-RED v3.0.2 with the node-red-node-snmp node v0.0.25, to Node-RED v3.1.3 with node-red-node-snmp node v2.0.0. I'm noticing a difference in how the output from the SNMP node is displayed i…

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

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