# Latest

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

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

**Page:** 1081

---

## [Remove “{"power":00000}” from payload](https://discourse.nodered.org/t/remove-power-00000-from-payload/26618)

<div class="topic-metadata">

**Author:** [@droidblast](https://discourse.nodered.org/u/droidblast)\
**Replies:** 16\
**Last updated:** [29 May 2020 14:26 UTC](https://discourse.nodered.org/t/remove-power-00000-from-payload/26618 "2020-05-29T14:26:03Z")

</div>

I need to change the following MQTT output from {"power":3463} to 3463 Where the 3463 is a changing number after reading a power sensor. So it could be 0 up to 72000. Reading the forum read this can be done in sever…

---

## [Set time of time-range-switch per dashboard](https://discourse.nodered.org/t/set-time-of-time-range-switch-per-dashboard/27443)

<div class="topic-metadata">

**Author:** [@Trunkx](https://discourse.nodered.org/u/Trunkx)\
**Replies:** 2\
**Last updated:** [29 May 2020 12:19 UTC](https://discourse.nodered.org/t/set-time-of-time-range-switch-per-dashboard/27443 "2020-05-29T12:19:12Z")

</div>

Hello, i'm new to Node-Red and have a question about the node-red-contrib-time-range-switch 1.0.0.. Is it possible to set the time from the dashboard instead directly in the node ? I did found the text input node witch…

---

## [Node-red-contrib-camerapi issue](https://discourse.nodered.org/t/node-red-contrib-camerapi-issue/25983)

<div class="topic-metadata">

**Author:** [@leeg77](https://discourse.nodered.org/u/leeg77)\
**Replies:** 7\
**Last updated:** [29 May 2020 11:45 UTC](https://discourse.nodered.org/t/node-red-contrib-camerapi-issue/25983 "2020-05-29T11:45:48Z")

</div>

I am playing with the node-red-contrib-camerapi node but I am getting the following error: My camera works fine when using my pyhton script and it looks like the node-red-contrib-camerapi is in the .node-red directory …

---

## [Serial timeout causes flow to stop](https://discourse.nodered.org/t/serial-timeout-causes-flow-to-stop/27374)

<div class="topic-metadata">

**Author:** [@rce](https://discourse.nodered.org/u/rce)\
**Replies:** 17\
**Last updated:** [29 May 2020 09:28 UTC](https://discourse.nodered.org/t/serial-timeout-causes-flow-to-stop/27374 "2020-05-29T09:28:47Z")

</div>

Hi, I'm using the serial node to send ascii commands to a rs232 device with a Pi4. It used to run correctly, although i had timeout from time to time which didn't cause any harm. Yesterday i did an "apt-get update/upgr…

---

## [TCP not working for 30 min since new IP is given to 3G network interface](https://discourse.nodered.org/t/tcp-not-working-for-30-min-since-new-ip-is-given-to-3g-network-interface/27246)

<div class="topic-metadata">

**Author:** [@bsc-itcl](https://discourse.nodered.org/u/bsc-itcl)\
**Replies:** 11\
**Last updated:** [29 May 2020 07:45 UTC](https://discourse.nodered.org/t/tcp-not-working-for-30-min-since-new-ip-is-given-to-3g-network-interface/27246 "2020-05-29T07:45:08Z")

</div>

Hi everyone, we have developed a TCP client on a Gateway which runs Node.Red 0.11. This device receives LoRa messages from a LoRa In node and forwards these to our own network service through a TCP Out which connects to…

---

## [Rotate proxy/ip for httprequests](https://discourse.nodered.org/t/rotate-proxy-ip-for-httprequests/27434)

<div class="topic-metadata">

**Author:** [@steffok](https://discourse.nodered.org/u/steffok)\
**Replies:** 4\
**Last updated:** [29 May 2020 07:36 UTC](https://discourse.nodered.org/t/rotate-proxy-ip-for-httprequests/27434 "2020-05-29T07:36:57Z")

</div>

Is there a way that for each http request a different ip will be used? I've seen that a httpquest node has an option for proxy, but I don't know how it works

---

## [Modbus RS485 to USB communication](https://discourse.nodered.org/t/modbus-rs485-to-usb-communication/27074)

<div class="topic-metadata">

**Author:** [@Hasitha\_Sudasinghe](https://discourse.nodered.org/u/Hasitha_Sudasinghe)\
**Replies:** 50\
**Last updated:** [29 May 2020 07:32 UTC](https://discourse.nodered.org/t/modbus-rs485-to-usb-communication/27074 "2020-05-29T07:32:13Z")

</div>

Im trying to communicate Schneider PM1200 energy meter with Node red. There i have used Brainbox US-324 RS485 to USB converter and i have successfully check my path via modscan. As per Schneider data sheet i want to rea…

---

## [How to use function formatter in etable?](https://discourse.nodered.org/t/how-to-use-function-formatter-in-etable/27483)

<div class="topic-metadata">

**Author:** [@SergeP](https://discourse.nodered.org/u/SergeP)\
**Replies:** 0\
**Last updated:** [29 May 2020 07:23 UTC](https://discourse.nodered.org/t/how-to-use-function-formatter-in-etable/27483 "2020-05-29T07:23:33Z")

</div>

Hi! I try to use etableand do not understand what is correct format to use function formatter in it. If I write "formatter":function(x) {return x?'Used':'Unused'} it is JSON syntax error. If I add quotes, like here: …

---

## [How to cast videos](https://discourse.nodered.org/t/how-to-cast-videos/25039)

<div class="topic-metadata">

**Author:** [@Auto101](https://discourse.nodered.org/u/Auto101)\
**Replies:** 44\
**Last updated:** [29 May 2020 06:39 UTC](https://discourse.nodered.org/t/how-to-cast-videos/25039 "2020-05-29T06:39:16Z")

</div>

HI , Is there a way to cast local / youtube videos in a node red flow ? Thanks !

---

## [Only 84 rows read in bug CSV](https://discourse.nodered.org/t/only-84-rows-read-in-bug-csv/27414)

<div class="topic-metadata">

**Author:** [@mikeh](https://discourse.nodered.org/u/mikeh)\
**Replies:** 4\
**Last updated:** [29 May 2020 06:25 UTC](https://discourse.nodered.org/t/only-84-rows-read-in-bug-csv/27414 "2020-05-29T06:25:49Z")

</div>

I have a large csv file with more than 20 thousand rows. I was able to read the CSV file but only got 84 rows?

---

## [Why can't open the magnetic successfully, just can lock](https://discourse.nodered.org/t/why-cant-open-the-magnetic-successfully-just-can-lock/27475)

<div class="topic-metadata">

**Author:** [@lingzhongli](https://discourse.nodered.org/u/lingzhongli)\
**Replies:** 6\
**Last updated:** [29 May 2020 05:40 UTC](https://discourse.nodered.org/t/why-cant-open-the-magnetic-successfully-just-can-lock/27475 "2020-05-29T05:40:55Z")

</div>

this is the full flow \[{"id":"2f0108b5.890318","type":"tab","label":"VAES\_Project","disabled":false,"info":""},{"id":"e0ae3ada.3b0f48","type":"function","z":"2f0108b5.890318","name":"Generate History INSERT SQL","fun…

---

## [Using a Subflow environment variable to set msg.payload - probably simple, but i dont get it!](https://discourse.nodered.org/t/using-a-subflow-environment-variable-to-set-msg-payload-probably-simple-but-i-dont-get-it/27460)

<div class="topic-metadata">

**Author:** [@santaklon](https://discourse.nodered.org/u/santaklon)\
**Replies:** 2\
**Last updated:** [29 May 2020 00:52 UTC](https://discourse.nodered.org/t/using-a-subflow-environment-variable-to-set-msg-payload-probably-simple-but-i-dont-get-it/27460 "2020-05-29T00:52:03Z")

</div>

I am simply trying to create a subflow where i can set an environment variable that is then used within the subflow as the msg.payload to be sent over MQTT. Apparently i dont get the syntax right because it just wont wor…

---

## [Worldmap with GeoJSON](https://discourse.nodered.org/t/worldmap-with-geojson/26031)

<div class="topic-metadata">

**Author:** [@renlefche](https://discourse.nodered.org/u/renlefche)\
**Replies:** 14\
**Last updated:** [28 May 2020 22:05 UTC](https://discourse.nodered.org/t/worldmap-with-geojson/26031 "2020-05-28T22:05:29Z")

</div>

I am trying to change the color of GeoJSON LineString and put it into a separate layer using the worldmap node. For some reason I can't make this work - see below. What am I doing wrong? { "payload": { "type": "LineS…

---

## [Time out error occurring while hitting the API](https://discourse.nodered.org/t/time-out-error-occurring-while-hitting-the-api/27438)

<div class="topic-metadata">

**Author:** [@Ramya](https://discourse.nodered.org/u/Ramya)\
**Replies:** 2\
**Last updated:** [28 May 2020 21:11 UTC](https://discourse.nodered.org/t/time-out-error-occurring-while-hitting-the-api/27438 "2020-05-28T21:11:54Z")

</div>

Hi Guys, I am running 2 queries, where the 1st query output will act as a input to the 2nd query , and I need to loop through all the records from the oracle db , assume the response from db is around thousands of reco…

---

## [How to output separate payload fields to text flows](https://discourse.nodered.org/t/how-to-output-separate-payload-fields-to-text-flows/27436)

<div class="topic-metadata">

**Author:** [@node96](https://discourse.nodered.org/u/node96)\
**Replies:** 6\
**Last updated:** [28 May 2020 21:00 UTC](https://discourse.nodered.org/t/how-to-output-separate-payload-fields-to-text-flows/27436 "2020-05-28T21:00:15Z")

</div>

Hi, I am sending a query that selects a max, min, avg, etc, in a database, and I want to send it to text flows separately that will show in the dashboard. This is the payload data: And the flow: Thanks

---

## [Payload to javascript array](https://discourse.nodered.org/t/payload-to-javascript-array/27306)

<div class="topic-metadata">

**Author:** [@josekavunkal](https://discourse.nodered.org/u/josekavunkal)\
**Replies:** 1\
**Last updated:** [28 May 2020 20:57 UTC](https://discourse.nodered.org/t/payload-to-javascript-array/27306 "2020-05-28T20:57:08Z")

</div>

I have an array in template node as below. var myContacts = \[ {"rowid":1, "name": "Parvez Ansari", "email": "ansariparvez@gmai.com", "mobile":"9998979695" }, {"rowid":2, "name": "Tayyeb Shaikh", "email": "tshaikh1981@…

---

## [Node-Red and node-red-contrib-redis](https://discourse.nodered.org/t/node-red-and-node-red-contrib-redis/27395)

<div class="topic-metadata">

**Author:** [@Deuang](https://discourse.nodered.org/u/Deuang)\
**Replies:** 2\
**Last updated:** [28 May 2020 20:51 UTC](https://discourse.nodered.org/t/node-red-and-node-red-contrib-redis/27395 "2020-05-28T20:51:15Z")

</div>

I hope someone can shed some light on what appears to be a rather simple thing but for the life of me I cannot work out. I apologies in advance if I don’t follow the rule or format my text correctly, I am new to the for…

---

## [Send message amoung subflows like mqtt](https://discourse.nodered.org/t/send-message-amoung-subflows-like-mqtt/27415)

<div class="topic-metadata">

**Author:** [@sdalee](https://discourse.nodered.org/u/sdalee)\
**Replies:** 1\
**Last updated:** [28 May 2020 20:49 UTC](https://discourse.nodered.org/t/send-message-amoung-subflows-like-mqtt/27415 "2020-05-28T20:49:52Z")

</div>

I build a smart home system. I use Raspberry pi & Node-Red. I’d like to save every sensor and UI data, event, etc… to a sqlite database. I think there will be about 80-100 zigbee device in the zigbee network, and lots …

---

## [Home bridge and no response](https://discourse.nodered.org/t/home-bridge-and-no-response/19208)

<div class="topic-metadata">

**Author:** [@bskitter](https://discourse.nodered.org/u/bskitter)\
**Replies:** 7\
**Last updated:** [28 May 2020 19:20 UTC](https://discourse.nodered.org/t/home-bridge-and-no-response/19208 "2020-05-28T19:20:50Z")

</div>

Hello Everybody, I currently have a small configuration with homebridge , homebridge mqtt and node red. Yesterday I tried to add a new sonoff device to homebridge and shortly after this everything fell apart and all th…

---

## [IBM IoT Platform as mqtt out node](https://discourse.nodered.org/t/ibm-iot-platform-as-mqtt-out-node/27446)

<div class="topic-metadata">

**Author:** [@Hutfal](https://discourse.nodered.org/u/Hutfal)\
**Replies:** 0\
**Last updated:** [28 May 2020 18:26 UTC](https://discourse.nodered.org/t/ibm-iot-platform-as-mqtt-out-node/27446 "2020-05-28T18:26:21Z")

</div>

Hi everyone! I deployed a node red instance on IBM cloud: jodrone-node-red.eu-gb.mybluemix.net I developed my flow and now I want to comunicate with a local raspberry pi with an mqtt out node. Since I found no free al…

---

## [Inserting database data into a chart](https://discourse.nodered.org/t/inserting-database-data-into-a-chart/27372)

<div class="topic-metadata">

**Author:** [@descoward](https://discourse.nodered.org/u/descoward)\
**Replies:** 6\
**Last updated:** [28 May 2020 17:02 UTC](https://discourse.nodered.org/t/inserting-database-data-into-a-chart/27372 "2020-05-28T17:02:46Z")

</div>

Hi I'm trying to complete my weather station dashboard and have the need to insert historic data from mySQL database. I'm able to connect to the database and to pull out the required data. I then convert it to JSON for…

---

## [Assign UI Widgets to Tab and Group dynamically in Subflow](https://discourse.nodered.org/t/assign-ui-widgets-to-tab-and-group-dynamically-in-subflow/27423)

<div class="topic-metadata">

**Author:** [@thomas](https://discourse.nodered.org/u/thomas)\
**Replies:** 2\
**Last updated:** [28 May 2020 16:56 UTC](https://discourse.nodered.org/t/assign-ui-widgets-to-tab-and-group-dynamically-in-subflow/27423 "2020-05-28T16:56:10Z")

</div>

Hello everyone, I am currently working on a flow which analyses data from a machine and shows the result on a dashboard. To make this project scalable for multiple machines my idea is to put the flow in a subflow which…

---

## [Directly use microphone that connect with raspberry pi](https://discourse.nodered.org/t/directly-use-microphone-that-connect-with-raspberry-pi/27421)

<div class="topic-metadata">

**Author:** [@lingzhongli](https://discourse.nodered.org/u/lingzhongli)\
**Replies:** 4\
**Last updated:** [28 May 2020 15:32 UTC](https://discourse.nodered.org/t/directly-use-microphone-that-connect-with-raspberry-pi/27421 "2020-05-28T15:32:27Z")

</div>

How can i use the microphone that directly connect with raspberry? Because i am do my project by using my laptop that open using browser... like below So, it will directly using the microphone in my laptop to receive…

---

## [Create new custom button and call existing function/api](https://discourse.nodered.org/t/create-new-custom-button-and-call-existing-function-api/27410)

<div class="topic-metadata">

**Author:** [@dhpatel177](https://discourse.nodered.org/u/dhpatel177)\
**Replies:** 9\
**Last updated:** [28 May 2020 14:22 UTC](https://discourse.nodered.org/t/create-new-custom-button-and-call-existing-function-api/27410 "2020-05-28T14:22:05Z")

</div>

Hello, I want to create button at left side and on click on that button i want to call the fuction/api which is getting the list of nodes. Thanks

---

## [Trouble starting node red on Raspberry pi](https://discourse.nodered.org/t/trouble-starting-node-red-on-raspberry-pi/27341)

<div class="topic-metadata">

**Author:** [@cranks](https://discourse.nodered.org/u/cranks)\
**Replies:** 7\
**Last updated:** [28 May 2020 12:23 UTC](https://discourse.nodered.org/t/trouble-starting-node-red-on-raspberry-pi/27341 "2020-05-28T12:23:36Z")

</div>

Hi there, a few days ago the Node Red install on my pi became unreachable... I tried connecting like I have in the past by using a browser window with the address of xxx.xxx.x.9:1880 but it would not connect. Logged i…

---

## [MongoDB remote access](https://discourse.nodered.org/t/mongodb-remote-access/13014)

<div class="topic-metadata">

**Author:** [@ljavih](https://discourse.nodered.org/u/ljavih)\
**Replies:** 9\
**Last updated:** [28 May 2020 12:04 UTC](https://discourse.nodered.org/t/mongodb-remote-access/13014 "2020-05-28T12:04:10Z")

</div>

HI I am using the node node-red-node-mongodb in order to do a remote connection to mongoDB and this error is display "MongoError: connection 507 to pruebanodered-shard-00-00-mtmwd.mongodb.net:27017 closed". I already do…

---

## [Node-red server with nginx reverse proxy howto guide](https://discourse.nodered.org/t/node-red-server-with-nginx-reverse-proxy-howto-guide/27397)

<div class="topic-metadata">

**Author:** [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Replies:** 6\
**Last updated:** [28 May 2020 09:32 UTC](https://discourse.nodered.org/t/node-red-server-with-nginx-reverse-proxy-howto-guide/27397 "2020-05-28T09:32:39Z")

</div>

Navigatable version on github https://github.com/meeki007/node-red-server-howto-guide/blob/master/README.md Ubuntu 20.04 - nigix - https - ssl - security - Fail2ban 403 bans, etc Table of Contents Introduction Setup\_…

---

## [Dashboard Dropdown node](https://discourse.nodered.org/t/dashboard-dropdown-node/27412)

<div class="topic-metadata">

**Author:** [@jan-k](https://discourse.nodered.org/u/jan-k)\
**Replies:** 11\
**Last updated:** [28 May 2020 08:34 UTC](https://discourse.nodered.org/t/dashboard-dropdown-node/27412 "2020-05-28T08:34:02Z")

</div>

Greetings, Tried to do a drop down for node red dashboard to display for the date selection from a database. Pushed the date array to the msg.options. But the result shows undefined. Any suggestion will be appreciated,…

---

## [Node dialog overriding input message](https://discourse.nodered.org/t/node-dialog-overriding-input-message/27350)

<div class="topic-metadata">

**Author:** [@hklages](https://discourse.nodered.org/u/hklages)\
**Replies:** 3\
**Last updated:** [28 May 2020 05:40 UTC](https://discourse.nodered.org/t/node-dialog-overriding-input-message/27350 "2020-05-28T05:40:28Z")

</div>

In my node the user can select a command in the node dialog (\<select\> tag) and in the incoming message with property msg.cmd. Is there any "recommended" practice how to prioritize that conflicting input? option a) inc…

---

## [Paid work to help finish Node red node](https://discourse.nodered.org/t/paid-work-to-help-finish-node-red-node/27401)

<div class="topic-metadata">

**Author:** [@mako](https://discourse.nodered.org/u/mako)\
**Replies:** 1\
**Last updated:** [28 May 2020 04:23 UTC](https://discourse.nodered.org/t/paid-work-to-help-finish-node-red-node/27401 "2020-05-28T04:23:46Z")

</div>

Hi. Reaching out to anybody who wants some paid work to help us finish a simple node for node-red. Background. We use this npm module very often "node-red-nodegen" https://www.npmjs.com/package/node-red-nodegen Basic…

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

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