# General

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

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

**Page:** 961

---

## [Modbus Node red](https://discourse.nodered.org/t/modbus-node-red/1319)

<div class="topic-metadata">

**Author:** [@loalosa](https://discourse.nodered.org/u/loalosa)\
**Replies:** 5\
**Last updated:** [9 July 2018 06:44 UTC](https://discourse.nodered.org/t/modbus-node-red/1319 "2018-07-09T06:44:29Z")

</div>

Hello, I would be extremely grateful for your help, I have to import records into node red via a fixed Modbuswith wifi, in a time interval. I have worked with node red very little so far. That is why I am currently faci…

---

## [Append to payload message string](https://discourse.nodered.org/t/append-to-payload-message-string/1386)

<div class="topic-metadata">

**Author:** [@sarogersz](https://discourse.nodered.org/u/sarogersz)\
**Replies:** 3\
**Last updated:** [8 July 2018 19:23 UTC](https://discourse.nodered.org/t/append-to-payload-message-string/1386 "2018-07-08T19:23:10Z")

</div>

Somewhere I caught that "change" node has regular expression capabilities but not sure where that is documented, if it's true. At the moment I need to append and prepend to messages. I am currently doing this in JS in…

---

## [Did I cause a loop in Node-Red?](https://discourse.nodered.org/t/did-i-cause-a-loop-in-node-red/1448)

<div class="topic-metadata">

**Author:** [@michaelblight](https://discourse.nodered.org/u/michaelblight)\
**Replies:** 5\
**Last updated:** [8 July 2018 16:10 UTC](https://discourse.nodered.org/t/did-i-cause-a-loop-in-node-red/1448 "2018-07-08T16:10:29Z")

</div>

I've started moving some of my nodes to Subflows. I thought it would be good to have some "unit tests" of those subflows inside the subflow itself. However, the second I hit Deploy, Node Red went out to lunch and never c…

---

## [The FILE node and the ACTION setting](https://discourse.nodered.org/t/the-file-node-and-the-action-setting/1441)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 0\
**Last updated:** [8 July 2018 02:41 UTC](https://discourse.nodered.org/t/the-file-node-and-the-action-setting/1441 "2018-07-08T02:41:19Z")

</div>

Sorry, (I nearly shot myself in the foot a few moments ago, but found the answer to the question - kind of.) How do I change the "action" of the node between APPEND, OVERWRITE and DELETE? Do I need separate nodes or ca…

---

## [Tinkerboard GPIO issues](https://discourse.nodered.org/t/tinkerboard-gpio-issues/1181)

<div class="topic-metadata">

**Author:** [@karlbo](https://discourse.nodered.org/u/karlbo)\
**Replies:** 5\
**Last updated:** [7 July 2018 14:29 UTC](https://discourse.nodered.org/t/tinkerboard-gpio-issues/1181 "2018-07-07T14:29:32Z")

</div>

Hi there, anyone tried Node-red on tinkerboard yet? im having trouble getting to use the gpio pins. suggestions? Karl

---

## [This error is not making sense](https://discourse.nodered.org/t/this-error-is-not-making-sense/1408)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [7 July 2018 11:22 UTC](https://discourse.nodered.org/t/this-error-is-not-making-sense/1408 "2018-07-07T11:22:49Z")

</div>

Sorry folks, but one things has lead to another. This is the FLOW and errors I am seeing. Taking the name of the error how it can't open the file, the nodes with that name are shown (but one which is under the edit win…

---

## [Cyclical crashing](https://discourse.nodered.org/t/cyclical-crashing/1208)

<div class="topic-metadata">

**Author:** [@Nagrom](https://discourse.nodered.org/u/Nagrom)\
**Replies:** 11\
**Last updated:** [7 July 2018 06:49 UTC](https://discourse.nodered.org/t/cyclical-crashing/1208 "2018-07-07T06:49:52Z")

</div>

I'm new to this and have been noodling around with a couple of Sonoff switches and MQTT. The Sonoff nodes have been installed for some time now. Suddenly I'm getting cyclical crashing when Node-red starts. Here is the l…

---

## [Monitoring and starting service](https://discourse.nodered.org/t/monitoring-and-starting-service/1330)

<div class="topic-metadata">

**Author:** [@dedynobre](https://discourse.nodered.org/u/dedynobre)\
**Replies:** 23\
**Last updated:** [6 July 2018 20:18 UTC](https://discourse.nodered.org/t/monitoring-and-starting-service/1330 "2018-07-06T20:18:06Z")

</div>

Hi! Is there any way to monitor a linux service and if in case it is stopped to start the same?

---

## [Non-Volatile memory/storage](https://discourse.nodered.org/t/non-volatile-memory-storage/1362)

<div class="topic-metadata">

**Author:** [@sweetwater](https://discourse.nodered.org/u/sweetwater)\
**Replies:** 9\
**Last updated:** [6 July 2018 15:22 UTC](https://discourse.nodered.org/t/non-volatile-memory-storage/1362 "2018-07-06T15:22:20Z")

</div>

Been having good success working with Node Red, implementing our prototype. One of the last obstacle is the data storage. We have some User Inputs that are periodically updated. The data is then used to update the Use…

---

## [Problems running node-red as a service(unrecognized service)](https://discourse.nodered.org/t/problems-running-node-red-as-a-service-unrecognized-service/1187)

<div class="topic-metadata">

**Author:** [@ThanosMel](https://discourse.nodered.org/u/ThanosMel)\
**Replies:** 8\
**Last updated:** [6 July 2018 14:45 UTC](https://discourse.nodered.org/t/problems-running-node-red-as-a-service-unrecognized-service/1187 "2018-07-06T14:45:42Z")

</div>

Hello guys, i have recently downloaded and installed node-red on my rp1 that runs Jessie via the bash command. However when i try to start node-red as a service with node-red-start the following error appears and nodered…

---

## [Buffer Conversion](https://discourse.nodered.org/t/buffer-conversion/1217)

<div class="topic-metadata">

**Author:** [@BQ06](https://discourse.nodered.org/u/BQ06)\
**Replies:** 2\
**Last updated:** [6 July 2018 13:39 UTC](https://discourse.nodered.org/t/buffer-conversion/1217 "2018-07-06T13:39:56Z")

</div>

Hello, I try to convert a buffer with no luck … The msg.payload is: buffer\[2\]raw 0: 0xc 1: 0xda And the conversion expected is: 24,84 Somebody can help me? Thanks Ben

---

## [JSON Error in Node-RED](https://discourse.nodered.org/t/json-error-in-node-red/1396)

<div class="topic-metadata">

**Author:** [@Bhoemio](https://discourse.nodered.org/u/Bhoemio)\
**Replies:** 1\
**Last updated:** [6 July 2018 13:13 UTC](https://discourse.nodered.org/t/json-error-in-node-red/1396 "2018-07-06T13:13:51Z")

</div>

Hello everyone, I am trying to get a output in a JSON format, but I'm getting the following error: "Unexpected token = in JSON at position 0". How can I solve this problem?

---

## [Email attachment](https://discourse.nodered.org/t/email-attachment/1373)

<div class="topic-metadata">

**Author:** [@barry](https://discourse.nodered.org/u/barry)\
**Replies:** 9\
**Last updated:** [6 July 2018 12:44 UTC](https://discourse.nodered.org/t/email-attachment/1373 "2018-07-06T12:44:51Z")

</div>

Hi Guys, I’m relatively new to programing and would appreciate any help. I’ve created an .ods document and would like to email it as an attachment. Regard Barry

---

## [How to sort data in HTML](https://discourse.nodered.org/t/how-to-sort-data-in-html/1393)

<div class="topic-metadata">

**Author:** [@YT2310](https://discourse.nodered.org/u/YT2310)\
**Replies:** 7\
**Last updated:** [6 July 2018 08:31 UTC](https://discourse.nodered.org/t/how-to-sort-data-in-html/1393 "2018-07-06T08:31:26Z")

</div>

Hello, I m trying to Display some data on a html request with the http in-node. My Problem now is that i take the data from a csv file and can t sort them at the html request.. All i got is shown in the first Picture P…

---

## [Flow infinite looping](https://discourse.nodered.org/t/flow-infinite-looping/1392)

<div class="topic-metadata">

**Author:** [@ThanosMel](https://discourse.nodered.org/u/ThanosMel)\
**Replies:** 1\
**Last updated:** [6 July 2018 07:43 UTC](https://discourse.nodered.org/t/flow-infinite-looping/1392 "2018-07-06T07:43:01Z")

</div>

Hello, i want to update flows remotely. So i have this flow , i first send a get request to take the new flows ,then i check if the new flows are the same with the current ones. If the new flows are not the same with the…

---

## [Nodes' edit dialog boxes no longer open](https://discourse.nodered.org/t/nodes-edit-dialog-boxes-no-longer-open/1287)

<div class="topic-metadata">

**Author:** [@PixelatedEngineer](https://discourse.nodered.org/u/PixelatedEngineer)\
**Replies:** 5\
**Last updated:** [6 July 2018 06:12 UTC](https://discourse.nodered.org/t/nodes-edit-dialog-boxes-no-longer-open/1287 "2018-07-06T06:12:34Z")

</div>

I installed node-red on my raspberry pi. I’ve created a few flows with no problems. I added some new custom nodes, and with the latest addition I’ve lost the ability to edit any nodes. I had difficulties installing SQL…

---

## [No such file or directory](https://discourse.nodered.org/t/no-such-file-or-directory/1338)

<div class="topic-metadata">

**Author:** [@Tangental](https://discourse.nodered.org/u/Tangental)\
**Replies:** 8\
**Last updated:** [5 July 2018 23:46 UTC](https://discourse.nodered.org/t/no-such-file-or-directory/1338 "2018-07-05T23:46:21Z")

</div>

I have Docker Swarm with node-red running. I have used a simple flow to try and read a HelloWorld.py script \[EXEC\] with no joy. I had modified it to “cat /etc/pam.conf” and it works. I am sure I am missing something si…

---

## [Flows stopped due to missing node types](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types/1384)

<div class="topic-metadata">

**Author:** [@georgeena\_thomas](https://discourse.nodered.org/u/georgeena_thomas)\
**Replies:** 2\
**Last updated:** [5 July 2018 20:54 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types/1384 "2018-07-05T20:54:46Z")

</div>

I keep getting this error. My flows were working fine , I restarted them the next day and I got this error. Any suggestions on what this could be ? I already checked configuration nodes and that was of no luck

---

## [Azure IoT Hub - not working and cannot update](https://discourse.nodered.org/t/azure-iot-hub-not-working-and-cannot-update/1360)

<div class="topic-metadata">

**Author:** [@PK-MO](https://discourse.nodered.org/u/PK-MO)\
**Replies:** 3\
**Last updated:** [5 July 2018 17:41 UTC](https://discourse.nodered.org/t/azure-iot-hub-not-working-and-cannot-update/1360 "2018-07-05T17:41:12Z")

</div>

I’m a bit stuck here and would appreciate any help that I can get. I simply cannot send data up to Azure - even using the standard example found here: https://flows.nodered.org/node/node-red-contrib-azureiothubnode I …

---

## [Email node - how to change the encode](https://discourse.nodered.org/t/email-node-how-to-change-the-encode/1372)

<div class="topic-metadata">

**Author:** [@mrahmadt](https://discourse.nodered.org/u/mrahmadt)\
**Replies:** 1\
**Last updated:** [5 July 2018 17:37 UTC](https://discourse.nodered.org/t/email-node-how-to-change-the-encode/1372 "2018-07-05T17:37:07Z")

</div>

Hello Team, I’m new here so maybe this is a silly question, sorry :slight\_smile: I’m trying to use the email node to check my Gmail account for new email, this is working fine so far but my issue is about the email enc…

---

## [Palette Installation](https://discourse.nodered.org/t/palette-installation/1366)

<div class="topic-metadata">

**Author:** [@FrankD](https://discourse.nodered.org/u/FrankD)\
**Replies:** 1\
**Last updated:** [5 July 2018 15:41 UTC](https://discourse.nodered.org/t/palette-installation/1366 "2018-07-05T15:41:47Z")

</div>

Hello I’m a node-red newbie. I’m trying to install the modbus “node-red-contrib-modbus” Palette. The instructions say to run the blablabla command in the “root directory of your Node-Red install”. Question is how do i l…

---

## [How to size Node-RED?](https://discourse.nodered.org/t/how-to-size-node-red/1332)

<div class="topic-metadata">

**Author:** [@ahmed\_khater20](https://discourse.nodered.org/u/ahmed_khater20)\
**Replies:** 5\
**Last updated:** [5 July 2018 12:31 UTC](https://discourse.nodered.org/t/how-to-size-node-red/1332 "2018-07-05T12:31:20Z")

</div>

HI, I would like to share with you some use case and i hope to advice if Node-RED can be used for this use case or not. I’m working on Street Lighting System so we have 5-10 senors on each pole sending different data. …

---

## [ORM DB library(ies) for Node-JS](https://discourse.nodered.org/t/orm-db-library-ies-for-node-js/1350)

<div class="topic-metadata">

**Author:** [@igrowing](https://discourse.nodered.org/u/igrowing)\
**Replies:** 0\
**Last updated:** [5 July 2018 10:43 UTC](https://discourse.nodered.org/t/orm-db-library-ies-for-node-js/1350 "2018-07-05T10:43:50Z")

</div>

Typical question of newbie in node-js: should this be in FAQ? The question: Is there in node-JS a library similar to SQLalchemy or peewee in Python? The motivation: Node-Red has number of nodes which can access datab…

---

## [Keeping information about Exec Node](https://discourse.nodered.org/t/keeping-information-about-exec-node/1317)

<div class="topic-metadata">

**Author:** [@Bhoemio](https://discourse.nodered.org/u/Bhoemio)\
**Replies:** 0\
**Last updated:** [4 July 2018 14:43 UTC](https://discourse.nodered.org/t/keeping-information-about-exec-node/1317 "2018-07-04T14:43:12Z")

</div>

Hello everyone. In trying to use an Exec Node to run a program that will connect to a car wich works by the way, but when I create another Exec Node to collect this information of connection, and using this collect info…

---

## [Date format in exec node](https://discourse.nodered.org/t/date-format-in-exec-node/1328)

<div class="topic-metadata">

**Author:** [@davidcgu](https://discourse.nodered.org/u/davidcgu)\
**Replies:** 11\
**Last updated:** [4 July 2018 21:43 UTC](https://discourse.nodered.org/t/date-format-in-exec-node/1328 "2018-07-04T21:43:11Z")

</div>

Good afternoon I don’t know why but after my latest update I have an issue with the exec node I’m using in order to get some data. The most simple is running just the command “date”, previously was working fine and if …

---

## [Proposed change to join node default behaviour](https://discourse.nodered.org/t/proposed-change-to-join-node-default-behaviour/1265)

<div class="topic-metadata">

**Author:** [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Replies:** 6\
**Last updated:** [4 July 2018 21:34 UTC](https://discourse.nodered.org/t/proposed-change-to-join-node-default-behaviour/1265 "2018-07-04T21:34:56Z")

</div>

Currently the Join node will use the last message to arrive a the “template” for the outgoing message. The payload contains the joined up parts of the message. What this means is that any properties above payload (i.e. d…

---

## [Oauth2 with http](https://discourse.nodered.org/t/oauth2-with-http/1312)

<div class="topic-metadata">

**Author:** [@bidyutper](https://discourse.nodered.org/u/bidyutper)\
**Replies:** 0\
**Last updated:** [4 July 2018 11:35 UTC](https://discourse.nodered.org/t/oauth2-with-http/1312 "2018-07-04T11:35:21Z")

</div>

Need help I want to Post/Get some sensor data via Rpi to Oauth2 protected http API. { "type": "HTTP\_Sensor", "deviceId": "DFRT", "clientId": "1OnTq6Gfsfr7bIxxxxFUa", "clientSecret": "fsfrgSERttkl2220etx9p2awO00a", …

---

## [Is it okay to use global Javascript functions?](https://discourse.nodered.org/t/is-it-okay-to-use-global-javascript-functions/1306)

<div class="topic-metadata">

**Author:** [@michaelblight](https://discourse.nodered.org/u/michaelblight)\
**Replies:** 6\
**Last updated:** [4 July 2018 10:55 UTC](https://discourse.nodered.org/t/is-it-okay-to-use-global-javascript-functions/1306 "2018-07-04T10:55:02Z")

</div>

I have a few utility Javascript functions (eg. formatting date/time) that are used by a number of flows. At the moment I’m using global.set to store them, and global.get any time I want to call them. The storing gets kic…

---

## [A few questions about sensors and node-red (as well dht isn't working)](https://discourse.nodered.org/t/a-few-questions-about-sensors-and-node-red-as-well-dht-isnt-working/1210)

<div class="topic-metadata">

**Author:** [@jordan](https://discourse.nodered.org/u/jordan)\
**Replies:** 5\
**Last updated:** [4 July 2018 10:16 UTC](https://discourse.nodered.org/t/a-few-questions-about-sensors-and-node-red-as-well-dht-isnt-working/1210 "2018-07-04T10:16:15Z")

</div>

Hi there, I am running Raspberry Pi with 2018-03-13-raspbian-stretch. I am trying to set up the DHT-22 sensor with node-red but isn’t working. The debug says 'TypeError: failed to initialize". If I run python code fr…

---

## [Strange node.status "defaults"](https://discourse.nodered.org/t/strange-node-status-defaults/1300)

<div class="topic-metadata">

**Author:** [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Replies:** 1\
**Last updated:** [4 July 2018 09:34 UTC](https://discourse.nodered.org/t/strange-node-status-defaults/1300 "2018-07-04T09:34:49Z")

</div>

While experimenting with the status display provided by the function node in the editor, I have run into some odd results that occur when properties of the status object are undefined or invalid. This flow tries to captu…

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

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