# General

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

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

**Page:** 734

---

## [Getting Automagic for Android messages back to Node-RED](https://discourse.nodered.org/t/getting-automagic-for-android-messages-back-to-node-red/27977)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 29\
**Last updated:** [14 June 2020 13:57 UTC](https://discourse.nodered.org/t/getting-automagic-for-android-messages-back-to-node-red/27977 "2020-06-14T13:57:07Z")

</div>

10Jun20 - Edited the thread title to more accurate reflect its contents I've just discovered Automagic for Android and want to use it to forward WhatApp alerts from phone to Node-RED So chose email as method of sending…

---

## [Sending Struct Function to Node-Red via serial](https://discourse.nodered.org/t/sending-struct-function-to-node-red-via-serial/28116)

<div class="topic-metadata">

**Author:** [@regina2898](https://discourse.nodered.org/u/regina2898)\
**Replies:** 20\
**Last updated:** [14 June 2020 14:25 UTC](https://discourse.nodered.org/t/sending-struct-function-to-node-red-via-serial/28116 "2020-06-14T14:25:03Z")

</div>

Hi, does anyone may help me? I have a struct like this (Arduino) struct attribute((packed)) SENSOR\_DATA { uint16\_t sessionid; uint8\_t idmeter\[5\]; uint16\_t standmeter\[5\]; boolean state\[5\]; boolean indicator; } sen…

---

## [Display on LCD 1602 with i2c communication](https://discourse.nodered.org/t/display-on-lcd-1602-with-i2c-communication/28305)

<div class="topic-metadata">

**Author:** [@Iustin96](https://discourse.nodered.org/u/Iustin96)\
**Replies:** 3\
**Last updated:** [14 June 2020 13:39 UTC](https://discourse.nodered.org/t/display-on-lcd-1602-with-i2c-communication/28305 "2020-06-14T13:39:02Z")

</div>

Hello! I have a little problem with my project. I need to diplay text on my lcd 1602, with i2c and i can't do that. I read the older topics. I tried with several libraries. It works perfectly with Python code, but i need…

---

## [Activate switch based on humidity](https://discourse.nodered.org/t/activate-switch-based-on-humidity/28263)

<div class="topic-metadata">

**Author:** [@tfmeier](https://discourse.nodered.org/u/tfmeier)\
**Replies:** 8\
**Last updated:** [14 June 2020 11:18 UTC](https://discourse.nodered.org/t/activate-switch-based-on-humidity/28263 "2020-06-14T11:18:41Z")

</div>

I'm at the beginning of my Node-RED journey. I have successfully installed a 4 gang smart switch (Deta switch running Tasmota) - device A - that's now controllable via Google Assistant (Nora in Node-RED). One of the swi…

---

## [Node Red and Webassembly](https://discourse.nodered.org/t/node-red-and-webassembly/4369)

<div class="topic-metadata">

**Author:** [@jewendt](https://discourse.nodered.org/u/jewendt)\
**Replies:** 8\
**Last updated:** [14 June 2020 10:53 UTC](https://discourse.nodered.org/t/node-red-and-webassembly/4369 "2020-06-14T10:53:28Z")

</div>

Has anyone done anything with Node Red and Webassemby? I am interested in trying to get Node Red working with this product but I am not sure where to start. They also have some Node.js examples but I don't know the bes…

---

## [POST to /flows with full and not be asked to merge in editor](https://discourse.nodered.org/t/post-to-flows-with-full-and-not-be-asked-to-merge-in-editor/16630)

<div class="topic-metadata">

**Author:** [@scottpageindysoft](https://discourse.nodered.org/u/scottpageindysoft)\
**Replies:** 4\
**Last updated:** [14 June 2020 07:04 UTC](https://discourse.nodered.org/t/post-to-flows-with-full-and-not-be-asked-to-merge-in-editor/16630 "2020-06-14T07:04:04Z")

</div>

Version: 1.0.1 - Docker Details about my project: I'm developing a VueJS frontend, using the ws Node.js WebSocket library with reconnecting-websocket, to control/monitor the active project in node-red. I'm communicat…

---

## [Keypad typing in sequence](https://discourse.nodered.org/t/keypad-typing-in-sequence/28288)

<div class="topic-metadata">

**Author:** [@ajaymccollum](https://discourse.nodered.org/u/ajaymccollum)\
**Replies:** 2\
**Last updated:** [13 June 2020 23:01 UTC](https://discourse.nodered.org/t/keypad-typing-in-sequence/28288 "2020-06-13T23:01:04Z")

</div>

I made a little keypad out of buttons in Dashboard, and I'm simply trying to set it up so when you click 1, it sends out the "1", then 2, it would send "12", then 3, it sends out "123", and so on. The way I have set u…

---

## [Speaker pi Node contrib not working](https://discourse.nodered.org/t/speaker-pi-node-contrib-not-working/28247)

<div class="topic-metadata">

**Author:** [@MikeLemon](https://discourse.nodered.org/u/MikeLemon)\
**Replies:** 10\
**Last updated:** [13 June 2020 21:14 UTC](https://discourse.nodered.org/t/speaker-pi-node-contrib-not-working/28247 "2020-06-13T21:14:00Z")

</div>

Hello, I've installed this speaker pi plugin: https://flows.nodered.org/node/node-red-contrib-speakerpi on my pi to play audio file from it but when making the node and putting the correct file path in and injecting tr…

---

## [Serial input won't split on hex character? (re: STX / ETX)](https://discourse.nodered.org/t/serial-input-wont-split-on-hex-character-re-stx-etx/28260)

<div class="topic-metadata">

**Author:** [@sofakng](https://discourse.nodered.org/u/sofakng)\
**Replies:** 11\
**Last updated:** [13 June 2020 19:53 UTC](https://discourse.nodered.org/t/serial-input-wont-split-on-hex-character-re-stx-etx/28260 "2020-06-13T19:53:06Z")

</div>

I'm new to Node-RED and I'm trying to use the serial input node to have it detect response messages from the serial port in the format: STX .. ETX. If I don't assign a start character and split character it displays fi…

---

## [What node can using for ReSpeaker 2 Mic Array Pi HAT v1.0](https://discourse.nodered.org/t/what-node-can-using-for-respeaker-2-mic-array-pi-hat-v1-0/27292)

<div class="topic-metadata">

**Author:** [@lingzhongli](https://discourse.nodered.org/u/lingzhongli)\
**Replies:** 44\
**Last updated:** [13 June 2020 19:24 UTC](https://discourse.nodered.org/t/what-node-can-using-for-respeaker-2-mic-array-pi-hat-v1-0/27292 "2020-06-13T19:24:09Z")

</div>

i have install ReSpeaker 2 Mic Array with raspberry Pi 3 (hardware)... how can i use the mic on ReSpeaker 2 Mic Array? need install anythings(software)? and need using what node for receive sound ? because in my project…

---

## ["TypeError: Cannot read property '0' of undefined"](https://discourse.nodered.org/t/typeerror-cannot-read-property-0-of-undefined/28285)

<div class="topic-metadata">

**Author:** [@devshri](https://discourse.nodered.org/u/devshri)\
**Replies:** 1\
**Last updated:** [13 June 2020 16:55 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-property-0-of-undefined/28285 "2020-06-13T16:55:03Z")

</div>

output: object predictions: array\[1\] 0: object fields: array\[1\] 0: "prediction" values: array\[1\] 0: array\[1\] 0: 67 error: :"TypeError: Cannot read property '0' of undefined" code in function:msg.payload=msg.payl…

---

## [Output new line character for Inject Node string](https://discourse.nodered.org/t/output-new-line-character-for-inject-node-string/28257)

<div class="topic-metadata">

**Author:** [@namgk](https://discourse.nodered.org/u/namgk)\
**Replies:** 8\
**Last updated:** [13 June 2020 15:34 UTC](https://discourse.nodered.org/t/output-new-line-character-for-inject-node-string/28257 "2020-06-13T15:34:18Z")

</div>

Hi there, I have a dummy inject node that output a string. How can I make it output a new line character? Something like this, but this doesn't work. By not working I mean this in a function node returns -1: msg.p…

---

## [Node-Red Install Script not working](https://discourse.nodered.org/t/node-red-install-script-not-working/28273)

<div class="topic-metadata">

**Author:** [@dsporer](https://discourse.nodered.org/u/dsporer)\
**Replies:** 6\
**Last updated:** [13 June 2020 12:56 UTC](https://discourse.nodered.org/t/node-red-install-script-not-working/28273 "2020-06-13T12:56:51Z")

</div>

Hello, what can I do if this official node-red install script not working my Pi3 ? curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) Error Messages are: (node:…

---

## [Node flow to convert ip to coordinates?](https://discourse.nodered.org/t/node-flow-to-convert-ip-to-coordinates/27852)

<div class="topic-metadata">

**Author:** [@Jacq](https://discourse.nodered.org/u/Jacq)\
**Replies:** 21\
**Last updated:** [13 June 2020 11:36 UTC](https://discourse.nodered.org/t/node-flow-to-convert-ip-to-coordinates/27852 "2020-06-13T11:36:41Z")

</div>

I cannot find a good example of IP address to coordinates using a geoip service, is this possible? Cheers, Jacq

---

## [Node red does not start after updating node german feiertage](https://discourse.nodered.org/t/node-red-does-not-start-after-updating-node-german-feiertage/28265)

<div class="topic-metadata">

**Author:** [@Riefnacken](https://discourse.nodered.org/u/Riefnacken)\
**Replies:** 4\
**Last updated:** [13 June 2020 07:35 UTC](https://discourse.nodered.org/t/node-red-does-not-start-after-updating-node-german-feiertage/28265 "2020-06-13T07:35:43Z")

</div>

Hello, after updating this node https://flows.nodered.org/node/node-red-contrib-german-holidays , node red cannot start anymores. Please help me. { "ccu": { "VERSION": "3.51.6", "PRODUCT": "ccu3", …

---

## [Can not deploy - document update conflict](https://discourse.nodered.org/t/can-not-deploy-document-update-conflict/28146)

<div class="topic-metadata">

**Author:** [@piptan](https://discourse.nodered.org/u/piptan)\
**Replies:** 1\
**Last updated:** [13 June 2020 03:30 UTC](https://discourse.nodered.org/t/can-not-deploy-document-update-conflict/28146 "2020-06-13T03:30:52Z")

</div>

Using node-red on IBM cloud, last night there was some failures (perhaps caused by network) causing my editor to lost contact with the server while I was trying to update codes. After a few clicks on attempting to merge …

---

## [Help in understanding output from Modbus node](https://discourse.nodered.org/t/help-in-understanding-output-from-modbus-node/28194)

<div class="topic-metadata">

**Author:** [@grant1](https://discourse.nodered.org/u/grant1)\
**Replies:** 5\
**Last updated:** [12 June 2020 06:26 UTC](https://discourse.nodered.org/t/help-in-understanding-output-from-modbus-node/28194 "2020-06-12T06:26:34Z")

</div>

I have read and re-read all the posts here about Modbus nodes and their output, but I am truly stumped as to what I am seeing. In CAS Modbus scanner, I get: while in Node-RED (taken a few minutes later, and trying t…

---

## [Simple question about JSON conversion](https://discourse.nodered.org/t/simple-question-about-json-conversion/28250)

<div class="topic-metadata">

**Author:** [@ikoth](https://discourse.nodered.org/u/ikoth)\
**Replies:** 7\
**Last updated:** [12 June 2020 22:46 UTC](https://discourse.nodered.org/t/simple-question-about-json-conversion/28250 "2020-06-12T22:46:53Z")

</div>

Hi there, I need to convert a true/false boolean return into a JSON object, exchanging the boolean values for "1" or "0": I've got this far: But I don't know what value to put in the highlighted box, as "msg.payload…

---

## [Error loading settings file from USB drive](https://discourse.nodered.org/t/error-loading-settings-file-from-usb-drive/28248)

<div class="topic-metadata">

**Author:** [@starcom](https://discourse.nodered.org/u/starcom)\
**Replies:** 8\
**Last updated:** [12 June 2020 22:37 UTC](https://discourse.nodered.org/t/error-loading-settings-file-from-usb-drive/28248 "2020-06-12T22:37:16Z")

</div>

Trying to use USB SDD for NR settings. Changing settings,js UserDir to use /mnt/usbdrive gives error Thk

---

## [Clear debug window by code](https://discourse.nodered.org/t/clear-debug-window-by-code/28243)

<div class="topic-metadata">

**Author:** [@crester](https://discourse.nodered.org/u/crester)\
**Replies:** 3\
**Last updated:** [12 June 2020 17:36 UTC](https://discourse.nodered.org/t/clear-debug-window-by-code/28243 "2020-06-12T17:36:24Z")

</div>

Hello is there a method to clear the debug window by code? Thank yoy KR

---

## [Nodered on digitalocean?](https://discourse.nodered.org/t/nodered-on-digitalocean/28244)

<div class="topic-metadata">

**Author:** [@mattk](https://discourse.nodered.org/u/mattk)\
**Replies:** 0\
**Last updated:** [12 June 2020 16:59 UTC](https://discourse.nodered.org/t/nodered-on-digitalocean/28244 "2020-06-12T16:59:57Z")

</div>

Hi, anyone have recent experience running Nodered on a digitalocean droplet? I'll have about 20 esp8266/esp32 sensors feeding into nodered via mqtt in various locations, Blynk is used to interface to the data. Using my …

---

## [Auto scale inframe](https://discourse.nodered.org/t/auto-scale-inframe/28192)

<div class="topic-metadata">

**Author:** [@nick](https://discourse.nodered.org/u/nick)\
**Replies:** 2\
**Last updated:** [12 June 2020 15:59 UTC](https://discourse.nodered.org/t/auto-scale-inframe/28192 "2020-06-12T15:59:54Z")

</div>

Hi All, i have made a infrime with the tamplate node. in this inframe i want to show a webpage, for example nodred.org. So far it all works. Now i want to auto scale the webpage to the size of my frame, can sombody e…

---

## [JSONata: taking substring of message attr](https://discourse.nodered.org/t/jsonata-taking-substring-of-message-attr/28227)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 3\
**Last updated:** [12 June 2020 13:50 UTC](https://discourse.nodered.org/t/jsonata-taking-substring-of-message-attr/28227 "2020-06-12T13:50:45Z")

</div>

I apparently haven't been paying attention when it comes to JSONata, even for simple use cases. I have a simple situation where msg.myrawdate contains a string like "2020-06-12T12:48:24.559Z". I want to extract the fir…

---

## [Node-red flask(confused](https://discourse.nodered.org/t/node-red-flask-confused/28222)

<div class="topic-metadata">

**Author:** [@googleplexian](https://discourse.nodered.org/u/googleplexian)\
**Replies:** 5\
**Last updated:** [12 June 2020 11:21 UTC](https://discourse.nodered.org/t/node-red-flask-confused/28222 "2020-06-12T11:21:12Z")

</div>

hello i used node red and flask node-red to control a devices and flask for front-end (with html and css) i have a troubles to choice a protocol to communicate flask to node-red between( http ,mqtt or there is other …

---

## [JSONata combine array of arrays in a 1:1 mapping](https://discourse.nodered.org/t/jsonata-combine-array-of-arrays-in-a-1-1-mapping/28206)

<div class="topic-metadata">

**Author:** [@JSONata](https://discourse.nodered.org/u/JSONata)\
**Replies:** 5\
**Last updated:** [12 June 2020 10:41 UTC](https://discourse.nodered.org/t/jsonata-combine-array-of-arrays-in-a-1-1-mapping/28206 "2020-06-12T10:41:22Z")

</div>

So we have an array of array with objects \[ \[{ "time" : "now" }, { "time" : "yesterday" } \], \[ { "Temperature" : 10 }, { "Temperature" : 12 } \] \] Now I want to merge these arrays that it looks like …

---

## [How do I set Hue Light brightness, color etc?](https://discourse.nodered.org/t/how-do-i-set-hue-light-brightness-color-etc/28210)

<div class="topic-metadata">

**Author:** [@peejayw](https://discourse.nodered.org/u/peejayw)\
**Replies:** 4\
**Last updated:** [12 June 2020 09:35 UTC](https://discourse.nodered.org/t/how-do-i-set-hue-light-brightness-color-etc/28210 "2020-06-12T09:35:51Z")

</div>

I have created a simple flow that lights one of my Hue bulbs. I would like to be able to specify the brightness and color and if possible make the light flash as well. I suspect I am supposed to put something in the "da…

---

## [Zigbee (Nodes node-red-contrib-zigbee) and SmartThings Sirene](https://discourse.nodered.org/t/zigbee-nodes-node-red-contrib-zigbee-and-smartthings-sirene/28123)

<div class="topic-metadata">

**Author:** [@get-command](https://discourse.nodered.org/u/get-command)\
**Replies:** 3\
**Last updated:** [12 June 2020 09:01 UTC](https://discourse.nodered.org/t/zigbee-nodes-node-red-contrib-zigbee-and-smartthings-sirene/28123 "2020-06-12T09:01:17Z")

</div>

Hi community, i need your help again :slight\_smile: I have successfully paired the device (https://www.zigbee2mqtt.io/devices/SZ-SRN12N.html), but how can I now use it with the motion detector? Example: motion detector…

---

## [Best way to collect solar power forecast charts in influxDB (fields or tags or else)](https://discourse.nodered.org/t/best-way-to-collect-solar-power-forecast-charts-in-influxdb-fields-or-tags-or-else/27482)

<div class="topic-metadata">

**Author:** [@hominidae](https://discourse.nodered.org/u/hominidae)\
**Replies:** 4\
**Last updated:** [12 June 2020 07:29 UTC](https://discourse.nodered.org/t/best-way-to-collect-solar-power-forecast-charts-in-influxdb-fields-or-tags-or-else/27482 "2020-06-12T07:29:55Z")

</div>

Hi folks, at home, I have a freshly installed solar power plant and now wanted to do some information gathering and analysis with its data. As I can already collect various energy based information in my home to mqtt a…

---

## [Example using http-request node with Basic authorization](https://discourse.nodered.org/t/example-using-http-request-node-with-basic-authorization/28205)

<div class="topic-metadata">

**Author:** [@ozdw](https://discourse.nodered.org/u/ozdw)\
**Replies:** 2\
**Last updated:** [12 June 2020 06:53 UTC](https://discourse.nodered.org/t/example-using-http-request-node-with-basic-authorization/28205 "2020-06-12T06:53:23Z")

</div>

I have googled and read for hours but have yet to find an example that works. I am invoking the Solcast API, which requires Basic auth and only a username containing an API key but no password. The issue is I need to p…

---

## [Access Node-RED from the Internet securely using NGROK](https://discourse.nodered.org/t/access-node-red-from-the-internet-securely-using-ngrok/28199)

<div class="topic-metadata">

**Author:** [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Replies:** 3\
**Last updated:** [12 June 2020 00:27 UTC](https://discourse.nodered.org/t/access-node-red-from-the-internet-securely-using-ngrok/28199 "2020-06-12T00:27:43Z")

</div>

Hi @TotallyInformation, I think I should ask this question directly to you for obvious reason but of course it could be of general interest. I am experimenting with NGROK + Telegram based on your flow: https://flows.n…

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

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