# Latest

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

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

**Page:** 887

---

## [Uibuilder access context data](https://discourse.nodered.org/t/uibuilder-access-context-data/40838)

<div class="topic-metadata">

**Author:** [@newbow](https://discourse.nodered.org/u/newbow)\
**Replies:** 11\
**Last updated:** [13 February 2021 19:46 UTC](https://discourse.nodered.org/t/uibuilder-access-context-data/40838 "2021-02-13T19:46:36Z")

</div>

Hey there, I have not found any info about this topic so far. For the current project I am heavily relying on context data to store and process (flow and global context data stored in RAM and file storage). Up until n…

---

## [After 1.2.9 update via snap, error while loading shared libraries: libatomic.so.1](https://discourse.nodered.org/t/after-1-2-9-update-via-snap-error-while-loading-shared-libraries-libatomic-so-1/40767)

<div class="topic-metadata">

**Author:** [@iamhermes](https://discourse.nodered.org/u/iamhermes)\
**Replies:** 17\
**Last updated:** [13 February 2021 19:39 UTC](https://discourse.nodered.org/t/after-1-2-9-update-via-snap-error-while-loading-shared-libraries-libatomic-so-1/40767 "2021-02-13T19:39:23Z")

</div>

another time the automatic snap update stops the instance only revert to latest version helps and node-red runs again how to fix the issue on my devices? ~ $ sudo snap revert node-red node-red reverted to 1.1.3 ~ $ un…

---

## [Syntax command control nextion display](https://discourse.nodered.org/t/syntax-command-control-nextion-display/40936)

<div class="topic-metadata">

**Author:** [@pinie\_pinie](https://discourse.nodered.org/u/pinie_pinie)\
**Replies:** 10\
**Last updated:** [13 February 2021 17:56 UTC](https://discourse.nodered.org/t/syntax-command-control-nextion-display/40936 "2021-02-13T17:56:12Z")

</div>

Hi, I would like to control a text field in a Nextion display with a variable text. The command must be at the end: NEXTION, t1.txt = "Hello" "Hello" should correspond to the payload. But it is imperative that the Qu…

---

## [Azure AD authentication example](https://discourse.nodered.org/t/azure-ad-authentication-example/40937)

<div class="topic-metadata">

**Author:** [@cvb941](https://discourse.nodered.org/u/cvb941)\
**Replies:** 0\
**Last updated:** [13 February 2021 16:51 UTC](https://discourse.nodered.org/t/azure-ad-authentication-example/40937 "2021-02-13T16:51:17Z")

</div>

Hello everyone. Today, I wanted to set-up external authentication to my Node-RED instance editor, using the Azure Active Directory of our company. I could not find any guide on this specific task, so after searching arou…

---

## [Version 1.2.7 does not install some nodes](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393)

<div class="topic-metadata">

**Author:** [@pinie\_pinie](https://discourse.nodered.org/u/pinie_pinie)\
**Replies:** 15\
**Last updated:** [13 February 2021 16:21 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393 "2021-02-13T16:21:38Z")

</div>

Hi there, due to a crash I had to reinstall my system. I have now installed version 1.2.7 (automatically) Now I had to find out that I can no longer install node vl53lox, for example. On my old version 1.06 it works wi…

---

## [Dashboard Form not sizing properly since update to 2.28](https://discourse.nodered.org/t/dashboard-form-not-sizing-properly-since-update-to-2-28/40929)

<div class="topic-metadata">

**Author:** [@FatPilot](https://discourse.nodered.org/u/FatPilot)\
**Replies:** 9\
**Last updated:** [13 February 2021 16:09 UTC](https://discourse.nodered.org/t/dashboard-form-not-sizing-properly-since-update-to-2-28/40929 "2021-02-13T16:09:36Z")

</div>

Hi everyone, I updated my dashboard to 2.28 and have noticed that I can't control the size of the form widget. It was working as expected before. The example shows a button 2x11 The Form is 6x11 It seems that whatev…

---

## [HOW TO: Make the dashboard run at all time in Chrome and Edge beta](https://discourse.nodered.org/t/how-to-make-the-dashboard-run-at-all-time-in-chrome-and-edge-beta/40870)

<div class="topic-metadata">

**Author:** [@sungtroll](https://discourse.nodered.org/u/sungtroll)\
**Replies:** 2\
**Last updated:** [13 February 2021 16:02 UTC](https://discourse.nodered.org/t/how-to-make-the-dashboard-run-at-all-time-in-chrome-and-edge-beta/40870 "2021-02-13T16:02:05Z")

</div>

---

## [How to extract several bits of data from a json(?) string(?)](https://discourse.nodered.org/t/how-to-extract-several-bits-of-data-from-a-json-string/40935)

<div class="topic-metadata">

**Author:** [@haskle](https://discourse.nodered.org/u/haskle)\
**Replies:** 2\
**Last updated:** [13 February 2021 15:44 UTC](https://discourse.nodered.org/t/how-to-extract-several-bits-of-data-from-a-json-string/40935 "2021-02-13T15:44:56Z")

</div>

A local LAN url returns a message like this: {"data":{"did":"001D0A712D46","ts":1613228819,"conditions":\[{"lsid":352807,"data\_structure\_type":1,"txid":1,"temp": 32.2,"hum":57.2,"dew\_point": 18.7,"wet\_bulb": 26.6,"heat\_i…

---

## [\[IRC node\] Registering with NickServ](https://discourse.nodered.org/t/irc-node-registering-with-nickserv/40933)

<div class="topic-metadata">

**Author:** [@oliv3](https://discourse.nodered.org/u/oliv3)\
**Replies:** 0\
**Last updated:** [13 February 2021 14:17 UTC](https://discourse.nodered.org/t/irc-node-registering-with-nickserv/40933 "2021-02-13T14:17:28Z")

</div>

Hi, I have troubles getting my IRC bot registered with NickServ. I connect the second output of a "irc in" node to a function that checks msg.payload.type, and if it's "join" sends a message to an "irc out" node. I tri…

---

## [Can’t execute cp command to a samba share using nodered](https://discourse.nodered.org/t/can-t-execute-cp-command-to-a-samba-share-using-nodered/40916)

<div class="topic-metadata">

**Author:** [@danielo515](https://discourse.nodered.org/u/danielo515)\
**Replies:** 9\
**Last updated:** [13 February 2021 12:41 UTC](https://discourse.nodered.org/t/can-t-execute-cp-command-to-a-samba-share-using-nodered/40916 "2021-02-13T12:41:40Z")

</div>

Hello. I have a problem with a network share an the node-red integration, particularly the exec command. The command is a very simple copy one: cp /config/www/cam\_captures/ojo\_interior.jpg /config/samba/camera/1613148…

---

## [Incremental encoder for measuring system](https://discourse.nodered.org/t/incremental-encoder-for-measuring-system/40890)

<div class="topic-metadata">

**Author:** [@josecruz](https://discourse.nodered.org/u/josecruz)\
**Replies:** 3\
**Last updated:** [13 February 2021 11:44 UTC](https://discourse.nodered.org/t/incremental-encoder-for-measuring-system/40890 "2021-02-13T11:44:21Z")

</div>

Hi community. Im a newbie to node red and after google a lot, still unable to get a solution or direction. I have a incremental encoder with 2048ppr (AMT-103) attached to a moving table that i want to use to make measu…

---

## [Insert local image into html template](https://discourse.nodered.org/t/insert-local-image-into-html-template/40894)

<div class="topic-metadata">

**Author:** [@sfedo](https://discourse.nodered.org/u/sfedo)\
**Replies:** 1\
**Last updated:** [13 February 2021 09:45 UTC](https://discourse.nodered.org/t/insert-local-image-into-html-template/40894 "2021-02-13T09:45:36Z")

</div>

Hello, I'm trying to insert image into my html template. I'm doing this way: but its not working. How to insert the image??

---

## [Chart flow don't visualize data](https://discourse.nodered.org/t/chart-flow-dont-visualize-data/40891)

<div class="topic-metadata">

**Author:** [@sabayke](https://discourse.nodered.org/u/sabayke)\
**Replies:** 3\
**Last updated:** [13 February 2021 09:43 UTC](https://discourse.nodered.org/t/chart-flow-dont-visualize-data/40891 "2021-02-13T09:43:34Z")

</div>

I have two flows (chart flow) and (gauge flow) To be honest i didn't change anything so i don't know why the flow is not working The gauge flow work nicely

---

## [3 temp readings, need to choose 2 closest and avg. them](https://discourse.nodered.org/t/3-temp-readings-need-to-choose-2-closest-and-avg-them/40699)

<div class="topic-metadata">

**Author:** [@Soiski](https://discourse.nodered.org/u/Soiski)\
**Replies:** 7\
**Last updated:** [13 February 2021 08:00 UTC](https://discourse.nodered.org/t/3-temp-readings-need-to-choose-2-closest-and-avg-them/40699 "2021-02-13T08:00:16Z")

</div>

Hi, I have three temp sensors with MQTT which are located outside of my house. One in East side, One in South and One in West. Currently using the total avg of these three to control the Air pump /HVAC. When it goes to …

---

## [Sort messages (rather than array within each message)](https://discourse.nodered.org/t/sort-messages-rather-than-array-within-each-message/40651)

<div class="topic-metadata">

**Author:** [@SewShulMeedeeUh](https://discourse.nodered.org/u/SewShulMeedeeUh)\
**Replies:** 12\
**Last updated:** [13 February 2021 05:19 UTC](https://discourse.nodered.org/t/sort-messages-rather-than-array-within-each-message/40651 "2021-02-13T05:19:24Z")

</div>

Using Node-RED v1.2.7. I have 3 XML files I am processing. I want to batch the 3 streams back into a single, ordered, stream but am unable to (and perhaps I am thinking data tables and not "flows") There can be over 1…

---

## [Unique field validation on Form Node](https://discourse.nodered.org/t/unique-field-validation-on-form-node/40844)

<div class="topic-metadata">

**Author:** [@mickos](https://discourse.nodered.org/u/mickos)\
**Replies:** 3\
**Last updated:** [13 February 2021 03:43 UTC](https://discourse.nodered.org/t/unique-field-validation-on-form-node/40844 "2021-02-13T03:43:41Z")

</div>

Hello, I am using a Dashboard form node with 4 elements that I pass into an SQL statement through a function node. All is working fine but, i would like to only allow the user to input data into a single field for each…

---

## [Issue with attachment in email node](https://discourse.nodered.org/t/issue-with-attachment-in-email-node/40899)

<div class="topic-metadata">

**Author:** [@mickos](https://discourse.nodered.org/u/mickos)\
**Replies:** 3\
**Last updated:** [13 February 2021 03:41 UTC](https://discourse.nodered.org/t/issue-with-attachment-in-email-node/40899 "2021-02-13T03:41:46Z")

</div>

Hello, I have been using the email node-red-node-email node in my flows and I upgraded it to 1.8.3 and it has stopped sending attachments. I grabbed another mail node (email-out) and it still works with that Node-Red …

---

## [Watch Node on Deep Directory Tree Slow to Deploy](https://discourse.nodered.org/t/watch-node-on-deep-directory-tree-slow-to-deploy/40771)

<div class="topic-metadata">

**Author:** [@mored](https://discourse.nodered.org/u/mored)\
**Replies:** 5\
**Last updated:** [13 February 2021 00:55 UTC](https://discourse.nodered.org/t/watch-node-on-deep-directory-tree-slow-to-deploy/40771 "2021-02-13T00:55:59Z")

</div>

When there is just a single level, even with lots (+17,000 files), the watch node works surprisingly well but as soon as I add subdirectories and turn on "Watch sub-directories recursively", deploying then takes minutes …

---

## [OPCUA Client node always on statuts "Connecting"](https://discourse.nodered.org/t/opcua-client-node-always-on-statuts-connecting/40158)

<div class="topic-metadata">

**Author:** [@jlb](https://discourse.nodered.org/u/jlb)\
**Replies:** 4\
**Last updated:** [12 February 2021 23:58 UTC](https://discourse.nodered.org/t/opcua-client-node-always-on-statuts-connecting/40158 "2021-02-12T23:58:39Z")

</div>

I have a simple flow in order to read values on a OPCUA serveur on a PLC: I first test the OPCUA value with UAExpert and it works well: it works with no security&certificate and anonymous. Then i try to test it in…

---

## [Undefined JSON message payload](https://discourse.nodered.org/t/undefined-json-message-payload/40898)

<div class="topic-metadata">

**Author:** [@quentinP](https://discourse.nodered.org/u/quentinP)\
**Replies:** 38\
**Last updated:** [12 February 2021 23:41 UTC](https://discourse.nodered.org/t/undefined-json-message-payload/40898 "2021-02-12T23:41:28Z")

</div>

I'm trying to retrive a JSON string from a JSON object I'm recieving from my MQTT broker. However, when using the following function node: msg.payload = msg.MAC\_Address; return msg; I get the following error: 12/02/2…

---

## [Help from model and robot making professionals](https://discourse.nodered.org/t/help-from-model-and-robot-making-professionals/40881)

<div class="topic-metadata">

**Author:** [@iiot2k](https://discourse.nodered.org/u/iiot2k)\
**Replies:** 4\
**Last updated:** [12 February 2021 21:56 UTC](https://discourse.nodered.org/t/help-from-model-and-robot-making-professionals/40881 "2021-02-12T21:56:43Z")

</div>

Hi, I start to write two nodes for pca9685 pwm chip. One node is for normal pwm output. And other one is special for robot and model making hobbist. My question is how control the servos on pca9685 output. I read on…

---

## [Retrieve influxdb with Nodered](https://discourse.nodered.org/t/retrieve-influxdb-with-nodered/40882)

<div class="topic-metadata">

**Author:** [@jfabernathy](https://discourse.nodered.org/u/jfabernathy)\
**Replies:** 7\
**Last updated:** [12 February 2021 21:15 UTC](https://discourse.nodered.org/t/retrieve-influxdb-with-nodered/40882 "2021-02-12T21:15:46Z")

</div>

I'm trying to retrieve the most recent 2 items from InfluxDB via Nodered for further processing. I can't seem to combine the items and get the last values. This works: SELECT last(Temperature) FROM environment where Lo…

---

## [Using a variable for Home Assistant sensor name](https://discourse.nodered.org/t/using-a-variable-for-home-assistant-sensor-name/19566)

<div class="topic-metadata">

**Author:** [@hulkhaugen](https://discourse.nodered.org/u/hulkhaugen)\
**Replies:** 10\
**Last updated:** [12 February 2021 19:25 UTC](https://discourse.nodered.org/t/using-a-variable-for-home-assistant-sensor-name/19566 "2021-02-12T19:25:25Z")

</div>

I've made a flow sequence with multiple inject nodes that go through the same process, so I need the end result to be unique. That is to be a Home Assistant sensor, but i need the sensor name to be based on the data that…

---

## [Can you check the number of active nodes connected to the current node?](https://discourse.nodered.org/t/can-you-check-the-number-of-active-nodes-connected-to-the-current-node/40871)

<div class="topic-metadata">

**Author:** [@Norberg95](https://discourse.nodered.org/u/Norberg95)\
**Replies:** 1\
**Last updated:** [12 February 2021 18:30 UTC](https://discourse.nodered.org/t/can-you-check-the-number-of-active-nodes-connected-to-the-current-node/40871 "2021-02-12T18:30:26Z")

</div>

I would like to check the number of connected enabled (or disabled) nodes to to current node ONLY on the input. Possibly to check the type of node connected.

---

## [Constant variable in the graph is not updated](https://discourse.nodered.org/t/constant-variable-in-the-graph-is-not-updated/40318)

<div class="topic-metadata">

**Author:** [@hederson2801](https://discourse.nodered.org/u/hederson2801)\
**Replies:** 14\
**Last updated:** [12 February 2021 17:14 UTC](https://discourse.nodered.org/t/constant-variable-in-the-graph-is-not-updated/40318 "2021-02-12T17:14:43Z")

</div>

Hello my friends, I have a problem with my chart in nodered. I am receiving industrial information of PLC S7-1200, informations like Good Parts, Not Goods Parts and Goal. But I noticed that constant variable like goal, i…

---

## [Read and Write .dat files](https://discourse.nodered.org/t/read-and-write-dat-files/40774)

<div class="topic-metadata">

**Author:** [@hederson2801](https://discourse.nodered.org/u/hederson2801)\
**Replies:** 6\
**Last updated:** [12 February 2021 17:04 UTC](https://discourse.nodered.org/t/read-and-write-dat-files/40774 "2021-02-12T17:04:00Z")

</div>

Hello guys, I need to read and write information in the .dat file. This file has a programming in C language. In it I have variables and logic. I would like to know if there is a way to read this file from a location on …

---

## [Create an object from msg.payload](https://discourse.nodered.org/t/create-an-object-from-msg-payload/40856)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 7\
**Last updated:** [12 February 2021 16:16 UTC](https://discourse.nodered.org/t/create-an-object-from-msg-payload/40856 "2021-02-12T16:16:24Z")

</div>

Hi, can someone please tell me how to create an object from any number of messages from my flow? msg1 = {}; msg1.payload = {"Spreizung KT": msg.payload}; msg2 = {}; msg2.payload = {"THub": Number(msg.payload)}; msg3 = …

---

## [Snapshop from a video stream](https://discourse.nodered.org/t/snapshop-from-a-video-stream/40662)

<div class="topic-metadata">

**Author:** [@Ino](https://discourse.nodered.org/u/Ino)\
**Replies:** 7\
**Last updated:** [12 February 2021 16:03 UTC](https://discourse.nodered.org/t/snapshop-from-a-video-stream/40662 "2021-02-12T16:03:49Z")

</div>

I am using a template node for streaming video. This stream is from a esp32 CAM and is working fine with a good fps rate; so I don't want to change this. code: /style img src="http://192.168.x.x" width="200px" Is the…

---

## [Serial port authorization problem in beaglebone black board](https://discourse.nodered.org/t/serial-port-authorization-problem-in-beaglebone-black-board/40857)

<div class="topic-metadata">

**Author:** [@lpj669](https://discourse.nodered.org/u/lpj669)\
**Replies:** 5\
**Last updated:** [12 February 2021 16:10 UTC](https://discourse.nodered.org/t/serial-port-authorization-problem-in-beaglebone-black-board/40857 "2021-02-12T16:10:12Z")

</div>

Hi,I have a I have a beaglebone black board and I want to control one serialport, there have 6 serialports(/dev/ttyS0-/ dev/ttyS5). The node-RED flow is simple as follows: But after deployment, there has an error mess…

---

## [\[Announce\] nodes for ads1015/ads1115 and mcp342x adc chips](https://discourse.nodered.org/t/announce-nodes-for-ads1015-ads1115-and-mcp342x-adc-chips/40874)

<div class="topic-metadata">

**Author:** [@iiot2k](https://discourse.nodered.org/u/iiot2k)\
**Replies:** 0\
**Last updated:** [12 February 2021 15:24 UTC](https://discourse.nodered.org/t/announce-nodes-for-ads1015-ads1115-and-mcp342x-adc-chips/40874 "2021-02-12T15:24:13Z")

</div>

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

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