# General

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

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

**Page:** 896

---

## [Control an Amazon Smart Switch](https://discourse.nodered.org/t/control-an-amazon-smart-switch/9991)

<div class="topic-metadata">

**Author:** [@thebaldgeek](https://discourse.nodered.org/u/thebaldgeek)\
**Replies:** 4\
**Last updated:** [15 April 2019 07:01 UTC](https://discourse.nodered.org/t/control-an-amazon-smart-switch/9991 "2019-04-15T07:01:53Z")

</div>

Did some searching, but nothing comes up..... I want to control an Amazon Smart Switch (electrical power outlet) NOT with my voice, but with Node-RED. I see plenty of nodes to allow you to interact with Node-RED via Al…

---

## [Timestamp does not show correct value for my timezone](https://discourse.nodered.org/t/timestamp-does-not-show-correct-value-for-my-timezone/10010)

<div class="topic-metadata">

**Author:** [@diogodtway](https://discourse.nodered.org/u/diogodtway)\
**Replies:** 8\
**Last updated:** [15 April 2019 07:04 UTC](https://discourse.nodered.org/t/timestamp-does-not-show-correct-value-for-my-timezone/10010 "2019-04-15T07:04:53Z")

</div>

Hello, I am having some trouble with the timestamps and dates in general. My time zone is UTC (Europe/Lisbon) but when DST kicks in the time changes to UTC+1 The problem is that node-red does not take the DST in to ac…

---

## [2 inputs function: mqtt & telegram?](https://discourse.nodered.org/t/2-inputs-function-mqtt-telegram/10143)

<div class="topic-metadata">

**Author:** [@waquete](https://discourse.nodered.org/u/waquete)\
**Replies:** 2\
**Last updated:** [14 April 2019 21:27 UTC](https://discourse.nodered.org/t/2-inputs-function-mqtt-telegram/10143 "2019-04-14T21:27:20Z")

</div>

Hi there! I'm very new to nodered (what a huge world to discover!) I come to my 1st issue.... I would like to do something simple,but I cannot figure out how to do (even based on http://noderedguide.com/node-red-lectu…

---

## [Alexa API Feedback](https://discourse.nodered.org/t/alexa-api-feedback/10139)

<div class="topic-metadata">

**Author:** [@aargollo](https://discourse.nodered.org/u/aargollo)\
**Replies:** 0\
**Last updated:** [14 April 2019 20:04 UTC](https://discourse.nodered.org/t/alexa-api-feedback/10139 "2019-04-14T20:04:19Z")

</div>

Hi Guys, I working on node-red integration with Amazon Echo (Alexa) and I have doubt how to send Turn ON or Turn Off feedback. I didn´t find references on wiki Skill API each command I need to use. I found in google two…

---

## [SQLite node possible bug, how to workaround?](https://discourse.nodered.org/t/sqlite-node-possible-bug-how-to-workaround/10027)

<div class="topic-metadata">

**Author:** [@swiftnesses](https://discourse.nodered.org/u/swiftnesses)\
**Replies:** 21\
**Last updated:** [14 April 2019 18:51 UTC](https://discourse.nodered.org/t/sqlite-node-possible-bug-how-to-workaround/10027 "2019-04-14T18:51:12Z")

</div>

Hi Everyone, I've spend the last couple of days getting to know the SQLite node and attempting to apply it to a use case I'm trying to solve. Sadly, it seems a possible bug is thwarting my efforts, please see: Is the…

---

## [NodeRED and SQL data fetching problem](https://discourse.nodered.org/t/nodered-and-sql-data-fetching-problem/10119)

<div class="topic-metadata">

**Author:** [@ALOKA1432](https://discourse.nodered.org/u/ALOKA1432)\
**Replies:** 34\
**Last updated:** [14 April 2019 18:14 UTC](https://discourse.nodered.org/t/nodered-and-sql-data-fetching-problem/10119 "2019-04-14T18:14:07Z")

</div>

flow.json (2.9 KB) Hey, I am having problem while fetching the data from SQL database using MySQL node. The flow i used is attached. The date picker generates the same SQL syntax as the manual entered "from" and "to" da…

---

## [Basic advice needed on parsing JSON](https://discourse.nodered.org/t/basic-advice-needed-on-parsing-json/10130)

<div class="topic-metadata">

**Author:** [@Bigglesuk](https://discourse.nodered.org/u/Bigglesuk)\
**Replies:** 3\
**Last updated:** [14 April 2019 16:13 UTC](https://discourse.nodered.org/t/basic-advice-needed-on-parsing-json/10130 "2019-04-14T16:13:52Z")

</div>

hi. I'm relativly new to NodeRed. I like what i know it can do but i'm just trying to wrap my head around it. My current basic goal is to parse my Json correctly so i can enter it into an InfluxDB to read. I've got a SO…

---

## [Mqtt oddness on rpi](https://discourse.nodered.org/t/mqtt-oddness-on-rpi/10109)

<div class="topic-metadata">

**Author:** [@bitbucket](https://discourse.nodered.org/u/bitbucket)\
**Replies:** 5\
**Last updated:** [14 April 2019 16:01 UTC](https://discourse.nodered.org/t/mqtt-oddness-on-rpi/10109 "2019-04-14T16:01:19Z")

</div>

I've got a low-moderately complex flow that relies on mqtt input/output nodes. It pulls data from a remote source, processes it, and when done, asks for more data. It does this in an endless loop. Well, it's supposed to…

---

## [Editing Settings.js Files Problem , I'm still finding the Settings.js file empty?](https://discourse.nodered.org/t/editing-settings-js-files-problem-im-still-finding-the-settings-js-file-empty/10120)

<div class="topic-metadata">

**Author:** [@Jackyee](https://discourse.nodered.org/u/Jackyee)\
**Replies:** 13\
**Last updated:** [14 April 2019 15:50 UTC](https://discourse.nodered.org/t/editing-settings-js-files-problem-im-still-finding-the-settings-js-file-empty/10120 "2019-04-14T15:50:00Z")

</div>

After the trouble of searching, I found the settings.js file in /home/pi/.node-red but when I run it by Nano Editor it appears empty without any line and I don't know what the problem is, in previous versions, I could e…

---

## [Wrap nodes in a function](https://discourse.nodered.org/t/wrap-nodes-in-a-function/10126)

<div class="topic-metadata">

**Author:** [@manooten](https://discourse.nodered.org/u/manooten)\
**Replies:** 2\
**Last updated:** [14 April 2019 14:20 UTC](https://discourse.nodered.org/t/wrap-nodes-in-a-function/10126 "2019-04-14T14:20:40Z")

</div>

Is there a way of wrapping a set of nodes into a function? Imagine you have 5 nodes that go to a website and scrap some content, and you want to use the result of that on other flows. Create a node that does all that, an…

---

## [I am getting client is not a constructor for kafka node](https://discourse.nodered.org/t/i-am-getting-client-is-not-a-constructor-for-kafka-node/10061)

<div class="topic-metadata">

**Author:** [@VIKRAMAS](https://discourse.nodered.org/u/VIKRAMAS)\
**Replies:** 10\
**Last updated:** [14 April 2019 10:38 UTC](https://discourse.nodered.org/t/i-am-getting-client-is-not-a-constructor-for-kafka-node/10061 "2019-04-14T10:38:33Z")

</div>

I am using kafka node in node-red but it is giving client is not a constructor. The configuration parameters are correct.

---

## [Ok, something is going on](https://discourse.nodered.org/t/ok-something-is-going-on/10115)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 17\
**Last updated:** [14 April 2019 10:12 UTC](https://discourse.nodered.org/t/ok-something-is-going-on/10115 "2019-04-14T10:12:03Z")

</div>

I was mucking about with some new stuff. Suddenly: host not responding. Waiting waiting waiting. Nothing. Then I get this error: ui/css/app.min.less' wasn't found What does that mean? I powered up another RPI and…

---

## [Mqtt to telegram at a specific time](https://discourse.nodered.org/t/mqtt-to-telegram-at-a-specific-time/10084)

<div class="topic-metadata">

**Author:** [@Gehasi](https://discourse.nodered.org/u/Gehasi)\
**Replies:** 3\
**Last updated:** [14 April 2019 07:42 UTC](https://discourse.nodered.org/t/mqtt-to-telegram-at-a-specific-time/10084 "2019-04-14T07:42:44Z")

</div>

Hi, I have a mqtt temperature sensor, he is sending every 10 sec. the temperature in msg.payload.temperature. Now I want to send the temperature every morning via telegram to my cell phone. But i don't know how to do it…

---

## [NanoPi M4 Node-RED install difficulties](https://discourse.nodered.org/t/nanopi-m4-node-red-install-difficulties/10048)

<div class="topic-metadata">

**Author:** [@RickW](https://discourse.nodered.org/u/RickW)\
**Replies:** 13\
**Last updated:** [14 April 2019 00:45 UTC](https://discourse.nodered.org/t/nanopi-m4-node-red-install-difficulties/10048 "2019-04-14T00:45:36Z")

</div>

https://www.friendlyarm.com/index.php?route=product/product&product\_id=234 I was working on a project using a Raspberry Pi 3B+ and kept running into road blocks. The last one was trying to get Real Time Clock (RTC) to …

---

## [How to implement integration with Alexa door lock](https://discourse.nodered.org/t/how-to-implement-integration-with-alexa-door-lock/10042)

<div class="topic-metadata">

**Author:** [@aargollo](https://discourse.nodered.org/u/aargollo)\
**Replies:** 4\
**Last updated:** [13 April 2019 12:58 UTC](https://discourse.nodered.org/t/how-to-implement-integration-with-alexa-door-lock/10042 "2019-04-13T12:58:11Z")

</div>

Hi Guys, right now I´m working node-red to integrate with amazon Echo (Alexa) and I have success to integrate Switches but I have doubts how to do it well with door lock. I seen that the Alex Home node sending a command…

---

## [How to install and use alpha version of a contrib](https://discourse.nodered.org/t/how-to-install-and-use-alpha-version-of-a-contrib/10112)

<div class="topic-metadata">

**Author:** [@mike67](https://discourse.nodered.org/u/mike67)\
**Replies:** 3\
**Last updated:** [13 April 2019 21:57 UTC](https://discourse.nodered.org/t/how-to-install-and-use-alpha-version-of-a-contrib/10112 "2019-04-13T21:57:35Z")

</div>

Hello I try to use and install google-actions 2.0.0 alpha, using this command :slight\_smile: npm install node-red-contrib-google-action@alpha But I think that doesn't work correctly, because I get a return message :sl…

---

## [Node-red dashboard login sign in/out simultaneously in all devices](https://discourse.nodered.org/t/node-red-dashboard-login-sign-in-out-simultaneously-in-all-devices/10018)

<div class="topic-metadata">

**Author:** [@nassima100](https://discourse.nodered.org/u/nassima100)\
**Replies:** 2\
**Last updated:** [13 April 2019 21:29 UTC](https://discourse.nodered.org/t/node-red-dashboard-login-sign-in-out-simultaneously-in-all-devices/10018 "2019-04-13T21:29:40Z")

</div>

Hello, I'm facing a serious problem and I have no idea how to solve it. I've added login to my dashboard using the flow below, It works fine "if you use only one device", but when I tried to sign in from another device …

---

## [Any way to have return key submit a ui\_form?](https://discourse.nodered.org/t/any-way-to-have-return-key-submit-a-ui-form/10099)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 2\
**Last updated:** [13 April 2019 17:42 UTC](https://discourse.nodered.org/t/any-way-to-have-return-key-submit-a-ui-form/10099 "2019-04-13T17:42:35Z")

</div>

I have a ui\_form and I want to have the return key act as if the Submit button was pressed. Can anyone think of away to accomplish this? Paul

---

## [Trigger node and global variables](https://discourse.nodered.org/t/trigger-node-and-global-variables/10101)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 13\
**Last updated:** [13 April 2019 13:05 UTC](https://discourse.nodered.org/t/trigger-node-and-global-variables/10101 "2019-04-13T13:05:50Z")

</div>

Hi again folks. I have a trigger node and I want it to wait a certain time. So I say: Send: existing msg Then: wait for ....... And I can only set milliseconds; seconds; minutes;hours; etc. I want this value to…

---

## [Open/Close Sun screen with light thresholds](https://discourse.nodered.org/t/open-close-sun-screen-with-light-thresholds/10092)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 7\
**Last updated:** [13 April 2019 11:22 UTC](https://discourse.nodered.org/t/open-close-sun-screen-with-light-thresholds/10092 "2019-04-13T11:22:35Z")

</div>

I have light sensor which returns a lux value every 5 minutes. My flow checks for some weather variables (rain/wind) and light. If rain and/or too much wind, open screen. If rain/wind ok and lux\>2750, close screen. I…

---

## [Accessing specific ToneAnalyzer values](https://discourse.nodered.org/t/accessing-specific-toneanalyzer-values/10081)

<div class="topic-metadata">

**Author:** [@nhar](https://discourse.nodered.org/u/nhar)\
**Replies:** 3\
**Last updated:** [13 April 2019 10:03 UTC](https://discourse.nodered.org/t/accessing-specific-toneanalyzer-values/10081 "2019-04-13T10:03:57Z")

</div>

Is there a way to access specific values from the ToneAnalyzer? For example, if I give it a text and it outputs a sadness tone value of 0.0332, is there a way to directly access the value through a variable? I checked th…

---

## [How do I make a copy of a global object without changing it?](https://discourse.nodered.org/t/how-do-i-make-a-copy-of-a-global-object-without-changing-it/10087)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 3\
**Last updated:** [13 April 2019 08:28 UTC](https://discourse.nodered.org/t/how-do-i-make-a-copy-of-a-global-object-without-changing-it/10087 "2019-04-13T08:28:04Z")

</div>

macOS High Sierra 10.13.6 Node-RED version: v0.20.5 Node.js version: v10.15.3 Darwin 17.7.0 x64 LE I seem to have run into an issue using a global where I'm not using a copy of it, but a pointer. I do this: var arr1…

---

## [Problems using nod-red-node-dweetio](https://discourse.nodered.org/t/problems-using-nod-red-node-dweetio/10078)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 2\
**Last updated:** [13 April 2019 05:58 UTC](https://discourse.nodered.org/t/problems-using-nod-red-node-dweetio/10078 "2019-04-13T05:58:03Z")

</div>

I'm using Dweetio node on my Win10 machine and its often causing Node-RED to fall over and fail this is my most recent failure 12 Apr 16:43:30 - Error: not opened at WebSocket.send (C:\\Users\\Simon\\.node-red\\node\_mo…

---

## [How do I change a JSON Object Key](https://discourse.nodered.org/t/how-do-i-change-a-json-object-key/10089)

<div class="topic-metadata">

**Author:** [@Greenprotocol](https://discourse.nodered.org/u/Greenprotocol)\
**Replies:** 2\
**Last updated:** [13 April 2019 05:17 UTC](https://discourse.nodered.org/t/how-do-i-change-a-json-object-key/10089 "2019-04-13T05:17:04Z")

</div>

Hi everyone, I am fairly new to Node-Red and am trying to change JSON Object keys. I have two GPS Trackers that output their tracking data as per the msg.payloads below. I will need to change the JSON Object keys of…

---

## [User error, coding error between Function and SQlite nodes no](https://discourse.nodered.org/t/user-error-coding-error-between-function-and-sqlite-nodes-no/10085)

<div class="topic-metadata">

**Author:** [@Raj](https://discourse.nodered.org/u/Raj)\
**Replies:** 2\
**Last updated:** [12 April 2019 22:44 UTC](https://discourse.nodered.org/t/user-error-coding-error-between-function-and-sqlite-nodes-no/10085 "2019-04-12T22:44:24Z")

</div>

Hi, I'm sure this is something I am doing wrong. I run a query from a function node against a SQLite node passing data in the msg.topic. The result is returned in the msg.payload. I now want to use that information to…

---

## [Get ready, here they come!](https://discourse.nodered.org/t/get-ready-here-they-come/10082)

<div class="topic-metadata">

**Author:** [@JayDickson](https://discourse.nodered.org/u/JayDickson)\
**Replies:** 0\
**Last updated:** [12 April 2019 21:52 UTC](https://discourse.nodered.org/t/get-ready-here-they-come/10082 "2019-04-12T21:52:11Z")

</div>

With the announcement that Stringify is shutting down there's a ton of talk on the home automation subreddit about people dipping their toes into node-RED for the first time. I for one am happy to see so many people taki…

---

## [WiFi and Mobile Data](https://discourse.nodered.org/t/wifi-and-mobile-data/10069)

<div class="topic-metadata">

**Author:** [@deven2020](https://discourse.nodered.org/u/deven2020)\
**Replies:** 8\
**Last updated:** [12 April 2019 19:04 UTC](https://discourse.nodered.org/t/wifi-and-mobile-data/10069 "2019-04-12T19:04:53Z")

</div>

Hi I have connected my TP-LINK lights via Wifi and node-red raspberry. I also added 3G dongle on my raspberry PI to provide back up for internet access. Now, how would i able to configure/develop to switch the communi…

---

## [Reading value of type time on S7 PLC](https://discourse.nodered.org/t/reading-value-of-type-time-on-s7-plc/9989)

<div class="topic-metadata">

**Author:** [@elisascheer](https://discourse.nodered.org/u/elisascheer)\
**Replies:** 5\
**Last updated:** [12 April 2019 17:56 UTC](https://discourse.nodered.org/t/reading-value-of-type-time-on-s7-plc/9989 "2019-04-12T17:56:03Z")

</div>

Hi, I am currently working with a Simatic 2040 and a PLC. Node-red is installed on the Simatic and I managed to retrieve values from it. But I need to retrieve values of type Time but I didn't see in the node-red-cont…

---

## [Why multiple node\_modules directories?](https://discourse.nodered.org/t/why-multiple-node-modules-directories/10005)

<div class="topic-metadata">

**Author:** [@nodoro](https://discourse.nodered.org/u/nodoro)\
**Replies:** 2\
**Last updated:** [12 April 2019 16:56 UTC](https://discourse.nodered.org/t/why-multiple-node-modules-directories/10005 "2019-04-12T16:56:57Z")

</div>

On my Raspberry Pi install, I used to find the core nodes in '/usr/lib/node\_modules/node-red/nodes/core' After running the UPGRADE command found in the Running on Raspberry Pi page, it looks like the core nodes have bee…

---

## [Is it possible to add my own Splash Screen?](https://discourse.nodered.org/t/is-it-possible-to-add-my-own-splash-screen/10075)

<div class="topic-metadata">

**Author:** [@Jackyee](https://discourse.nodered.org/u/Jackyee)\
**Replies:** 0\
**Last updated:** [12 April 2019 16:52 UTC](https://discourse.nodered.org/t/is-it-possible-to-add-my-own-splash-screen/10075 "2019-04-12T16:52:27Z")

</div>

Can I add my own Icon and add my own Splash screen to the application of Node-Red that I built?

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

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