# General

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

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

**Page:** 860

---

## [Sqlite3 constant issues](https://discourse.nodered.org/t/sqlite3-constant-issues/14090)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 28\
**Last updated:** [11 August 2019 07:53 UTC](https://discourse.nodered.org/t/sqlite3-constant-issues/14090 "2019-08-11T07:53:30Z")

</div>

I realise that SQLITE3 is an external module and not the responsibility of the Node-Red guys, but honestly, every time there is an upgrade showing in the NR palette manager for SQLITE3 in Node-Red (and thanks to DCJ and …

---

## [How to create an event in an agenda](https://discourse.nodered.org/t/how-to-create-an-event-in-an-agenda/12900)

<div class="topic-metadata">

**Author:** [@mike67](https://discourse.nodered.org/u/mike67)\
**Replies:** 21\
**Last updated:** [10 August 2019 22:30 UTC](https://discourse.nodered.org/t/how-to-create-an-event-in-an-agenda/12900 "2019-08-10T22:30:15Z")

</div>

Hello I am looking for the possibility to create, move and delete an event in an agenda by the way of a simple mail, for example, or any other way I have seen that it is possible to create a .ics file in wich it is pos…

---

## [Is there a way to reload functionGlobalContext items without restarting NR?](https://discourse.nodered.org/t/is-there-a-way-to-reload-functionglobalcontext-items-without-restarting-nr/14205)

<div class="topic-metadata">

**Author:** [@thatcadguy](https://discourse.nodered.org/u/thatcadguy)\
**Replies:** 4\
**Last updated:** [10 August 2019 21:26 UTC](https://discourse.nodered.org/t/is-there-a-way-to-reload-functionglobalcontext-items-without-restarting-nr/14205 "2019-08-10T21:26:13Z")

</div>

See subject. Thanks in advance.

---

## [Why the string split result including the "undefined"?](https://discourse.nodered.org/t/why-the-string-split-result-including-the-undefined/14195)

<div class="topic-metadata">

**Author:** [@316248269](https://discourse.nodered.org/u/316248269)\
**Replies:** 3\
**Last updated:** [10 August 2019 19:59 UTC](https://discourse.nodered.org/t/why-the-string-split-result-including-the-undefined/14195 "2019-08-10T19:59:06Z")

</div>

Hi: I write this function to split a string. var D = msg.payload; var M = ; var j = 0; for(var i = 0; i \< D.length; i++){ if(D\[i\]!='|') M\[j\] += D\[i\]; else j++; } msg.payload = M; return msg; For example, if …

---

## [Lists. Need a bit of help](https://discourse.nodered.org/t/lists-need-a-bit-of-help/14157)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 14\
**Last updated:** [10 August 2019 15:44 UTC](https://discourse.nodered.org/t/lists-need-a-bit-of-help/14157 "2019-08-10T15:44:23Z")

</div>

I'm kind of stuck with a problem. (Apart from the obvious) Here is part of the flow and the list generation: \[{"id":"1deb29d5.dfb98e","type":"ui\_button","z":"a3bd09a.b852978","name":"Generate reboot history list","gro…

---

## [Time interval filter](https://discourse.nodered.org/t/time-interval-filter/14193)

<div class="topic-metadata">

**Author:** [@Agrotar](https://discourse.nodered.org/u/Agrotar)\
**Replies:** 2\
**Last updated:** [10 August 2019 15:27 UTC](https://discourse.nodered.org/t/time-interval-filter/14193 "2019-08-10T15:27:37Z")

</div>

Hello I'm trying to program so that a msg will be given only from monday to friday between 8 and 15 o'clock. The passing on with "if" comands in workdays I got it. Now I do not know how to do that with the time interva…

---

## [MS Azure :Text To Speech API](https://discourse.nodered.org/t/ms-azure-text-to-speech-api/11827)

<div class="topic-metadata">

**Author:** [@ohori](https://discourse.nodered.org/u/ohori)\
**Replies:** 1\
**Last updated:** [10 August 2019 15:05 UTC](https://discourse.nodered.org/t/ms-azure-text-to-speech-api/11827 "2019-08-10T15:05:34Z")

</div>

Regarding node-red-contrib-cognitive-services, Has anyone ever run the Text To Speech API node? I tried to put the connection ID of azure's speech api in this node and tried, but for some reason a connection error occu…

---

## [Alarm clock with weekly function](https://discourse.nodered.org/t/alarm-clock-with-weekly-function/14190)

<div class="topic-metadata">

**Author:** [@Kiwi\_gamer01](https://discourse.nodered.org/u/Kiwi_gamer01)\
**Replies:** 1\
**Last updated:** [10 August 2019 11:39 UTC](https://discourse.nodered.org/t/alarm-clock-with-weekly-function/14190 "2019-08-10T11:39:52Z")

</div>

I want an alarm clock control in which one should set the time and the days at which the alarm should ring. The weekdays should be switched on by dashboard switch. And the time should be specified via a text input, switc…

---

## [HTTP-in get Request](https://discourse.nodered.org/t/http-in-get-request/14139)

<div class="topic-metadata">

**Author:** [@maxmueller50](https://discourse.nodered.org/u/maxmueller50)\
**Replies:** 14\
**Last updated:** [10 August 2019 08:41 UTC](https://discourse.nodered.org/t/http-in-get-request/14139 "2019-08-10T08:41:27Z")

</div>

hi I would like to solve a data application with http:/ (it is a little bit new land for me) with NodeRed I could solve our irrigation system fully automatically (Raspi PI as CPU and 3 ESP8266 for the control of Pump a…

---

## [\[SOLVED\] Off Topic - Weird issue with MQTT](https://discourse.nodered.org/t/solved-off-topic-weird-issue-with-mqtt/14177)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 12\
**Last updated:** [10 August 2019 07:50 UTC](https://discourse.nodered.org/t/solved-off-topic-weird-issue-with-mqtt/14177 "2019-08-10T07:50:20Z")

</div>

I must have done something to my system about three weeks ago because I can no longer get any of my WeMos devices, with ESPEasy installed, to connect to a MQTT broker running on a Pi. the broker is fine since NR on a Pi…

---

## [Help with button { } input for JSON string](https://discourse.nodered.org/t/help-with-button-input-for-json-string/14185)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 8\
**Last updated:** [10 August 2019 03:50 UTC](https://discourse.nodered.org/t/help-with-button-input-for-json-string/14185 "2019-08-10T03:50:05Z")

</div>

I've journeyed off and need to make a JSON string to be sent from a button when pressed. Playing in the function node, I get that to make a msg it needs to be like this: (example) msg = { payload: '\<font color = '…

---

## [LIRC input node](https://discourse.nodered.org/t/lirc-input-node/14181)

<div class="topic-metadata">

**Author:** [@asandford](https://discourse.nodered.org/u/asandford)\
**Replies:** 1\
**Last updated:** [9 August 2019 23:51 UTC](https://discourse.nodered.org/t/lirc-input-node/14181 "2019-08-09T23:51:24Z")

</div>

I'm building a lighting feature that I want to control with an IR remote but haven't found any LIRC input node (something like the serial node would be ideal). I'll be using a first gen Pi-0 so no BT or WIFI (this will …

---

## [Transform JSON field to string array](https://discourse.nodered.org/t/transform-json-field-to-string-array/14163)

<div class="topic-metadata">

**Author:** [@carlosglez](https://discourse.nodered.org/u/carlosglez)\
**Replies:** 8\
**Last updated:** [9 August 2019 17:24 UTC](https://discourse.nodered.org/t/transform-json-field-to-string-array/14163 "2019-08-09T17:24:32Z")

</div>

Hello, I am working with the node "node-red-contrib-modbustcp" and I am trying to create a server. I know that the server is working because I am connected to it by using a modbus master. The problem is that I need to t…

---

## [Custom Node with multiple outputs](https://discourse.nodered.org/t/custom-node-with-multiple-outputs/14173)

<div class="topic-metadata">

**Author:** [@stamer](https://discourse.nodered.org/u/stamer)\
**Replies:** 4\
**Last updated:** [9 August 2019 16:52 UTC](https://discourse.nodered.org/t/custom-node-with-multiple-outputs/14173 "2019-08-09T16:52:10Z")

</div>

Hi, I am developing a Custom Node and I want to have 2 outputs. Is this possible? I've tried, but have not luck.. Many thanks.

---

## [How to create a msg with multi parameters](https://discourse.nodered.org/t/how-to-create-a-msg-with-multi-parameters/14175)

<div class="topic-metadata">

**Author:** [@316248269](https://discourse.nodered.org/u/316248269)\
**Replies:** 3\
**Last updated:** [9 August 2019 16:35 UTC](https://discourse.nodered.org/t/how-to-create-a-msg-with-multi-parameters/14175 "2019-08-09T16:35:10Z")

</div>

Hi: I want to creat a new msg in function node like the msg below with multi parameters. How I should write? msg.payload : Object object weather: "Rain" temp\_maxc: 25.5 temp\_minc: 18.3 humidity: 53 pressure: 1000

---

## [Newbee help, netflix or spotify playing](https://discourse.nodered.org/t/newbee-help-netflix-or-spotify-playing/14172)

<div class="topic-metadata">

**Author:** [@eke](https://discourse.nodered.org/u/eke)\
**Replies:** 5\
**Last updated:** [9 August 2019 16:23 UTC](https://discourse.nodered.org/t/newbee-help-netflix-or-spotify-playing/14172 "2019-08-09T16:23:44Z")

</div>

Hi, Im using node red to create my automations for Home Assistant and i need help to solve my problem in my latest flow. Im trying to build a flow that listens to the status of my chromecast (playing,pause and stop) an…

---

## [Best way to publish a list of MQTT topics in one shot?](https://discourse.nodered.org/t/best-way-to-publish-a-list-of-mqtt-topics-in-one-shot/14101)

<div class="topic-metadata">

**Author:** [@thatcadguy](https://discourse.nodered.org/u/thatcadguy)\
**Replies:** 12\
**Last updated:** [9 August 2019 15:56 UTC](https://discourse.nodered.org/t/best-way-to-publish-a-list-of-mqtt-topics-in-one-shot/14101 "2019-08-09T15:56:01Z")

</div>

I need to publish a list (object really) of topics to an MQTT broker -- is there a way to publish multiple topics in one shot, or is the best bet to run my list through a split node coupled with a publish node?

---

## [Frequency setting of the IBM Iot input](https://discourse.nodered.org/t/frequency-setting-of-the-ibm-iot-input/14077)

<div class="topic-metadata">

**Author:** [@kradl](https://discourse.nodered.org/u/kradl)\
**Replies:** 2\
**Last updated:** [9 August 2019 14:21 UTC](https://discourse.nodered.org/t/frequency-setting-of-the-ibm-iot-input/14077 "2019-08-09T14:21:31Z")

</div>

I am trying to make a node-red project based on the cloud. That I am using a sensorTag sensor and can adjust the frequency at which data is sent. But in node-red, the frequency of the input data is only 1Hz, I would like…

---

## [Out-of-The-Box CI/CD Automation](https://discourse.nodered.org/t/out-of-the-box-ci-cd-automation/13948)

<div class="topic-metadata">

**Author:** [@leftShark2019](https://discourse.nodered.org/u/leftShark2019)\
**Replies:** 6\
**Last updated:** [8 August 2019 20:17 UTC](https://discourse.nodered.org/t/out-of-the-box-ci-cd-automation/13948 "2019-08-08T20:17:57Z")

</div>

Hello, Does anyone know if there are any out-of-the-box tools that can hook into Node-RED's flow import/export function for continuous delivery? It doesn't need to be related to any devOps instances. If someone could p…

---

## [{"err":"Offline","message":"no connection to modbus server"}"](https://discourse.nodered.org/t/err-offline-message-no-connection-to-modbus-server/14167)

<div class="topic-metadata">

**Author:** [@carlosglez](https://discourse.nodered.org/u/carlosglez)\
**Replies:** 7\
**Last updated:** [9 August 2019 13:11 UTC](https://discourse.nodered.org/t/err-offline-message-no-connection-to-modbus-server/14167 "2019-08-09T13:11:47Z")

</div>

Hello I am using the package "node-red-contrib-modbustcp" . I create a modbus tcpip server and it worked fine until it appeared the following error: "{"err":"Offline","message":"no connection to modbus server"}" and also…

---

## [Detect if device is online / offline](https://discourse.nodered.org/t/detect-if-device-is-online-offline/14086)

<div class="topic-metadata">

**Author:** [@ch3f](https://discourse.nodered.org/u/ch3f)\
**Replies:** 6\
**Last updated:** [9 August 2019 07:56 UTC](https://discourse.nodered.org/t/detect-if-device-is-online-offline/14086 "2019-08-09T07:56:08Z")

</div>

I'm using the node-red-node-serialport to read and send data to serial and USB ports. How can I react on disconnection of such a device? I'm looking for something like: If device A is currently connected (online), make s…

---

## [Error sending data to Azure IoT Hub](https://discourse.nodered.org/t/error-sending-data-to-azure-iot-hub/14154)

<div class="topic-metadata">

**Author:** [@mshaz](https://discourse.nodered.org/u/mshaz)\
**Replies:** 2\
**Last updated:** [9 August 2019 03:19 UTC](https://discourse.nodered.org/t/error-sending-data-to-azure-iot-hub/14154 "2019-08-09T03:19:28Z")

</div>

I have an issue sending data to Azure IoT hub. I could only send 3 parameters Temp, Humidity, AirQ. When i added the 4th line Pressure, it got disconnected. Here is the error msg : string\[93\] "Invalid JSONata express…

---

## [Can I somehow configure latitude and longitude at runtime?](https://discourse.nodered.org/t/can-i-somehow-configure-latitude-and-longitude-at-runtime/14156)

<div class="topic-metadata">

**Author:** [@TheZeke](https://discourse.nodered.org/u/TheZeke)\
**Replies:** 1\
**Last updated:** [8 August 2019 20:36 UTC](https://discourse.nodered.org/t/can-i-somehow-configure-latitude-and-longitude-at-runtime/14156 "2019-08-08T20:36:00Z")

</div>

Every time I add a node that needs a latitude or longitude I have to fill it in. I know it's not a big deal but is there a way to configure the latitude/longitude so it can be auto-filled whenever possible? I'm using d…

---

## [Upgrading node.js v8 to v10. Straight forward? Any recommended after install steps?](https://discourse.nodered.org/t/upgrading-node-js-v8-to-v10-straight-forward-any-recommended-after-install-steps/14056)

<div class="topic-metadata">

**Author:** [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Replies:** 13\
**Last updated:** [8 August 2019 18:27 UTC](https://discourse.nodered.org/t/upgrading-node-js-v8-to-v10-straight-forward-any-recommended-after-install-steps/14056 "2019-08-08T18:27:23Z")

</div>

Hi all, On windows, when upgrading Node.js from 8 LTS to 10 LTS, is there any specific steps I should/must take? By this I mean should/must I re-run Node-red installer after node.js? How about a contrib node that does…

---

## [Node Red Java Script](https://discourse.nodered.org/t/node-red-java-script/14092)

<div class="topic-metadata">

**Author:** [@Partheepan](https://discourse.nodered.org/u/Partheepan)\
**Replies:** 6\
**Last updated:** [8 August 2019 15:09 UTC](https://discourse.nodered.org/t/node-red-java-script/14092 "2019-08-08T15:09:25Z")

</div>

Hi, I want to send the messages received from in node-red to m2x at&t IoT platform which can only be numeric. To begin with, I am new to javascript. I have a javascript code which is var data\_type = { none : 0x00, l…

---

## [How can I save Prosys Simulation Server Data to MySQL Database using Node-RED?](https://discourse.nodered.org/t/how-can-i-save-prosys-simulation-server-data-to-mysql-database-using-node-red/14135)

<div class="topic-metadata">

**Author:** [@sajidb](https://discourse.nodered.org/u/sajidb)\
**Replies:** 3\
**Last updated:** [8 August 2019 12:12 UTC](https://discourse.nodered.org/t/how-can-i-save-prosys-simulation-server-data-to-mysql-database-using-node-red/14135 "2019-08-08T12:12:53Z")

</div>

I have a simulation server (Prosys Simulation Server) and I want to save the data in MySQL database. I have already setup a local database. I am using Node-RED for this task because node-red can be connected with Prosys…

---

## [Is it possible to enable / disable a node , using a dashboard switch node.?](https://discourse.nodered.org/t/is-it-possible-to-enable-disable-a-node-using-a-dashboard-switch-node/14091)

<div class="topic-metadata">

**Author:** [@georgethomas08](https://discourse.nodered.org/u/georgethomas08)\
**Replies:** 4\
**Last updated:** [8 August 2019 09:01 UTC](https://discourse.nodered.org/t/is-it-possible-to-enable-disable-a-node-using-a-dashboard-switch-node/14091 "2019-08-08T09:01:11Z")

</div>

Hi All, I would like to know is it possible to enable / disable a node, using dashboard switch node? For example: If I am using timerswitch node for different schedules of ON/OFF function, at some point of time I would…

---

## [Token in Node-Red](https://discourse.nodered.org/t/token-in-node-red/14127)

<div class="topic-metadata">

**Author:** [@Makro62](https://discourse.nodered.org/u/Makro62)\
**Replies:** 2\
**Last updated:** [8 August 2019 08:47 UTC](https://discourse.nodered.org/t/token-in-node-red/14127 "2019-08-08T08:47:33Z")

</div>

how to translate jwt in red node pleace help me

---

## [What is pattern in node-red-contrib-binary](https://discourse.nodered.org/t/what-is-pattern-in-node-red-contrib-binary/14128)

<div class="topic-metadata">

**Author:** [@anisha](https://discourse.nodered.org/u/anisha)\
**Replies:** 2\
**Last updated:** [8 August 2019 08:46 UTC](https://discourse.nodered.org/t/what-is-pattern-in-node-red-contrib-binary/14128 "2019-08-08T08:46:17Z")

</div>

I am new to node-red... For converting an integer to binary I am installing node-red-contrib-binary it shows the pattern I have no idea about that pattern Conversion 10200 into 0010 0111 1101 1000 help me to solve th…

---

## [Send payload with and function](https://discourse.nodered.org/t/send-payload-with-and-function/14111)

<div class="topic-metadata">

**Author:** [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)\
**Replies:** 3\
**Last updated:** [7 August 2019 20:22 UTC](https://discourse.nodered.org/t/send-payload-with-and-function/14111 "2019-08-07T20:22:25Z")

</div>

Hi. Need help with two sensor that I want to trigger a json payload when both of them is open. It´s magnetic contacts and I want to send the payload when both of them are open. have anybody any suggestion how to do th…

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

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