# General

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

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

**Page:** 745

---

## [Raspberry Pi to control google home appliances using node red over local network](https://discourse.nodered.org/t/raspberry-pi-to-control-google-home-appliances-using-node-red-over-local-network/27143)

<div class="topic-metadata">

**Author:** [@rohan23423](https://discourse.nodered.org/u/rohan23423)\
**Replies:** 0\
**Last updated:** [23 May 2020 15:11 UTC](https://discourse.nodered.org/t/raspberry-pi-to-control-google-home-appliances-using-node-red-over-local-network/27143 "2020-05-23T15:11:21Z")

</div>

Is it possible to control google home appliances with raspberry pi using Node Red? The rough sketch which I have in my mind right now is: Raspberry pi will send MQTT requests to node red over local wifi and then node red…

---

## [Can't see my underline char](https://discourse.nodered.org/t/cant-see-my-underline-char/26957)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 36\
**Last updated:** [23 May 2020 15:51 UTC](https://discourse.nodered.org/t/cant-see-my-underline-char/26957 "2020-05-23T15:51:26Z")

</div>

I've got an \_ between "incoming" and "phrase" but I can't see it in the function editor Just me? \[edit\]Just checking as this is from a VNC session\[/edit\] mmm - seems to be a VNC issue as its fine when I look at it n…

---

## [Node-Red-Docker on Synology NAS; How do secure Node-Red](https://discourse.nodered.org/t/node-red-docker-on-synology-nas-how-do-secure-node-red/27020)

<div class="topic-metadata">

**Author:** [@E\_T](https://discourse.nodered.org/u/E_T)\
**Replies:** 11\
**Last updated:** [23 May 2020 15:29 UTC](https://discourse.nodered.org/t/node-red-docker-on-synology-nas-how-do-secure-node-red/27020 "2020-05-23T15:29:19Z")

</div>

Hello, I use a Docker Container on a Synology NAS DS 218+ I want to secure Node-Red like following https://nodered.org/docs/user-guide/runtime/securing-node-red#editor--admin-api-security But how can i do it on the S…

---

## [Purpose of Node-RED?](https://discourse.nodered.org/t/purpose-of-node-red/27129)

<div class="topic-metadata">

**Author:** [@zackxoxo](https://discourse.nodered.org/u/zackxoxo)\
**Replies:** 5\
**Last updated:** [23 May 2020 15:17 UTC](https://discourse.nodered.org/t/purpose-of-node-red/27129 "2020-05-23T15:17:05Z")

</div>

I'm trying to completely understand the purpose of Node-RED and how one would use it and what they would use it for, so I can know if it's right for me... Is it like Stringify or IFTTT? How would someone who has Insteon …

---

## [Only proceed with flow if first condition is true for a specific duration](https://discourse.nodered.org/t/only-proceed-with-flow-if-first-condition-is-true-for-a-specific-duration/26996)

<div class="topic-metadata">

**Author:** [@burn](https://discourse.nodered.org/u/burn)\
**Replies:** 7\
**Last updated:** [23 May 2020 11:01 UTC](https://discourse.nodered.org/t/only-proceed-with-flow-if-first-condition-is-true-for-a-specific-duration/26996 "2020-05-23T11:01:49Z")

</div>

Hello, once again folks. I am attempting to create an automation to notify household if the dryer is complete. I happened to have a spare Samsung Multi-Purpose Sensor which I decided to attach to my dryer. Using the vib…

---

## [Swimming pool maintenance](https://discourse.nodered.org/t/swimming-pool-maintenance/26790)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 64\
**Last updated:** [23 May 2020 07:58 UTC](https://discourse.nodered.org/t/swimming-pool-maintenance/26790 "2020-05-23T07:58:07Z")

</div>

Hi folks, Due to the lockdown situation we will most probably have to spent our holidays at home. So my wife ordered last week a large swimming pool. Could be setup in a few hours, but daddy has been elected to spent …

---

## [Custom Node with embedded MQTT function](https://discourse.nodered.org/t/custom-node-with-embedded-mqtt-function/27076)

<div class="topic-metadata">

**Author:** [@pinode](https://discourse.nodered.org/u/pinode)\
**Replies:** 2\
**Last updated:** [23 May 2020 08:18 UTC](https://discourse.nodered.org/t/custom-node-with-embedded-mqtt-function/27076 "2020-05-23T08:18:38Z")

</div>

Hi, I'm working on a project where I'm trying to embed the MQTT function within a number of custom nodes and while I've managed to get certain aspects working I've hit a brick wall. I came across this thread ( https://d…

---

## [Node-red-contrib-alexa-remote2 problems](https://discourse.nodered.org/t/node-red-contrib-alexa-remote2-problems/23792)

<div class="topic-metadata">

**Author:** [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Replies:** 16\
**Last updated:** [23 May 2020 02:09 UTC](https://discourse.nodered.org/t/node-red-contrib-alexa-remote2-problems/23792 "2020-05-23T02:09:22Z")

</div>

I have been trying to get this node working, with no success, I keep getting "No csrf found" error when setting up the node. I have tried all the suggestions on the Github issues page too but have had no joy. Is anyone …

---

## [How to send an image from mqtt in an email](https://discourse.nodered.org/t/how-to-send-an-image-from-mqtt-in-an-email/27087)

<div class="topic-metadata">

**Author:** [@carrero](https://discourse.nodered.org/u/carrero)\
**Replies:** 24\
**Last updated:** [22 May 2020 23:44 UTC](https://discourse.nodered.org/t/how-to-send-an-image-from-mqtt-in-an-email/27087 "2020-05-22T23:44:38Z")

</div>

Hi mates, im thinking on send an array coded in base64 to an email direction but only when i press a button. How could i do it? Using switch or function? Than you very much

---

## [Tasmota node not working after Tasmota 8.30 firmware update?](https://discourse.nodered.org/t/tasmota-node-not-working-after-tasmota-8-30-firmware-update/26740)

<div class="topic-metadata">

**Author:** [@stefan24](https://discourse.nodered.org/u/stefan24)\
**Replies:** 28\
**Last updated:** [22 May 2020 20:57 UTC](https://discourse.nodered.org/t/tasmota-node-not-working-after-tasmota-8-30-firmware-update/26740 "2020-05-22T20:57:58Z")

</div>

node-red-contrib-tasmota 0.9.4 shows errors instead of the three nodes Tasmota Switch, Sensor and Light. 16 May 10:42:48 - \[info\] Node-RED Version: v1.0.6 16 May 10:42:48 - \[info\] Node.js Version: v12.16.2 16 May 10:42…

---

## [Does anyone do a lot of string word parsing?](https://discourse.nodered.org/t/does-anyone-do-a-lot-of-string-word-parsing/26881)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 21\
**Last updated:** [22 May 2020 20:46 UTC](https://discourse.nodered.org/t/does-anyone-do-a-lot-of-string-word-parsing/26881 "2020-05-22T20:46:35Z")

</div>

If I switch over to using "Alexa Simon Says" for my house #IoT stuff then I'm going to have to handle all such Alexa requests myself and cope with things such as saying: "alexa simon says skybox pause" and getting "al…

---

## [How to simplify a long sequence for remote button press simulation](https://discourse.nodered.org/t/how-to-simplify-a-long-sequence-for-remote-button-press-simulation/27082)

<div class="topic-metadata">

**Author:** [@node-node-red-red](https://discourse.nodered.org/u/node-node-red-red)\
**Replies:** 19\
**Last updated:** [22 May 2020 16:35 UTC](https://discourse.nodered.org/t/how-to-simplify-a-long-sequence-for-remote-button-press-simulation/27082 "2020-05-22T16:35:40Z")

</div>

I'm new to the Node RED world. This is a working sequence but it is just too long and hard to read and maintain. Since this sequence is just simulating button press, can I use one function node for this entire sequence? …

---

## [How can i live stream on my dashboard?](https://discourse.nodered.org/t/how-can-i-live-stream-on-my-dashboard/27044)

<div class="topic-metadata">

**Author:** [@carrero](https://discourse.nodered.org/u/carrero)\
**Replies:** 12\
**Last updated:** [22 May 2020 15:26 UTC](https://discourse.nodered.org/t/how-can-i-live-stream-on-my-dashboard/27044 "2020-05-22T15:26:42Z")

</div>

Hi guys, what kind of nodes or new modules should i use? . I want to stream from a pi camera connected in my rpi. Im working with node red in my personal computer w10, and i want to send the images to my node red using …

---

## [Can't install sqlite](https://discourse.nodered.org/t/cant-install-sqlite/27084)

<div class="topic-metadata">

**Author:** [@Thewaver](https://discourse.nodered.org/u/Thewaver)\
**Replies:** 4\
**Last updated:** [22 May 2020 15:00 UTC](https://discourse.nodered.org/t/cant-install-sqlite/27084 "2020-05-22T15:00:03Z")

</div>

Hi, any ideas why I can't install sqlite on my pi-zero.This is the install log: 2020-05-22T12:26:14.219Z Install : node-red-node-sqlite 0.4.3 2020-05-22T12:26:57.020Z npm install --no-audit --no-update-notifier --save …

---

## [HSV\>RGB Conversion problem](https://discourse.nodered.org/t/hsv-rgb-conversion-problem/14437)

<div class="topic-metadata">

**Author:** [@Tico](https://discourse.nodered.org/u/Tico)\
**Replies:** 9\
**Last updated:** [22 May 2020 13:32 UTC](https://discourse.nodered.org/t/hsv-rgb-conversion-problem/14437 "2020-05-22T13:32:47Z")

</div>

Hi. I'm a very new Node-RED user attempting a conversion of a lighting output from a Loxone node to a Milight Node. Despite reading and watching hours of tutorials, I can now say I'm more confused than when I started. I…

---

## [Environment variables outside settings.js file](https://discourse.nodered.org/t/environment-variables-outside-settings-js-file/26527)

<div class="topic-metadata">

**Author:** [@Lupin\_III](https://discourse.nodered.org/u/Lupin_III)\
**Replies:** 20\
**Last updated:** [22 May 2020 10:50 UTC](https://discourse.nodered.org/t/environment-variables-outside-settings-js-file/26527 "2020-05-22T10:50:34Z")

</div>

Hi, after read several messages I still have some troubles, could you please help me? I have never used environment variables before. Now, in settings.js I've added "env: process.env" just below " functionGlobalContext…

---

## [Pi-gpio input pull / buffering message](https://discourse.nodered.org/t/pi-gpio-input-pull-buffering-message/26545)

<div class="topic-metadata">

**Author:** [@32Domi](https://discourse.nodered.org/u/32Domi)\
**Replies:** 6\
**Last updated:** [22 May 2020 10:02 UTC](https://discourse.nodered.org/t/pi-gpio-input-pull-buffering-message/26545 "2020-05-22T10:02:14Z")

</div>

Hi everyone, I need some assistance on how to buffer a message if there's no network or get a pulled state of a Raspberry GPI. I have a state on a GPI, sending it via udp to another system. But as soon as the network c…

---

## [From the ARDUINO world, MAP( ) command](https://discourse.nodered.org/t/from-the-arduino-world-map-command/27072)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 18\
**Last updated:** [22 May 2020 09:11 UTC](https://discourse.nodered.org/t/from-the-arduino-world-map-command/27072 "2020-05-22T09:11:55Z")

</div>

In the world of Arduino, I can map values. So if I have an input range of 1 - 20 I can map that to be 1 - 100. So 1 = 1. 2 = 5 3 = 10 4 = 15 20 = 100 (I hope I did the intermediate values correctly) Is there a wa…

---

## [Beginner - array and declaring variables](https://discourse.nodered.org/t/beginner-array-and-declaring-variables/26964)

<div class="topic-metadata">

**Author:** [@lenvirthus](https://discourse.nodered.org/u/lenvirthus)\
**Replies:** 4\
**Last updated:** [22 May 2020 02:44 UTC](https://discourse.nodered.org/t/beginner-array-and-declaring-variables/26964 "2020-05-22T02:44:47Z")

</div>

Hi Everyone, I am new to this. Just after some advice or direction on how to do this. What I'm trying to achieve - I have a flow that runs on a time trigger -\> extracts data from a database -\> formats that data from t…

---

## [Custom Admin API with authentication](https://discourse.nodered.org/t/custom-admin-api-with-authentication/27051)

<div class="topic-metadata">

**Author:** [@ashish-y](https://discourse.nodered.org/u/ashish-y)\
**Replies:** 4\
**Last updated:** [21 May 2020 23:51 UTC](https://discourse.nodered.org/t/custom-admin-api-with-authentication/27051 "2020-05-21T23:51:45Z")

</div>

Hi, I have a custom API that fetches data from a datasource on click of a button from the node-red dropdown menu. Location of the API: packages/node\_modules/@node-red/editor-api/lib/admin/index.js adminApp.get("/test…

---

## [Pass data from angular to Node red query string and get data in Node red](https://discourse.nodered.org/t/pass-data-from-angular-to-node-red-query-string-and-get-data-in-node-red/27025)

<div class="topic-metadata">

**Author:** [@dhpatel177](https://discourse.nodered.org/u/dhpatel177)\
**Replies:** 1\
**Last updated:** [22 May 2020 00:53 UTC](https://discourse.nodered.org/t/pass-data-from-angular-to-node-red-query-string-and-get-data-in-node-red/27025 "2020-05-22T00:53:02Z")

</div>

Hello, Can we pass data from angular to node red in query string and get that data on node red initialization or before the api for getting flow is called? Thanks.

---

## [\[Example flow\] Dashboard table node](https://discourse.nodered.org/t/example-flow-dashboard-table-node/27061)

<div class="topic-metadata">

**Author:** [@thebaldgeek](https://discourse.nodered.org/u/thebaldgeek)\
**Replies:** 0\
**Last updated:** [21 May 2020 22:28 UTC](https://discourse.nodered.org/t/example-flow-dashboard-table-node/27061 "2020-05-21T22:28:07Z")

</div>

Almost every question in the forums about using the table nodes results in suggesting that the examples be used as a way to get going. The trouble with the examples is that they do not contain a msg.payload. They simpl…

---

## [JSONata: Get max and minimum temperature with timestamp](https://discourse.nodered.org/t/jsonata-get-max-and-minimum-temperature-with-timestamp/26879)

<div class="topic-metadata">

**Author:** [@JSONata](https://discourse.nodered.org/u/JSONata)\
**Replies:** 39\
**Last updated:** [21 May 2020 22:01 UTC](https://discourse.nodered.org/t/jsonata-get-max-and-minimum-temperature-with-timestamp/26879 "2020-05-21T22:01:58Z")

</div>

Ok, we have this data from influx. Temperature over the last 30 minutes \[{"time":"2020-05-18T19:09:53.000Z","Temperatur":24.1},{"time":"2020-05-18T19:09:58.000Z","Temperatur":24},{"time":"2020-05-18T19:12:48.000Z","Temp…

---

## [Http API Call in NodeRed](https://discourse.nodered.org/t/http-api-call-in-nodered/27050)

<div class="topic-metadata">

**Author:** [@Chaos](https://discourse.nodered.org/u/Chaos)\
**Replies:** 2\
**Last updated:** [21 May 2020 21:01 UTC](https://discourse.nodered.org/t/http-api-call-in-nodered/27050 "2020-05-21T21:01:58Z")

</div>

Hi I am wanting to get crypo prices from coinmarketcap. I have an API Key and the url \`https://pro-api.coinmarketcap.com. But where do i start!. I have an inject, function, http request node and a debug node. But have n…

---

## [How to append timestamp into msg.payload](https://discourse.nodered.org/t/how-to-append-timestamp-into-msg-payload/6981)

<div class="topic-metadata">

**Author:** [@gmahule](https://discourse.nodered.org/u/gmahule)\
**Replies:** 10\
**Last updated:** [21 May 2020 21:01 UTC](https://discourse.nodered.org/t/how-to-append-timestamp-into-msg-payload/6981 "2020-05-21T21:01:50Z")

</div>

Hello Everyone, I am using node-red-contrib-moment and I am using date/time formatter my problem is when i am using output as msg.payload then my original message get replaced by the time. So I want to add timestamp wit…

---

## [MongoDB node doesn't recover when mongo is restarted](https://discourse.nodered.org/t/mongodb-node-doesnt-recover-when-mongo-is-restarted/26604)

<div class="topic-metadata">

**Author:** [@cadu](https://discourse.nodered.org/u/cadu)\
**Replies:** 1\
**Last updated:** [21 May 2020 20:08 UTC](https://discourse.nodered.org/t/mongodb-node-doesnt-recover-when-mongo-is-restarted/26604 "2020-05-21T20:08:46Z")

</div>

Hello! I'm using node-red-node-mongodb which I believe is the default mongo node. When the mongo database gets restarted for whatever reason, it doesn't recover and throws the following error repeatedly: "MongoError: T…

---

## [Knot following?](https://discourse.nodered.org/t/knot-following/26999)

<div class="topic-metadata">

**Author:** [@Joaovitor](https://discourse.nodered.org/u/Joaovitor)\
**Replies:** 5\
**Last updated:** [21 May 2020 19:53 UTC](https://discourse.nodered.org/t/knot-following/26999 "2020-05-21T19:53:47Z")

</div>

I need to do a very simple task: record maximum and minimum values. I want some node to compare the current value with the previous one and see if it is bigger or smaller. If so, return and update the maximum and minimu…

---

## [Synology Docker - Fails to start after settings.js edit](https://discourse.nodered.org/t/synology-docker-fails-to-start-after-settings-js-edit/27005)

<div class="topic-metadata">

**Author:** [@dougle03](https://discourse.nodered.org/u/dougle03)\
**Replies:** 8\
**Last updated:** [21 May 2020 18:43 UTC](https://discourse.nodered.org/t/synology-docker-fails-to-start-after-settings-js-edit/27005 "2020-05-21T18:43:43Z")

</div>

Hi all, little problem here; apologies if this has been asked before (I did do a few searches). I'm running NR in Docker on my Synology NAS since Jan with no issues. This evening, whilst tinkering, I decided to try and…

---

## [Live stream with a camera pi on node red dashboard](https://discourse.nodered.org/t/live-stream-with-a-camera-pi-on-node-red-dashboard/10594)

<div class="topic-metadata">

**Author:** [@khalil](https://discourse.nodered.org/u/khalil)\
**Replies:** 7\
**Last updated:** [21 May 2020 17:32 UTC](https://discourse.nodered.org/t/live-stream-with-a-camera-pi-on-node-red-dashboard/10594 "2020-05-21T17:32:26Z")

</div>

Hi everyone. I am trying to make a live stream with my Camera Pi on my dashboard node red. i used the RPi\_Cam\_Web\_Interface idea it worked well when i used a template whith this code below Now i am asking if there is …

---

## [Smart plug - tuya](https://discourse.nodered.org/t/smart-plug-tuya/24946)

<div class="topic-metadata">

**Author:** [@aabbas](https://discourse.nodered.org/u/aabbas)\
**Replies:** 12\
**Last updated:** [21 May 2020 16:09 UTC](https://discourse.nodered.org/t/smart-plug-tuya/24946 "2020-05-21T16:09:53Z")

</div>

Hi, I have a smart plug (ZOOZE). I installed smart tuya node on node red but I found that I can't connect to the device if I don' have the device key. Have you an idea how can I find the device key? Thank you

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

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