# Latest

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

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

**Page:** 902

---

## [Noob Node RED User Connecting dropdown item to html value](https://discourse.nodered.org/t/noob-node-red-user-connecting-dropdown-item-to-html-value/39818)

<div class="topic-metadata">

**Author:** [@Jamil100](https://discourse.nodered.org/u/Jamil100)\
**Replies:** 1\
**Last updated:** [26 January 2021 19:40 UTC](https://discourse.nodered.org/t/noob-node-red-user-connecting-dropdown-item-to-html-value/39818 "2021-01-26T19:40:49Z")

</div>

Hello everyone, I'm kinda new to NodeRED. The thing I want to implement is to select key/object that has a specific value in the Dropdown Node and connect it to text on image template. Basically when I choose an item in…

---

## [Get count on reset, even if its 0](https://discourse.nodered.org/t/get-count-on-reset-even-if-its-0/39734)

<div class="topic-metadata">

**Author:** [@dvyjns](https://discourse.nodered.org/u/dvyjns)\
**Replies:** 6\
**Last updated:** [26 January 2021 17:49 UTC](https://discourse.nodered.org/t/get-count-on-reset-even-if-its-0/39734 "2021-01-26T17:49:33Z")

</div>

Hi, My problem is simple yet I can't seem to wrap my head around it. I'm grabbing the last saved count from 'node-red-contrib-counter' when it's reset at midnight and displaying the old total as "Yesterdays Count". The …

---

## [How to strip out unwanted MQTT inputs(?)](https://discourse.nodered.org/t/how-to-strip-out-unwanted-mqtt-inputs/39805)

<div class="topic-metadata">

**Author:** [@haskle](https://discourse.nodered.org/u/haskle)\
**Replies:** 2\
**Last updated:** [26 January 2021 17:44 UTC](https://discourse.nodered.org/t/how-to-strip-out-unwanted-mqtt-inputs/39805 "2021-01-26T17:44:23Z")

</div>

Newbie(ish) question: I have managed to set up my Node\_RED RPi to receive MQTT messages with the topic home/rtl\_433 from an MQTT broker installed on a different RPi. But there are a load of messages that I am not intere…

---

## [Multiple topics in one template](https://discourse.nodered.org/t/multiple-topics-in-one-template/39790)

<div class="topic-metadata">

**Author:** [@Gehasi](https://discourse.nodered.org/u/Gehasi)\
**Replies:** 3\
**Last updated:** [26 January 2021 16:35 UTC](https://discourse.nodered.org/t/multiple-topics-in-one-template/39790 "2021-01-26T16:35:21Z")

</div>

Hi I have the following node and Im thinking of how can I make it more simple. Because no I have 17 templates and there should be a way to just make it simpler.. Its hard to explain maybe if you see my node you will unde…

---

## [Hikvision OSD / overlay text](https://discourse.nodered.org/t/hikvision-osd-overlay-text/39783)

<div class="topic-metadata">

**Author:** [@Muhonen](https://discourse.nodered.org/u/Muhonen)\
**Replies:** 3\
**Last updated:** [26 January 2021 16:10 UTC](https://discourse.nodered.org/t/hikvision-osd-overlay-text/39783 "2021-01-26T16:10:10Z")

</div>

domoticz / out retrieves temperature information and sends it to the camera as osd text \[{"id":"e6698485.8469d","type":"tab","label":"Hikvision OK","disabled":false,"info":""},{"id":"3af0aa23.575896","type":"http reques…

---

## [Dashboard menu button disappeared](https://discourse.nodered.org/t/dashboard-menu-button-disappeared/39792)

<div class="topic-metadata">

**Author:** [@bltDefender](https://discourse.nodered.org/u/bltDefender)\
**Replies:** 0\
**Last updated:** [26 January 2021 15:59 UTC](https://discourse.nodered.org/t/dashboard-menu-button-disappeared/39792 "2021-01-26T15:59:48Z")

</div>

I lost my menu button, side menu and swipe between tabs function. In the site settings, it looks like this I do have three tabs. all enabled and visible. Why did these dashboard control functions disappear, any idea?

---

## [Interact with Pocket APIs](https://discourse.nodered.org/t/interact-with-pocket-apis/39782)

<div class="topic-metadata">

**Author:** [@vongomben](https://discourse.nodered.org/u/vongomben)\
**Replies:** 4\
**Last updated:** [26 January 2021 15:52 UTC](https://discourse.nodered.org/t/interact-with-pocket-apis/39782 "2021-01-26T15:52:16Z")

</div>

Hi Node-RED forums. I'm an avid User of Pocket. I want to interact (and specifically, retrieve) the data from my pocket account. I've created an app and received a consumer key. I've been following this call and crea…

---

## [Help with pushing objects to array](https://discourse.nodered.org/t/help-with-pushing-objects-to-array/39778)

<div class="topic-metadata">

**Author:** [@bltDefender](https://discourse.nodered.org/u/bltDefender)\
**Replies:** 7\
**Last updated:** [26 January 2021 15:28 UTC](https://discourse.nodered.org/t/help-with-pushing-objects-to-array/39778 "2021-01-26T15:28:51Z")

</div>

hi all, I do have an unexpected result from that code. var topic = msg.topic; var deviceName = topic.split("/")\[1\]; var deviceTopic = topic.split("/")\[2\]; var deviceList = global.get('mitiiot\_devices')||\[\]; //array //…

---

## [Dahua OSD / overlay text](https://discourse.nodered.org/t/dahua-osd-overlay-text/39652)

<div class="topic-metadata">

**Author:** [@Muhonen](https://discourse.nodered.org/u/Muhonen)\
**Replies:** 3\
**Last updated:** [26 January 2021 15:28 UTC](https://discourse.nodered.org/t/dahua-osd-overlay-text/39652 "2021-01-26T15:28:02Z")

</div>

I'll try to get nodered to write the temperature on the display of the camera Dahua, Hikvision and Camhi I've got to work but dahualla a problem. The name can be changed from the trigger, but I can't get the temperature…

---

## [Formatting MQTT Data](https://discourse.nodered.org/t/formatting-mqtt-data/39773)

<div class="topic-metadata">

**Author:** [@edwardr](https://discourse.nodered.org/u/edwardr)\
**Replies:** 5\
**Last updated:** [26 January 2021 14:44 UTC](https://discourse.nodered.org/t/formatting-mqtt-data/39773 "2021-01-26T14:44:19Z")

</div>

Hello folks, Currently having an issue which I imagine is very simple but so simple I can\`t find the answer. I\`ve set up a MQTT server to write to a regiter remotely. The Msg.paylod comes through as indented by "" and…

---

## [Ui\_switch - msg.enable - payload control](https://discourse.nodered.org/t/ui-switch-msg-enable-payload-control/39776)

<div class="topic-metadata">

**Author:** [@Zodiac-69](https://discourse.nodered.org/u/Zodiac-69)\
**Replies:** 2\
**Last updated:** [26 January 2021 14:23 UTC](https://discourse.nodered.org/t/ui-switch-msg-enable-payload-control/39776 "2021-01-26T14:23:59Z")

</div>

I have a field device that send LWT to mqtt. When the device goes "Off-Line", i disable the relevant ui\_switch with msg.enabled = false; The switch is set to pass through msg if payload match new state. This then make…

---

## [Custom node require failure](https://discourse.nodered.org/t/custom-node-require-failure/39772)

<div class="topic-metadata">

**Author:** [@UnivSim](https://discourse.nodered.org/u/UnivSim)\
**Replies:** 3\
**Last updated:** [26 January 2021 13:08 UTC](https://discourse.nodered.org/t/custom-node-require-failure/39772 "2021-01-26T13:08:38Z")

</div>

Hi, I'm writing a custom node for Node-red (see versions below) but i require other modules/scripts in it. When i add the require line (see my code) it failes to show up in the node-red brwoser interface. when i commen…

---

## [Display of carplate scanned](https://discourse.nodered.org/t/display-of-carplate-scanned/39752)

<div class="topic-metadata">

**Author:** [@jacquesAYX](https://discourse.nodered.org/u/jacquesAYX)\
**Replies:** 4\
**Last updated:** [26 January 2021 11:03 UTC](https://discourse.nodered.org/t/display-of-carplate-scanned/39752 "2021-01-26T11:03:53Z")

</div>

Hi, I am currently facing a problem where I do not know how to display a car plate number that has been read by a Plate Recogniser. How do I only display the carplate number shown in this image on the text node?

---

## [Want to see track positions and line based on date range](https://discourse.nodered.org/t/want-to-see-track-positions-and-line-based-on-date-range/39767)

<div class="topic-metadata">

**Author:** [@bachloo.rahul](https://discourse.nodered.org/u/bachloo.rahul)\
**Replies:** 0\
**Last updated:** [26 January 2021 10:34 UTC](https://discourse.nodered.org/t/want-to-see-track-positions-and-line-based-on-date-range/39767 "2021-01-26T10:34:19Z")

</div>

want to see trackers(track lines and marker) between a date range on open street map.this image is somewhat similar . Basically want to store all positions on database and retreive them based on date rangespecified. \[…

---

## [Webhookrelay data extract for WorldMap?](https://discourse.nodered.org/t/webhookrelay-data-extract-for-worldmap/39678)

<div class="topic-metadata">

**Author:** [@UncleSam](https://discourse.nodered.org/u/UncleSam)\
**Replies:** 9\
**Last updated:** [26 January 2021 10:42 UTC](https://discourse.nodered.org/t/webhookrelay-data-extract-for-worldmap/39678 "2021-01-26T10:42:56Z")

</div>

Hello everyone, I've been working on some node red projects and have been having a very difficult time working with a Webhookrelay. The data that is transmitted from my remote device is HTTP\_POST format, but when it arr…

---

## [What's wrong with msg.topic : the query is not defined as a string?](https://discourse.nodered.org/t/whats-wrong-with-msg-topic-the-query-is-not-defined-as-a-string/39756)

<div class="topic-metadata">

**Author:** [@Arthur123124](https://discourse.nodered.org/u/Arthur123124)\
**Replies:** 6\
**Last updated:** [26 January 2021 10:32 UTC](https://discourse.nodered.org/t/whats-wrong-with-msg-topic-the-query-is-not-defined-as-a-string/39756 "2021-01-26T10:32:50Z")

</div>

i want to collect data and then send it to database, but it said msg.topic : the query is not defined as a string". i don't know how to fix it.

---

## [Extracting gps coordinates from abeeway tracker](https://discourse.nodered.org/t/extracting-gps-coordinates-from-abeeway-tracker/39753)

<div class="topic-metadata">

**Author:** [@bachloo.rahul](https://discourse.nodered.org/u/bachloo.rahul)\
**Replies:** 2\
**Last updated:** [26 January 2021 09:31 UTC](https://discourse.nodered.org/t/extracting-gps-coordinates-from-abeeway-tracker/39753 "2021-01-26T09:31:55Z")

</div>

payload {"applicationID":"1","applicationName":"cloud","data":"A0i4eAAKEOwyLd8tBfZMpg==","devEUI":"20635f01080016e9","deviceName":"ab8","fCnt":23,"fPort":17,"rxInfo":\[{"altitude":0,"latitude":0,"loRaSNR":9,"lo…

---

## [OpenWRT node-red](https://discourse.nodered.org/t/openwrt-node-red/39762)

<div class="topic-metadata">

**Author:** [@soumyamitra1704065](https://discourse.nodered.org/u/soumyamitra1704065)\
**Replies:** 3\
**Last updated:** [26 January 2021 09:25 UTC](https://discourse.nodered.org/t/openwrt-node-red/39762 "2021-01-26T09:25:56Z")

</div>

i get the following error everytime i start node-red in open-wrt of arduino YUN2 /usr/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/api/flows.js:52 getFlows: async function(opts) { ^^^^^^^^ SyntaxErr…

---

## [Unable to open excel sheet create by nodered](https://discourse.nodered.org/t/unable-to-open-excel-sheet-create-by-nodered/39748)

<div class="topic-metadata">

**Author:** [@sam\_r](https://discourse.nodered.org/u/sam_r)\
**Replies:** 4\
**Last updated:** [26 January 2021 08:37 UTC](https://discourse.nodered.org/t/unable-to-open-excel-sheet-create-by-nodered/39748 "2021-01-26T08:37:55Z")

</div>

Hello experts .. I am in a need of your guidance. I created a simple flow by which i get the temperature data via MQTT broker and need to keep these data in excel file.. I create the flow and also implement the debug no…

---

## [Can't use .length in my array data](https://discourse.nodered.org/t/cant-use-length-in-my-array-data/39721)

<div class="topic-metadata">

**Author:** [@morathekid](https://discourse.nodered.org/u/morathekid)\
**Replies:** 6\
**Last updated:** [26 January 2021 07:21 UTC](https://discourse.nodered.org/t/cant-use-length-in-my-array-data/39721 "2021-01-26T07:21:08Z")

</div>

in my array has two data. but node script can't length it Data : {"rootId":"0759da852d9fb76f79297e8cfc3d6ce7","requestId":"f396bc7dc58796e5:-644c5706:176e12ece07:-8000:3924","details":{"tlp":2,"caseTemplate":null,"de…

---

## [Node red stopped working after uncaught exception of json token](https://discourse.nodered.org/t/node-red-stopped-working-after-uncaught-exception-of-json-token/39738)

<div class="topic-metadata">

**Author:** [@mac5562](https://discourse.nodered.org/u/mac5562)\
**Replies:** 3\
**Last updated:** [25 January 2021 23:17 UTC](https://discourse.nodered.org/t/node-red-stopped-working-after-uncaught-exception-of-json-token/39738 "2021-01-25T23:17:20Z")

</div>

Hi ! I worked on the node red, and suddenly the whole system is crushed. In the node js terminal, i got this error message: 25 Jan 23:24:00 - \[red\] Uncaught Exception: 25 Jan 23:24:00 - SyntaxError: Unexpected token i …

---

## [Send and receive SMS with GSM and raspberry pi 3](https://discourse.nodered.org/t/send-and-receive-sms-with-gsm-and-raspberry-pi-3/19226)

<div class="topic-metadata">

**Author:** [@pooyatavan](https://discourse.nodered.org/u/pooyatavan)\
**Replies:** 14\
**Last updated:** [25 January 2021 22:52 UTC](https://discourse.nodered.org/t/send-and-receive-sms-with-gsm-and-raspberry-pi-3/19226 "2021-01-25T22:52:42Z")

</div>

hi how can i send and receive on module GSM sim 800l. i put TX/RX pins from module to TX/RX raspberry pi. but i receive nothing from module. actually i don't know how its works. can someone help me to figure it out ? …

---

## [Best Practice for messages between Node-RED instances](https://discourse.nodered.org/t/best-practice-for-messages-between-node-red-instances/39504)

<div class="topic-metadata">

**Author:** [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Replies:** 12\
**Last updated:** [25 January 2021 22:48 UTC](https://discourse.nodered.org/t/best-practice-for-messages-between-node-red-instances/39504 "2021-01-25T22:48:02Z")

</div>

I am beginning to expand an application to 2 instances of Node-RED. This is to separate defined core functions which we do not want to expose to technicians, and the individual installation particulars of integration to…

---

## [Mqtt send block not sending data to the things network](https://discourse.nodered.org/t/mqtt-send-block-not-sending-data-to-the-things-network/39553)

<div class="topic-metadata">

**Author:** [@KikkertjeK](https://discourse.nodered.org/u/KikkertjeK)\
**Replies:** 10\
**Last updated:** [25 January 2021 22:47 UTC](https://discourse.nodered.org/t/mqtt-send-block-not-sending-data-to-the-things-network/39553 "2021-01-25T22:47:34Z")

</div>

We are trying to send data to the thing network using mqtt. It connects to the things network but does not send the data. We have tried using multiple topics but it still would not work. The topic we are using now is bra…

---

## [What is wrong with my function? Javascript "if" doesn't seem to work](https://discourse.nodered.org/t/what-is-wrong-with-my-function-javascript-if-doesnt-seem-to-work/39737)

<div class="topic-metadata">

**Author:** [@jabss](https://discourse.nodered.org/u/jabss)\
**Replies:** 2\
**Last updated:** [25 January 2021 22:47 UTC](https://discourse.nodered.org/t/what-is-wrong-with-my-function-javascript-if-doesnt-seem-to-work/39737 "2021-01-25T22:47:25Z")

</div>

Hi, I admit I'm not javascript knowlegeable neither programmer.... I'm cutting/pasting pieces of code in order to make things work... I'm trying to get a flow working but I can't understand what I'm doing wrong on this…

---

## [Node-RED + RPi + WiFi battery powered sensors](https://discourse.nodered.org/t/node-red-rpi-wifi-battery-powered-sensors/39644)

<div class="topic-metadata">

**Author:** [@sylwester](https://discourse.nodered.org/u/sylwester)\
**Replies:** 2\
**Last updated:** [25 January 2021 21:51 UTC](https://discourse.nodered.org/t/node-red-rpi-wifi-battery-powered-sensors/39644 "2021-01-25T21:51:09Z")

</div>

Got excited with Node-RED on RaspberryPi and made WiFi temperature sensor with Cricket. Made this live dashboard without coding & programming. For anyone interested I documented my steps here: https://www.thingsonedge.co…

---

## [Flows do not survive a restart](https://discourse.nodered.org/t/flows-do-not-survive-a-restart/39731)

<div class="topic-metadata">

**Author:** [@Paka46](https://discourse.nodered.org/u/Paka46)\
**Replies:** 3\
**Last updated:** [25 January 2021 21:35 UTC](https://discourse.nodered.org/t/flows-do-not-survive-a-restart/39731 "2021-01-25T21:35:19Z")

</div>

I am running Node-Red version 1.2.7 on Raspberry Pi. This was initially installed as version 1.1.3 The initial install and subsequent upgrade were done using the recommended script from: https://nodered.org/docs/gettin…

---

## [MySQL Query and Process Select](https://discourse.nodered.org/t/mysql-query-and-process-select/39722)

<div class="topic-metadata">

**Author:** [@CybrPimp](https://discourse.nodered.org/u/CybrPimp)\
**Replies:** 3\
**Last updated:** [25 January 2021 21:05 UTC](https://discourse.nodered.org/t/mysql-query-and-process-select/39722 "2021-01-25T21:05:17Z")

</div>

Ok, guys working through the problems as a new Node-Red user with the help of several. Thanks to everyone. So I have a MySQL Task setup and showing connected, but I'm not sure how to Query the database and process those…

---

## [Add Custom Completition to javascript function node](https://discourse.nodered.org/t/add-custom-completition-to-javascript-function-node/39667)

<div class="topic-metadata">

**Author:** [@thomaspz](https://discourse.nodered.org/u/thomaspz)\
**Replies:** 6\
**Last updated:** [25 January 2021 19:56 UTC](https://discourse.nodered.org/t/add-custom-completition-to-javascript-function-node/39667 "2021-01-25T19:56:00Z")

</div>

Is there a way to add custom code completition to the javascript function. Espacially I want to define some "global" objects, constants and/or functions which I want to use in almost every node, without knowning all name…

---

## [influxDB record an action](https://discourse.nodered.org/t/influxdb-record-an-action/39713)

<div class="topic-metadata">

**Author:** [@877](https://discourse.nodered.org/u/877)\
**Replies:** 12\
**Last updated:** [25 January 2021 19:20 UTC](https://discourse.nodered.org/t/influxdb-record-an-action/39713 "2021-01-25T19:20:05Z")

</div>

Hello all, I would like to learn how to show sensor events in Grafana, where initial the value is either text (in this case "vibration", or true/false). I was thinking a bar chart with time across the bottom. In this …

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

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