# Latest

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

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

**Page:** 980

---

## [Node-red-node-serialport](https://discourse.nodered.org/t/node-red-node-serialport/34196)

<div class="topic-metadata">

**Author:** [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Replies:** 0\
**Last updated:** [13 October 2020 18:47 UTC](https://discourse.nodered.org/t/node-red-node-serialport/34196 "2020-10-13T18:47:46Z")

</div>

I have to shut down Node-RED in order to disconnect Node-RED from the port for access to other software in order to configure devices physically on the serial port. Other options include physically disconnecting and con…

---

## [Trying to get data from ascii to a string](https://discourse.nodered.org/t/trying-to-get-data-from-ascii-to-a-string/34149)

<div class="topic-metadata">

**Author:** [@jeffreys](https://discourse.nodered.org/u/jeffreys)\
**Replies:** 43\
**Last updated:** [13 October 2020 18:38 UTC](https://discourse.nodered.org/t/trying-to-get-data-from-ascii-to-a-string/34149 "2020-10-13T18:38:15Z")

</div>

What am I doing wrong here? You can see the values have the ascii data in the top message but after my function I get no values? Im trying to just take the ascii values in the buffer or array out of the modbus read and …

---

## [How to check if the key's value exists or not](https://discourse.nodered.org/t/how-to-check-if-the-keys-value-exists-or-not/34167)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 22\
**Last updated:** [13 October 2020 18:20 UTC](https://discourse.nodered.org/t/how-to-check-if-the-keys-value-exists-or-not/34167 "2020-10-13T18:20:12Z")

</div>

Hi, I have a config.ini file with values of Key2 and Key3 not yet set: When using ini node to get the contents of file config.ini, the value of Key2 is true even though it is not set \[{"id":"66a40383.a27bdc","type…

---

## [Creation of Function Node](https://discourse.nodered.org/t/creation-of-function-node/34170)

<div class="topic-metadata">

**Author:** [@bachloo.rahul](https://discourse.nodered.org/u/bachloo.rahul)\
**Replies:** 16\
**Last updated:** [13 October 2020 18:19 UTC](https://discourse.nodered.org/t/creation-of-function-node/34170 "2020-10-13T18:19:21Z")

</div>

Writing code for decoder function node for decoding hexadecimal payload of lorawan gps tracker.LW001-BG.pdf (231.6 KB)

---

## [Chart line is invisible](https://discourse.nodered.org/t/chart-line-is-invisible/34073)

<div class="topic-metadata">

**Author:** [@LFMinTX](https://discourse.nodered.org/u/LFMinTX)\
**Replies:** 18\
**Last updated:** [13 October 2020 17:04 UTC](https://discourse.nodered.org/t/chart-line-is-invisible/34073 "2020-10-13T17:04:03Z")

</div>

Hi All, I created an energy management dashboard 2-3 years ago. It has been working great until about a month ago. On one of my 3 line charts the line disappeared. When I hover over the chart, I can see the data points.…

---

## [Newbie query - How to design flow for RF sensor?](https://discourse.nodered.org/t/newbie-query-how-to-design-flow-for-rf-sensor/33985)

<div class="topic-metadata">

**Author:** [@epicurean](https://discourse.nodered.org/u/epicurean)\
**Replies:** 14\
**Last updated:** [13 October 2020 13:49 UTC](https://discourse.nodered.org/t/newbie-query-how-to-design-flow-for-rf-sensor/33985 "2020-10-13T13:49:34Z")

</div>

I was advised to ask in this Node Red forum,as I could not design a rule in Openhab for RF sensors that gives out more than just open and close codes. I have 2 Kerui RF window sensors which gives 4 distinct codes 1)Le…

---

## [Sonoff Zigbee Button](https://discourse.nodered.org/t/sonoff-zigbee-button/34175)

<div class="topic-metadata">

**Author:** [@johnworoniuk](https://discourse.nodered.org/u/johnworoniuk)\
**Replies:** 1\
**Last updated:** [13 October 2020 13:40 UTC](https://discourse.nodered.org/t/sonoff-zigbee-button/34175 "2020-10-13T13:40:30Z")

</div>

Hello trying to get my head around Node Red and Home Assistant. I want to be able to control action on the Zigbee Button SNZB-01 via Node Red and Zigbee2mqtt. I cannot work out how to send the payload to execute a sing…

---

## [Send command to MPPT Solar charger on VE.DIRECT](https://discourse.nodered.org/t/send-command-to-mppt-solar-charger-on-ve-direct/32439)

<div class="topic-metadata">

**Author:** [@panmanjon](https://discourse.nodered.org/u/panmanjon)\
**Replies:** 4\
**Last updated:** [13 October 2020 11:44 UTC](https://discourse.nodered.org/t/send-command-to-mppt-solar-charger-on-ve-direct/32439 "2020-10-13T11:44:06Z")

</div>

I am having some problems using the node-red inject node to turn no/off my Blue Solar mppt 150/70 - tr - it all worked fine with can bus and mod bus through the venus gx but am trying to control direct from the raspberr…

---

## [Docker - node-red-gpiod and music player daemon (mdp)](https://discourse.nodered.org/t/docker-node-red-gpiod-and-music-player-daemon-mdp/34171)

<div class="topic-metadata">

**Author:** [@homeplayer](https://discourse.nodered.org/u/homeplayer)\
**Replies:** 0\
**Last updated:** [13 October 2020 10:57 UTC](https://discourse.nodered.org/t/docker-node-red-gpiod-and-music-player-daemon-mdp/34171 "2020-10-13T10:57:11Z")

</div>

My goal is to have every thing running in docker containers. -Portainer for container management. -rpi-monitor stats of the Rpi 4. -nginx reverse proxy server. -Pi-Hole add blocker. -wireguard for secure tunnel and …

---

## [Help with function node (Set button properties)](https://discourse.nodered.org/t/help-with-function-node-set-button-properties/34144)

<div class="topic-metadata">

**Author:** [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)\
**Replies:** 11\
**Last updated:** [13 October 2020 09:55 UTC](https://discourse.nodered.org/t/help-with-function-node-set-button-properties/34144 "2020-10-13T09:55:15Z")

</div>

Hi. Im trying to set different properties to a button. But I am completely stuck. I have succeeded to change background color and icon depending if msg.payload is true or false but I also want to change the label from a…

---

## [2 inputs from a database to 1 chart, what am I doing wrong?](https://discourse.nodered.org/t/2-inputs-from-a-database-to-1-chart-what-am-i-doing-wrong/34122)

<div class="topic-metadata">

**Author:** [@questuk](https://discourse.nodered.org/u/questuk)\
**Replies:** 6\
**Last updated:** [13 October 2020 09:51 UTC](https://discourse.nodered.org/t/2-inputs-from-a-database-to-1-chart-what-am-i-doing-wrong/34122 "2020-10-13T09:51:48Z")

</div>

Hi, I am getting two individual pieces of data from my database, using a manual Inject node using it's Topic for the Sqlite query. I can successfully display each individual chart when i click on each Inject node. …

---

## [Variable as message property](https://discourse.nodered.org/t/variable-as-message-property/34162)

<div class="topic-metadata">

**Author:** [@bigfeetneedbigboots](https://discourse.nodered.org/u/bigfeetneedbigboots)\
**Replies:** 3\
**Last updated:** [13 October 2020 09:49 UTC](https://discourse.nodered.org/t/variable-as-message-property/34162 "2020-10-13T09:49:30Z")

</div>

Hello folks, I am trying to compare a number of message properties in a function node and would like to do this with variables rather than repeating each object path. The trouble I am having is that I can't work out how…

---

## [Random node - add ability to pass in the 'From' and 'To' options](https://discourse.nodered.org/t/random-node-add-ability-to-pass-in-the-from-and-to-options/34164)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 2\
**Last updated:** [13 October 2020 09:19 UTC](https://discourse.nodered.org/t/random-node-add-ability-to-pass-in-the-from-and-to-options/34164 "2020-10-13T09:19:15Z")

</div>

I have a case where I'm reading a folder and storing the list of files in an array. I'd like to pick a random file from that list. It would be nice if the random node had the ability to accept 'From' and 'To' from the i…

---

## [Minimum time between motion notifications in Home Assistant](https://discourse.nodered.org/t/minimum-time-between-motion-notifications-in-home-assistant/34153)

<div class="topic-metadata">

**Author:** [@cburkins](https://discourse.nodered.org/u/cburkins)\
**Replies:** 2\
**Last updated:** [13 October 2020 08:45 UTC](https://discourse.nodered.org/t/minimum-time-between-motion-notifications-in-home-assistant/34153 "2020-10-13T08:45:07Z")

</div>

Somewhat new to Node-Red, using in partnership with Home Assistant. Slick, really like it. I've got a motion sensor hooked to a notification. It's sending notifications too often. I'd like there to be a minimum of t…

---

## [Help with dropping messages within a timeframe](https://discourse.nodered.org/t/help-with-dropping-messages-within-a-timeframe/34091)

<div class="topic-metadata">

**Author:** [@philosoma](https://discourse.nodered.org/u/philosoma)\
**Replies:** 9\
**Last updated:** [13 October 2020 08:40 UTC](https://discourse.nodered.org/t/help-with-dropping-messages-within-a-timeframe/34091 "2020-10-13T08:40:15Z")

</div>

Hello! I've a few temperature sensors around the place. Each has a topic for room name and spits out the temperature value as the payload. I am trying to store a value in context every 10 minutes, but the every 10 minu…

---

## [RTSP not working after upgrade to version 1.1.0](https://discourse.nodered.org/t/rtsp-not-working-after-upgrade-to-version-1-1-0/34154)

<div class="topic-metadata">

**Author:** [@nodreduino](https://discourse.nodered.org/u/nodreduino)\
**Replies:** 2\
**Last updated:** [13 October 2020 03:17 UTC](https://discourse.nodered.org/t/rtsp-not-working-after-upgrade-to-version-1-1-0/34154 "2020-10-13T03:17:40Z")

</div>

Hi All, Not sure what is wrong - But I do have a simple flow to test my camera image from NodeRED. It was working all along with older version - Just when I have upgraded lately - I can NOT test my RTSP any more. Ever…

---

## [Noob question manual bypass sensor](https://discourse.nodered.org/t/noob-question-manual-bypass-sensor/34052)

<div class="topic-metadata">

**Author:** [@lucian](https://discourse.nodered.org/u/lucian)\
**Replies:** 5\
**Last updated:** [13 October 2020 02:41 UTC](https://discourse.nodered.org/t/noob-question-manual-bypass-sensor/34052 "2020-10-13T02:41:22Z")

</div>

hy guys ! so basically i made a dehumidifier automation, everything working ok... but i want to be able to use the switch manually and bypass the sensor automation... i tried various methods non of them works... any hel…

---

## [Creating custom node breaks ui\_button](https://discourse.nodered.org/t/creating-custom-node-breaks-ui-button/33711)

<div class="topic-metadata">

**Author:** [@murjam](https://discourse.nodered.org/u/murjam)\
**Replies:** 2\
**Last updated:** [12 October 2020 20:13 UTC](https://discourse.nodered.org/t/creating-custom-node-breaks-ui-button/33711 "2020-10-12T20:13:37Z")

</div>

Hi! I have an issue - whenever I add a custom node to my node-red, the ui\_buttons that I have on my dashboard lose their input "port". Trying to deploy the flows would yield that those elements are not properly configure…

---

## [Extract information from API](https://discourse.nodered.org/t/extract-information-from-api/34120)

<div class="topic-metadata">

**Author:** [@DanTimu](https://discourse.nodered.org/u/DanTimu)\
**Replies:** 7\
**Last updated:** [12 October 2020 17:54 UTC](https://discourse.nodered.org/t/extract-information-from-api/34120 "2020-10-12T17:54:17Z")

</div>

Hi, I'm trying to extract data from a GET request from the following site: https://cluj-napoca.pulse.eco/rest/current I only need the information from a specific sensorId. For example I need the info from: 522ad249-96…

---

## [MagicHome Nodes configure...?](https://discourse.nodered.org/t/magichome-nodes-configure/34102)

<div class="topic-metadata">

**Author:** [@Steinspiel](https://discourse.nodered.org/u/Steinspiel)\
**Replies:** 10\
**Last updated:** [12 October 2020 17:37 UTC](https://discourse.nodered.org/t/magichome-nodes-configure/34102 "2020-10-12T17:37:25Z")

</div>

I have RGBWW Wifi Controler from MagicHome. I can control these with the app, GoogleHome and openHAB. That works very well !. For Node Red I installed "node-red-contrib-magic-home-local" and configured the correct devic…

---

## [What Node(s)/Approach for Implementing Automation Override Based on Manual Switch Input](https://discourse.nodered.org/t/what-node-s-approach-for-implementing-automation-override-based-on-manual-switch-input/34107)

<div class="topic-metadata">

**Author:** [@gctseng](https://discourse.nodered.org/u/gctseng)\
**Replies:** 3\
**Last updated:** [12 October 2020 16:52 UTC](https://discourse.nodered.org/t/what-node-s-approach-for-implementing-automation-override-based-on-manual-switch-input/34107 "2020-10-12T16:52:41Z")

</div>

Tl;dr question/summary: What node would be recommended if I am trying to "gate" output from an automation flow, where the gate (either allows something through or not) is changed based on an event detected? In this case…

---

## [Elegant way to get pid of exec node running in spawn mode?](https://discourse.nodered.org/t/elegant-way-to-get-pid-of-exec-node-running-in-spawn-mode/34116)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 4\
**Last updated:** [12 October 2020 15:56 UTC](https://discourse.nodered.org/t/elegant-way-to-get-pid-of-exec-node-running-in-spawn-mode/34116 "2020-10-12T15:56:02Z")

</div>

Elegant way to get pid of exec node running in spawn mode? I guess I can grab the command before I pass it into the exec node and poll its process detail while the exec node is busy? But thought there might be a better…

---

## [How to know used bandwith on messages sent to Azure](https://discourse.nodered.org/t/how-to-know-used-bandwith-on-messages-sent-to-azure/34118)

<div class="topic-metadata">

**Author:** [@bioshock2k](https://discourse.nodered.org/u/bioshock2k)\
**Replies:** 2\
**Last updated:** [12 October 2020 15:57 UTC](https://discourse.nodered.org/t/how-to-know-used-bandwith-on-messages-sent-to-azure/34118 "2020-10-12T15:57:33Z")

</div>

Hi, Im working on a flow that sends repetetive messages. I needed to know the bandwith off the process, any idea how to do it?

---

## [Debug window doesn't show any info?](https://discourse.nodered.org/t/debug-window-doesnt-show-any-info/34129)

<div class="topic-metadata">

**Author:** [@jeffreys](https://discourse.nodered.org/u/jeffreys)\
**Replies:** 6\
**Last updated:** [12 October 2020 15:55 UTC](https://discourse.nodered.org/t/debug-window-doesnt-show-any-info/34129 "2020-10-12T15:55:01Z")

</div>

Why doesnt my debug window show the debug message outputs in my flow? \[{"id":"e6693df7.a3cfa","type":"tab","label":"Flow 4","disabled":false,"info":""},{"id":"eb571ded.e53f3","type":"modbus-read","z":"e6693df7.a3cfa","n…

---

## [How can i parse my c structure data in node red](https://discourse.nodered.org/t/how-can-i-parse-my-c-structure-data-in-node-red/33813)

<div class="topic-metadata">

**Author:** [@swapmicro](https://discourse.nodered.org/u/swapmicro)\
**Replies:** 14\
**Last updated:** [12 October 2020 15:53 UTC](https://discourse.nodered.org/t/how-can-i-parse-my-c-structure-data-in-node-red/33813 "2020-10-12T15:53:27Z")

</div>

Hello There, I have c structure typedef struct { float temp; float status; unsigned char tdata; } data; data mydata; value of my structure variable fill by the below parameters. mydata.tdata = 0x55; mydata.temp…

---

## [Remove bullet from ui-template based list object? And odd list item content?](https://discourse.nodered.org/t/remove-bullet-from-ui-template-based-list-object-and-odd-list-item-content/34132)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 0\
**Last updated:** [12 October 2020 15:26 UTC](https://discourse.nodered.org/t/remove-bullet-from-ui-template-based-list-object-and-odd-list-item-content/34132 "2020-10-12T15:26:32Z")

</div>

Got a flow, that tracks some OS commands in real time, presenting output via exec node in spawn mode. The flow works the way expected and designed, but for a couple of things, one odd. First, I am now trying to strip o…

---

## [Protobuf encoder returns empty buffer payload](https://discourse.nodered.org/t/protobuf-encoder-returns-empty-buffer-payload/34018)

<div class="topic-metadata">

**Author:** [@zaher](https://discourse.nodered.org/u/zaher)\
**Replies:** 2\
**Last updated:** [12 October 2020 15:15 UTC](https://discourse.nodered.org/t/protobuf-encoder-returns-empty-buffer-payload/34018 "2020-10-12T15:15:28Z")

</div>

I am using node-red-contrib-protobuf I got the decoder to work with my .proto just fine, but when I try to do it the other way around with the encoder it doesn't work and just returns to me a payload with buffer\[0\]. I e…

---

## [Preselect option in dynamically filled Dropdown](https://discourse.nodered.org/t/preselect-option-in-dynamically-filled-dropdown/34124)

<div class="topic-metadata">

**Author:** [@gebuhl](https://discourse.nodered.org/u/gebuhl)\
**Replies:** 5\
**Last updated:** [12 October 2020 14:03 UTC](https://discourse.nodered.org/t/preselect-option-in-dynamically-filled-dropdown/34124 "2020-10-12T14:03:08Z")

</div>

It is possible to select an option in a prefilled dropdown. But how can I select an option in an dynamically filled dropdown? I still made tests with prefilled and dynamically filled dropdown, but only the prefilled dr…

---

## [How does it function : node-red-node-ui-table?](https://discourse.nodered.org/t/how-does-it-function-node-red-node-ui-table/33774)

<div class="topic-metadata">

**Author:** [@oktober31](https://discourse.nodered.org/u/oktober31)\
**Replies:** 3\
**Last updated:** [12 October 2020 13:15 UTC](https://discourse.nodered.org/t/how-does-it-function-node-red-node-ui-table/33774 "2020-10-12T13:15:26Z")

</div>

Hello everybody, I try to use node-red-node-ui-table since a few weeks. But I don't understant how it function. My Node-RED version is 1.1.3 My NodeJS is v.10.22.0 My dashboard module is 2.23.4. My code is : \[{"id…

---

## [CSS - ui\_template new ck-button widget text is not centered vertically](https://discourse.nodered.org/t/css-ui-template-new-ck-button-widget-text-is-not-centered-vertically/34044)

<div class="topic-metadata">

**Author:** [@ozpos](https://discourse.nodered.org/u/ozpos)\
**Replies:** 4\
**Last updated:** [12 October 2020 11:11 UTC](https://discourse.nodered.org/t/css-ui-template-new-ck-button-widget-text-is-not-centered-vertically/34044 "2020-10-12T11:11:21Z")

</div>

I am trying to style a ui\_template button. Using 'width: 100%' works OK in that the rendered button follows the chosen width for the widget. How can I do the same for height ? I have tried 'height: 100%'. Or where do…

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

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