# General

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

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

**Page:** 795

---

## [How to Toggle a 2 Gang switch?](https://discourse.nodered.org/t/how-to-toggle-a-2-gang-switch/21755)

<div class="topic-metadata">

**Author:** [@Bifrost](https://discourse.nodered.org/u/Bifrost)\
**Replies:** 17\
**Last updated:** [16 February 2020 20:00 UTC](https://discourse.nodered.org/t/how-to-toggle-a-2-gang-switch/21755 "2020-02-16T20:00:37Z")

</div>

Hi! First post here. I have tried for a week now but i can't find a sulotion. I have a Sonoff t0 2 gang with tasmota on, that i want to have the relays to be oppsite to eachother att all time. Like Power1 is ON then …

---

## [\[solved\] Philips Hue and LIFX RGB-sync](https://discourse.nodered.org/t/solved-philips-hue-and-lifx-rgb-sync/21817)

<div class="topic-metadata">

**Author:** [@jeremy8810](https://discourse.nodered.org/u/jeremy8810)\
**Replies:** 4\
**Last updated:** [16 February 2020 19:49 UTC](https://discourse.nodered.org/t/solved-philips-hue-and-lifx-rgb-sync/21817 "2020-02-16T19:49:11Z")

</div>

Hi There, I am a bit new to coding with the function-node. What I am trying to do: I have Philips Hue lights and LIFX lights. When I change the color of the Philips lights, I want to send this to the Lifx lights to ch…

---

## [Queue or gate or function](https://discourse.nodered.org/t/queue-or-gate-or-function/21774)

<div class="topic-metadata">

**Author:** [@debouttek](https://discourse.nodered.org/u/debouttek)\
**Replies:** 3\
**Last updated:** [16 February 2020 19:20 UTC](https://discourse.nodered.org/t/queue-or-gate-or-function/21774 "2020-02-16T19:20:21Z")

</div>

Need some advice on the direction that I need to search for. I have a MQTT node with msg.payload ON that stays ON for 3 sec and then goes OFF until MQTT sends out a new message. (Motion sensor) Sometimes when the sun i…

---

## [Access to header variables in node red editor for authentication](https://discourse.nodered.org/t/access-to-header-variables-in-node-red-editor-for-authentication/21806)

<div class="topic-metadata">

**Author:** [@crackytsi](https://discourse.nodered.org/u/crackytsi)\
**Replies:** 3\
**Last updated:** [16 February 2020 18:56 UTC](https://discourse.nodered.org/t/access-to-header-variables-in-node-red-editor-for-authentication/21806 "2020-02-16T18:56:01Z")

</div>

Hi, I want to implement a customer authentication for node red that uses a http header set by a reverse proxy. After several time searching in the internet, I was still unable to find any hint that pointed me in the rig…

---

## [Timerswitch triggering at wrong time, timezone offset?](https://discourse.nodered.org/t/timerswitch-triggering-at-wrong-time-timezone-offset/21801)

<div class="topic-metadata">

**Author:** [@RudyFiero](https://discourse.nodered.org/u/RudyFiero)\
**Replies:** 3\
**Last updated:** [16 February 2020 18:34 UTC](https://discourse.nodered.org/t/timerswitch-triggering-at-wrong-time-timezone-offset/21801 "2020-02-16T18:34:12Z")

</div>

I am using Node-red 1.0.3. I am having a problem with node-red-contrib-timerswitch 1.2.4 The time set to trigger an event is off by six hours. I am in GMT-6 so I assume the problem I am having is related to the time …

---

## [Node-Red ESP32 comms](https://discourse.nodered.org/t/node-red-esp32-comms/21531)

<div class="topic-metadata">

**Author:** [@m\_elias](https://discourse.nodered.org/u/m_elias)\
**Replies:** 11\
**Last updated:** [16 February 2020 14:46 UTC](https://discourse.nodered.org/t/node-red-esp32-comms/21531 "2020-02-16T14:46:35Z")

</div>

I'm considering building a physical IoT control panel for my 2 yr old son, he loves buttons & lights! My initial thoughts were to use an ESP8266 with Tasmota and communicate via MQTT with Node Red. The ESP8266 would onl…

---

## [Nodered NORA recently cannot be found anymore by google assistant](https://discourse.nodered.org/t/nodered-nora-recently-cannot-be-found-anymore-by-google-assistant/21795)

<div class="topic-metadata">

**Author:** [@page](https://discourse.nodered.org/u/page)\
**Replies:** 1\
**Last updated:** [16 February 2020 14:23 UTC](https://discourse.nodered.org/t/nodered-nora-recently-cannot-be-found-anymore-by-google-assistant/21795 "2020-02-16T14:23:49Z")

</div>

I am a fanatic user of NodeRed, and use nodered NORA for integrating devices with Google Assistant. However since a few days, Google assistant responds with "het spijt me, het lijkt erop dat nora niet beschikbaar is " …

---

## [MSSQL Datetime issues](https://discourse.nodered.org/t/mssql-datetime-issues/21540)

<div class="topic-metadata">

**Author:** [@Simone](https://discourse.nodered.org/u/Simone)\
**Replies:** 37\
**Last updated:** [16 February 2020 13:40 UTC](https://discourse.nodered.org/t/mssql-datetime-issues/21540 "2020-02-16T13:40:37Z")

</div>

I'm parsing a CSV file and sending values into a table on a MSSQL Server (2008). Everithings goes well but date and time, after the sql string are not in the italian format and MSSQL server refuses the insert. This is …

---

## [Problem Nodered, Alexa, Openhab](https://discourse.nodered.org/t/problem-nodered-alexa-openhab/21784)

<div class="topic-metadata">

**Author:** [@TiaPreve](https://discourse.nodered.org/u/TiaPreve)\
**Replies:** 0\
**Last updated:** [16 February 2020 11:53 UTC](https://discourse.nodered.org/t/problem-nodered-alexa-openhab/21784 "2020-02-16T11:53:46Z")

</div>

Hi there, I've got a problem since couple of week using Openhab, Node-Red and Amazon Alexa. I enabled the Openhab Skill months and months ago on my Alexa's account and everything worked for the past months. Since coup…

---

## [Put item to dynamodb](https://discourse.nodered.org/t/put-item-to-dynamodb/21779)

<div class="topic-metadata">

**Author:** [@hacralo](https://discourse.nodered.org/u/hacralo)\
**Replies:** 0\
**Last updated:** [16 February 2020 10:01 UTC](https://discourse.nodered.org/t/put-item-to-dynamodb/21779 "2020-02-16T10:01:33Z")

</div>

I have a mqtt in node which is connected to a mosquitto broker. When a message is published to the broker, I have a function which converts the message to a dynamodb record item. Now I need to point this record in dynamo…

---

## [Nora, couldn't reach Nora](https://discourse.nodered.org/t/nora-couldnt-reach-nora/21765)

<div class="topic-metadata">

**Author:** [@jimmy232](https://discourse.nodered.org/u/jimmy232)\
**Replies:** 1\
**Last updated:** [16 February 2020 00:47 UTC](https://discourse.nodered.org/t/nora-couldnt-reach-nora/21765 "2020-02-16T00:47:13Z")

</div>

Nora has been working well for over 12 months and suddenly there has been an issue with connecting to Nora. I have revoked the token a few times and added new nodes without any luck. Can anyone help?

---

## [VLC multimedia player con Node Red](https://discourse.nodered.org/t/vlc-multimedia-player-con-node-red/21761)

<div class="topic-metadata">

**Author:** [@renzolang](https://discourse.nodered.org/u/renzolang)\
**Replies:** 4\
**Last updated:** [15 February 2020 23:35 UTC](https://discourse.nodered.org/t/vlc-multimedia-player-con-node-red/21761 "2020-02-15T23:35:19Z")

</div>

How can i run VLC CLI commands on rc ,like stop pause etc. ,when music is playing ? On the linux console jus i have to write pause stop next , after \> did someone work in this kind os situations?

---

## [V1.0.3 XML node Error: Invalid character in name](https://discourse.nodered.org/t/v1-0-3-xml-node-error-invalid-character-in-name/21730)

<div class="topic-metadata">

**Author:** [@roleeka](https://discourse.nodered.org/u/roleeka)\
**Replies:** 8\
**Last updated:** [15 February 2020 19:30 UTC](https://discourse.nodered.org/t/v1-0-3-xml-node-error-invalid-character-in-name/21730 "2020-02-15T19:30:26Z")

</div>

Hi Guys, I stack in a strange issue regarding convert JSON to XML in node-red v1.0.3. I have a code where I composing the specified XML for 3rd party server endpoint communication. The structure need to consist special …

---

## [Its posible open a program from node-red in Windows?](https://discourse.nodered.org/t/its-posible-open-a-program-from-node-red-in-windows/21734)

<div class="topic-metadata">

**Author:** [@Nxito](https://discourse.nodered.org/u/Nxito)\
**Replies:** 5\
**Last updated:** [15 February 2020 16:29 UTC](https://discourse.nodered.org/t/its-posible-open-a-program-from-node-red-in-windows/21734 "2020-02-15T16:29:02Z")

</div>

Is it possible to open a cmd terminal from node-Red on the local computer? I wanted to open a program like ".exe" or ".jpg" from node-red. I don't know if I'm doing something wrong, but they start in the background acco…

---

## [Why DSM node not working correctly](https://discourse.nodered.org/t/why-dsm-node-not-working-correctly/21644)

<div class="topic-metadata">

**Author:** [@lpt2007](https://discourse.nodered.org/u/lpt2007)\
**Replies:** 1\
**Last updated:** [15 February 2020 15:51 UTC](https://discourse.nodered.org/t/why-dsm-node-not-working-correctly/21644 "2020-02-15T15:51:01Z")

</div>

Why this node-red-contrib-dsm not working? I try to use it to count rf button clicks. On DSM input i get coun 1 or 2 or 3. { "triggerInput": "count", "stateOutput": "payload", "currentState": "depressed", …

---

## [Anyone connected something like this?](https://discourse.nodered.org/t/anyone-connected-something-like-this/21751)

<div class="topic-metadata">

**Author:** [@DrJohn](https://discourse.nodered.org/u/DrJohn)\
**Replies:** 2\
**Last updated:** [15 February 2020 15:45 UTC](https://discourse.nodered.org/t/anyone-connected-something-like-this/21751 "2020-02-15T15:45:58Z")

</div>

Has anyone attached this to Node Red or anything similar? I want to control some higher power things such as UFH and an immersion heater. https://www.tlc-direct.co.uk/Products/SMFSTWIFI.html

---

## [Listen to http command](https://discourse.nodered.org/t/listen-to-http-command/21754)

<div class="topic-metadata">

**Author:** [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)\
**Replies:** 1\
**Last updated:** [15 February 2020 15:29 UTC](https://discourse.nodered.org/t/listen-to-http-command/21754 "2020-02-15T15:29:55Z")

</div>

Hi. I'm trying to receive an sms in node red from a 3g modem. I attach the 3g routers config page for this. Any idea if it possible and what node I schuold use to get the text. Have tried with a lot of different solution…

---

## [Google home Nora not authorized](https://discourse.nodered.org/t/google-home-nora-not-authorized/21718)

<div class="topic-metadata">

**Author:** [@realjax](https://discourse.nodered.org/u/realjax)\
**Replies:** 2\
**Last updated:** [15 February 2020 13:56 UTC](https://discourse.nodered.org/t/google-home-nora-not-authorized/21718 "2020-02-15T13:56:15Z")

</div>

since yesterday I'm getting this all of a sudden: \[warn\] nora (CCnCk): socket connection error: not authorized What could that be?

---

## [How to make a node HTML script load a .js module?](https://discourse.nodered.org/t/how-to-make-a-node-html-script-load-a-js-module/21723)

<div class="topic-metadata">

**Author:** [@CABrouwers](https://discourse.nodered.org/u/CABrouwers)\
**Replies:** 10\
**Last updated:** [15 February 2020 12:07 UTC](https://discourse.nodered.org/t/how-to-make-a-node-html-script-load-a-js-module/21723 "2020-02-15T12:07:29Z")

</div>

This is probably a basic question, sorry for that; I am not an experienced client-side programmer. How can I make a node HTML script load a .js module? I am developing a node-red package. The HMTL script files of severa…

---

## [Timestamp on value read form OPC UA](https://discourse.nodered.org/t/timestamp-on-value-read-form-opc-ua/21599)

<div class="topic-metadata">

**Author:** [@athyc13](https://discourse.nodered.org/u/athyc13)\
**Replies:** 7\
**Last updated:** [15 February 2020 07:48 UTC](https://discourse.nodered.org/t/timestamp-on-value-read-form-opc-ua/21599 "2020-02-15T07:48:34Z")

</div>

Hi Im trying to log some data from a OPC server, i got the data flowing but i need a timestamp to keep track of the order. Just like UaExpert (gives server and client time). In what direction should i look? i have trie…

---

## [Ttn installation error](https://discourse.nodered.org/t/ttn-installation-error/21740)

<div class="topic-metadata">

**Author:** [@shubhi](https://discourse.nodered.org/u/shubhi)\
**Replies:** 1\
**Last updated:** [15 February 2020 07:17 UTC](https://discourse.nodered.org/t/ttn-installation-error/21740 "2020-02-15T07:17:39Z")

</div>

hi can you please help me in resolving this error :\\Users\\shubh.node-red\>npm install node-red-contrib-ttn npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno ENOENT npm ERR! enoent Erro…

---

## [Getting Global Variable Value](https://discourse.nodered.org/t/getting-global-variable-value/21727)

<div class="topic-metadata">

**Author:** [@an93](https://discourse.nodered.org/u/an93)\
**Replies:** 16\
**Last updated:** [15 February 2020 00:02 UTC](https://discourse.nodered.org/t/getting-global-variable-value/21727 "2020-02-15T00:02:42Z")

</div>

Hello, I am having some trouble with getting the value of global variable being set, in functions. Below is the flow screenshot; Function 4 goes: global.set("TRIGGER",msg.payload); var res = global.get('LENGTH'); …

---

## [Help with the lcd20x4-i2c node](https://discourse.nodered.org/t/help-with-the-lcd20x4-i2c-node/21721)

<div class="topic-metadata">

**Author:** [@ajaymccollum](https://discourse.nodered.org/u/ajaymccollum)\
**Replies:** 2\
**Last updated:** [14 February 2020 23:57 UTC](https://discourse.nodered.org/t/help-with-the-lcd20x4-i2c-node/21721 "2020-02-14T23:57:29Z")

</div>

So, I'm about as new as you can get with JavaScript and coding in general, so this might be tough, but please bear with me. I'm getting data from two DHT-11 temperature and humidity sensors via a raspi 4 and am successf…

---

## [Chromium / Raspbian notification](https://discourse.nodered.org/t/chromium-raspbian-notification/21611)

<div class="topic-metadata">

**Author:** [@Flixm](https://discourse.nodered.org/u/Flixm)\
**Replies:** 8\
**Last updated:** [14 February 2020 19:06 UTC](https://discourse.nodered.org/t/chromium-raspbian-notification/21611 "2020-02-14T19:06:49Z")

</div>

Hi there, i use node red on my digital kitchen wall calender (which i controll with IKEA tradfri remote... cool idea), but now i want to show a notification in chromium or in front of raspbian ...could someone show me a…

---

## [How to delete the "Return key" Character from Payload](https://discourse.nodered.org/t/how-to-delete-the-return-key-character-from-payload/21705)

<div class="topic-metadata">

**Author:** [@Fetterspanier](https://discourse.nodered.org/u/Fetterspanier)\
**Replies:** 5\
**Last updated:** [14 February 2020 18:07 UTC](https://discourse.nodered.org/t/how-to-delete-the-return-key-character-from-payload/21705 "2020-02-14T18:07:25Z")

</div>

How to delete the "Return key" Character from Payload when loading a file and using the join node as well. Im trying to use the File Node with the Join Node to get a payload that isn't split in separate lines. \[{"id"…

---

## [\[SOLVED\] Phoscon (Conbee) integration in Node-RED](https://discourse.nodered.org/t/solved-phoscon-conbee-integration-in-node-red/21693)

<div class="topic-metadata">

**Author:** [@broken.pipe](https://discourse.nodered.org/u/broken.pipe)\
**Replies:** 7\
**Last updated:** [14 February 2020 17:11 UTC](https://discourse.nodered.org/t/solved-phoscon-conbee-integration-in-node-red/21693 "2020-02-14T17:11:11Z")

</div>

Hello everybody! I am currently checking if i can use Node-RED as a standalone application (instead of Home Assistant). I have a conbee 2 stick and use it to control several thermostats and lights. For the Conbee stick t…

---

## [FTP download folder](https://discourse.nodered.org/t/ftp-download-folder/6381)

<div class="topic-metadata">

**Author:** [@Martin](https://discourse.nodered.org/u/Martin)\
**Replies:** 8\
**Last updated:** [14 February 2020 16:35 UTC](https://discourse.nodered.org/t/ftp-download-folder/6381 "2020-02-14T16:35:37Z")

</div>

Hello readers. for a proyect i need to download a folder from a FTP server. the only node what allows something close to what i need, is this one https://flows.nodered.org/node/node-red-contrib-ftp Does anyone knows how …

---

## [Var in exec nodes](https://discourse.nodered.org/t/var-in-exec-nodes/21704)

<div class="topic-metadata">

**Author:** [@zunder1990](https://discourse.nodered.org/u/zunder1990)\
**Replies:** 1\
**Last updated:** [14 February 2020 15:47 UTC](https://discourse.nodered.org/t/var-in-exec-nodes/21704 "2020-02-14T15:47:17Z")

</div>

I am having problems passing vars into exec node. I have tried two diffrent ways. One using the vars in the command line of the exec node. I have also tried passing the whole command from a function node using msg.payloa…

---

## [FTP node put empty files to the FTP server](https://discourse.nodered.org/t/ftp-node-put-empty-files-to-the-ftp-server/21697)

<div class="topic-metadata">

**Author:** [@keisi](https://discourse.nodered.org/u/keisi)\
**Replies:** 6\
**Last updated:** [14 February 2020 15:21 UTC](https://discourse.nodered.org/t/ftp-node-put-empty-files-to-the-ftp-server/21697 "2020-02-14T15:21:08Z")

</div>

Hi everybody, I am a newbie with Node-Red. I have a flow that create a csv file starting from the data contained in a payload from an instrument, save the csv in the local machine with a custom name (xxxx\_datetime.csv)…

---

## [OPC-UA to Azure-IOT hub](https://discourse.nodered.org/t/opc-ua-to-azure-iot-hub/21391)

<div class="topic-metadata">

**Author:** [@sachit](https://discourse.nodered.org/u/sachit)\
**Replies:** 1\
**Last updated:** [14 February 2020 13:40 UTC](https://discourse.nodered.org/t/opc-ua-to-azure-iot-hub/21391 "2020-02-14T13:40:41Z")

</div>

Hi, I am trying to send PLC tag data to azure iot hub using OPC UA I am able to read the tags from PLC and using Join node able to convert into object of Key-value. How we can convert the object of key-value to sing…

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

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