# General

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

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

**Page:** 941

---

## [Node for Xiaomi curtains motor](https://discourse.nodered.org/t/node-for-xiaomi-curtains-motor/4175)

<div class="topic-metadata">

**Author:** [@aniemiec](https://discourse.nodered.org/u/aniemiec)\
**Replies:** 2\
**Last updated:** [23 October 2018 14:58 UTC](https://discourse.nodered.org/t/node-for-xiaomi-curtains-motor/4175 "2018-10-23T14:58:16Z")

</div>

Hey, is there a way to drive the Xiaomi curtains motor? Existing Xiaomi nodes does not mention it. If not, is there an easy way to rewrite Home Assistant plugin to Node Red?

---

## [Flow examples for UniFi node](https://discourse.nodered.org/t/flow-examples-for-unifi-node/2925)

<div class="topic-metadata">

**Author:** [@nodecentral](https://discourse.nodered.org/u/nodecentral)\
**Replies:** 6\
**Last updated:** [23 October 2018 14:19 UTC](https://discourse.nodered.org/t/flow-examples-for-unifi-node/2925 "2018-10-23T14:19:34Z")

</div>

Hi If anyone using the UniFi node, please could they share an example flow Many thanks

---

## [How to use msg.payload as an index in a change node?](https://discourse.nodered.org/t/how-to-use-msg-payload-as-an-index-in-a-change-node/4215)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 2\
**Last updated:** [23 October 2018 13:20 UTC](https://discourse.nodered.org/t/how-to-use-msg-payload-as-an-index-in-a-change-node/4215 "2018-10-23T13:20:24Z")

</div>

(This is a hallowen project) In an change node, I've built a flow object 'flow.wolf' that is an array I then pick a random number between 0 and 2 using the random node so msg.payload now contains a number 0, 1 or 2. …

---

## [OPC UA Client Browse Action has no attributes](https://discourse.nodered.org/t/opc-ua-client-browse-action-has-no-attributes/4214)

<div class="topic-metadata">

**Author:** [@savan](https://discourse.nodered.org/u/savan)\
**Replies:** 1\
**Last updated:** [23 October 2018 11:27 UTC](https://discourse.nodered.org/t/opc-ua-client-browse-action-has-no-attributes/4214 "2018-10-23T11:27:17Z")

</div>

Dear Sir, Currently i am dealing with IIoT OPCUA using Node-Red. i wan t Here i have go through Entire workflow IIoT based OPC UA and i am not be able to use Browse Action because it didn't showing any attributes relat…

---

## [Time scheduled on/off automation request](https://discourse.nodered.org/t/time-scheduled-on-off-automation-request/4188)

<div class="topic-metadata">

**Author:** [@hamidasim](https://discourse.nodered.org/u/hamidasim)\
**Replies:** 3\
**Last updated:** [23 October 2018 08:18 UTC](https://discourse.nodered.org/t/time-scheduled-on-off-automation-request/4188 "2018-10-23T08:18:32Z")

</div>

Hello there, I have some computer fans and I would like to run these via some kind of on/off interval mode. for example, for all week, between 7:00 am and 12:00 pm fans are "off", between 12:00 pm and 7:00 pm fans are…

---

## [Admin API execution when authentication type is strategy](https://discourse.nodered.org/t/admin-api-execution-when-authentication-type-is-strategy/4202)

<div class="topic-metadata">

**Author:** [@dheerajjoshim](https://discourse.nodered.org/u/dheerajjoshim)\
**Replies:** 0\
**Last updated:** [23 October 2018 06:16 UTC](https://discourse.nodered.org/t/admin-api-execution-when-authentication-type-is-strategy/4202 "2018-10-23T06:16:14Z")

</div>

I am using keycloak for Node-RED authentication. Since I am using admin auth type strategy admin api /auth/token gives 404 cannot post error If I use admin auth type password then everything works fine. I want to exec…

---

## [Creating Dynamic To-Do List?](https://discourse.nodered.org/t/creating-dynamic-to-do-list/3825)

<div class="topic-metadata">

**Author:** [@seth350](https://discourse.nodered.org/u/seth350)\
**Replies:** 7\
**Last updated:** [22 October 2018 20:49 UTC](https://discourse.nodered.org/t/creating-dynamic-to-do-list/3825 "2018-10-22T20:49:38Z")

</div>

I am working on something similar to a To-Do list. In all aspects, it is exactly the same function. Except for one thing. A user is not physically adding new tasks with an input box and an Add button. Likewise, the user …

---

## [Create a jpeg from camera snapshot URL - not working](https://discourse.nodered.org/t/create-a-jpeg-from-camera-snapshot-url-not-working/4194)

<div class="topic-metadata">

**Author:** [@nodecentral](https://discourse.nodered.org/u/nodecentral)\
**Replies:** 5\
**Last updated:** [22 October 2018 20:08 UTC](https://discourse.nodered.org/t/create-a-jpeg-from-camera-snapshot-url-not-working/4194 "2018-10-22T20:08:48Z")

</div>

Hi, I have a foscam camera that provides a screenshot via the following url, http://192.168.1.170/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=myusername&pwd=mypassword this then feeds into the following function which…

---

## [Controlling GPIOs on another Raspberry Pi](https://discourse.nodered.org/t/controlling-gpios-on-another-raspberry-pi/4190)

<div class="topic-metadata">

**Author:** [@Rich](https://discourse.nodered.org/u/Rich)\
**Replies:** 2\
**Last updated:** [22 October 2018 18:10 UTC](https://discourse.nodered.org/t/controlling-gpios-on-another-raspberry-pi/4190 "2018-10-22T18:10:44Z")

</div>

I'm running Node Red on a Raspberry Pi and would like to be able to trigger the GPIO pins on another Raspberry Pi running Node Red. Is there an easy way to do this? I'm a newbie any help is appreciated!

---

## [Problem with nodes in palette](https://discourse.nodered.org/t/problem-with-nodes-in-palette/4161)

<div class="topic-metadata">

**Author:** [@NickB](https://discourse.nodered.org/u/NickB)\
**Replies:** 10\
**Last updated:** [22 October 2018 15:39 UTC](https://discourse.nodered.org/t/problem-with-nodes-in-palette/4161 "2018-10-22T15:39:44Z")

</div>

Hi, because I had some issues with flows that where not responding to cloud services etc. , I wanted to update everything but it when bad real soon. At this point I do have the lates version of node red, I have NO flow…

---

## [Web service with NTLM auth](https://discourse.nodered.org/t/web-service-with-ntlm-auth/4158)

<div class="topic-metadata">

**Author:** [@diego.gazzo](https://discourse.nodered.org/u/diego.gazzo)\
**Replies:** 3\
**Last updated:** [22 October 2018 15:29 UTC](https://discourse.nodered.org/t/web-service-with-ntlm-auth/4158 "2018-10-22T15:29:50Z")

</div>

Good morning, i need to consume a SOAP web service with NTLM authentication. Is there a way for doing this easily in node-red? in the soap request module i cannot see this type of authentication... do i have to write m…

---

## [How to insert lots of data with a single message in sqlite](https://discourse.nodered.org/t/how-to-insert-lots-of-data-with-a-single-message-in-sqlite/4089)

<div class="topic-metadata">

**Author:** [@Andres](https://discourse.nodered.org/u/Andres)\
**Replies:** 6\
**Last updated:** [22 October 2018 13:36 UTC](https://discourse.nodered.org/t/how-to-insert-lots-of-data-with-a-single-message-in-sqlite/4089 "2018-10-22T13:36:51Z")

</div>

Hi everyone! I have a sqlite DB and i need to insert around 60000 new entrities, if i insert entry by entry, this takes lots of time (last time i do that, it took over 3 hours, don't know why) and freezes NR, how can i d…

---

## [Node red s7 uncaught error](https://discourse.nodered.org/t/node-red-s7-uncaught-error/4018)

<div class="topic-metadata">

**Author:** [@kavi](https://discourse.nodered.org/u/kavi)\
**Replies:** 3\
**Last updated:** [22 October 2018 07:37 UTC](https://discourse.nodered.org/t/node-red-s7-uncaught-error/4018 "2018-10-22T07:37:21Z")

</div>

we are using 10 s7 nodes in node red. node red is crashed frequently due to the uncaught error with the below error message "" 9 Oct 19:41:29 - \[red\] Uncaught Exception: 9 Oct 19:41:29 - Error: write after end at wri…

---

## [Enforcing Node order](https://discourse.nodered.org/t/enforcing-node-order/4061)

<div class="topic-metadata">

**Author:** [@mealbert](https://discourse.nodered.org/u/mealbert)\
**Replies:** 7\
**Last updated:** [22 October 2018 02:11 UTC](https://discourse.nodered.org/t/enforcing-node-order/4061 "2018-10-22T02:11:59Z")

</div>

Is there any node-red native or node plugin to enforce node order? For example, if I have 10 nodes in a flow and I want to make sure that node 8 doesn't go before node 7. The reason I ask is that I have several custom …

---

## [Sending post data](https://discourse.nodered.org/t/sending-post-data/4179)

<div class="topic-metadata">

**Author:** [@manfacro](https://discourse.nodered.org/u/manfacro)\
**Replies:** 2\
**Last updated:** [21 October 2018 23:00 UTC](https://discourse.nodered.org/t/sending-post-data/4179 "2018-10-21T23:00:11Z")

</div>

Hi all, I am trying to figure out the best way to send POST data from Node-Red. Basically want the flow to send the data to an an ready existing form processing script. Thanks

---

## [Global Configuration of Chatbot](https://discourse.nodered.org/t/global-configuration-of-chatbot/4153)

<div class="topic-metadata">

**Author:** [@DJCheeky](https://discourse.nodered.org/u/DJCheeky)\
**Replies:** 10\
**Last updated:** [21 October 2018 15:02 UTC](https://discourse.nodered.org/t/global-configuration-of-chatbot/4153 "2018-10-21T15:02:48Z")

</div>

Hi, I have tried this Example for a Global Configuration. \`functionGlobalContext: { //Preformatted text // os:require('os'), // jfive:require("johnny-five"), // j5board:require("johnny-five").Board({repl:false}) te…

---

## [Can not install a module](https://discourse.nodered.org/t/can-not-install-a-module/4169)

<div class="topic-metadata">

**Author:** [@Luc](https://discourse.nodered.org/u/Luc)\
**Replies:** 23\
**Last updated:** [21 October 2018 14:39 UTC](https://discourse.nodered.org/t/can-not-install-a-module/4169 "2018-10-21T14:39:59Z")

</div>

Hello I have an error in module installation but how to get around it? (node: 1916) \[DEP0022\] DeprecationWarning: os.tmpDir () is deprecated. Use os.tmpdir () instead. Precision: I'm on RPI3 and Debian 9 Stretch Than…

---

## ["Greeting never received" error when sending email](https://discourse.nodered.org/t/greeting-never-received-error-when-sending-email/4150)

<div class="topic-metadata">

**Author:** [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Replies:** 7\
**Last updated:** [21 October 2018 11:04 UTC](https://discourse.nodered.org/t/greeting-never-received-error-when-sending-email/4150 "2018-10-21T11:04:12Z")

</div>

Just wondering has anyone come across an error in the debug window saying "Greeting never received" when a timestamp is injected to the email node. Many thanks

---

## [Terminal Message Output after Injecting Exec Command](https://discourse.nodered.org/t/terminal-message-output-after-injecting-exec-command/4157)

<div class="topic-metadata">

**Author:** [@GChapo](https://discourse.nodered.org/u/GChapo)\
**Replies:** 5\
**Last updated:** [21 October 2018 09:02 UTC](https://discourse.nodered.org/t/terminal-message-output-after-injecting-exec-command/4157 "2018-10-21T09:02:22Z")

</div>

Is it possible to capture the terminal message returned once an exec command has been injected in Node Red?

---

## [How do I extract data from an object inside an object?](https://discourse.nodered.org/t/how-do-i-extract-data-from-an-object-inside-an-object/4154)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 1\
**Last updated:** [21 October 2018 06:28 UTC](https://discourse.nodered.org/t/how-do-i-extract-data-from-an-object-inside-an-object/4154 "2018-10-21T06:28:33Z")

</div>

I have an Alexa Local node that provides this data when I tell Alexa: "Set the landing light to 50%" msg.payload : string\[54\] "{"data":{"entity\_id":"light.landing","brightness":50}}" Alexa responds with a brightness va…

---

## [Updating Node Red on a PC](https://discourse.nodered.org/t/updating-node-red-on-a-pc/4143)

<div class="topic-metadata">

**Author:** [@acestu](https://discourse.nodered.org/u/acestu)\
**Replies:** 12\
**Last updated:** [21 October 2018 00:14 UTC](https://discourse.nodered.org/t/updating-node-red-on-a-pc/4143 "2018-10-21T00:14:34Z")

</div>

Hi, I have been looking for info on how to update Node-Red to the latest version on a PC, l can see how to install but nothing on updating, if anyone could give me a hint I would be most grateful. thanks Stuart

---

## [How to increase Inject sampling rate?](https://discourse.nodered.org/t/how-to-increase-inject-sampling-rate/4134)

<div class="topic-metadata">

**Author:** [@HighDesert](https://discourse.nodered.org/u/HighDesert)\
**Replies:** 3\
**Last updated:** [20 October 2018 08:17 UTC](https://discourse.nodered.org/t/how-to-increase-inject-sampling-rate/4134 "2018-10-20T08:17:24Z")

</div>

Please forgive my newbie query, but I am reading a pulse/heart rate through an MCP3008 using the Inject node. I need to sample at faster than once every second interval, the minimum lower limit, but at about every 0.1 se…

---

## [Multiple objects returned by a single node](https://discourse.nodered.org/t/multiple-objects-returned-by-a-single-node/4021)

<div class="topic-metadata">

**Author:** [@Hc\_IoT](https://discourse.nodered.org/u/Hc_IoT)\
**Replies:** 14\
**Last updated:** [19 October 2018 22:17 UTC](https://discourse.nodered.org/t/multiple-objects-returned-by-a-single-node/4021 "2018-10-19T22:17:17Z")

</div>

Hi Bart, I was trying to use a node created by you named as "node-red-contrib-cpu" and it returns multiple objects at a time. What I was trying to do is to fetch payload value from each object and merge it into a single…

---

## [Save variable to be available after reboot](https://discourse.nodered.org/t/save-variable-to-be-available-after-reboot/4127)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 4\
**Last updated:** [19 October 2018 21:18 UTC](https://discourse.nodered.org/t/save-variable-to-be-available-after-reboot/4127 "2018-10-19T21:18:21Z")

</div>

I think i saw it before that it was a new function but i cannot find it again. Is it possible to save a global that is available after a reboot?

---

## [RedBot, Telegram Bot API and Blynk Webhook](https://discourse.nodered.org/t/redbot-telegram-bot-api-and-blynk-webhook/4125)

<div class="topic-metadata">

**Author:** [@CRAFTYALCHEMIST](https://discourse.nodered.org/u/CRAFTYALCHEMIST)\
**Replies:** 0\
**Last updated:** [19 October 2018 18:56 UTC](https://discourse.nodered.org/t/redbot-telegram-bot-api-and-blynk-webhook/4125 "2018-10-19T18:56:10Z")

</div>

Hello, I've got Node-RED running on an RPi Zero W and a Blynk server running on a different RPi Zero on the same network. I've set up a very simple flow with RedBot that will send me a picture from a webcam (actually o…

---

## [Self-deploying flow with credentials](https://discourse.nodered.org/t/self-deploying-flow-with-credentials/3695)

<div class="topic-metadata">

**Author:** [@hugobox](https://discourse.nodered.org/u/hugobox)\
**Replies:** 3\
**Last updated:** [19 October 2018 16:03 UTC](https://discourse.nodered.org/t/self-deploying-flow-with-credentials/3695 "2018-10-19T16:03:17Z")

</div>

Hi! I'm trying to have a flow do a self-deploy with adminAuth credentials. I get the auth token, add the Bearer prefix in the headers, but the GET /flows returns "unauthorized". Does anybody know what I'm missing? Here's…

---

## [Changing the data from Node-RED to Google Firebase](https://discourse.nodered.org/t/changing-the-data-from-node-red-to-google-firebase/2137)

<div class="topic-metadata">

**Author:** [@amruta](https://discourse.nodered.org/u/amruta)\
**Replies:** 1\
**Last updated:** [19 October 2018 17:14 UTC](https://discourse.nodered.org/t/changing-the-data-from-node-red-to-google-firebase/2137 "2018-10-19T17:14:31Z")

</div>

I am storing the entries in Google firebase database(IMEI number, the range of CO in ppm etc., as seen in the photo). For every newly signed-in user, the data gets stored under a unique-ID (UID). Since the UID is rand…

---

## [Node install failures - which log](https://discourse.nodered.org/t/node-install-failures-which-log/4116)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 4\
**Last updated:** [19 October 2018 11:08 UTC](https://discourse.nodered.org/t/node-install-failures-which-log/4116 "2018-10-19T11:08:20Z")

</div>

I wonder if anyone can advise... my main Nore-Red installation, RPI3... I've just been using the pallette manager and upgraded all the nodes that need it. Two (which I don't use, thankfully) failed to upgrade, siting mis…

---

## [Node Red HTTP Library](https://discourse.nodered.org/t/node-red-http-library/4095)

<div class="topic-metadata">

**Author:** [@joearkay](https://discourse.nodered.org/u/joearkay)\
**Replies:** 2\
**Last updated:** [19 October 2018 07:38 UTC](https://discourse.nodered.org/t/node-red-http-library/4095 "2018-10-19T07:38:44Z")

</div>

Quick question - I've done a fair amount of searching, but am struggling to find the library that Node Red uses for HTTP inputs (PUT, specifically). We're having issues where another spring endpoint set up in Java won't …

---

## [Timer with queuing?](https://discourse.nodered.org/t/timer-with-queuing/4086)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 7\
**Last updated:** [19 October 2018 06:41 UTC](https://discourse.nodered.org/t/timer-with-queuing/4086 "2018-10-19T06:41:48Z")

</div>

I could not think of a better title. What am I trying to accomplish: Start recording motion detection from webcamera, keep it running at least 30 seconds and as long as no "motion detection:off" has been received. Th…

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

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