# General

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

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

**Page:** 878

---

## [Led question start](https://discourse.nodered.org/t/led-question-start/12005)

<div class="topic-metadata">

**Author:** [@Hearnorna](https://discourse.nodered.org/u/Hearnorna)\
**Replies:** 17\
**Last updated:** [12 June 2019 11:42 UTC](https://discourse.nodered.org/t/led-question-start/12005 "2019-06-12T11:42:23Z")

</div>

I am using the tree plum pie, I want another NODE-RED. At the beginning, the GPIO is OUTPUT and then the sensing component senses something. In the other original OUTPUT becomes INPUT, the first part is set to OUTPUT at …

---

## [Display daily measurements](https://discourse.nodered.org/t/display-daily-measurements/12083)

<div class="topic-metadata">

**Author:** [@debouttek](https://discourse.nodered.org/u/debouttek)\
**Replies:** 4\
**Last updated:** [12 June 2019 10:05 UTC](https://discourse.nodered.org/t/display-daily-measurements/12083 "2019-06-12T10:05:59Z")

</div>

Hi all I'm working with Node-red for 6 months and it goes great. Google helped me a lot and now I'm stuck. I'm measuring my solar panels and I have en good output xxx watts in my dashboard ui. My question is how do ca…

---

## [Read json and extract id from it](https://discourse.nodered.org/t/read-json-and-extract-id-from-it/12092)

<div class="topic-metadata">

**Author:** [@pvanklink](https://discourse.nodered.org/u/pvanklink)\
**Replies:** 2\
**Last updated:** [12 June 2019 09:34 UTC](https://discourse.nodered.org/t/read-json-and-extract-id-from-it/12092 "2019-06-12T09:34:57Z")

</div>

Hi, i need some help! and I want to select the idx where name equal as the name received by a post (msg.name) Is that possible? In node red i send a json query to my domoticz i execute http://192.168.20.35:82/json.ht…

---

## [Parameters page and how to store them](https://discourse.nodered.org/t/parameters-page-and-how-to-store-them/12086)

<div class="topic-metadata">

**Author:** [@lozzer65](https://discourse.nodered.org/u/lozzer65)\
**Replies:** 5\
**Last updated:** [12 June 2019 07:42 UTC](https://discourse.nodered.org/t/parameters-page-and-how-to-store-them/12086 "2019-06-12T07:42:23Z")

</div>

Hi All I need to setup a parameters page, that will hold information about room names and alarm text. These will be used as settings for tags in an influxdb database, and also for text on buttons. I need some advise as…

---

## [\[SOLVE\] Function Node error flow](https://discourse.nodered.org/t/solve-function-node-error-flow/12090)

<div class="topic-metadata">

**Author:** [@junoprima](https://discourse.nodered.org/u/junoprima)\
**Replies:** 2\
**Last updated:** [12 June 2019 04:54 UTC](https://discourse.nodered.org/t/solve-function-node-error-flow/12090 "2019-06-12T04:54:01Z")

</div>

I make a function node but code inside no have an error but on flow show my function have error how can i fix this and this can run also no error Edit: i can use this fine in v.0.19 before upgrade to v.0.20 i got this \[…

---

## [Message not received by a specific time](https://discourse.nodered.org/t/message-not-received-by-a-specific-time/12057)

<div class="topic-metadata">

**Author:** [@Michaelp](https://discourse.nodered.org/u/Michaelp)\
**Replies:** 5\
**Last updated:** [11 June 2019 23:09 UTC](https://discourse.nodered.org/t/message-not-received-by-a-specific-time/12057 "2019-06-11T23:09:34Z")

</div>

I work on a system that sends notifications when a job is completed or fails. It does not send a notification if its stuck. So I am using the email Node to receive the completed email, but also the inject set to a time j…

---

## [Novice:KNX\_Easy with tunneling](https://discourse.nodered.org/t/novice-knx-easy-with-tunneling/12081)

<div class="topic-metadata">

**Author:** [@Valerio](https://discourse.nodered.org/u/Valerio)\
**Replies:** 0\
**Last updated:** [11 June 2019 18:45 UTC](https://discourse.nodered.org/t/novice-knx-easy-with-tunneling/12081 "2019-06-11T18:45:31Z")

</div>

Hello, I am a super novice, I am trying to get KNX\_Easy to run but i miserably fail. The problem is despite I install the package without errors and can create and deploy nodes, configured to talk to my IP interface (tu…

---

## [Remove old server settings from the list](https://discourse.nodered.org/t/remove-old-server-settings-from-the-list/12077)

<div class="topic-metadata">

**Author:** [@lozzer65](https://discourse.nodered.org/u/lozzer65)\
**Replies:** 2\
**Last updated:** [11 June 2019 18:03 UTC](https://discourse.nodered.org/t/remove-old-server-settings-from-the-list/12077 "2019-06-11T18:03:27Z")

</div>

How can I remove all the old test databases I used for testing, when clicking the server dropdown. Thanks Laurie

---

## [Log MQTT to MySQL](https://discourse.nodered.org/t/log-mqtt-to-mysql/11806)

<div class="topic-metadata">

**Author:** [@lozzer65](https://discourse.nodered.org/u/lozzer65)\
**Replies:** 24\
**Last updated:** [11 June 2019 16:45 UTC](https://discourse.nodered.org/t/log-mqtt-to-mysql/11806 "2019-06-11T16:45:39Z")

</div>

Can anyone help https://flows.nodered.org/flow/59fe2502dd82ae9b8a55b949a48e3d89 Getting this error "Error: ER\_TRUNCATED\_WRONG\_VALUE: Incorrect datetime value: '2019-06-03T19:33:43.296Z' for column 'timestamp' at row 1…

---

## [Upgrade node red within the flow editor](https://discourse.nodered.org/t/upgrade-node-red-within-the-flow-editor/12028)

<div class="topic-metadata">

**Author:** [@mako](https://discourse.nodered.org/u/mako)\
**Replies:** 7\
**Last updated:** [11 June 2019 16:14 UTC](https://discourse.nodered.org/t/upgrade-node-red-within-the-flow-editor/12028 "2019-06-11T16:14:19Z")

</div>

Hello. Would there ever be a feature were you can upgrade the version of node red in the pallet manager? Currently is it possible to do it using a flow, say the Exce node to run the RPI bash script ? :slight\_smile:

---

## [Get Computer Status](https://discourse.nodered.org/t/get-computer-status/12059)

<div class="topic-metadata">

**Author:** [@evilandrex](https://discourse.nodered.org/u/evilandrex)\
**Replies:** 6\
**Last updated:** [11 June 2019 16:03 UTC](https://discourse.nodered.org/t/get-computer-status/12059 "2019-06-11T16:03:28Z")

</div>

I'm looking to get information on whether or not I'm active on my computer. Particularly, I'd like to be able to query whether or not the computer is on, off, or inactive (on but no keyboard/mouse movement). This is not …

---

## [Memory management](https://discourse.nodered.org/t/memory-management/12072)

<div class="topic-metadata">

**Author:** [@aargollo](https://discourse.nodered.org/u/aargollo)\
**Replies:** 0\
**Last updated:** [11 June 2019 11:48 UTC](https://discourse.nodered.org/t/memory-management/12072 "2019-06-11T11:48:16Z")

</div>

Hi Guys, good morning! I working to finish my Zigbee gateway and I have check an important issue. Some devices, after turn on, sending all those messages necessary and used in the attaching procedure. My parsing code mo…

---

## [Modbus RTU - Write an ASCII text with function code 16 into HMI](https://discourse.nodered.org/t/modbus-rtu-write-an-ascii-text-with-function-code-16-into-hmi/12064)

<div class="topic-metadata">

**Author:** [@iridiu](https://discourse.nodered.org/u/iridiu)\
**Replies:** 0\
**Last updated:** [11 June 2019 09:26 UTC](https://discourse.nodered.org/t/modbus-rtu-write-an-ascii-text-with-function-code-16-into-hmi/12064 "2019-06-11T09:26:51Z")

</div>

Hi, I'm trying to write a text to be displayed in a ASCII box in HMI Modbus RTU device with Node-Red Modbus Write and Modbus Flex Write. With Modbus Write node I tried to write registers individually with FC3 (register …

---

## [MQTT ---\> S7 PLC (node-red-contrib-s7comm)](https://discourse.nodered.org/t/mqtt-s7-plc-node-red-contrib-s7comm/11868)

<div class="topic-metadata">

**Author:** [@msw](https://discourse.nodered.org/u/msw)\
**Replies:** 1\
**Last updated:** [11 June 2019 08:13 UTC](https://discourse.nodered.org/t/mqtt-s7-plc-node-red-contrib-s7comm/11868 "2019-06-11T08:13:17Z")

</div>

Project purpose: To receive MQTT payload and write each msg element to a S7 PLC tag. Payload data - STRING\[22\] datetime - STRING\[20\] devaddr - STRING\[8\] fcnt - REAL port - REAL rssi - REAL I have been able to …

---

## [Basic Node-RED telnet question](https://discourse.nodered.org/t/basic-node-red-telnet-question/12054)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 1\
**Last updated:** [11 June 2019 06:30 UTC](https://discourse.nodered.org/t/basic-node-red-telnet-question/12054 "2019-06-11T06:30:59Z")

</div>

Sorry if this is a rather basic question... My projector is connected to the LAN. I'd like to switch it on over telnet. I can do this in Windows as follows: When I connect, it prompts for a password which I type in e…

---

## [Influxdb node "internal server error" but the data is written to the database](https://discourse.nodered.org/t/influxdb-node-internal-server-error-but-the-data-is-written-to-the-database/11772)

<div class="topic-metadata">

**Author:** [@cuxcrider](https://discourse.nodered.org/u/cuxcrider)\
**Replies:** 11\
**Last updated:** [11 June 2019 06:04 UTC](https://discourse.nodered.org/t/influxdb-node-internal-server-error-but-the-data-is-written-to-the-database/11772 "2019-06-11T06:04:43Z")

</div>

My system I am running Influx 1.7.6 on Ubuntu 16.04. I am using tsi1 and have tried various wal-fsync-delay in my config file from 0ms to 5000ms. I am running the ubuntu as a virtual server on my physical ubuntu server …

---

## [Custom logger with JavaScript post request to telegram](https://discourse.nodered.org/t/custom-logger-with-javascript-post-request-to-telegram/12004)

<div class="topic-metadata">

**Author:** [@Arm555](https://discourse.nodered.org/u/Arm555)\
**Replies:** 7\
**Last updated:** [11 June 2019 05:43 UTC](https://discourse.nodered.org/t/custom-logger-with-javascript-post-request-to-telegram/12004 "2019-06-11T05:43:44Z")

</div>

I’m going to give this a try but hopefully someone can let me know of any issues I should be aware of. I am going to add a custom logger into the settings.js that uses the XMLHttpRequest in JavaScript to send a POST requ…

---

## [Log rotation in Node-RED](https://discourse.nodered.org/t/log-rotation-in-node-red/6337)

<div class="topic-metadata">

**Author:** [@Shilpa](https://discourse.nodered.org/u/Shilpa)\
**Replies:** 12\
**Last updated:** [11 June 2019 02:42 UTC](https://discourse.nodered.org/t/log-rotation-in-node-red/6337 "2019-06-11T02:42:25Z")

</div>

How to rotate log files in Node-RED? I will be writing Node-RED logs to a log file. But I want a new file to be created/replace the existing file when it reaches a particular time or size limit. How can I achieve this li…

---

## [Custom Logging Options in NodeRed](https://discourse.nodered.org/t/custom-logging-options-in-nodered/4854)

<div class="topic-metadata">

**Author:** [@suryas](https://discourse.nodered.org/u/suryas)\
**Replies:** 2\
**Last updated:** [11 June 2019 02:40 UTC](https://discourse.nodered.org/t/custom-logging-options-in-nodered/4854 "2019-06-11T02:40:53Z")

</div>

Hi, I need to capture flow wise activity tracking in Node Red and write the captured data to a file.I need to capture the following information Flow Name,Flow Session Id, Node Id , Node Name, Type of Node Event(Eg Send/…

---

## [Function to compare ds18b20 to numeric value](https://discourse.nodered.org/t/function-to-compare-ds18b20-to-numeric-value/12045)

<div class="topic-metadata">

**Author:** [@Jurg1505](https://discourse.nodered.org/u/Jurg1505)\
**Replies:** 4\
**Last updated:** [10 June 2019 23:22 UTC](https://discourse.nodered.org/t/function-to-compare-ds18b20-to-numeric-value/12045 "2019-06-10T23:22:15Z")

</div>

How to use the function to compare 2 inputs and a switch input \[{"id":"c04670e4.3dd52","type":"ui\_numeric","z":"bcc6b76b.ea3138","name":"","label":"b","tooltip":"","group":"56625c74.7d32d4","order":2,"width":0,"height":…

---

## [Exec node 433utils](https://discourse.nodered.org/t/exec-node-433utils/11991)

<div class="topic-metadata">

**Author:** [@p33k](https://discourse.nodered.org/u/p33k)\
**Replies:** 3\
**Last updated:** [10 June 2019 22:31 UTC](https://discourse.nodered.org/t/exec-node-433utils/11991 "2019-06-10T22:31:27Z")

</div>

Hi, I used node-rcswitch with an 433mhz module for power sockets a long time. after an update to node 10 rcswitch doesn't work anymore. I'm looking for another way to use my 433mhz power sockets now. with 433Utils I c…

---

## [Delete or replace last character from the end of a file](https://discourse.nodered.org/t/delete-or-replace-last-character-from-the-end-of-a-file/11759)

<div class="topic-metadata">

**Author:** [@xoani](https://discourse.nodered.org/u/xoani)\
**Replies:** 4\
**Last updated:** [10 June 2019 21:16 UTC](https://discourse.nodered.org/t/delete-or-replace-last-character-from-the-end-of-a-file/11759 "2019-06-10T21:16:27Z")

</div>

Hello. I am using a file node to save data that I receive into NR every 5 seconds. The data is in json format so the first thing I do is save "\[" in the file, then the data arrives every 5 seconds (from an exec node) and…

---

## [Unable to get NR to pick up dependancies](https://discourse.nodered.org/t/unable-to-get-nr-to-pick-up-dependancies/12052)

<div class="topic-metadata">

**Author:** [@franco\_nogarin](https://discourse.nodered.org/u/franco_nogarin)\
**Replies:** 1\
**Last updated:** [10 June 2019 21:11 UTC](https://discourse.nodered.org/t/unable-to-get-nr-to-pick-up-dependancies/12052 "2019-06-10T21:11:19Z")

</div>

Hi all, Node developer newb here. My first nodes are meant to introduce custom nodejs modules to the NR system. but I seem to be unable to get node red to pickup on my node's dependencies. I have the following in my pack…

---

## [Universal mqtt nodes properties](https://discourse.nodered.org/t/universal-mqtt-nodes-properties/12050)

<div class="topic-metadata">

**Author:** [@mshaz](https://discourse.nodered.org/u/mshaz)\
**Replies:** 1\
**Last updated:** [10 June 2019 20:58 UTC](https://discourse.nodered.org/t/universal-mqtt-nodes-properties/12050 "2019-06-10T20:58:55Z")

</div>

Hi I have multiple mqtt source to node-red that comes from cloudmqtt but seems when i change one mqtt node details it will make it universal. How to make it unique? Thank you.

---

## [API PUT request](https://discourse.nodered.org/t/api-put-request/11915)

<div class="topic-metadata">

**Author:** [@massi94](https://discourse.nodered.org/u/massi94)\
**Replies:** 6\
**Last updated:** [10 June 2019 17:34 UTC](https://discourse.nodered.org/t/api-put-request/11915 "2019-06-10T17:34:16Z")

</div>

Hello, sorry if this could be a basic/stupid question. I need to make put and get request using NODE-RED API in order to change something in the flow. While the GET and DELETE works fine, I have some problems with the P…

---

## [Mqtt with adafruit io](https://discourse.nodered.org/t/mqtt-with-adafruit-io/8599)

<div class="topic-metadata">

**Author:** [@mani2411](https://discourse.nodered.org/u/mani2411)\
**Replies:** 13\
**Last updated:** [10 June 2019 16:08 UTC](https://discourse.nodered.org/t/mqtt-with-adafruit-io/8599 "2019-06-10T16:08:21Z")

</div>

hi all, i embed adafruit.io dashboard with mqtt node bu i don't know how to use payload data to switch led

---

## [Change Object into payload](https://discourse.nodered.org/t/change-object-into-payload/4754)

<div class="topic-metadata">

**Author:** [@martinschki](https://discourse.nodered.org/u/martinschki)\
**Replies:** 6\
**Last updated:** [10 June 2019 11:55 UTC](https://discourse.nodered.org/t/change-object-into-payload/4754 "2019-06-10T11:55:56Z")

</div>

Hello Again! How do I change an object into msg.payload? The node (homekit) spits out an object \`\`\` { "On": true } in msg.payload I want to translate this to a simple msg.payload "true" or "false" to write to my M…

---

## [Email via Synology Relay](https://discourse.nodered.org/t/email-via-synology-relay/12001)

<div class="topic-metadata">

**Author:** [@martinschki](https://discourse.nodered.org/u/martinschki)\
**Replies:** 2\
**Last updated:** [10 June 2019 11:03 UTC](https://discourse.nodered.org/t/email-via-synology-relay/12001 "2019-06-10T11:03:50Z")

</div>

Hello, Hello! I recently set up a mail relay on my synology to deal with all the sub systems in my house which want to email me but can't because I'm not able to set them up via my Email provider... So internally, now …

---

## [Raspberry gpio keep output](https://discourse.nodered.org/t/raspberry-gpio-keep-output/12021)

<div class="topic-metadata">

**Author:** [@Hearnorna](https://discourse.nodered.org/u/Hearnorna)\
**Replies:** 1\
**Last updated:** [10 June 2019 09:57 UTC](https://discourse.nodered.org/t/raspberry-gpio-keep-output/12021 "2019-06-10T09:57:21Z")

</div>

\[{"id":"10967622.22791a","type":"debug","z":"f69a811a.4b686","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":750,"y":200,"wires":},{"id":"373750f1.fe5…

---

## [Message text. Multiple spaces converted to one](https://discourse.nodered.org/t/message-text-multiple-spaces-converted-to-one/12018)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 1\
**Last updated:** [9 June 2019 23:56 UTC](https://discourse.nodered.org/t/message-text-multiple-spaces-converted-to-one/12018 "2019-06-09T23:56:34Z")

</div>

I am probably asking this because I am still not sure of the terms/names used. For the sake of establishing a base line here is the problem: \[{"id":"a0b76c1.eb8881","type":"inject","z":"f64521da.ed6a","name":"","topic"…

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

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