# Latest

**URL:** https://discourse.nodered.org/latest.md?page=903

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

**Page:** 904

---

## [Comparison and sorting functions](https://discourse.nodered.org/t/comparison-and-sorting-functions/39639)

<div class="topic-metadata">

**Author:** [@tgurecky](https://discourse.nodered.org/u/tgurecky)\
**Replies:** 11\
**Last updated:** [24 January 2021 21:47 UTC](https://discourse.nodered.org/t/comparison-and-sorting-functions/39639 "2021-01-24T21:47:45Z")

</div>

Dear friends, I would like to ask what function to use to compare and sort several values read from mysql. In my case, an array of objects is returned to me and each object contains data from meters. In order to conti…

---

## [Http request POST ==\> JSON-Parsing-Error](https://discourse.nodered.org/t/http-request-post-json-parsing-error/39622)

<div class="topic-metadata">

**Author:** [@steyrblade](https://discourse.nodered.org/u/steyrblade)\
**Replies:** 5\
**Last updated:** [24 January 2021 19:45 UTC](https://discourse.nodered.org/t/http-request-post-json-parsing-error/39622 "2021-01-24T19:45:12Z")

</div>

Hi there, im trying to use an http request to send a notification to alexa via getnotifyme, but I always get "JSON-Parsing-Error" in debug. Basic authentication is set with the right API key and API secret. I tried i…

---

## [Node Red access from another device within same network](https://discourse.nodered.org/t/node-red-access-from-another-device-within-same-network/39663)

<div class="topic-metadata">

**Author:** [@sfedo](https://discourse.nodered.org/u/sfedo)\
**Replies:** 2\
**Last updated:** [24 January 2021 20:04 UTC](https://discourse.nodered.org/t/node-red-access-from-another-device-within-same-network/39663 "2021-01-24T20:04:33Z")

</div>

Hello, I'm using node red on my vm threw hyperV and have set up node red there. After I start node-red it says: nodered is now running on 127.0.0.1:1883 Can I use node red now on my other PC? I enter the ip adress, bu…

---

## [Determine inject timestamp while running](https://discourse.nodered.org/t/determine-inject-timestamp-while-running/39674)

<div class="topic-metadata">

**Author:** [@seaes](https://discourse.nodered.org/u/seaes)\
**Replies:** 1\
**Last updated:** [24 January 2021 19:57 UTC](https://discourse.nodered.org/t/determine-inject-timestamp-while-running/39674 "2021-01-24T19:57:05Z")

</div>

Hi, (I am converting from a hub using LUA to a hub which can run Node-RED. I'm a software engineer, but a complete newbie to Node-RED.) Consider: 1 flow with sequence 1 and 2 Is it possible somehow to arrive at a no…

---

## [Revert module to older version: node-red-node-email](https://discourse.nodered.org/t/revert-module-to-older-version-node-red-node-email/39654)

<div class="topic-metadata">

**Author:** [@Ashfaak](https://discourse.nodered.org/u/Ashfaak)\
**Replies:** 3\
**Last updated:** [24 January 2021 18:17 UTC](https://discourse.nodered.org/t/revert-module-to-older-version-node-red-node-email/39654 "2021-01-24T18:17:24Z")

</div>

Is it possible to revert a node module to an older version? I've installed node-RED using the recommended script. Updated node-red-node-email to 1.8.3 today and my attachments are no longer working as they were with the …

---

## [Problem with the trigger node, after deploy](https://discourse.nodered.org/t/problem-with-the-trigger-node-after-deploy/14404)

<div class="topic-metadata">

**Author:** [@alexsahka](https://discourse.nodered.org/u/alexsahka)\
**Replies:** 6\
**Last updated:** [24 January 2021 17:39 UTC](https://discourse.nodered.org/t/problem-with-the-trigger-node-after-deploy/14404 "2021-01-24T17:39:21Z")

</div>

I'm using the trigger node a lot, in different nodes (trigger, then wait for new messages - extend time, if new message) this way, with different timing from 1 sec to 10 minutes. And I noticed it is not working properly …

---

## [Copy a local file to a shared folder with password](https://discourse.nodered.org/t/copy-a-local-file-to-a-shared-folder-with-password/12895)

<div class="topic-metadata">

**Author:** [@Nxito](https://discourse.nodered.org/u/Nxito)\
**Replies:** 14\
**Last updated:** [24 January 2021 15:37 UTC](https://discourse.nodered.org/t/copy-a-local-file-to-a-shared-folder-with-password/12895 "2021-01-24T15:37:21Z")

</div>

Hi, im using node-red on windows and want to do this. I'm looking for a way to copy a video file from a local folder to a shared folder on the network using node-red. The problem is that with CMD, being previously conne…

---

## [Saving and reading image from file problem](https://discourse.nodered.org/t/saving-and-reading-image-from-file-problem/39641)

<div class="topic-metadata">

**Author:** [@ChristianM](https://discourse.nodered.org/u/ChristianM)\
**Replies:** 5\
**Last updated:** [24 January 2021 14:33 UTC](https://discourse.nodered.org/t/saving-and-reading-image-from-file-problem/39641 "2021-01-24T14:33:37Z")

</div>

Hi everyone, I am quite new to node-red so I guess I am doing some beginners mistake. I use the image-tools library to view the data which is going to be saved and applied additionally a watch to the same file which is…

---

## [MQTT: Using LWT to check which nodes are online](https://discourse.nodered.org/t/mqtt-using-lwt-to-check-which-nodes-are-online/39499)

<div class="topic-metadata">

**Author:** [@bth](https://discourse.nodered.org/u/bth)\
**Replies:** 12\
**Last updated:** [24 January 2021 13:18 UTC](https://discourse.nodered.org/t/mqtt-using-lwt-to-check-which-nodes-are-online/39499 "2021-01-24T13:18:48Z")

</div>

Hi, I'm working on getting the LWT (Last will testament) feature to work how i want it to in my system. So right now i have added messages to the broker settings: connected --\> send "online" on …

---

## [Use Port 502 with Modbus-TCP](https://discourse.nodered.org/t/use-port-502-with-modbus-tcp/39615)

<div class="topic-metadata">

**Author:** [@heino](https://discourse.nodered.org/u/heino)\
**Replies:** 15\
**Last updated:** [24 January 2021 12:10 UTC](https://discourse.nodered.org/t/use-port-502-with-modbus-tcp/39615 "2021-01-24T12:10:56Z")

</div>

Hi, i want to run the Modbus Flex Server from the module node-red-contrib-modbus on an Raspberry Pi with Raspbian. But whenever i use the default port 502, Node-Red crashes. I found out that, ports below 1024 can not us…

---

## [Measure the power consumption via a Wemo Insight switch](https://discourse.nodered.org/t/measure-the-power-consumption-via-a-wemo-insight-switch/39288)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 18\
**Last updated:** [24 January 2021 11:50 UTC](https://discourse.nodered.org/t/measure-the-power-consumption-via-a-wemo-insight-switch/39288 "2021-01-24T11:50:48Z")

</div>

Hi folks, I need to measure power consumption of some of my devices at home. And since I had somewhere an unused brand new Belkin Wemo Insight F7c029 plug lying around, I tried to install it. What a hell... Took me 2…

---

## [Inserting integers into mongo db with node-red-node-mongodb module](https://discourse.nodered.org/t/inserting-integers-into-mongo-db-with-node-red-node-mongodb-module/39618)

<div class="topic-metadata">

**Author:** [@CreativeWarlock](https://discourse.nodered.org/u/CreativeWarlock)\
**Replies:** 5\
**Last updated:** [24 January 2021 11:01 UTC](https://discourse.nodered.org/t/inserting-integers-into-mongo-db-with-node-red-node-mongodb-module/39618 "2021-01-24T11:01:05Z")

</div>

Hi guys, I'm trying to insert a (long) series of timestamps and values into my local mongo db, but rather than saving the timestamps as integers they are saved as doubles. The function I am using contains the followin…

---

## [Multiple end users accessing the application developed through Node red](https://discourse.nodered.org/t/multiple-end-users-accessing-the-application-developed-through-node-red/39384)

<div class="topic-metadata">

**Author:** [@likhil](https://discourse.nodered.org/u/likhil)\
**Replies:** 3\
**Last updated:** [24 January 2021 10:26 UTC](https://discourse.nodered.org/t/multiple-end-users-accessing-the-application-developed-through-node-red/39384 "2021-01-24T10:26:06Z")

</div>

Hi All, Currently working on a project that uses node red and its dashboard as UI. As the nodered environment is a single user, we would like to make this available to many end users at one point of time. For this we ar…

---

## [If I were thinking about migrating from Huginn to Node-Red, what would be your advice?](https://discourse.nodered.org/t/if-i-were-thinking-about-migrating-from-huginn-to-node-red-what-would-be-your-advice/39574)

<div class="topic-metadata">

**Author:** [@CybrPimp](https://discourse.nodered.org/u/CybrPimp)\
**Replies:** 4\
**Last updated:** [24 January 2021 06:43 UTC](https://discourse.nodered.org/t/if-i-were-thinking-about-migrating-from-huginn-to-node-red-what-would-be-your-advice/39574 "2021-01-24T06:43:34Z")

</div>

I have been running Huginn for awhile and it works good but it is not as active as the Code-Red project and support seems hard to get. Also it is in Ruby which makes it a hot potatoe, I think. Java seems to be a more l…

---

## [Tooltip on subflow?](https://discourse.nodered.org/t/tooltip-on-subflow/39592)

<div class="topic-metadata">

**Author:** [@kanke](https://discourse.nodered.org/u/kanke)\
**Replies:** 2\
**Last updated:** [24 January 2021 05:04 UTC](https://discourse.nodered.org/t/tooltip-on-subflow/39592 "2021-01-24T05:04:20Z")

</div>

I asked before https://discourse.nodered.org/t/question-regarding-subflow/38118. Actually the first paragraph doesn't show up as tooltip automatically when mouse hover the subflow node. I have to open the subflow, click …

---

## [Problem with Sonoff Zigbee Tasmota Flash Device](https://discourse.nodered.org/t/problem-with-sonoff-zigbee-tasmota-flash-device/39518)

<div class="topic-metadata">

**Author:** [@Markus667](https://discourse.nodered.org/u/Markus667)\
**Replies:** 27\
**Last updated:** [23 January 2021 22:23 UTC](https://discourse.nodered.org/t/problem-with-sonoff-zigbee-tasmota-flash-device/39518 "2021-01-23T22:23:48Z")

</div>

Hello to all. I have a little Problem with my Zigbee Devices. First I want to explain what I did. I am running a Raspi with Home Assistant and I am using Node Red for my Sensors. I flashed a Sonoff Zigbee device and …

---

## [MQTT Connects then disconnects?](https://discourse.nodered.org/t/mqtt-connects-then-disconnects/39609)

<div class="topic-metadata">

**Author:** [@edwardr](https://discourse.nodered.org/u/edwardr)\
**Replies:** 8\
**Last updated:** [23 January 2021 22:07 UTC](https://discourse.nodered.org/t/mqtt-connects-then-disconnects/39609 "2021-01-23T22:07:06Z")

</div>

Hello All, Hope you are all well, Here we have an issue with MQTT where all I\`m wanting at the moment is a input out put of a random number generator between two devices. Device 1 (Receiving) Device 2 (Sending)…

---

## [MQTT to InfluxDB function](https://discourse.nodered.org/t/mqtt-to-influxdb-function/39617)

<div class="topic-metadata">

**Author:** [@LosinIt](https://discourse.nodered.org/u/LosinIt)\
**Replies:** 6\
**Last updated:** [23 January 2021 21:27 UTC](https://discourse.nodered.org/t/mqtt-to-influxdb-function/39617 "2021-01-23T21:27:17Z")

</div>

I just about went nuts trying to get the right incantation of a Regex for JavaScript to do a simple job of parsing out the device name from a MQTT String so I decided to share because I didn't find it here. I've used Re…

---

## [Machine learning with NR](https://discourse.nodered.org/t/machine-learning-with-nr/39606)

<div class="topic-metadata">

**Author:** [@alex88](https://discourse.nodered.org/u/alex88)\
**Replies:** 4\
**Last updated:** [23 January 2021 19:23 UTC](https://discourse.nodered.org/t/machine-learning-with-nr/39606 "2021-01-23T19:23:19Z")

</div>

Hi, I have a project in mind to use machine learning to detect that a home automation sensor has failed. It's very possible to just write a set of rules in JS to determine whether the sensor is working or not, but I'd …

---

## [Sonos Plus - Questions](https://discourse.nodered.org/t/sonos-plus-questions/34374)

<div class="topic-metadata">

**Author:** [@alex88](https://discourse.nodered.org/u/alex88)\
**Replies:** 28\
**Last updated:** [23 January 2021 19:21 UTC](https://discourse.nodered.org/t/sonos-plus-questions/34374 "2021-01-23T19:21:59Z")

</div>

Hey @hklages Loving your Sonos nodes! I have a few questions : How can I change the shuffle and repeat options for a player? When you use your nodes, do you end up querying Sonos every second for every player to …

---

## [Display datas from influx in an UI-Chart](https://discourse.nodered.org/t/display-datas-from-influx-in-an-ui-chart/38579)

<div class="topic-metadata">

**Author:** [@nicobauer](https://discourse.nodered.org/u/nicobauer)\
**Replies:** 41\
**Last updated:** [23 January 2021 19:04 UTC](https://discourse.nodered.org/t/display-datas-from-influx-in-an-ui-chart/38579 "2021-01-23T19:04:44Z")

</div>

I want to display data from an influxdb in a linechart. The data comes from the database as follows. I then attached a changenode and after that the data looks like this. I can't get the data to display in the linechart…

---

## [Notify mobile app](https://discourse.nodered.org/t/notify-mobile-app/39614)

<div class="topic-metadata">

**Author:** [@trigus123](https://discourse.nodered.org/u/trigus123)\
**Replies:** 0\
**Last updated:** [23 January 2021 16:23 UTC](https://discourse.nodered.org/t/notify-mobile-app/39614 "2021-01-23T16:23:52Z")

</div>

hello, how to send notification of current sensor value to android home assistant app?

---

## [Sqlite nodes not working after update?](https://discourse.nodered.org/t/sqlite-nodes-not-working-after-update/39603)

<div class="topic-metadata">

**Author:** [@martynwheeler](https://discourse.nodered.org/u/martynwheeler)\
**Replies:** 10\
**Last updated:** [23 January 2021 15:58 UTC](https://discourse.nodered.org/t/sqlite-nodes-not-working-after-update/39603 "2021-01-23T15:58:30Z")

</div>

I have just tried to update sqlite and it gives me the message below. When I restart node-red the existing sqlite nodes are shown with errors? I also cannot see the nodes in the pallete. Everything else is up to date.…

---

## [Using node red to check if item is in stock?](https://discourse.nodered.org/t/using-node-red-to-check-if-item-is-in-stock/39605)

<div class="topic-metadata">

**Author:** [@nappyjim](https://discourse.nodered.org/u/nappyjim)\
**Replies:** 2\
**Last updated:** [23 January 2021 15:08 UTC](https://discourse.nodered.org/t/using-node-red-to-check-if-item-is-in-stock/39605 "2021-01-23T15:08:24Z")

</div>

Is there a way to get node red to check a webpage and alert me when its in stock? I tried first just doing an http request and it does return a payload, but it appears to be truncated. I need to see the entire payload …

---

## [Er\_truncated\_wrong\_value](https://discourse.nodered.org/t/er-truncated-wrong-value/39599)

<div class="topic-metadata">

**Author:** [@rdcgreen](https://discourse.nodered.org/u/rdcgreen)\
**Replies:** 4\
**Last updated:** [23 January 2021 14:03 UTC](https://discourse.nodered.org/t/er-truncated-wrong-value/39599 "2021-01-23T14:03:30Z")

</div>

i'm trying to connect node-red to MySQL. I have the following error message come up: "Error: ER\_TRUNCATED\_WRONG\_VALUE: Incorrect datetime value: '2021-01-23T11:22:13.645Z' for column 'timestamp' at row 1" The column in…

---

## [Teaching transient and persistent data storage](https://discourse.nodered.org/t/teaching-transient-and-persistent-data-storage/39456)

<div class="topic-metadata">

**Author:** [@brendonhatcher](https://discourse.nodered.org/u/brendonhatcher)\
**Replies:** 19\
**Last updated:** [23 January 2021 12:30 UTC](https://discourse.nodered.org/t/teaching-transient-and-persistent-data-storage/39456 "2021-01-23T12:30:29Z")

</div>

Hi I am developing teaching resources for kids 9 - 13. I am using node-red because it is visual / low-code. I want to create a flow that teaches transient vs persistent data storage. I have a momentary button attache…

---

## [User permissions: allow flow.read for a specific flow ID](https://discourse.nodered.org/t/user-permissions-allow-flow-read-for-a-specific-flow-id/39594)

<div class="topic-metadata">

**Author:** [@supadupa](https://discourse.nodered.org/u/supadupa)\
**Replies:** 2\
**Last updated:** [23 January 2021 10:05 UTC](https://discourse.nodered.org/t/user-permissions-allow-flow-read-for-a-specific-flow-id/39594 "2021-01-23T10:05:10Z")

</div>

I'd like to allow read (or write) access to specific user to a particular flow. I've understood from the docs I can assign general flow.read, but cannot get it working for just one specific flow (/flow/:id) Is this even…

---

## [Inject node not executing at specified time](https://discourse.nodered.org/t/inject-node-not-executing-at-specified-time/39547)

<div class="topic-metadata">

**Author:** [@cpiekacz](https://discourse.nodered.org/u/cpiekacz)\
**Replies:** 8\
**Last updated:** [23 January 2021 09:49 UTC](https://discourse.nodered.org/t/inject-node-not-executing-at-specified-time/39547 "2021-01-23T09:49:36Z")

</div>

I don’t know what’s going on, but all of my inject nodes that are set to run in the morning (e.g. 7am on weekdays or 9am everyday) are not being executed. I have no idea why and I don’t know how to diagnose it. What’s e…

---

## [FLOW 1 not visable](https://discourse.nodered.org/t/flow-1-not-visable/39589)

<div class="topic-metadata">

**Author:** [@w6dpm](https://discourse.nodered.org/u/w6dpm)\
**Replies:** 2\
**Last updated:** [23 January 2021 07:36 UTC](https://discourse.nodered.org/t/flow-1-not-visable/39589 "2021-01-23T07:36:22Z")

</div>

When I start up NODE-RED I don't have any FLOWS showing in my main workspace. I must of deleted all the flows somehow. How do I get back to normal ??? Help Please

---

## [Node-red app dashboard for multiple users](https://discourse.nodered.org/t/node-red-app-dashboard-for-multiple-users/39401)

<div class="topic-metadata">

**Author:** [@talmeezahmed](https://discourse.nodered.org/u/talmeezahmed)\
**Replies:** 2\
**Last updated:** [23 January 2021 05:47 UTC](https://discourse.nodered.org/t/node-red-app-dashboard-for-multiple-users/39401 "2021-01-23T05:47:20Z")

</div>

Hi, I am trying to deploy a node-red application on Azure Kubernetes and make the Dashboard available to multiple users by exposing the app. The deployment is successful, but when the changes are made by one user, it is…

[Previous page](https://discourse.nodered.org/latest.md?page=902)

[Next page](https://discourse.nodered.org/latest.md?page=904)
