# General

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

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

**Page:** 498

---

## [In node-red how to store tcp data in session context](https://discourse.nodered.org/t/in-node-red-how-to-store-tcp-data-in-session-context/50818)

<div class="topic-metadata">

**Author:** [@rahul123-dotcom](https://discourse.nodered.org/u/rahul123-dotcom)\
**Replies:** 0\
**Last updated:** [9 September 2021 13:58 UTC](https://discourse.nodered.org/t/in-node-red-how-to-store-tcp-data-in-session-context/50818 "2021-09-09T13:58:00Z")

</div>

In node-red tcp server I am getting username for the first time for authentication. So, I need to store for the session. So, for the second packet I just want to send the data with the user name appended which is sent ea…

---

## [Update problem - with script](https://discourse.nodered.org/t/update-problem-with-script/50806)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 9\
**Last updated:** [9 September 2021 19:41 UTC](https://discourse.nodered.org/t/update-problem-with-script/50806 "2021-09-09T19:41:40Z")

</div>

Hi! trying to update my raspberry pi from o.21 to latest version with the script. when doing this i get the following error in my screen. How can i solve this? npm ERR! error in /usr/lib/node\_modules/node-red: ENOENT…

---

## [Inject timestamp in MQTT message](https://discourse.nodered.org/t/inject-timestamp-in-mqtt-message/10297)

<div class="topic-metadata">

**Author:** [@lenny1972](https://discourse.nodered.org/u/lenny1972)\
**Replies:** 6\
**Last updated:** [9 September 2021 19:27 UTC](https://discourse.nodered.org/t/inject-timestamp-in-mqtt-message/10297 "2021-09-09T19:27:21Z")

</div>

Hi, I'm working on a project that uses MQTT node. I need to send environment sensor readings to an MQTT broker but I need to send together with the topic payload the timestamp of the reading itself in order to know the e…

---

## [Context set in settings.js not showing up in context window](https://discourse.nodered.org/t/context-set-in-settings-js-not-showing-up-in-context-window/50826)

<div class="topic-metadata">

**Author:** [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Replies:** 2\
**Last updated:** [9 September 2021 16:25 UTC](https://discourse.nodered.org/t/context-set-in-settings-js-not-showing-up-in-context-window/50826 "2021-09-09T16:25:49Z")

</div>

I am successfully setting a global context variable in settings.js. I can access the global variable and use it just fine after node-red starts. It does not show up in the Context Data window. I am just curious, should …

---

## [Html node not extracting content](https://discourse.nodered.org/t/html-node-not-extracting-content/50795)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 12\
**Last updated:** [9 September 2021 13:18 UTC](https://discourse.nodered.org/t/html-node-not-extracting-content/50795 "2021-09-09T13:18:46Z")

</div>

With this simplistic flow, should the html node be able to get the contents of the .name element ? \[{"id":"c5073e7167dfd3b0","type":"inject","z":"07c0e534b17ff9a0","name":"","props":\[{"p":"payload"},{"p":"topic","vt"…

---

## [Cannot install rpi-gpio after update](https://discourse.nodered.org/t/cannot-install-rpi-gpio-after-update/50807)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 1\
**Last updated:** [9 September 2021 10:48 UTC](https://discourse.nodered.org/t/cannot-install-rpi-gpio-after-update/50807 "2021-09-09T10:48:58Z")

</div>

After updating an node red raspberry v0.21 to latest with the script i keep getting error for the node-red-node-pi-gpio. tried update, uninstall, reboot, reinstall again but no succes on installing. the error the log gi…

---

## [Mysql node config externally](https://discourse.nodered.org/t/mysql-node-config-externally/8626)

<div class="topic-metadata">

**Author:** [@keremkos](https://discourse.nodered.org/u/keremkos)\
**Replies:** 8\
**Last updated:** [9 September 2021 10:43 UTC](https://discourse.nodered.org/t/mysql-node-config-externally/8626 "2021-09-09T10:43:20Z")

</div>

Hi, I am using mysql node and successfully connect to my DB. Mysql node is currently configured from the node settings; such as "Host", "User", "Password" entries. I would like to send these config parameters externall…

---

## [Newbie question about extracting the data from buffer](https://discourse.nodered.org/t/newbie-question-about-extracting-the-data-from-buffer/50753)

<div class="topic-metadata">

**Author:** [@Volt](https://discourse.nodered.org/u/Volt)\
**Replies:** 8\
**Last updated:** [9 September 2021 09:35 UTC](https://discourse.nodered.org/t/newbie-question-about-extracting-the-data-from-buffer/50753 "2021-09-09T09:35:49Z")

</div>

Hello to all fellow forum members - this is my first post. I have a problem regarding reading data from a device. I have a device that provides information in the form of data frames - for example: {"topic":"","payloa…

---

## [NodeRed authentication behind Nginx-proxy](https://discourse.nodered.org/t/nodered-authentication-behind-nginx-proxy/50761)

<div class="topic-metadata">

**Author:** [@sergiobaiao](https://discourse.nodered.org/u/sergiobaiao)\
**Replies:** 1\
**Last updated:** [8 September 2021 23:06 UTC](https://discourse.nodered.org/t/nodered-authentication-behind-nginx-proxy/50761 "2021-09-08T23:06:23Z")

</div>

Hi there, I'm trying to setup an IFTTT integration with NodeRed, but i'm running into trouble with authentication. First of all, I'm running nodered with adminAuth enabled. Then i've setup nginx proxy like this: serve…

---

## [The alexa last device](https://discourse.nodered.org/t/the-alexa-last-device/50778)

<div class="topic-metadata">

**Author:** [@Dregi56](https://discourse.nodered.org/u/Dregi56)\
**Replies:** 1\
**Last updated:** [8 September 2021 21:16 UTC](https://discourse.nodered.org/t/the-alexa-last-device/50778 "2021-09-08T21:16:45Z")

</div>

How could you go about finding the name of the last used Alexa device? The one who was last spoken to?

---

## [Post JSON object to InfluxDB](https://discourse.nodered.org/t/post-json-object-to-influxdb/50759)

<div class="topic-metadata">

**Author:** [@nisitpuk](https://discourse.nodered.org/u/nisitpuk)\
**Replies:** 3\
**Last updated:** [8 September 2021 17:42 UTC](https://discourse.nodered.org/t/post-json-object-to-influxdb/50759 "2021-09-08T17:42:51Z")

</div>

Hi, everyone I try to post the JSON data into influx but when I post it database by http://localhost:8086/write?db=weathermap it doesn't work. How can I fix this issue \[ { "id": "82c273f1293e06ae", …

---

## [Trying to dynamically set specific Echo for speaking](https://discourse.nodered.org/t/trying-to-dynamically-set-specific-echo-for-speaking/50772)

<div class="topic-metadata">

**Author:** [@patrickm](https://discourse.nodered.org/u/patrickm)\
**Replies:** 0\
**Last updated:** [8 September 2021 16:55 UTC](https://discourse.nodered.org/t/trying-to-dynamically-set-specific-echo-for-speaking/50772 "2021-09-08T16:55:39Z")

</div>

I am new to NodeRed and I'm trying to setup a flow where the spoken text is directed to the Echo that triggered the NodeRed and external event. The Echo triggers a non NodeRed event which generates a MQTT message which …

---

## [Delay in writing modbus](https://discourse.nodered.org/t/delay-in-writing-modbus/50511)

<div class="topic-metadata">

**Author:** [@jlqautomacao](https://discourse.nodered.org/u/jlqautomacao)\
**Replies:** 12\
**Last updated:** [8 September 2021 16:46 UTC](https://discourse.nodered.org/t/delay-in-writing-modbus/50511 "2021-09-08T16:46:56Z")

</div>

I'm having trouble writing modbus, is slowing down. Does anyone know how to leave writing in real time? follows the project.

---

## [Hyperledger fabric for trusted iot Nodered](https://discourse.nodered.org/t/hyperledger-fabric-for-trusted-iot-nodered/50769)

<div class="topic-metadata">

**Author:** [@70G37H3R](https://discourse.nodered.org/u/70G37H3R)\
**Replies:** 0\
**Last updated:** [8 September 2021 15:25 UTC](https://discourse.nodered.org/t/hyperledger-fabric-for-trusted-iot-nodered/50769 "2021-09-08T15:25:45Z")

</div>

Nobody knows? Please help me! Hyperledger Fabric error with socket hang up My repo: 70G37H3R/fabric-iot-swarm (github.com)

---

## [Sending an \\r to TCP devices](https://discourse.nodered.org/t/sending-an-r-to-tcp-devices/50544)

<div class="topic-metadata">

**Author:** [@om327](https://discourse.nodered.org/u/om327)\
**Replies:** 5\
**Last updated:** [8 September 2021 14:33 UTC](https://discourse.nodered.org/t/sending-an-r-to-tcp-devices/50544 "2021-09-08T14:33:19Z")

</div>

Hello, I'm trying to connect to an external device using the TCP/IP node. I need to send the command string ON followed by a carrage return \\r. I've tried sending ON\\r using the exchnage function and the inject function…

---

## [Hass.io - Call Service node: No Connection but works when called](https://discourse.nodered.org/t/hass-io-call-service-node-no-connection-but-works-when-called/11300)

<div class="topic-metadata">

**Author:** [@Coolhwhip](https://discourse.nodered.org/u/Coolhwhip)\
**Replies:** 2\
**Last updated:** [8 September 2021 13:54 UTC](https://discourse.nodered.org/t/hass-io-call-service-node-no-connection-but-works-when-called/11300 "2021-09-08T13:54:11Z")

</div>

This is a strange bug. I just upgraded to version 3.0.3 via Hass.io and noticed I'm getting a not connected error using the call service node. When I deploy a flow it tells me no connection and shows the "Call-Service at…

---

## [Receiving mqtt from multiple TTN applications](https://discourse.nodered.org/t/receiving-mqtt-from-multiple-ttn-applications/50762)

<div class="topic-metadata">

**Author:** [@Amir](https://discourse.nodered.org/u/Amir)\
**Replies:** 4\
**Last updated:** [8 September 2021 13:25 UTC](https://discourse.nodered.org/t/receiving-mqtt-from-multiple-ttn-applications/50762 "2021-09-08T13:25:30Z")

</div>

Hello everyone, I’m trying to receive sensors data that comes from different applications using MQTT integration and Node-Red, the issue that I’m facing is that extracting only one application is working fine and I can…

---

## [Whenever there is now ID in MySQL show it to msg.debug](https://discourse.nodered.org/t/whenever-there-is-now-id-in-mysql-show-it-to-msg-debug/50751)

<div class="topic-metadata">

**Author:** [@idlvpfk](https://discourse.nodered.org/u/idlvpfk)\
**Replies:** 6\
**Last updated:** [8 September 2021 11:05 UTC](https://discourse.nodered.org/t/whenever-there-is-now-id-in-mysql-show-it-to-msg-debug/50751 "2021-09-08T11:05:04Z")

</div>

Hi guys, And again I can't find proper solution for my scenario. I have succesfully established connection between node-red and MySQL , SELECT is working flawlessly, but I can't mind how to receive msg.debug whenever t…

---

## [In Node-red how to close tcp session](https://discourse.nodered.org/t/in-node-red-how-to-close-tcp-session/50719)

<div class="topic-metadata">

**Author:** [@rahul123-dotcom](https://discourse.nodered.org/u/rahul123-dotcom)\
**Replies:** 0\
**Last updated:** [7 September 2021 18:04 UTC](https://discourse.nodered.org/t/in-node-red-how-to-close-tcp-session/50719 "2021-09-07T18:04:17Z")

</div>

Using node-red I am integrating teltonika GPS device(Teltonika Data Sending Protocols - Wiki Knowledge Base | Teltonika GPS). In node-red I am receiving data through tcp listener node . Whenever the device creates connec…

---

## [Integration testing for node-red](https://discourse.nodered.org/t/integration-testing-for-node-red/50735)

<div class="topic-metadata">

**Author:** [@chiche](https://discourse.nodered.org/u/chiche)\
**Replies:** 0\
**Last updated:** [8 September 2021 03:04 UTC](https://discourse.nodered.org/t/integration-testing-for-node-red/50735 "2021-09-08T03:04:59Z")

</div>

I want to do integration testing for my node on Node-red. Currently, I am doing the following: Install nyc and start with nyc $npm i nyc --save node $nyc --reporter=html node red.js Add, edit, delete nodes on the da…

---

## [Google spreadsheet to ui\_table](https://discourse.nodered.org/t/google-spreadsheet-to-ui-table/50698)

<div class="topic-metadata">

**Author:** [@xpqrs97](https://discourse.nodered.org/u/xpqrs97)\
**Replies:** 1\
**Last updated:** [8 September 2021 01:17 UTC](https://discourse.nodered.org/t/google-spreadsheet-to-ui-table/50698 "2021-09-08T01:17:23Z")

</div>

Hi, currently im doing some flow about key in some data inside the google sheet, and then the data will be fetch by using the google sheet nodes that i downloaded at node-red-contrib-google-sheets (node) - Node-RED . Whe…

---

## [STM32 Cubemonitor and saving data to .csv (excel)](https://discourse.nodered.org/t/stm32-cubemonitor-and-saving-data-to-csv-excel/50727)

<div class="topic-metadata">

**Author:** [@RistoJT](https://discourse.nodered.org/u/RistoJT)\
**Replies:** 0\
**Last updated:** [7 September 2021 22:44 UTC](https://discourse.nodered.org/t/stm32-cubemonitor-and-saving-data-to-csv-excel/50727 "2021-09-07T22:44:35Z")

</div>

Hello all, I'm using STM32CubeMonitor which is Runtime Variable Monitoring tool and allows non-intrusive debugging off STM MCU's. Cubemonitor is really nice tool in SW debugging and so far I have just used it to look v…

---

## [Node-Red, Tesla, Meross Garage opener MSG100 Request for help](https://discourse.nodered.org/t/node-red-tesla-meross-garage-opener-msg100-request-for-help/50724)

<div class="topic-metadata">

**Author:** [@dansche](https://discourse.nodered.org/u/dansche)\
**Replies:** 0\
**Last updated:** [7 September 2021 20:51 UTC](https://discourse.nodered.org/t/node-red-tesla-meross-garage-opener-msg100-request-for-help/50724 "2021-09-07T20:51:21Z")

</div>

Hi Node Red specialists I‘m a total noob with Node-red and have seen a possibility to automate something cool. I have a Tesla Model 3, I use Teslamate and I have a Meross MSG100 Garage door opener. What would I like t…

---

## [Calculating AQI with Node-Red?](https://discourse.nodered.org/t/calculating-aqi-with-node-red/48001)

<div class="topic-metadata">

**Author:** [@Matt.L](https://discourse.nodered.org/u/Matt.L)\
**Replies:** 5\
**Last updated:** [7 September 2021 19:46 UTC](https://discourse.nodered.org/t/calculating-aqi-with-node-red/48001 "2021-09-07T19:46:45Z")

</div>

I'm trying to see if there is either an existing node or example flow that can help me calculate the US AQI value from PM2.5 and PM10 readings. I have an SDS011 particulate sensor connected to a NodeMCU that is then pub…

---

## [Join two payloads together](https://discourse.nodered.org/t/join-two-payloads-together/50716)

<div class="topic-metadata">

**Author:** [@GRawhideMart](https://discourse.nodered.org/u/GRawhideMart)\
**Replies:** 2\
**Last updated:** [7 September 2021 18:28 UTC](https://discourse.nodered.org/t/join-two-payloads-together/50716 "2021-09-07T18:28:29Z")

</div>

Hello! I know this looks like it has already been asked, but I have reason to believe that my case is quite different, since I don't have an Inject node. I have two HTML selectors, one returning an array of strings and …

---

## [Store and restore node configuration?](https://discourse.nodered.org/t/store-and-restore-node-configuration/50718)

<div class="topic-metadata">

**Author:** [@r0ller](https://discourse.nodered.org/u/r0ller)\
**Replies:** 0\
**Last updated:** [7 September 2021 18:02 UTC](https://discourse.nodered.org/t/store-and-restore-node-configuration/50718 "2021-09-07T18:02:41Z")

</div>

Is there a way to anyhow store and restore configurations of nodes regardless of the node having a configuration or not? The problem is that even if a node provides the possibility to configure it, if it does not explici…

---

## [Download CSV file (With UTF-8 characters) from MySQL payload](https://discourse.nodered.org/t/download-csv-file-with-utf-8-characters-from-mysql-payload/50711)

<div class="topic-metadata">

**Author:** [@sensei\_ep](https://discourse.nodered.org/u/sensei_ep)\
**Replies:** 1\
**Last updated:** [7 September 2021 17:59 UTC](https://discourse.nodered.org/t/download-csv-file-with-utf-8-characters-from-mysql-payload/50711 "2021-09-07T17:59:59Z")

</div>

The flow it's pretty straight forward. a GET Endpoint calling a MySQL Stored Procedure. Retrieving the data and using the CSV node to convert the Javascript object into csv string. Now, there are a lot of varchar fi…

---

## [Virtual keyboard - Dashboard form](https://discourse.nodered.org/t/virtual-keyboard-dashboard-form/50710)

<div class="topic-metadata">

**Author:** [@John\_Barry](https://discourse.nodered.org/u/John_Barry)\
**Replies:** 0\
**Last updated:** [7 September 2021 13:04 UTC](https://discourse.nodered.org/t/virtual-keyboard-dashboard-form/50710 "2021-09-07T13:04:33Z")

</div>

Hi, I am using the virtual keyboard from Hugobox and it works really well except it doesn't trigger on the second multiline option on my form. Does anyone know how to fix this?

---

## [Extract time and send a output at this time](https://discourse.nodered.org/t/extract-time-and-send-a-output-at-this-time/50684)

<div class="topic-metadata">

**Author:** [@dowermyr](https://discourse.nodered.org/u/dowermyr)\
**Replies:** 10\
**Last updated:** [7 September 2021 11:02 UTC](https://discourse.nodered.org/t/extract-time-and-send-a-output-at-this-time/50684 "2021-09-07T11:02:26Z")

</div>

Hi! At the picture here, i get a date and time in a payload. Is there a way to just extract the time and make an output to activate at this specific time?

---

## [S7 mpi installation error](https://discourse.nodered.org/t/s7-mpi-installation-error/50702)

<div class="topic-metadata">

**Author:** [@Aswin\_kumar](https://discourse.nodered.org/u/Aswin_kumar)\
**Replies:** 0\
**Last updated:** [7 September 2021 09:54 UTC](https://discourse.nodered.org/t/s7-mpi-installation-error/50702 "2021-09-07T09:54:57Z")

</div>

While i trying to install node red mpi in s7 its shows an error while installation on windows

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

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