# Latest

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

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

**Page:** 651

---

## [Create 16 single bit input to a 16bit modbus value](https://discourse.nodered.org/t/create-16-single-bit-input-to-a-16bit-modbus-value/56938)

<div class="topic-metadata">

**Author:** [@rogier](https://discourse.nodered.org/u/rogier)\
**Replies:** 1\
**Last updated:** [19 January 2022 22:45 UTC](https://discourse.nodered.org/t/create-16-single-bit-input-to-a-16bit-modbus-value/56938 "2022-01-19T22:45:29Z")

</div>

i want to convert 16 time single bit into one 16 bit value for my modbus project. when 1 bit input change the 16 bit value has also to change. There has to be a memory of all the states of the inputs... has somebody an …

---

## [Use of the Smooth Node to process Array Output](https://discourse.nodered.org/t/use-of-the-smooth-node-to-process-array-output/56915)

<div class="topic-metadata">

**Author:** [@MakerMan](https://discourse.nodered.org/u/MakerMan)\
**Replies:** 23\
**Last updated:** [19 January 2022 20:47 UTC](https://discourse.nodered.org/t/use-of-the-smooth-node-to-process-array-output/56915 "2022-01-19T20:47:08Z")

</div>

I have temperature data in a database and I want to display this over differing time periods. A query runs (on startup or manually) and the output is produced which feeds chart nodes with historic data. The query retur…

---

## [Function shut generate Xor Checksum over 4 variables](https://discourse.nodered.org/t/function-shut-generate-xor-checksum-over-4-variables/56353)

<div class="topic-metadata">

**Author:** [@olby2](https://discourse.nodered.org/u/olby2)\
**Replies:** 5\
**Last updated:** [19 January 2022 20:46 UTC](https://discourse.nodered.org/t/function-shut-generate-xor-checksum-over-4-variables/56353 "2022-01-19T20:46:52Z")

</div>

hello dear people, I have to create a checksum over 4 variables via XOR, but I cannot find any usable information here that will help me further the checksum itself is only one byte long Does anyone have valuable help…

---

## [Function node with a timer (stored in Flow variable to maintain state) - doesn't work](https://discourse.nodered.org/t/function-node-with-a-timer-stored-in-flow-variable-to-maintain-state-doesnt-work/56436)

<div class="topic-metadata">

**Author:** [@Noh](https://discourse.nodered.org/u/Noh)\
**Replies:** 10\
**Last updated:** [19 January 2022 20:39 UTC](https://discourse.nodered.org/t/function-node-with-a-timer-stored-in-flow-variable-to-maintain-state-doesnt-work/56436 "2022-01-19T20:39:35Z")

</div>

Am I correct to use Date.Now() to capture seconds since epoch? In the last stanza of this code from my function node I check whether Date.Now() (for actual now!) minus Flow variable startTimer (Date.Now() from when the …

---

## [RPI display, automatic opening of dashboard](https://discourse.nodered.org/t/rpi-display-automatic-opening-of-dashboard/56923)

<div class="topic-metadata">

**Author:** [@PiMo131](https://discourse.nodered.org/u/PiMo131)\
**Replies:** 3\
**Last updated:** [19 January 2022 19:05 UTC](https://discourse.nodered.org/t/rpi-display-automatic-opening-of-dashboard/56923 "2022-01-19T19:05:24Z")

</div>

Hi All, I have some flows and a dashboard running on a RaspberryPi. For the deployement of this solution I am looking for a solution that 'opens' the browser in full screen mode at localhost:1880/ui. This script / soft…

---

## [Updating Node-Red on a PI](https://discourse.nodered.org/t/updating-node-red-on-a-pi/14507)

<div class="topic-metadata">

**Author:** [@Poodlepapa](https://discourse.nodered.org/u/Poodlepapa)\
**Replies:** 8\
**Last updated:** [19 January 2022 18:42 UTC](https://discourse.nodered.org/t/updating-node-red-on-a-pi/14507 "2022-01-19T18:42:39Z")

</div>

Is this the best way to update Node-Red on a raspberry pi? update-nodejs-and-nodered? And is there a way to get it to install nodes that I commonly use a batch rather than clicking on them individually in the Pallet Mana…

---

## [Add ability to \*require\* subflow env variable before deploy (like real nodes)](https://discourse.nodered.org/t/add-ability-to-require-subflow-env-variable-before-deploy-like-real-nodes/56922)

<div class="topic-metadata">

**Author:** [@gemini86](https://discourse.nodered.org/u/gemini86)\
**Replies:** 2\
**Last updated:** [19 January 2022 15:55 UTC](https://discourse.nodered.org/t/add-ability-to-require-subflow-env-variable-before-deploy-like-real-nodes/56922 "2022-01-19T15:55:21Z")

</div>

Just a simple checkbox under each env property in properties editor, which when checked, would require these fields not be left empty before deploying. For now my workaround is checking for these fields to be filled …

---

## [How would you style this dashboard?](https://discourse.nodered.org/t/how-would-you-style-this-dashboard/56793)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 13\
**Last updated:** [19 January 2022 15:22 UTC](https://discourse.nodered.org/t/how-would-you-style-this-dashboard/56793 "2022-01-19T15:22:13Z")

</div>

Inspired by Dynamic Dave's "trainspotting" exercise, I am (again) making a departures board for railway stations. Looking at the result without any styling overrides, it's very plain. Clearly it can be enhanced, I just…

---

## [Node-red-contrib-s7 variables defined dynamically](https://discourse.nodered.org/t/node-red-contrib-s7-variables-defined-dynamically/56921)

<div class="topic-metadata">

**Author:** [@FabioT](https://discourse.nodered.org/u/FabioT)\
**Replies:** 0\
**Last updated:** [19 January 2022 15:12 UTC](https://discourse.nodered.org/t/node-red-contrib-s7-variables-defined-dynamically/56921 "2022-01-19T15:12:50Z")

</div>

Hi All, is there a way, working with "node-red-contrib-s7" nodes, to do not define PLC variables in a static way as defined in attached image? I would like to pass the plc variables list as a json file to the s7-in nod…

---

## [Epoch Time subtraction](https://discourse.nodered.org/t/epoch-time-subtraction/56872)

<div class="topic-metadata">

**Author:** [@JHScen](https://discourse.nodered.org/u/JHScen)\
**Replies:** 23\
**Last updated:** [19 January 2022 14:45 UTC](https://discourse.nodered.org/t/epoch-time-subtraction/56872 "2022-01-19T14:45:40Z")

</div>

I am trying to do a simple subtraction of time in a function node. The elements of time include; current time, minus 'time since last motion'. Both of these are formatted in epoch time. The issue that I am having is th…

---

## [TLS config for https request - question](https://discourse.nodered.org/t/tls-config-for-https-request-question/56911)

<div class="topic-metadata">

**Author:** [@lilouch](https://discourse.nodered.org/u/lilouch)\
**Replies:** 0\
**Last updated:** [19 January 2022 09:01 UTC](https://discourse.nodered.org/t/tls-config-for-https-request-question/56911 "2022-01-19T09:01:51Z")

</div>

Hi, I have a network gateway with node red installed on it. I can access to the node red dashboard. So far so good. The idea is when I receive new data, I send them to my server. So I have a node that is "htt request …

---

## [C++ standalone backend application & Node-red - Best Architecture](https://discourse.nodered.org/t/c-standalone-backend-application-node-red-best-architecture/56660)

<div class="topic-metadata">

**Author:** [@JT3D](https://discourse.nodered.org/u/JT3D)\
**Replies:** 10\
**Last updated:** [19 January 2022 09:00 UTC](https://discourse.nodered.org/t/c-standalone-backend-application-node-red-best-architecture/56660 "2022-01-19T09:00:03Z")

</div>

Hi all, Just looking for people's opinion on best practice for the following situation I have a hardware device (laser scanner) that only has a c++ interface to interact and control it. The plan would be to create a c…

---

## [Grafana dashboard did not appear \<iframe\>](https://discourse.nodered.org/t/grafana-dashboard-did-not-appear-iframe/56493)

<div class="topic-metadata">

**Author:** [@littlestupid](https://discourse.nodered.org/u/littlestupid)\
**Replies:** 7\
**Last updated:** [19 January 2022 06:56 UTC](https://discourse.nodered.org/t/grafana-dashboard-did-not-appear-iframe/56493 "2022-01-19T06:56:16Z")

</div>

Dear users, I have difficulties with Grafana embedded. The dashboard not appear on iframe. Hopefully someone can enlighten me. Here I attach the picture the output on my dashboard.

---

## [Exec command does not work like the same command in the cli](https://discourse.nodered.org/t/exec-command-does-not-work-like-the-same-command-in-the-cli/56835)

<div class="topic-metadata">

**Author:** [@shrickus](https://discourse.nodered.org/u/shrickus)\
**Replies:** 12\
**Last updated:** [19 January 2022 06:49 UTC](https://discourse.nodered.org/t/exec-command-does-not-work-like-the-same-command-in-the-cli/56835 "2022-01-19T06:49:15Z")

</div>

Ok, I've wasted too much time on this "espeak" exec node... has anyone seen this before? This command works fine using my login from the command line on my rpi4 running ubuntu 10.20: srickus@shrpi4:~$ espeak -ven+f4…

---

## [Volume control node-red-contrib-sox-utils](https://discourse.nodered.org/t/volume-control-node-red-contrib-sox-utils/56792)

<div class="topic-metadata">

**Author:** [@Janik](https://discourse.nodered.org/u/Janik)\
**Replies:** 3\
**Last updated:** [19 January 2022 06:41 UTC](https://discourse.nodered.org/t/volume-control-node-red-contrib-sox-utils/56792 "2022-01-19T06:41:51Z")

</div>

Is there a possibility to control the volume of the audio played by the sox-play node of node-red-contrib-sox-utils with a msg? I know I can change the gain in dB in the Output settings but I want to control the volume …

---

## [Sending "s" key press or CTRL+C to Daemon process](https://discourse.nodered.org/t/sending-s-key-press-or-ctrl-c-to-daemon-process/56748)

<div class="topic-metadata">

**Author:** [@cedschmidt](https://discourse.nodered.org/u/cedschmidt)\
**Replies:** 3\
**Last updated:** [18 January 2022 23:21 UTC](https://discourse.nodered.org/t/sending-s-key-press-or-ctrl-c-to-daemon-process/56748 "2022-01-18T23:21:05Z")

</div>

Hi everyone, I'm trying to run fmedia from node red under windows 10 to record speeches. I can easily start recording from a Daemon node, but to stop recording I need to press S key or CTRL+C command (in terminal) and …

---

## [Where to install Node-red](https://discourse.nodered.org/t/where-to-install-node-red/56883)

<div class="topic-metadata">

**Author:** [@martinjubb](https://discourse.nodered.org/u/martinjubb)\
**Replies:** 15\
**Last updated:** [18 January 2022 21:54 UTC](https://discourse.nodered.org/t/where-to-install-node-red/56883 "2022-01-18T21:54:17Z")

</div>

Hi everyone. I am new to Node-Red and want to know where best to install the program. I have an Emonpi for energy monitoring. I also have a Raspberry Pi 4 running Home Assistant that is very much a work in progress I…

---

## [Trigger a Delay Node Release](https://discourse.nodered.org/t/trigger-a-delay-node-release/56884)

<div class="topic-metadata">

**Author:** [@zane](https://discourse.nodered.org/u/zane)\
**Replies:** 2\
**Last updated:** [18 January 2022 21:24 UTC](https://discourse.nodered.org/t/trigger-a-delay-node-release/56884 "2022-01-18T21:24:51Z")

</div>

I have a delay node set to release every hour. But every now and then I want to make it happen early, is there a way to allow it manually to happen earlier?

---

## [Servo motor control using PCA9685](https://discourse.nodered.org/t/servo-motor-control-using-pca9685/56870)

<div class="topic-metadata">

**Author:** [@caiomac](https://discourse.nodered.org/u/caiomac)\
**Replies:** 1\
**Last updated:** [18 January 2022 20:47 UTC](https://discourse.nodered.org/t/servo-motor-control-using-pca9685/56870 "2022-01-18T20:47:04Z")

</div>

I'm new to nodered, I would like to know how to drive a servo motor. I'm using a pc9685.

---

## [Node-red-contrib-opcua server persistent](https://discourse.nodered.org/t/node-red-contrib-opcua-server-persistent/56455)

<div class="topic-metadata">

**Author:** [@hexfet75](https://discourse.nodered.org/u/hexfet75)\
**Replies:** 3\
**Last updated:** [18 January 2022 19:25 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-server-persistent/56455 "2022-01-18T19:25:33Z")

</div>

Hello, i'm new user, but i need to use an OPCUA server in nodered to exchange variable from panel PC to device with nodered installed. So i tried a node OpcUa-Server, i add variable, but there is not persistent, so whe…

---

## [Send the state of a switch every 5 seconds without changing the state of the switch](https://discourse.nodered.org/t/send-the-state-of-a-switch-every-5-seconds-without-changing-the-state-of-the-switch/56852)

<div class="topic-metadata">

**Author:** [@BirgerBrosa](https://discourse.nodered.org/u/BirgerBrosa)\
**Replies:** 10\
**Last updated:** [18 January 2022 18:54 UTC](https://discourse.nodered.org/t/send-the-state-of-a-switch-every-5-seconds-without-changing-the-state-of-the-switch/56852 "2022-01-18T18:54:44Z")

</div>

I have a switch that controls whether a window is open or not. The switch is only intended to be triggered in the UI. I also have a weather update. I want combine the switch state and the weather conditions every 5 secon…

---

## [DICOM to PNG error](https://discourse.nodered.org/t/dicom-to-png-error/56708)

<div class="topic-metadata">

**Author:** [@thejollypop](https://discourse.nodered.org/u/thejollypop)\
**Replies:** 3\
**Last updated:** [18 January 2022 17:16 UTC](https://discourse.nodered.org/t/dicom-to-png-error/56708 "2022-01-18T17:16:58Z")

</div>

Hey everyone, So I have DICOM medical images I want to convert and view as PNG, without cropping or resizing. It uses an external function - npm , but I get a rendering error which indicates something is missing in the …

---

## [Alexa read data when requested](https://discourse.nodered.org/t/alexa-read-data-when-requested/56453)

<div class="topic-metadata">

**Author:** [@smart\_hendrik](https://discourse.nodered.org/u/smart_hendrik)\
**Replies:** 12\
**Last updated:** [18 January 2022 15:31 UTC](https://discourse.nodered.org/t/alexa-read-data-when-requested/56453 "2022-01-18T15:31:43Z")

</div>

Hello all, I've been working with NodeRed since yesterday and I'm excited about the functionality. After some initial difficulties I managed to query a variable (temperature) of my heating boiler. The whole heating syst…

---

## ["UDP in" setting port dynamically](https://discourse.nodered.org/t/udp-in-setting-port-dynamically/56839)

<div class="topic-metadata">

**Author:** [@wepa](https://discourse.nodered.org/u/wepa)\
**Replies:** 7\
**Last updated:** [18 January 2022 14:18 UTC](https://discourse.nodered.org/t/udp-in-setting-port-dynamically/56839 "2022-01-18T14:18:47Z")

</div>

Online help says: However, the node does not consider a msg.port variable (unlike "UDP out"). Is there any workaround for that(?)

---

## [Convert string in array to value](https://discourse.nodered.org/t/convert-string-in-array-to-value/56850)

<div class="topic-metadata">

**Author:** [@WeSleY](https://discourse.nodered.org/u/WeSleY)\
**Replies:** 14\
**Last updated:** [18 January 2022 14:13 UTC](https://discourse.nodered.org/t/convert-string-in-array-to-value/56850 "2022-01-18T14:13:28Z")

</div>

Hello, I am new to the forum. I'm Wesley, 38 years old and have been working on home automation for a while now. Recently I did an integration with node-red and the PLC. Everything is working well. Now in Belgium the e…

---

## [SSH access to sensor data - ad User ´pi´ and Password to EXEC Node](https://discourse.nodered.org/t/ssh-access-to-sensor-data-ad-user-pi-and-password-to-exec-node/56858)

<div class="topic-metadata">

**Author:** [@smart\_hendrik](https://discourse.nodered.org/u/smart_hendrik)\
**Replies:** 3\
**Last updated:** [18 January 2022 13:22 UTC](https://discourse.nodered.org/t/ssh-access-to-sensor-data-ad-user-pi-and-password-to-exec-node/56858 "2022-01-18T13:22:34Z")

</div>

Hello all, I have my node red installation running on a NAS. Now I want to realize SSH access to sensor data of my RaspberryPI in the same network. Normally the access is done via Putty: I know that I can execute a…

---

## [Why is the result always false?](https://discourse.nodered.org/t/why-is-the-result-always-false/56808)

<div class="topic-metadata">

**Author:** [@hermiot](https://discourse.nodered.org/u/hermiot)\
**Replies:** 3\
**Last updated:** [18 January 2022 13:11 UTC](https://discourse.nodered.org/t/why-is-the-result-always-false/56808 "2022-01-18T13:11:46Z")

</div>

Hi, why is the output always false instead of true, as it is defined? var CO2 = msg.payload; var L1 = { payload: { On: msg.payload.On === true}} var L2 = { payload: { On: msg.payload.On === true}} var …

---

## [How to create a timestamp in the right format for a dashboard chart](https://discourse.nodered.org/t/how-to-create-a-timestamp-in-the-right-format-for-a-dashboard-chart/56749)

<div class="topic-metadata">

**Author:** [@nodenoob](https://discourse.nodered.org/u/nodenoob)\
**Replies:** 11\
**Last updated:** [18 January 2022 12:56 UTC](https://discourse.nodered.org/t/how-to-create-a-timestamp-in-the-right-format-for-a-dashboard-chart/56749 "2022-01-18T12:56:14Z")

</div>

The question may sounds dumb, I am an absolute beginner. So I want to store data in a csv file, and later on I want to display this data through a chart. I already tried to make a timestamp with msg.payload.timestamp = …

---

## [Values flickers](https://discourse.nodered.org/t/values-flickers/56769)

<div class="topic-metadata">

**Author:** [@dannysotzny](https://discourse.nodered.org/u/dannysotzny)\
**Replies:** 5\
**Last updated:** [18 January 2022 11:58 UTC](https://discourse.nodered.org/t/values-flickers/56769 "2022-01-18T11:58:33Z")

</div>

Hello, I have a data point in ioBroker that shows the online status. Apparently this is set to FALSE before the start of the check and is then TRUE a few milliseconds later. Is there already a node which remembers the …

---

## [Join - Not working to plan](https://discourse.nodered.org/t/join-not-working-to-plan/56791)

<div class="topic-metadata">

**Author:** [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Replies:** 10\
**Last updated:** [18 January 2022 11:35 UTC](https://discourse.nodered.org/t/join-not-working-to-plan/56791 "2022-01-18T11:35:01Z")

</div>

I have a flow calling data from a postgresql. The table have two field - (sent SERIAL PRIMARY KEY, sentype jsonb); I currently have only two entries. The call to the DB I receive the array containing all the data. ob…

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

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