# Latest

**URL:** https://discourse.nodered.org/latest.md?no_subcategories=false&page=255

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

**Page:** 256

---

## [Feature request - function node context store getter which sets default value](https://discourse.nodered.org/t/feature-request-function-node-context-store-getter-which-sets-default-value/84166)

<div class="topic-metadata">

**Author:** [@MrWolf](https://discourse.nodered.org/u/MrWolf)\
**Replies:** 11\
**Last updated:** [1 January 2024 12:33 UTC](https://discourse.nodered.org/t/feature-request-function-node-context-store-getter-which-sets-default-value/84166 "2024-01-01T12:33:02Z")

</div>

Hi, I think it would be fantastically useful to extend the context store getter such that in a function node I could specify a default value when calling context/flow/global.get(). If the key is not found then the gett…

---

## [Help with javascript function node](https://discourse.nodered.org/t/help-with-javascript-function-node/84164)

<div class="topic-metadata">

**Author:** [@Gibbz](https://discourse.nodered.org/u/Gibbz)\
**Replies:** 4\
**Last updated:** [1 January 2024 12:07 UTC](https://discourse.nodered.org/t/help-with-javascript-function-node/84164 "2024-01-01T12:07:55Z")

</div>

Im trying to use a forumla to calc sunset. However when I save it, it has an error on line 9. var diff = (now - start) + ((start.getTimezoneOffset() - now.getTimezoneOffset()) \* 60 \* 1000); Its complaing that now and s…

---

## [Detecting when an MQTT input disconnects](https://discourse.nodered.org/t/detecting-when-an-mqtt-input-disconnects/84132)

<div class="topic-metadata">

**Author:** [@NPT](https://discourse.nodered.org/u/NPT)\
**Replies:** 4\
**Last updated:** [1 January 2024 11:33 UTC](https://discourse.nodered.org/t/detecting-when-an-mqtt-input-disconnects/84132 "2024-01-01T11:33:22Z")

</div>

I am running NR on a Pi 3B+ which also has Mosquitto version 2.0.11 installed locally. Various temperature sensors feed in using ESP32-based modules over Wi-Fi and they all work absolutely brilliantly, polling the sens…

---

## [I have problem on installing the node ina219 on raspberry](https://discourse.nodered.org/t/i-have-problem-on-installing-the-node-ina219-on-raspberry/84162)

<div class="topic-metadata">

**Author:** [@issambfs1](https://discourse.nodered.org/u/issambfs1)\
**Replies:** 2\
**Last updated:** [1 January 2024 11:01 UTC](https://discourse.nodered.org/t/i-have-problem-on-installing-the-node-ina219-on-raspberry/84162 "2024-01-01T11:01:56Z")

</div>

2024-01-01T00:02:58.822Z Install : node-red-contrib-easybotics-ina219-sensor 0.7.6 2024-01-01T00:02:59.626Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-…

---

## [Is it possible? Anyone did do it ? Access to Node RED on Ubuntu Server](https://discourse.nodered.org/t/is-it-possible-anyone-did-do-it-access-to-node-red-on-ubuntu-server/84148)

<div class="topic-metadata">

**Author:** [@tunc](https://discourse.nodered.org/u/tunc)\
**Replies:** 8\
**Last updated:** [1 January 2024 07:48 UTC](https://discourse.nodered.org/t/is-it-possible-anyone-did-do-it-access-to-node-red-on-ubuntu-server/84148 "2024-01-01T07:48:50Z")

</div>

Hi Everyone, I hope everything is its way for you. I wish best new year before next one. my situation : Once upon a time I had a simple experience. I have a raspberry pi3 . I install and configure ubuntu server, apach…

---

## [How to secure node-red with https access](https://discourse.nodered.org/t/how-to-secure-node-red-with-https-access/84168)

<div class="topic-metadata">

**Author:** [@f5swb](https://discourse.nodered.org/u/f5swb)\
**Replies:** 5\
**Last updated:** [1 January 2024 07:25 UTC](https://discourse.nodered.org/t/how-to-secure-node-red-with-https-access/84168 "2024-01-01T07:25:11Z")

</div>

Hello to all ! I try to put my node red access in https but I can't succeed. 1 Jan 07:11:33 - \[info\] Node-RED version: v3.1.3 1 Jan 07:11:33 - \[info\] Node.js version: v20.10.0 1 Jan 07:11:33 - \[info\] Linux 6.1.69-v8…

---

## [Aqara FP1 with Zigbee2mqtt](https://discourse.nodered.org/t/aqara-fp1-with-zigbee2mqtt/79596)

<div class="topic-metadata">

**Author:** [@xx\_Nexus\_xx](https://discourse.nodered.org/u/xx_Nexus_xx)\
**Replies:** 14\
**Last updated:** [31 December 2023 21:45 UTC](https://discourse.nodered.org/t/aqara-fp1-with-zigbee2mqtt/79596 "2023-12-31T21:45:50Z")

</div>

Hi, I just received my aqara FP1 sensor and it works really well with zigbe2mqtt You will have upto 10 regions out of a 7x4 grid. Below are my first 5 regions For each region you will receive updates on ENTER, OCC…

---

## [Mustache table coding question](https://discourse.nodered.org/t/mustache-table-coding-question/84142)

<div class="topic-metadata">

**Author:** [@RayMN](https://discourse.nodered.org/u/RayMN)\
**Replies:** 6\
**Last updated:** [31 December 2023 21:25 UTC](https://discourse.nodered.org/t/mustache-table-coding-question/84142 "2023-12-31T21:25:13Z")

</div>

I have spent multiple hours today working on this. :frowning: I'm using a mustache template node to render a database query results page as HTML. I think what I want is simple ... if the string in the return value cont…

---

## [Receive a reading, then set a flag to be read in another totally separate flow ... help needed](https://discourse.nodered.org/t/receive-a-reading-then-set-a-flag-to-be-read-in-another-totally-separate-flow-help-needed/84135)

<div class="topic-metadata">

**Author:** [@questuk](https://discourse.nodered.org/u/questuk)\
**Replies:** 9\
**Last updated:** [31 December 2023 16:45 UTC](https://discourse.nodered.org/t/receive-a-reading-then-set-a-flag-to-be-read-in-another-totally-separate-flow-help-needed/84135 "2023-12-31T16:45:33Z")

</div>

I have tried for hours to get this to work and searched on here and internet. It seems a very simple task but I cannot get it to work, A electricity meter reading is received randomly, due to house demand. I have a Ch…

---

## [Tomorrow date 32 December](https://discourse.nodered.org/t/tomorrow-date-32-december/84160)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 2\
**Last updated:** [31 December 2023 16:26 UTC](https://discourse.nodered.org/t/tomorrow-date-32-december/84160 "2023-12-31T16:26:45Z")

</div>

Hi, this is my function to calculate the date of tomorrow (I need the format dd/mm) const tomorrow = new Date(); let mese = tomorrow.getMonth() + 1; let giorno = tomorrow.getDate() + 1; if (mese \< 10) { mese = "…

---

## [Problema con pulsante](https://discourse.nodered.org/t/problema-con-pulsante/83688)

<div class="topic-metadata">

**Author:** [@ivanpesenti](https://discourse.nodered.org/u/ivanpesenti)\
**Replies:** 23\
**Last updated:** [31 December 2023 16:14 UTC](https://discourse.nodered.org/t/problema-con-pulsante/83688 "2023-12-31T16:14:45Z")

</div>

\<!DOCTYPE html\> \<html lang="it"\> \<head\> \<meta charset="UTF-8"\> \<meta name="viewport" content="width=device-width, initial-scale=1.0"\> \<style\> html, body { height: 100%; margin: 0; overflo…

---

## [Unable to install node-red-contrib-zwave-js](https://discourse.nodered.org/t/unable-to-install-node-red-contrib-zwave-js/84156)

<div class="topic-metadata">

**Author:** [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Replies:** 13\
**Last updated:** [31 December 2023 15:44 UTC](https://discourse.nodered.org/t/unable-to-install-node-red-contrib-zwave-js/84156 "2023-12-31T15:44:49Z")

</div>

I have my Node-RED running perfectly in Docker, and I haven't had any problems since I installed it. But I ran into a brick wall trying to install the node-red-contrib-zwave-js node. And I have no idea how to fix it, sin…

---

## [Create a subflow with in- or output that can be disabled](https://discourse.nodered.org/t/create-a-subflow-with-in-or-output-that-can-be-disabled/84154)

<div class="topic-metadata">

**Author:** [@LukeSkywalker](https://discourse.nodered.org/u/LukeSkywalker)\
**Replies:** 3\
**Last updated:** [31 December 2023 14:37 UTC](https://discourse.nodered.org/t/create-a-subflow-with-in-or-output-that-can-be-disabled/84154 "2023-12-31T14:37:41Z")

</div>

Hello, I'm new to this forum. I want to create a subflow and have the question if it is possible to disable the input or output? If you take a look at the email-node, there it's possible to change the mailreceiving fro…

---

## [Error in JSONata editor test](https://discourse.nodered.org/t/error-in-jsonata-editor-test/84144)

<div class="topic-metadata">

**Author:** [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Replies:** 0\
**Last updated:** [30 December 2023 23:39 UTC](https://discourse.nodered.org/t/error-in-jsonata-editor-test/84144 "2023-12-30T23:39:23Z")

</div>

Just noticed that in Node-red 3.1.3 that the transform function shows as error in JSONata test. I am pretty sure this worked fine prior to 3.1. If i inject a value into this expression it all works fine. \[edit\] Issue…

---

## [Access Node-Red in AWS EC2 Windows Instance](https://discourse.nodered.org/t/access-node-red-in-aws-ec2-windows-instance/84127)

<div class="topic-metadata">

**Author:** [@bobfield](https://discourse.nodered.org/u/bobfield)\
**Replies:** 7\
**Last updated:** [31 December 2023 11:21 UTC](https://discourse.nodered.org/t/access-node-red-in-aws-ec2-windows-instance/84127 "2023-12-31T11:21:14Z")

</div>

Hi, I installed Node-Red in an EC2 AWS instance with Windows OS. But I don´t get access Node-Red editor from my external browser, only within the instance using RDP. The 1880 port is free in security group of instance. …

---

## [EditorTheme - unable to catch Login Event](https://discourse.nodered.org/t/editortheme-unable-to-catch-login-event/84149)

<div class="topic-metadata">

**Author:** [@SandeepA](https://discourse.nodered.org/u/SandeepA)\
**Replies:** 1\
**Last updated:** [31 December 2023 10:05 UTC](https://discourse.nodered.org/t/editortheme-unable-to-catch-login-event/84149 "2023-12-31T10:05:14Z")

</div>

Hi , Connected to Editior Theme - i would like to use the "login" event. I have the adminAuth set to my user and password. In settings.js , I have : editorTheme: { page: { scripts: 'C:/Users/SANDEEAG/.node-r…

---

## [Zigbee change multiple settings at once](https://discourse.nodered.org/t/zigbee-change-multiple-settings-at-once/84145)

<div class="topic-metadata">

**Author:** [@Gibbz](https://discourse.nodered.org/u/Gibbz)\
**Replies:** 1\
**Last updated:** [31 December 2023 02:46 UTC](https://discourse.nodered.org/t/zigbee-change-multiple-settings-at-once/84145 "2023-12-31T02:46:01Z")

</div>

I've been using the zigbee2mqtt/device/set/state setting to set a single setting. However I now have a rgb light I want to set multiple settings at once. How can I do it? I've tried sending a Jason object to zigbee2mq…

---

## [How to access selection from drop down property](https://discourse.nodered.org/t/how-to-access-selection-from-drop-down-property/84125)

<div class="topic-metadata">

**Author:** [@bruceb85](https://discourse.nodered.org/u/bruceb85)\
**Replies:** 4\
**Last updated:** [31 December 2023 02:04 UTC](https://discourse.nodered.org/t/how-to-access-selection-from-drop-down-property/84125 "2023-12-31T02:04:11Z")

</div>

I can access the text input field value, but the drop down selection from the properties windows is undefined. Below is my code, how can I access which drop down menu was selected? tester.html \<script type="text/javas…

---

## [Use Echo Dot for NR voice commands?](https://discourse.nodered.org/t/use-echo-dot-for-nr-voice-commands/84116)

<div class="topic-metadata">

**Author:** [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Replies:** 3\
**Last updated:** [30 December 2023 22:08 UTC](https://discourse.nodered.org/t/use-echo-dot-for-nr-voice-commands/84116 "2023-12-30T22:08:50Z")

</div>

Hiho, is it possible to use an Echo Dot (5. Gen) as speech control for my Node Rede devices ?

---

## [🧑‍💻 UIBUILDER next steps - what is coming in v6.8](https://discourse.nodered.org/t/uibuilder-next-steps-what-is-coming-in-v6-8/83679)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 2\
**Last updated:** [30 December 2023 20:35 UTC](https://discourse.nodered.org/t/uibuilder-next-steps-what-is-coming-in-v6-8/83679 "2023-12-30T20:35:59Z")

</div>

Hi again to everyone interested in UIBUILDER. Development of v6.9 is well under way so I thought I'd share a couple of teasers. There may well be more before I've done and I'll try to update this if so. No fixed release…

---

## [Nodered & http post node](https://discourse.nodered.org/t/nodered-http-post-node/84108)

<div class="topic-metadata">

**Author:** [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Replies:** 23\
**Last updated:** [30 December 2023 20:22 UTC](https://discourse.nodered.org/t/nodered-http-post-node/84108 "2023-12-30T20:22:14Z")

</div>

Hello I am trying to trigger a telegram msg with a http post node from nodered. I have the following flow: The http node consists of the following: Obviously I have removed the API and chat ID for security reaso…

---

## [Displaying data in node red dashboard by using the last collected data in InfluxDB](https://discourse.nodered.org/t/displaying-data-in-node-red-dashboard-by-using-the-last-collected-data-in-influxdb/84134)

<div class="topic-metadata">

**Author:** [@OlsenOw](https://discourse.nodered.org/u/OlsenOw)\
**Replies:** 8\
**Last updated:** [30 December 2023 18:09 UTC](https://discourse.nodered.org/t/displaying-data-in-node-red-dashboard-by-using-the-last-collected-data-in-influxdb/84134 "2023-12-30T18:09:56Z")

</div>

Hello everyone, I'm fairly new to node-red and I might need suggestions on how can I do it, much appreciated ! As the title says, I'm trying to display the last collected data from InfluxDB that indicates the active/in…

---

## [Modbus data swap](https://discourse.nodered.org/t/modbus-data-swap/84136)

<div class="topic-metadata">

**Author:** [@PRABHAKAR82](https://discourse.nodered.org/u/PRABHAKAR82)\
**Replies:** 8\
**Last updated:** [30 December 2023 17:34 UTC](https://discourse.nodered.org/t/modbus-data-swap/84136 "2023-12-30T17:34:06Z")

</div>

I have these data and i want to convert it on real value. \[16384,17372,55706,17374,49152,17359,0,16680,0,16696,39322,16729,45875,17224,29491,17352,49152,17363,32768,17237,45875,17236,26214,17255,52429,16966,52429,16204,…

---

## [Question about context variables](https://discourse.nodered.org/t/question-about-context-variables/84131)

<div class="topic-metadata">

**Author:** [@grahambaxter](https://discourse.nodered.org/u/grahambaxter)\
**Replies:** 2\
**Last updated:** [30 December 2023 15:57 UTC](https://discourse.nodered.org/t/question-about-context-variables/84131 "2023-12-30T15:57:52Z")

</div>

Please can someone explain to me the difference between these two approaches to node scoped context? if ( !context.count ) context.count=0; context.count++; node.warn( context.count ); or var Count = node.get( "count…

---

## [Boolean logic ultimate](https://discourse.nodered.org/t/boolean-logic-ultimate/84130)

<div class="topic-metadata">

**Author:** [@bluescreentt](https://discourse.nodered.org/u/bluescreentt)\
**Replies:** 3\
**Last updated:** [30 December 2023 14:05 UTC](https://discourse.nodered.org/t/boolean-logic-ultimate/84130 "2023-12-30T14:05:52Z")

</div>

Hi I just cant get it to work :frowning: so here is the senario i have 5 climate sensors i want them to controll my ventilation based on different readings from the sensors together with a single push button to turn …

---

## [Issue connecting to github with ssh](https://discourse.nodered.org/t/issue-connecting-to-github-with-ssh/83113)

<div class="topic-metadata">

**Author:** [@Wolfgang](https://discourse.nodered.org/u/Wolfgang)\
**Replies:** 1\
**Last updated:** [30 December 2023 13:17 UTC](https://discourse.nodered.org/t/issue-connecting-to-github-with-ssh/83113 "2023-12-30T13:17:02Z")

</div>

Trying to connect my Node- RED project to github. Got as far as pushing to remote: master button to connect, to the git project , then I receive a passphrase screen for the ssh key I provided and regardless of whether …

---

## [Today I discovered data will not survive to restart :(](https://discourse.nodered.org/t/today-i-discovered-data-will-not-survive-to-restart/84085)

<div class="topic-metadata">

**Author:** [@realtebo](https://discourse.nodered.org/u/realtebo)\
**Replies:** 2\
**Last updated:** [30 December 2023 12:52 UTC](https://discourse.nodered.org/t/today-i-discovered-data-will-not-survive-to-restart/84085 "2023-12-30T12:52:57Z")

</div>

It's only 2 weeks I play with RPI and node-red. I built 2 usefull, for me, workflows; both send data to dashboard. For me, historic data (last 2-3 days) is someway important. Today, only today, I discovered than resta…

---

## [Too stupid to use switch node and/or function with Aqara magic cube T1 Pro :(](https://discourse.nodered.org/t/too-stupid-to-use-switch-node-and-or-function-with-aqara-magic-cube-t1-pro/84102)

<div class="topic-metadata">

**Author:** [@ikarisan](https://discourse.nodered.org/u/ikarisan)\
**Replies:** 27\
**Last updated:** [30 December 2023 10:59 UTC](https://discourse.nodered.org/t/too-stupid-to-use-switch-node-and-or-function-with-aqara-magic-cube-t1-pro/84102 "2023-12-30T10:59:49Z")

</div>

Hi! I hate to admit it, but I'm too stupid for the "switch-node". :frowning: I receive a msg.payload from my new "Aqara magic cube T1 Pro" that contains a msg.payload object with payload.side : int (1...6) payload.ac…

---

## [Bar graph not generated](https://discourse.nodered.org/t/bar-graph-not-generated/84126)

<div class="topic-metadata">

**Author:** [@PRABHAKAR82](https://discourse.nodered.org/u/PRABHAKAR82)\
**Replies:** 1\
**Last updated:** [30 December 2023 09:03 UTC](https://discourse.nodered.org/t/bar-graph-not-generated/84126 "2023-12-30T09:03:43Z")

</div>

I have these format of data, "msg.payload : array\[2\]= \[ {"DATE":"2023-12-29","daily\_energy\_consumption":4687}, {"DATE":"2023-12-30","daily\_energy\_consumption":100} \]" and I want to generate bar-graph using these da…

---

## [How many inputs can turn on/off an single node?](https://discourse.nodered.org/t/how-many-inputs-can-turn-on-off-an-single-node/84123)

<div class="topic-metadata">

**Author:** [@Itchy17](https://discourse.nodered.org/u/Itchy17)\
**Replies:** 1\
**Last updated:** [30 December 2023 06:41 UTC](https://discourse.nodered.org/t/how-many-inputs-can-turn-on-off-an-single-node/84123 "2023-12-30T06:41:03Z")

</div>

I have two separate circuits. tuning on a single light an two nodes tuning the light off with a common reset.

[Previous page](https://discourse.nodered.org/latest.md?no_subcategories=false&page=254)

[Next page](https://discourse.nodered.org/latest.md?no_subcategories=false&page=256)
