# General

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

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

**Page:** 192

---

## [How template node get data from inject node](https://discourse.nodered.org/t/how-template-node-get-data-from-inject-node/80130)

<div class="topic-metadata">

**Author:** [@HenryTrang](https://discourse.nodered.org/u/HenryTrang)\
**Replies:** 9\
**Last updated:** [31 July 2023 09:46 UTC](https://discourse.nodered.org/t/how-template-node-get-data-from-inject-node/80130 "2023-07-31T09:46:52Z")

</div>

Dear veteran I create a web page in template node. and try to show inject number on the page.but inject data didn't show. any veteran tell me how to display the number data injected from inject node

---

## [Unable to get the file size of multiple files using Advanced FTP node](https://discourse.nodered.org/t/unable-to-get-the-file-size-of-multiple-files-using-advanced-ftp-node/80121)

<div class="topic-metadata">

**Author:** [@PS2525](https://discourse.nodered.org/u/PS2525)\
**Replies:** 2\
**Last updated:** [31 July 2023 09:13 UTC](https://discourse.nodered.org/t/unable-to-get-the-file-size-of-multiple-files-using-advanced-ftp-node/80121 "2023-07-31T09:13:50Z")

</div>

I am getting file size for single filename from my remote FTP using Advanced FTP node which is working fine. But Now I wanted to get the file size of 7 files which needs to send to FTP node one by one and save it in an …

---

## [How to save a textbox value for later use](https://discourse.nodered.org/t/how-to-save-a-textbox-value-for-later-use/80172)

<div class="topic-metadata">

**Author:** [@rmystique](https://discourse.nodered.org/u/rmystique)\
**Replies:** 3\
**Last updated:** [30 July 2023 21:39 UTC](https://discourse.nodered.org/t/how-to-save-a-textbox-value-for-later-use/80172 "2023-07-30T21:39:14Z")

</div>

I want to be able to store a value that is updated in a text box every second, so that if I redeploy it will be able to start from that value instead of zero.

---

## [Brightness control with IKEA Tradfri remote](https://discourse.nodered.org/t/brightness-control-with-ikea-tradfri-remote/80045)

<div class="topic-metadata">

**Author:** [@Cpt.Pommes](https://discourse.nodered.org/u/Cpt.Pommes)\
**Replies:** 1\
**Last updated:** [30 July 2023 18:14 UTC](https://discourse.nodered.org/t/brightness-control-with-ikea-tradfri-remote/80045 "2023-07-30T18:14:11Z")

</div>

Hi, I am pretty new to node-red and I want my IKEA Tradfri remote to control the brightness of my lamp with the brightness hold buttons. I am using Zigbee2mqtt with home assistent. However, I am struggling to get the …

---

## [Context File corrupt/truncated - node-red auto-restart failure](https://discourse.nodered.org/t/context-file-corrupt-truncated-node-red-auto-restart-failure/79897)

<div class="topic-metadata">

**Author:** [@jakonnode](https://discourse.nodered.org/u/jakonnode)\
**Replies:** 56\
**Last updated:** [30 July 2023 17:56 UTC](https://discourse.nodered.org/t/context-file-corrupt-truncated-node-red-auto-restart-failure/79897 "2023-07-30T17:56:43Z")

</div>

When my device restarts abruptly - the context file get corrupt because of the truncated json. Automatic restart of node-red fails due to this. One way is to go with a DB based context storage instead of file but MySQL…

---

## [Merge Data from two asynchronous MQTT inputs](https://discourse.nodered.org/t/merge-data-from-two-asynchronous-mqtt-inputs/80162)

<div class="topic-metadata">

**Author:** [@Rene1695](https://discourse.nodered.org/u/Rene1695)\
**Replies:** 4\
**Last updated:** [30 July 2023 12:19 UTC](https://discourse.nodered.org/t/merge-data-from-two-asynchronous-mqtt-inputs/80162 "2023-07-30T12:19:32Z")

</div>

Hi all, i am still very new to NodeRed and I think I didn't understand the principle yet. What I would like to do is the following: I have two MQTT inputs. "Input 1" sends data from my smart meter every 10 seconds in…

---

## [Is faking keyboard input possible?](https://discourse.nodered.org/t/is-faking-keyboard-input-possible/80150)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 3\
**Last updated:** [29 July 2023 22:07 UTC](https://discourse.nodered.org/t/is-faking-keyboard-input-possible/80150 "2023-07-29T22:07:45Z")

</div>

I have a RasPi with a largish screen (touch) and want to know if there is a way I can simulate keyboard input to do things. Ok, the Pi is running Stretch (Yeah, SO OLD now) and an old version of Firefox. I want to make…

---

## [Broken Jsonata --\> Broken Node-RED](https://discourse.nodered.org/t/broken-jsonata-broken-node-red/80153)

<div class="topic-metadata">

**Author:** [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Replies:** 8\
**Last updated:** [29 July 2023 15:57 UTC](https://discourse.nodered.org/t/broken-jsonata-broken-node-red/80153 "2023-07-29T15:57:04Z")

</div>

Hi There! Sorry if this has been asked before however I just had the following problem. Flow: \[{"id":"c0434d6638a5e339","type":"change","z":"d7f182b9ccdd6c48","name":"","rules":\[{"t":"set","p":"payload","pt":"msg","to"…

---

## [Getting grid\_total from HA](https://discourse.nodered.org/t/getting-grid-total-from-ha/80076)

<div class="topic-metadata">

**Author:** [@riddertommie](https://discourse.nodered.org/u/riddertommie)\
**Replies:** 15\
**Last updated:** [29 July 2023 10:41 UTC](https://discourse.nodered.org/t/getting-grid-total-from-ha/80076 "2023-07-29T10:41:41Z")

</div>

Im trying to get the grid total value from HA energy tab. But if i understand correct this is not a value you can get within HA, so i wanted to do that myself. for that i made 4 utility meter Helpers. and in nodered i m…

---

## [Remove Specific Line from CSV File](https://discourse.nodered.org/t/remove-specific-line-from-csv-file/80140)

<div class="topic-metadata">

**Author:** [@mlabella](https://discourse.nodered.org/u/mlabella)\
**Replies:** 3\
**Last updated:** [28 July 2023 15:10 UTC](https://discourse.nodered.org/t/remove-specific-line-from-csv-file/80140 "2023-07-28T15:10:12Z")

</div>

I have a dashboard where when the certain ID of a part is entered, I want to delete that line when the button is pressed. I am able to remove the data, but it then outputs as undefined and is not able to leave the output…

---

## [Login with C# & ASP.NET Code](https://discourse.nodered.org/t/login-with-c-asp-net-code/80136)

<div class="topic-metadata">

**Author:** [@halukmy](https://discourse.nodered.org/u/halukmy)\
**Replies:** 0\
**Last updated:** [28 July 2023 11:17 UTC](https://discourse.nodered.org/t/login-with-c-asp-net-code/80136 "2023-07-28T11:17:02Z")

</div>

is it possible to login with C# or asp.net code ?

---

## [How to control Node-RED in my Electron application? (start, stop, and restart)](https://discourse.nodered.org/t/how-to-control-node-red-in-my-electron-application-start-stop-and-restart/80083)

<div class="topic-metadata">

**Author:** [@SebCanet](https://discourse.nodered.org/u/SebCanet)\
**Replies:** 6\
**Last updated:** [28 July 2023 08:46 UTC](https://discourse.nodered.org/t/how-to-control-node-red-in-my-electron-application-start-stop-and-restart/80083 "2023-07-28T08:46:47Z")

</div>

Hello everyone, I am developping software to help program microcontroller boards and I have integrated Node-RED into my Electron application to retrieve data sent by my boards (https://www.youtube.com/watch?v=n9rFr5-rc1…

---

## [Why can this component only support two alarm conditions and multiple event conditions](https://discourse.nodered.org/t/why-can-this-component-only-support-two-alarm-conditions-and-multiple-event-conditions/79745)

<div class="topic-metadata">

**Author:** [@dangliufeng](https://discourse.nodered.org/u/dangliufeng)\
**Replies:** 10\
**Last updated:** [28 July 2023 08:43 UTC](https://discourse.nodered.org/t/why-can-this-component-only-support-two-alarm-conditions-and-multiple-event-conditions/79745 "2023-07-28T08:43:29Z")

</div>

Do you know how to write this configuration file

---

## [How to get an array value from flow context](https://discourse.nodered.org/t/how-to-get-an-array-value-from-flow-context/80128)

<div class="topic-metadata">

**Author:** [@Akshay51](https://discourse.nodered.org/u/Akshay51)\
**Replies:** 2\
**Last updated:** [28 July 2023 07:28 UTC](https://discourse.nodered.org/t/how-to-get-an-array-value-from-flow-context/80128 "2023-07-28T07:28:30Z")

</div>

Hi, I wsa trying to get a particular array value from the flow context, but i could only get the whole values in the array instead of a particular value. I was using msg.payload = flow.get("testCheck",\[0\]); to get …

---

## [Trying to scrape dynamic HTML](https://discourse.nodered.org/t/trying-to-scrape-dynamic-html/80104)

<div class="topic-metadata">

**Author:** [@YegorRad](https://discourse.nodered.org/u/YegorRad)\
**Replies:** 3\
**Last updated:** [28 July 2023 05:06 UTC](https://discourse.nodered.org/t/trying-to-scrape-dynamic-html/80104 "2023-07-28T05:06:52Z")

</div>

Hello everyone I´m new with Node-Red and HTML. I´m trying to obtein consumption data from this web https://app.powen.es/#/ I read some topics here in the forum and I´m awared that one solution is to find the URL where…

---

## [Fresh man ask for help](https://discourse.nodered.org/t/fresh-man-ask-for-help/79987)

<div class="topic-metadata">

**Author:** [@HenryTrang](https://discourse.nodered.org/u/HenryTrang)\
**Replies:** 12\
**Last updated:** [28 July 2023 01:07 UTC](https://discourse.nodered.org/t/fresh-man-ask-for-help/79987 "2023-07-28T01:07:19Z")

</div>

Dear Vateran i wanna to develop a box of adge serve to combine all communication protocol into one protocol to make main serve easier. but something beyond my comprehension. I boot a websocket serve, and invoke it, …

---

## [Site connection problems](https://discourse.nodered.org/t/site-connection-problems/80115)

<div class="topic-metadata">

**Author:** [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Replies:** 3\
**Last updated:** [28 July 2023 00:58 UTC](https://discourse.nodered.org/t/site-connection-problems/80115 "2023-07-28T00:58:53Z")

</div>

I've had the following screen displayed while trying to access the site in the last few days:

---

## [Live video on an AWS instance](https://discourse.nodered.org/t/live-video-on-an-aws-instance/80107)

<div class="topic-metadata">

**Author:** [@Surfb](https://discourse.nodered.org/u/Surfb)\
**Replies:** 2\
**Last updated:** [27 July 2023 16:16 UTC](https://discourse.nodered.org/t/live-video-on-an-aws-instance/80107 "2023-07-27T16:16:31Z")

</div>

I have an esp32-cam and I want it to stream live video through the node-red dashboard, I have node-red installed on an AWS instance, I want the video to be seen from any network not just my local network

---

## [Calling flow ID in function node?](https://discourse.nodered.org/t/calling-flow-id-in-function-node/80117)

<div class="topic-metadata">

**Author:** [@Shyama\_Gupta](https://discourse.nodered.org/u/Shyama_Gupta)\
**Replies:** 0\
**Last updated:** [27 July 2023 14:06 UTC](https://discourse.nodered.org/t/calling-flow-id-in-function-node/80117 "2023-07-27T14:06:30Z")

</div>

Suppose for example when we reload/restart Node-RED, then every time UI\_tab ID is autogenerated by nodered and used to save context variables under .nodered/context/”UI\_tab ID”/flow.json so, how we can call that UI\_tab I…

---

## [Changing String to JavaScript Object](https://discourse.nodered.org/t/changing-string-to-javascript-object/80078)

<div class="topic-metadata">

**Author:** [@Lorenzo953](https://discourse.nodered.org/u/Lorenzo953)\
**Replies:** 17\
**Last updated:** [27 July 2023 14:52 UTC](https://discourse.nodered.org/t/changing-string-to-javascript-object/80078 "2023-07-27T14:52:31Z")

</div>

I'm trying to readout a heat meter. The data of the meter is send via M-Bus to a Teltonika TRB 143 router and then send over MQTT to my NodeRed. On the router i can choose between the data format XML and HEX. if i use X…

---

## [MQTT all device polling -- wildcard use?](https://discourse.nodered.org/t/mqtt-all-device-polling-wildcard-use/80086)

<div class="topic-metadata">

**Author:** [@gNeandr](https://discourse.nodered.org/u/gNeandr)\
**Replies:** 7\
**Last updated:** [27 July 2023 14:14 UTC](https://discourse.nodered.org/t/mqtt-all-device-polling-wildcard-use/80086 "2023-07-27T14:14:06Z")

</div>

With 'mqtt in' the use of a wildcard is possible, like stat/+/STATUS11 How to request all devices with 'mqtt out' using a wildcard like cmnd/+/STATUS11 ? it seems that request doesn't polls all the mqtt devices. So, w…

---

## [\[warn\] Encrypted credentials not found](https://discourse.nodered.org/t/warn-encrypted-credentials-not-found/80116)

<div class="topic-metadata">

**Author:** [@Duncan](https://discourse.nodered.org/u/Duncan)\
**Replies:** 0\
**Last updated:** [27 July 2023 13:10 UTC](https://discourse.nodered.org/t/warn-encrypted-credentials-not-found/80116 "2023-07-27T13:10:49Z")

</div>

Strange I have created many node-red docker containers with login credentials, but I cant get this to work. I have a ubuntu server in an Azure cloud. When I launch the docker-compose file the “flows\_cred” file doesn’t ge…

---

## [Get a value from a sensor with mqtt](https://discourse.nodered.org/t/get-a-value-from-a-sensor-with-mqtt/80079)

<div class="topic-metadata">

**Author:** [@EcarDK](https://discourse.nodered.org/u/EcarDK)\
**Replies:** 7\
**Last updated:** [27 July 2023 12:27 UTC](https://discourse.nodered.org/t/get-a-value-from-a-sensor-with-mqtt/80079 "2023-07-27T12:27:03Z")

</div>

Hallo all First of all, thank you for all the help you give me. i would like to use an "inject node" connected to an "mqtt out" to pull a "payload.illuminance\_lux" value so it comes out of an "mqtt in node" is it poss…

---

## [Get mqtt value from motion detector, if occupancy is ON or OFF](https://discourse.nodered.org/t/get-mqtt-value-from-motion-detector-if-occupancy-is-on-or-off/80057)

<div class="topic-metadata">

**Author:** [@EcarDK](https://discourse.nodered.org/u/EcarDK)\
**Replies:** 8\
**Last updated:** [27 July 2023 08:13 UTC](https://discourse.nodered.org/t/get-mqtt-value-from-motion-detector-if-occupancy-is-on-or-off/80057 "2023-07-27T08:13:52Z")

</div>

links i use When I set my Smart Button i do like this, and it work --\> "mqtt in node" zigbee2mqtt/Hue Dimmer - Vitus/action When I try whit my PH motion sensor I have try whit /get but it dont work? zigbee2mqtt/Mot…

---

## [Node-red-contrib-bigtimer from dawn to dusk depending on the gps location](https://discourse.nodered.org/t/node-red-contrib-bigtimer-from-dawn-to-dusk-depending-on-the-gps-location/80085)

<div class="topic-metadata">

**Author:** [@Lars78](https://discourse.nodered.org/u/Lars78)\
**Replies:** 5\
**Last updated:** [26 July 2023 21:28 UTC](https://discourse.nodered.org/t/node-red-contrib-bigtimer-from-dawn-to-dusk-depending-on-the-gps-location/80085 "2023-07-26T21:28:57Z")

</div>

Hey, i would like do get a true/fals 1/0 on dawn/dusk depending on the gps location. i inject to the input: S1 : msg.payload : string\[22\] "geo\_override 53.22 6.6" but the off time is always wrong with the injected c…

---

## [USB RS485 - RPI4B Connection issue](https://discourse.nodered.org/t/usb-rs485-rpi4b-connection-issue/80066)

<div class="topic-metadata">

**Author:** [@DrdP](https://discourse.nodered.org/u/DrdP)\
**Replies:** 3\
**Last updated:** [26 July 2023 20:17 UTC](https://discourse.nodered.org/t/usb-rs485-rpi4b-connection-issue/80066 "2023-07-26T20:17:49Z")

</div>

Good day, I am trying to read info from a RS485 soil sensor. I have gotten the ttyUSB0 to connect in Node-Red but it wont start and read the value it seems. I do not know what I need to change to get this going. Any he…

---

## [Tinker card with node red](https://discourse.nodered.org/t/tinker-card-with-node-red/80054)

<div class="topic-metadata">

**Author:** [@gizemerekinciatlan](https://discourse.nodered.org/u/gizemerekinciatlan)\
**Replies:** 1\
**Last updated:** [25 July 2023 13:41 UTC](https://discourse.nodered.org/t/tinker-card-with-node-red/80054 "2023-07-25T13:41:08Z")

</div>

May l publish tinker card simulation to node-red dashboard

---

## [Help Needed: Downloading Files Created from Array Using Write File Node in Node-RED](https://discourse.nodered.org/t/help-needed-downloading-files-created-from-array-using-write-file-node-in-node-red/80075)

<div class="topic-metadata">

**Author:** [@DidoMarchet](https://discourse.nodered.org/u/DidoMarchet)\
**Replies:** 0\
**Last updated:** [26 July 2023 08:28 UTC](https://discourse.nodered.org/t/help-needed-downloading-files-created-from-array-using-write-file-node-in-node-red/80075 "2023-07-26T08:28:26Z")

</div>

Hi! I'm currently working on a project where I am splitting an array and creating a file from each element using the Write File node. After creating these files, I then zip them all together and send them via email. Ho…

---

## [Global, Flow and Node Context File Storage Interval](https://discourse.nodered.org/t/global-flow-and-node-context-file-storage-interval/80064)

<div class="topic-metadata">

**Author:** [@davidz](https://discourse.nodered.org/u/davidz)\
**Replies:** 7\
**Last updated:** [26 July 2023 07:17 UTC](https://discourse.nodered.org/t/global-flow-and-node-context-file-storage-interval/80064 "2023-07-26T07:17:09Z")

</div>

If there are global, flow and node context file storage enabled, are the global, flow and node context files saved at the same time, or they are saved at different time? There is only one context file save interval sett…

---

## [Ng-bind-html include more than 1 element in Template](https://discourse.nodered.org/t/ng-bind-html-include-more-than-1-element-in-template/80027)

<div class="topic-metadata">

**Author:** [@richiep](https://discourse.nodered.org/u/richiep)\
**Replies:** 6\
**Last updated:** [26 July 2023 01:33 UTC](https://discourse.nodered.org/t/ng-bind-html-include-more-than-1-element-in-template/80027 "2023-07-26T01:33:19Z")

</div>

Hey All, I recently started converting my dashboard from letters/words to icons using the Material Icons library from google and using CSS to change the colors of the icons. Here is a static version of what I'm looking…

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

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