# General

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

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

**Page:** 675

---

## [Shoot the Moon? Irrigation Controller On Steroids?](https://discourse.nodered.org/t/shoot-the-moon-irrigation-controller-on-steroids/33640)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 4\
**Last updated:** [5 October 2020 03:01 UTC](https://discourse.nodered.org/t/shoot-the-moon-irrigation-controller-on-steroids/33640 "2020-10-05T03:01:17Z")

</div>

This morning I was thinking of ways to enhance my irrigation controller, now that I have my old python based solution almost completely migrated to NR. Here is what I came up with, but thought other ideas might be sugge…

---

## [(Solved): Configure flush of context store](https://discourse.nodered.org/t/solved-configure-flush-of-context-store/33740)

<div class="topic-metadata">

**Author:** [@RaiRoo](https://discourse.nodered.org/u/RaiRoo)\
**Replies:** 2\
**Last updated:** [4 October 2020 20:29 UTC](https://discourse.nodered.org/t/solved-configure-flush-of-context-store/33740 "2020-10-04T20:29:37Z")

</div>

... I need again some help regarding context store and localfilesystem. I configured context store as memory (default) and localfilesystem. As a consequence the respective directory has been created, there is also a subd…

---

## [Trying to use HTML node to get text other then text in \<span\>](https://discourse.nodered.org/t/trying-to-use-html-node-to-get-text-other-then-text-in-span/33699)

<div class="topic-metadata">

**Author:** [@4\_fools](https://discourse.nodered.org/u/4_fools)\
**Replies:** 4\
**Last updated:** [4 October 2020 13:22 UTC](https://discourse.nodered.org/t/trying-to-use-html-node-to-get-text-other-then-text-in-span/33699 "2020-10-04T13:22:27Z")

</div>

trying to use this tutorial but the thing i am tring to get isnt in .span.node-red-latest-version it is in some like a.node-red-latest-version for example but it seems like the HTML node automatically adds the .…

---

## [Beginnersquestion FunctionNode](https://discourse.nodered.org/t/beginnersquestion-functionnode/33719)

<div class="topic-metadata">

**Author:** [@terminus](https://discourse.nodered.org/u/terminus)\
**Replies:** 7\
**Last updated:** [4 October 2020 12:50 UTC](https://discourse.nodered.org/t/beginnersquestion-functionnode/33719 "2020-10-04T12:50:11Z")

</div>

Hey guys, I know this is a absolute beginners question but I studied working with messages and watched a few function node videos but it didn't helped me out. The task is simple. I have a node, watching my dishwasher, …

---

## [Trouble with Led on Dashboard](https://discourse.nodered.org/t/trouble-with-led-on-dashboard/33700)

<div class="topic-metadata">

**Author:** [@ALPF5555](https://discourse.nodered.org/u/ALPF5555)\
**Replies:** 21\
**Last updated:** [4 October 2020 11:45 UTC](https://discourse.nodered.org/t/trouble-with-led-on-dashboard/33700 "2020-10-04T11:45:54Z")

</div>

I have 3 Raspberry Pi that I am using and on two of them I am running Version 1.1.3 and on the other I am running version 1.0.6 The two running 1.1.3 i cannot deploy my Led or at least I cannot see my Led on the Dashbo…

---

## [No data being stored in IBM Db2 (using dashDB nodes)](https://discourse.nodered.org/t/no-data-being-stored-in-ibm-db2-using-dashdb-nodes/33717)

<div class="topic-metadata">

**Author:** [@campbellmilne](https://discourse.nodered.org/u/campbellmilne)\
**Replies:** 4\
**Last updated:** [4 October 2020 07:31 UTC](https://discourse.nodered.org/t/no-data-being-stored-in-ibm-db2-using-dashdb-nodes/33717 "2020-10-04T07:31:25Z")

</div>

For a school project I'm trying to develop an app that parses an RSS feed, runs a sentiment analysis on the headlines, and then stores the headlines in different tables according to keywords in their headlines. In the ta…

---

## [Modbus Serial to Modbus TCP called from external master](https://discourse.nodered.org/t/modbus-serial-to-modbus-tcp-called-from-external-master/19397)

<div class="topic-metadata">

**Author:** [@bryans](https://discourse.nodered.org/u/bryans)\
**Replies:** 1\
**Last updated:** [3 October 2020 21:39 UTC](https://discourse.nodered.org/t/modbus-serial-to-modbus-tcp-called-from-external-master/19397 "2020-10-03T21:39:19Z")

</div>

I have been working on this for quite some time now and cannot quite get it to work properly. Here is my scenario: I am reading Carbon monoxide levels with a sensor that communicates modbus over RS485. I am using a Ras…

---

## [Modbus Solaredge Inverters -\> Floating point](https://discourse.nodered.org/t/modbus-solaredge-inverters-floating-point/33701)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 6\
**Last updated:** [3 October 2020 19:00 UTC](https://discourse.nodered.org/t/modbus-solaredge-inverters-floating-point/33701 "2020-10-03T19:00:18Z")

</div>

Hello, last week I finished my SMA Modbus Query. Today a friend asked me if we can query his Solaredge Inverter. It´s the same way with Modbus Getter + Buffer Parser (as @Steve-Mcl showed me): \[ { "id": "…

---

## [ContextStore not working](https://discourse.nodered.org/t/contextstore-not-working/33697)

<div class="topic-metadata">

**Author:** [@RaiRoo](https://discourse.nodered.org/u/RaiRoo)\
**Replies:** 14\
**Last updated:** [3 October 2020 17:43 UTC](https://discourse.nodered.org/t/contextstore-not-working/33697 "2020-10-03T17:43:17Z")

</div>

I try to store some of my data in the localfilesystem and changed settings.js according the documentation (see below), but I do not get the options memory/filesystem in a change node yet... I use ioBroker and access Nod…

---

## [Read data from a .txt-file with 'file in'-node](https://discourse.nodered.org/t/read-data-from-a-txt-file-with-file-in-node/2786)

<div class="topic-metadata">

**Author:** [@BonBonNode](https://discourse.nodered.org/u/BonBonNode)\
**Replies:** 14\
**Last updated:** [3 October 2020 13:09 UTC](https://discourse.nodered.org/t/read-data-from-a-txt-file-with-file-in-node/2786 "2020-10-03T13:09:44Z")

</div>

Hey everyone, sorry for the kind of 'basic' question. I didn't find it anywhere and I am doin my first steps with Node-RED. My Problem: I am watching a folder (wfwatch-Node). Everytime a new document (.txt) is created…

---

## [OData V4 support](https://discourse.nodered.org/t/odata-v4-support/33689)

<div class="topic-metadata">

**Author:** [@0x180](https://discourse.nodered.org/u/0x180)\
**Replies:** 3\
**Last updated:** [3 October 2020 10:15 UTC](https://discourse.nodered.org/t/odata-v4-support/33689 "2020-10-03T10:15:16Z")

</div>

I can not find out on this forum if node-red support OData (i mean, if some node or logic exists or if i need to implement myself.. because i would avoid this).

---

## [How do I delete Flows that have no TAB?](https://discourse.nodered.org/t/how-do-i-delete-flows-that-have-no-tab/159)

<div class="topic-metadata">

**Author:** [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Replies:** 4\
**Last updated:** [3 October 2020 09:33 UTC](https://discourse.nodered.org/t/how-do-i-delete-flows-that-have-no-tab/159 "2020-10-03T09:33:53Z")

</div>

I had some example flows that created a flow that had no tab somehow. I’m wanting to purge my flows and start a new project. What is the best way to either delete these “Ghost” flows, or purge the system and start over…

---

## [Best practice on handling two states](https://discourse.nodered.org/t/best-practice-on-handling-two-states/33672)

<div class="topic-metadata">

**Author:** [@LarsAndersen](https://discourse.nodered.org/u/LarsAndersen)\
**Replies:** 8\
**Last updated:** [3 October 2020 08:11 UTC](https://discourse.nodered.org/t/best-practice-on-handling-two-states/33672 "2020-10-03T08:11:00Z")

</div>

I have two states (person 1 home/away, person 2 home/away). I would like to create a function or something similar that can take the two states in concideration. Something like: if (person 1 = home or person 2 = home )…

---

## [Life360 with node-red](https://discourse.nodered.org/t/life360-with-node-red/8569)

<div class="topic-metadata">

**Author:** [@chuckie86](https://discourse.nodered.org/u/chuckie86)\
**Replies:** 8\
**Last updated:** [2 October 2020 21:57 UTC](https://discourse.nodered.org/t/life360-with-node-red/8569 "2020-10-02T21:57:14Z")

</div>

Hi all, are there some people who have setup a life360 presence detection with node-red. I only see some forums with home-assistent but not with node-red. my second question if some people have setup life360 within no…

---

## [Combine 2 different payload into function](https://discourse.nodered.org/t/combine-2-different-payload-into-function/33576)

<div class="topic-metadata">

**Author:** [@alikhan](https://discourse.nodered.org/u/alikhan)\
**Replies:** 27\
**Last updated:** [2 October 2020 18:47 UTC](https://discourse.nodered.org/t/combine-2-different-payload-into-function/33576 "2020-10-02T18:47:49Z")

</div>

We want to call the POSK function payload into function payload and insert it into SQL. the yellow Highlighted number needs to combine with the second payload msg into the POSK column. can you please assist?

---

## [Breeding tank themperatur control](https://discourse.nodered.org/t/breeding-tank-themperatur-control/33667)

<div class="topic-metadata">

**Author:** [@edstobi](https://discourse.nodered.org/u/edstobi)\
**Replies:** 1\
**Last updated:** [2 October 2020 18:30 UTC](https://discourse.nodered.org/t/breeding-tank-themperatur-control/33667 "2020-10-02T18:30:39Z")

</div>

Hello I need an idea how to realize my project. I need to reduce a large amount of water in a breeding tank in a controlled way. The temperature is kept constant at 0.5 Gard by a heater. I manage this today with a fix…

---

## [Why does this working flow generate an error if array is only 1 element in length?](https://discourse.nodered.org/t/why-does-this-working-flow-generate-an-error-if-array-is-only-1-element-in-length/33605)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 7\
**Last updated:** [2 October 2020 18:21 UTC](https://discourse.nodered.org/t/why-does-this-working-flow-generate-an-error-if-array-is-only-1-element-in-length/33605 "2020-10-02T18:21:10Z")

</div>

The following flow works, no error... \[{"id":"2821116c.38475e","type":"ui\_dropdown","z":"abfc01b.53d8e8","name":"Add","label":"Sessions","tooltip":"","place":"Sessions","group":"2795ce03.741602","order":1,"width":6,"hei…

---

## [How to start a periodical task from an external command?](https://discourse.nodered.org/t/how-to-start-a-periodical-task-from-an-external-command/33676)

<div class="topic-metadata">

**Author:** [@foobrizio](https://discourse.nodered.org/u/foobrizio)\
**Replies:** 5\
**Last updated:** [2 October 2020 18:04 UTC](https://discourse.nodered.org/t/how-to-start-a-periodical-task-from-an-external-command/33676 "2020-10-02T18:04:22Z")

</div>

Hi everyone, as the title of this topic says, I want to start a periodical task on Node-RED, triggering it from an external command. I made an Android app and I'm gonna send an MQTT signal from it. When my flow receive…

---

## [Sub-pub MQTT between two VM (Virtual Box - Ubuntu 18.04)](https://discourse.nodered.org/t/sub-pub-mqtt-between-two-vm-virtual-box-ubuntu-18-04/33666)

<div class="topic-metadata">

**Author:** [@rparada](https://discourse.nodered.org/u/rparada)\
**Replies:** 10\
**Last updated:** [2 October 2020 14:40 UTC](https://discourse.nodered.org/t/sub-pub-mqtt-between-two-vm-virtual-box-ubuntu-18-04/33666 "2020-10-02T14:40:39Z")

</div>

Hi all, I'm newbie on Node-Red and MQTT paradigm. My setup is host PC Windows 10 with two VMs on Virtual Box running Ubuntu 18.04. I've installed mosquitto and node-red in both VMs. I've successfully publish and subscr…

---

## [Triggering on specific message](https://discourse.nodered.org/t/triggering-on-specific-message/33661)

<div class="topic-metadata">

**Author:** [@varunyc](https://discourse.nodered.org/u/varunyc)\
**Replies:** 36\
**Last updated:** [2 October 2020 12:07 UTC](https://discourse.nodered.org/t/triggering-on-specific-message/33661 "2020-10-02T12:07:40Z")

</div>

Dear All, I would like to have a functionality where in I need to run specific flow repeatedly when I receive specific type of message. Please let me know how to handle this in node red. Is it possible to do this in tr…

---

## [Contrib-ui-svg: edit stop-offset in linearGradient](https://discourse.nodered.org/t/contrib-ui-svg-edit-stop-offset-in-lineargradient/33638)

<div class="topic-metadata">

**Author:** [@AHAV](https://discourse.nodered.org/u/AHAV)\
**Replies:** 4\
**Last updated:** [2 October 2020 11:51 UTC](https://discourse.nodered.org/t/contrib-ui-svg-edit-stop-offset-in-lineargradient/33638 "2020-10-02T11:51:21Z")

</div>

Based on the very valuable help from Steve-Mcl, I made this changing bars in the gif. Hovever I tried to find a way to make the "Fractions" inside an circular indicator. The three color circle on top is an SVG elemen…

---

## [Split node? Sorting](https://discourse.nodered.org/t/split-node-sorting/33657)

<div class="topic-metadata">

**Author:** [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)\
**Replies:** 3\
**Last updated:** [2 October 2020 11:42 UTC](https://discourse.nodered.org/t/split-node-sorting/33657 "2020-10-02T11:42:54Z")

</div>

Hi. I need to sort payload to specific output. I have tried to use a switch node to do this. I want to get the whole payload but only if the Array meets the conditions. If the Array exernal id is ID:19\_20181001.... th…

---

## [Coverting and validating FLOAT does not work](https://discourse.nodered.org/t/coverting-and-validating-float-does-not-work/33656)

<div class="topic-metadata">

**Author:** [@Gawan](https://discourse.nodered.org/u/Gawan)\
**Replies:** 9\
**Last updated:** [2 October 2020 09:24 UTC](https://discourse.nodered.org/t/coverting-and-validating-float-does-not-work/33656 "2020-10-02T09:24:39Z")

</div>

Hi, I have a global variable of datatype float. I read this float in a function, do an explicit convert to float (just to be safe) and write my msg3.FloatValue with it: msg3.Measure = 'Actual\_Power\_OUT'; msg3.StorageT…

---

## [Creating a CLI buffer for http writing InfluxDB](https://discourse.nodered.org/t/creating-a-cli-buffer-for-http-writing-influxdb/33620)

<div class="topic-metadata">

**Author:** [@Ward](https://discourse.nodered.org/u/Ward)\
**Replies:** 4\
**Last updated:** [2 October 2020 06:49 UTC](https://discourse.nodered.org/t/creating-a-cli-buffer-for-http-writing-influxdb/33620 "2020-10-02T06:49:33Z")

</div>

Hi, I want to write to my data to InfluxDB through http (has to be in CLI code example: measurement, Tagkey=Tagvalue FieldKey=FieldValue Timestamp). The connection works and i can send the data to InfluxDB. But i'm us…

---

## [Cast node character limit](https://discourse.nodered.org/t/cast-node-character-limit/33642)

<div class="topic-metadata">

**Author:** [@cvandingelen](https://discourse.nodered.org/u/cvandingelen)\
**Replies:** 3\
**Last updated:** [2 October 2020 06:26 UTC](https://discourse.nodered.org/t/cast-node-character-limit/33642 "2020-10-02T06:26:39Z")

</div>

Hi Is there a way to get around the 160 character limit of the node-red-contrib-cast node? Can you, for example, make the mp3 separately and then play that mp3? Regards Christophe

---

## [Migrating from contrib mongodb2 node to contrib mongodb](https://discourse.nodered.org/t/migrating-from-contrib-mongodb2-node-to-contrib-mongodb/33634)

<div class="topic-metadata">

**Author:** [@dennishvo](https://discourse.nodered.org/u/dennishvo)\
**Replies:** 2\
**Last updated:** [2 October 2020 06:25 UTC](https://discourse.nodered.org/t/migrating-from-contrib-mongodb2-node-to-contrib-mongodb/33634 "2020-10-02T06:25:38Z")

</div>

I have been using node-red-contrib-mongodb2 but it's poorly supported. I'm in the process of migrating to node-red-node-mongodb, and I have two challenges: I use logic that tests for the outcome of updates and inserts…

---

## [Trigger via Alexa Motion Sensor](https://discourse.nodered.org/t/trigger-via-alexa-motion-sensor/32891)

<div class="topic-metadata">

**Author:** [@Cjkeenan](https://discourse.nodered.org/u/Cjkeenan)\
**Replies:** 12\
**Last updated:** [1 October 2020 22:46 UTC](https://discourse.nodered.org/t/trigger-via-alexa-motion-sensor/32891 "2020-10-01T22:46:05Z")

</div>

Does anyone know of a way or have they tried interfacing motion sensors that directly and only communicate to Alexa, such as their Echo Flex PIR Addon sensor, to be used as a trigger for a flow? I thought up a roundabou…

---

## [Node-red-node-email fails with attachments 0.1% of the time](https://discourse.nodered.org/t/node-red-node-email-fails-with-attachments-0-1-of-the-time/32961)

<div class="topic-metadata">

**Author:** [@gemini86](https://discourse.nodered.org/u/gemini86)\
**Replies:** 8\
**Last updated:** [1 October 2020 21:48 UTC](https://discourse.nodered.org/t/node-red-node-email-fails-with-attachments-0-1-of-the-time/32961 "2020-10-01T21:48:00Z")

</div>

I'm using node-red-node-email to send a daily report with graphs and such. Because outlook is... well... challenged, I have to attach images of graphs instead of linking to them. I would like to learn how to achieve this…

---

## [Floor plan suggestions](https://discourse.nodered.org/t/floor-plan-suggestions/31230)

<div class="topic-metadata">

**Author:** [@alex88](https://discourse.nodered.org/u/alex88)\
**Replies:** 139\
**Last updated:** [1 October 2020 20:01 UTC](https://discourse.nodered.org/t/floor-plan-suggestions/31230 "2020-10-01T20:01:52Z")

</div>

I've been getting heady ideas about building a floor plan after watching this video.... I'm not entirely sure I have the time to learn how to do everything in that video and also not sure I want to.... I'…

---

## [Animating SVG from node-red](https://discourse.nodered.org/t/animating-svg-from-node-red/32583)

<div class="topic-metadata">

**Author:** [@AHAV](https://discourse.nodered.org/u/AHAV)\
**Replies:** 8\
**Last updated:** [1 October 2020 13:03 UTC](https://discourse.nodered.org/t/animating-svg-from-node-red/32583 "2020-10-01T13:03:48Z")

</div>

Hi. Apologies for this newbie question.. I've made a flow that works fine with the built in gauges from dashboard node. However I wanted to use a gauge in the UI template node from d3.js. I put the code from this lin…

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

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