# General

**URL:** https://discourse.nodered.org/c/general/7.md?page=844

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

**Page:** 845

---

## [Populate data from database into Dropdownlist](https://discourse.nodered.org/t/populate-data-from-database-into-dropdownlist/15944)

<div class="topic-metadata">

**Author:** [@kresten88](https://discourse.nodered.org/u/kresten88)\
**Replies:** 8\
**Last updated:** [27 September 2019 07:14 UTC](https://discourse.nodered.org/t/populate-data-from-database-into-dropdownlist/15944 "2019-09-27T07:14:31Z")

</div>

When I use a Query on Mysql I get an array with 120 objects. I would like to push these results in a dropdownlist, but all I know is how to write a function to get 1 value out of the array, not all of them. So first st…

---

## [How to change the ip address](https://discourse.nodered.org/t/how-to-change-the-ip-address/15974)

<div class="topic-metadata">

**Author:** [@Benix](https://discourse.nodered.org/u/Benix)\
**Replies:** 2\
**Last updated:** [27 September 2019 07:01 UTC](https://discourse.nodered.org/t/how-to-change-the-ip-address/15974 "2019-09-27T07:01:32Z")

</div>

now i have 192.168.4.32 to open node red .. i want to change that to 192.168.4.28... how do i change

---

## [Set Hex Value in a Change Node](https://discourse.nodered.org/t/set-hex-value-in-a-change-node/15917)

<div class="topic-metadata">

**Author:** [@dudleyjosh](https://discourse.nodered.org/u/dudleyjosh)\
**Replies:** 4\
**Last updated:** [27 September 2019 01:08 UTC](https://discourse.nodered.org/t/set-hex-value-in-a-change-node/15917 "2019-09-27T01:08:03Z")

</div>

If need to send the hex value of 0x18 to a serial port node, what is the proper way to do it using a Change node? I've found that is can be done using the following string "\\u0018" within a JSONata expression field (I do…

---

## [Import rules by rest api](https://discourse.nodered.org/t/import-rules-by-rest-api/15855)

<div class="topic-metadata">

**Author:** [@chandra123](https://discourse.nodered.org/u/chandra123)\
**Replies:** 14\
**Last updated:** [26 September 2019 20:15 UTC](https://discourse.nodered.org/t/import-rules-by-rest-api/15855 "2019-09-26T20:15:10Z")

</div>

Hi, I have multiple wind turbines which are publishing data on multiple mqtt topics and using function node I am able to apply rules to filter that data and again publishing that filtered data on different mqtt topics i…

---

## [How can I print a pdf from Dashboard?](https://discourse.nodered.org/t/how-can-i-print-a-pdf-from-dashboard/10332)

<div class="topic-metadata">

**Author:** [@bruster999](https://discourse.nodered.org/u/bruster999)\
**Replies:** 2\
**Last updated:** [26 September 2019 17:44 UTC](https://discourse.nodered.org/t/how-can-i-print-a-pdf-from-dashboard/10332 "2019-09-26T17:44:32Z")

</div>

Hi all. I use node-red/Dashboard along with several ESP8266 devices to automate several machines in my business. I would like to be able to give employees the ability to print forms/documents in either PDF or MS Word for…

---

## [Change javascript code in function node](https://discourse.nodered.org/t/change-javascript-code-in-function-node/15891)

<div class="topic-metadata">

**Author:** [@chandra123](https://discourse.nodered.org/u/chandra123)\
**Replies:** 12\
**Last updated:** [26 September 2019 17:41 UTC](https://discourse.nodered.org/t/change-javascript-code-in-function-node/15891 "2019-09-26T17:41:00Z")

</div>

Can we change Javascript code or rule written in function by external code or rule? by rest-api or something else

---

## [\[Solved\] Jsonata function help](https://discourse.nodered.org/t/solved-jsonata-function-help/15953)

<div class="topic-metadata">

**Author:** [@biz](https://discourse.nodered.org/u/biz)\
**Replies:** 4\
**Last updated:** [26 September 2019 16:24 UTC](https://discourse.nodered.org/t/solved-jsonata-function-help/15953 "2019-09-26T16:24:40Z")

</div>

Hello all. I have a perplexing issue. Someone on here told me about jsonata and it has been very helpful so far. I am not that advanced yet in it. I have some json output. and I can get the jsonata output that I almost w…

---

## [Can't processing False & True values comes from mqtt broker](https://discourse.nodered.org/t/cant-processing-false-true-values-comes-from-mqtt-broker/15932)

<div class="topic-metadata">

**Author:** [@muharremsari](https://discourse.nodered.org/u/muharremsari)\
**Replies:** 9\
**Last updated:** [26 September 2019 11:37 UTC](https://discourse.nodered.org/t/cant-processing-false-true-values-comes-from-mqtt-broker/15932 "2019-09-26T11:37:35Z")

</div>

I can't see debug node False, True values with bottom function, I can see only floatig values for(var i in msg.payload.values) { var newmessage = msg.payload.values\[i\].v; var newtopic = msg.topic + '/' + msg.payload.…

---

## [Timer after rising edge](https://discourse.nodered.org/t/timer-after-rising-edge/15935)

<div class="topic-metadata">

**Author:** [@Nabil](https://discourse.nodered.org/u/Nabil)\
**Replies:** 12\
**Last updated:** [26 September 2019 11:14 UTC](https://discourse.nodered.org/t/timer-after-rising-edge/15935 "2019-09-26T11:14:59Z")

</div>

Hi, I'm using Node-red to control arduino using Firmata! I have an input (PushButton) that it will change to "TRUE" many times, I want a simple node that will remember this value on the rising edge" during 3s and the…

---

## [TCP node session information](https://discourse.nodered.org/t/tcp-node-session-information/15940)

<div class="topic-metadata">

**Author:** [@SynAckFin](https://discourse.nodered.org/u/SynAckFin)\
**Replies:** 0\
**Last updated:** [26 September 2019 09:56 UTC](https://discourse.nodered.org/t/tcp-node-session-information/15940 "2019-09-26T09:56:02Z")

</div>

I have a couple of flows set up as follows: (TCP Client) -----\> (Client Function) -----\> (TCP Client Out) (MQTT) ----/ (Inject) ---/ (Status) --/ (TCP Server) -----\> (Server Funct…

---

## [Deploy and Manage Hundreds of Devices across the country](https://discourse.nodered.org/t/deploy-and-manage-hundreds-of-devices-across-the-country/15399)

<div class="topic-metadata">

**Author:** [@GregorR1](https://discourse.nodered.org/u/GregorR1)\
**Replies:** 10\
**Last updated:** [26 September 2019 08:18 UTC](https://discourse.nodered.org/t/deploy-and-manage-hundreds-of-devices-across-the-country/15399 "2019-09-26T08:18:58Z")

</div>

Hi, I'm looking for some guidance regarding bulk deployment and management of devices. I'm looking into using Balena.io or similar to allow me to deploy and manage devices in bulk. I'm developing in node-red, and have…

---

## [Node-red-contrib-google-cloud](https://discourse.nodered.org/t/node-red-contrib-google-cloud/15864)

<div class="topic-metadata">

**Author:** [@augusto\_mary](https://discourse.nodered.org/u/augusto_mary)\
**Replies:** 3\
**Last updated:** [25 September 2019 22:02 UTC](https://discourse.nodered.org/t/node-red-contrib-google-cloud/15864 "2019-09-25T22:02:35Z")

</div>

Hi everyone! I'm trying to use this note, specifically the google cloud speech to text but I just can't find any option to change it's language, it only recognizes english (en-US). At the directory /node\_modules/google…

---

## [Does Node-Red write to SD card a lot?](https://discourse.nodered.org/t/does-node-red-write-to-sd-card-a-lot/15904)

<div class="topic-metadata">

**Author:** [@Eric](https://discourse.nodered.org/u/Eric)\
**Replies:** 3\
**Last updated:** [25 September 2019 21:20 UTC](https://discourse.nodered.org/t/does-node-red-write-to-sd-card-a-lot/15904 "2019-09-25T21:20:02Z")

</div>

I have a MQTT input node that goes to a gauge type UI visualization. I have no control over the rate the MQTT data comes in, and it comes in really fast (like every 50ms). I'm running Node-Red on a Pi off of SD card. S…

---

## [Email message "from" field not available](https://discourse.nodered.org/t/email-message-from-field-not-available/15751)

<div class="topic-metadata">

**Author:** [@molesworth](https://discourse.nodered.org/u/molesworth)\
**Replies:** 5\
**Last updated:** [25 September 2019 20:06 UTC](https://discourse.nodered.org/t/email-message-from-field-not-available/15751 "2019-09-25T20:06:02Z")

</div>

Hi all, I'm experimenting with email as a quick and easy way to send messages to my system. I want to do some basic validation so checking the sender's address is a good start, but although the docs for the email node …

---

## [Inserting unique entries into SqlLite db from CSV file](https://discourse.nodered.org/t/inserting-unique-entries-into-sqllite-db-from-csv-file/15869)

<div class="topic-metadata">

**Author:** [@EmbeddedGuy](https://discourse.nodered.org/u/EmbeddedGuy)\
**Replies:** 4\
**Last updated:** [25 September 2019 19:35 UTC](https://discourse.nodered.org/t/inserting-unique-entries-into-sqllite-db-from-csv-file/15869 "2019-09-25T19:35:42Z")

</div>

Hi All, I am doing a flow to store sensor data into a Sqlite database and require assistance at a concept level. The flow should read a CSV file and only insert a row if the data within the CSV file is unique. Uniquenes…

---

## ["Permission denied" when try to copy file to usb](https://discourse.nodered.org/t/permission-denied-when-try-to-copy-file-to-usb/15828)

<div class="topic-metadata">

**Author:** [@hathemi](https://discourse.nodered.org/u/hathemi)\
**Replies:** 3\
**Last updated:** [25 September 2019 19:03 UTC](https://discourse.nodered.org/t/permission-denied-when-try-to-copy-file-to-usb/15828 "2019-09-25T19:03:31Z")

</div>

I'am working on raspberry device and i have to copy a file to my usb connected. Sometimes, it works but sometimes, i get error on copy node and i get "permission denied". I wonder what causes this problem to appear sud…

---

## [Display output message](https://discourse.nodered.org/t/display-output-message/8529)

<div class="topic-metadata">

**Author:** [@Sin](https://discourse.nodered.org/u/Sin)\
**Replies:** 40\
**Last updated:** [25 September 2019 14:19 UTC](https://discourse.nodered.org/t/display-output-message/8529 "2019-09-25T14:19:18Z")

</div>

Hi everyone. I'm trying to show the output from two inputs (facial expressions). These two inputs will have different values from 0-100. Thus, I use the switch node to differentiate if it is larger than 80 or not and the…

---

## [Twitter node/custom authentication](https://discourse.nodered.org/t/twitter-node-custom-authentication/15851)

<div class="topic-metadata">

**Author:** [@biz](https://discourse.nodered.org/u/biz)\
**Replies:** 2\
**Last updated:** [25 September 2019 13:39 UTC](https://discourse.nodered.org/t/twitter-node-custom-authentication/15851 "2019-09-25T13:39:23Z")

</div>

Hello All. I currently have some flows that use the twitter nodes. These are able to listen to specific usernames/hashtags. I am also able to post multimedia and standard tweets. This node is great and very easy. The …

---

## [Help me about payload](https://discourse.nodered.org/t/help-me-about-payload/15877)

<div class="topic-metadata">

**Author:** [@Veloruze](https://discourse.nodered.org/u/Veloruze)\
**Replies:** 6\
**Last updated:** [25 September 2019 12:33 UTC](https://discourse.nodered.org/t/help-me-about-payload/15877 "2019-09-25T12:33:34Z")

</div>

i've 2 same payloads in the same time like this what i want is make first payload to payload.first and second payload to payload.second. can someone help me ? \[{"id":"a8c021c4.dfc1c","type":"inject","z":"b9c42b46.…

---

## [Change Function](https://discourse.nodered.org/t/change-function/15862)

<div class="topic-metadata">

**Author:** [@shaynel2006](https://discourse.nodered.org/u/shaynel2006)\
**Replies:** 2\
**Last updated:** [25 September 2019 06:25 UTC](https://discourse.nodered.org/t/change-function/15862 "2019-09-25T06:25:39Z")

</div>

Hi, hoping for some guidance i have a chart in which i have made some change fuctions EG. if the value is 0 it Offline for the battery voltage can i set another change value that if the voltage is more than 3 volts it…

---

## [HTTP radio buttons, drop down and check boxes](https://discourse.nodered.org/t/http-radio-buttons-drop-down-and-check-boxes/15730)

<div class="topic-metadata">

**Author:** [@Raj](https://discourse.nodered.org/u/Raj)\
**Replies:** 7\
**Last updated:** [25 September 2019 05:57 UTC](https://discourse.nodered.org/t/http-radio-buttons-drop-down-and-check-boxes/15730 "2019-09-25T05:57:33Z")

</div>

Hi, I would greatly appreciate some help with some HTTP functions, like radio buttons, dropdown boxes, and checkboxes. I have a flow, its displays a screen and gets input from the user, that input needs to be represent…

---

## [\[Solved\]Node-red-contrib-bme280-rpi](https://discourse.nodered.org/t/solved-node-red-contrib-bme280-rpi/15761)

<div class="topic-metadata">

**Author:** [@n61ab](https://discourse.nodered.org/u/n61ab)\
**Replies:** 18\
**Last updated:** [25 September 2019 05:55 UTC](https://discourse.nodered.org/t/solved-node-red-contrib-bme280-rpi/15761 "2019-09-25T05:55:56Z")

</div>

I am trying to use the "node-red-contrib-bme280-rpi" to read a BME-280 pressure / temperature sensor using the I2C bus of a Rasberry PI. The node appears to connect to the sensor. I did verify the sensor i.d. and its t…

---

## [Access to MODBUS TCP addresses (from Raspberry Pi)](https://discourse.nodered.org/t/access-to-modbus-tcp-addresses-from-raspberry-pi/15820)

<div class="topic-metadata">

**Author:** [@sistemas](https://discourse.nodered.org/u/sistemas)\
**Replies:** 4\
**Last updated:** [24 September 2019 16:03 UTC](https://discourse.nodered.org/t/access-to-modbus-tcp-addresses-from-raspberry-pi/15820 "2019-09-24T16:03:12Z")

</div>

Hi friends: I have installed Node-RED with Modbus-Package in order to connect via TCP a Kinco PLC, which is connected to a Raspberry PI. I set up the Node Server and it connects to the master properly, but the Node Rea…

---

## [Worldmap KML, GPX, or TOPOJSON example needed](https://discourse.nodered.org/t/worldmap-kml-gpx-or-topojson-example-needed/15852)

<div class="topic-metadata">

**Author:** [@Tsepatek](https://discourse.nodered.org/u/Tsepatek)\
**Replies:** 7\
**Last updated:** [24 September 2019 11:26 UTC](https://discourse.nodered.org/t/worldmap-kml-gpx-or-topojson-example-needed/15852 "2019-09-24T11:26:33Z")

</div>

Hi, Could someone post an example how to use kml, gpx or topojson to create for example polyline/ track as a layer? Best Regards, Toni

---

## [Help please with the NEOPIXEL node](https://discourse.nodered.org/t/help-please-with-the-neopixel-node/15837)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 15\
**Last updated:** [24 September 2019 10:08 UTC](https://discourse.nodered.org/t/help-please-with-the-neopixel-node/15837 "2019-09-24T10:08:39Z")

</div>

Shoot me if you will, but I am missing something. I have (finally) got around to trying to get some NeoPixel LEDs working on a RPI. Installing the node and the required The Neopixel python driver need to be pre-inst…

---

## [Node-red with COAP](https://discourse.nodered.org/t/node-red-with-coap/15809)

<div class="topic-metadata">

**Author:** [@Sanjaycoder-r](https://discourse.nodered.org/u/Sanjaycoder-r)\
**Replies:** 5\
**Last updated:** [24 September 2019 09:56 UTC](https://discourse.nodered.org/t/node-red-with-coap/15809 "2019-09-24T09:56:27Z")

</div>

Hi all, How to enable database-level username and password authentication for validating users in node-red with coap protocol ? Thank you.

---

## [Error Install Module](https://discourse.nodered.org/t/error-install-module/15799)

<div class="topic-metadata">

**Author:** [@Veloruze](https://discourse.nodered.org/u/Veloruze)\
**Replies:** 4\
**Last updated:** [24 September 2019 09:03 UTC](https://discourse.nodered.org/t/error-install-module/15799 "2019-09-24T09:03:12Z")

</div>

i wanna to install this module node-red-contrib-satellites (node) - Node-RED but i get error like this npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3 can someone tell me how …

---

## [WiFi events and strange going on's](https://discourse.nodered.org/t/wifi-events-and-strange-going-ons/12673)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 65\
**Last updated:** [24 September 2019 08:49 UTC](https://discourse.nodered.org/t/wifi-events-and-strange-going-ons/12673 "2019-09-24T08:49:22Z")

</div>

Recently I have been having problems with a RPZ(W) and connections. Originally it was working nicely. Then one day it started dropping off line for no reason. Being headless, it was difficult to know what was happenin…

---

## [Trying to get my head around accessing a remote directory for file copying](https://discourse.nodered.org/t/trying-to-get-my-head-around-accessing-a-remote-directory-for-file-copying/15769)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 36\
**Last updated:** [24 September 2019 07:58 UTC](https://discourse.nodered.org/t/trying-to-get-my-head-around-accessing-a-remote-directory-for-file-copying/15769 "2019-09-24T07:58:09Z")

</div>

I know I have been down this road before, but slightly differently this time. I have a script to backup node-red stuff locally on the same machine. As things go on, I am needing to now access a remote machine (probabl…

---

## [FTP download: inject remote filename](https://discourse.nodered.org/t/ftp-download-inject-remote-filename/15770)

<div class="topic-metadata">

**Author:** [@cktl](https://discourse.nodered.org/u/cktl)\
**Replies:** 4\
**Last updated:** [24 September 2019 06:01 UTC](https://discourse.nodered.org/t/ftp-download-inject-remote-filename/15770 "2019-09-24T06:01:03Z")

</div>

I'm a beginner met node-red and want to look for files on a remote ftp location and download a filtered subset to a local dir. I use node-red-contrib-ftp for the LIST operation. How can I inject the filenames I got back …

[Previous page](https://discourse.nodered.org/c/general/7.md?page=843)

[Next page](https://discourse.nodered.org/c/general/7.md?page=845)
