# General

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

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

**Page:** 226

---

## [How to filter particular data from json file using python3 function node in Node-Red? Response for this is undefined](https://discourse.nodered.org/t/how-to-filter-particular-data-from-json-file-using-python3-function-node-in-node-red-response-for-this-is-undefined/77075)

<div class="topic-metadata">

**Author:** [@Sathish2409](https://discourse.nodered.org/u/Sathish2409)\
**Replies:** 9\
**Last updated:** [3 April 2023 12:36 UTC](https://discourse.nodered.org/t/how-to-filter-particular-data-from-json-file-using-python3-function-node-in-node-red-response-for-this-is-undefined/77075 "2023-04-03T12:36:26Z")

</div>

---

## [Error in function case](https://discourse.nodered.org/t/error-in-function-case/77195)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 5\
**Last updated:** [3 April 2023 12:23 UTC](https://discourse.nodered.org/t/error-in-function-case/77195 "2023-04-03T12:23:22Z")

</div>

Hi, I don't understand where is the error ... Can you help me? windCardinal is a const var if (windSpeed \> 2) { switch (windCardinal) { case "NE": output\[8\] = { label: "GRECALE" } …

---

## [Not getting why I see this error in the code (Subflow)](https://discourse.nodered.org/t/not-getting-why-i-see-this-error-in-the-code-subflow/77189)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 16\
**Last updated:** [3 April 2023 12:15 UTC](https://discourse.nodered.org/t/not-getting-why-i-see-this-error-in-the-code-subflow/77189 "2023-04-03T12:15:19Z")

</div>

This is the code from inside a node I have in a subflow. When I am editing it it shows an error in line 15: context.set("counter",max-1); I'm not seeing the elephant. Code: let counter = context.get("counter") |…

---

## [Node Red To IOT2050](https://discourse.nodered.org/t/node-red-to-iot2050/77018)

<div class="topic-metadata">

**Author:** [@Edona](https://discourse.nodered.org/u/Edona)\
**Replies:** 3\
**Last updated:** [3 April 2023 12:15 UTC](https://discourse.nodered.org/t/node-red-to-iot2050/77018 "2023-04-03T12:15:07Z")

</div>

Hello I am trying to communicate with my gateway Iot2050 but unfortunately I cannot achive that in Node Red ......Can Sb help me ?

---

## [Dynamic Change to \[Inject Node?\] Repeat Interval?](https://discourse.nodered.org/t/dynamic-change-to-inject-node-repeat-interval/77191)

<div class="topic-metadata">

**Author:** [@lorccan](https://discourse.nodered.org/u/lorccan)\
**Replies:** 5\
**Last updated:** [3 April 2023 12:01 UTC](https://discourse.nodered.org/t/dynamic-change-to-inject-node-repeat-interval/77191 "2023-04-03T12:01:35Z")

</div>

I have an Inject node set to repeat every minute. This works fine when the "looping" flow doesn't need to do something that takes longer than around 20 seconds to complete. However, when the overall flow has not complete…

---

## [Remote-Red/ remote access!](https://discourse.nodered.org/t/remote-red-remote-access/77190)

<div class="topic-metadata">

**Author:** [@ALIEN](https://discourse.nodered.org/u/ALIEN)\
**Replies:** 2\
**Last updated:** [3 April 2023 10:52 UTC](https://discourse.nodered.org/t/remote-red-remote-access/77190 "2023-04-03T10:52:02Z")

</div>

Hello everyone, Recently, I purchased a subscription of three month remote access for Remote-Red App and payment is completed, but there is a problem! After one day in app, I receive a notification that says: Test per…

---

## [502 gateway error](https://discourse.nodered.org/t/502-gateway-error/77165)

<div class="topic-metadata">

**Author:** [@robmiller1000](https://discourse.nodered.org/u/robmiller1000)\
**Replies:** 16\
**Last updated:** [3 April 2023 09:07 UTC](https://discourse.nodered.org/t/502-gateway-error/77165 "2023-04-03T09:07:53Z")

</div>

Anyone else all the sudden getting 502 bad gateway error? It was fine ealrlier this morning and I have not updated anything.

---

## [Mqtt node issue... bug or setting?](https://discourse.nodered.org/t/mqtt-node-issue-bug-or-setting/77178)

<div class="topic-metadata">

**Author:** [@Gibbz](https://discourse.nodered.org/u/Gibbz)\
**Replies:** 9\
**Last updated:** [3 April 2023 08:27 UTC](https://discourse.nodered.org/t/mqtt-node-issue-bug-or-setting/77178 "2023-04-03T08:27:19Z")

</div>

I have a mqtt in node "zigbee2mqtt/Garage Remote/action" If the device sends a signal to mqtt without the "action" part of the json, node red still triggers and sends the "action" from the previous message. This causes…

---

## [Node-Red kept restarting upon git push](https://discourse.nodered.org/t/node-red-kept-restarting-upon-git-push/77181)

<div class="topic-metadata">

**Author:** [@cameo69](https://discourse.nodered.org/u/cameo69)\
**Replies:** 2\
**Last updated:** [3 April 2023 07:17 UTC](https://discourse.nodered.org/t/node-red-kept-restarting-upon-git-push/77181 "2023-04-03T07:17:49Z")

</div>

Hi all, I have a node-red instance (runs in docker) that kept restarting whenever I did a git push within project. 3 Apr 08:05:11 - \[info\] Node-RED version: v3.0.2 3 Apr 08:05:11 - \[info\] Node.js version: v16.16.0 3 Ap…

---

## [Help with getting time interval](https://discourse.nodered.org/t/help-with-getting-time-interval/77170)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 12\
**Last updated:** [3 April 2023 06:13 UTC](https://discourse.nodered.org/t/help-with-getting-time-interval/77170 "2023-04-03T06:13:37Z")

</div>

For quite a long time now I have had code that worked ok but it is starting to show its problems. Overview: Sunset to a fixed time to dim the lights in n steps. (n is fixed.) But the time between steps varies depend…

---

## [On device Activity (node-red-contrib-alexa-remote2-applestrudel 5.0.25)](https://discourse.nodered.org/t/on-device-activity-node-red-contrib-alexa-remote2-applestrudel-5-0-25/77166)

<div class="topic-metadata">

**Author:** [@Spectre68](https://discourse.nodered.org/u/Spectre68)\
**Replies:** 2\
**Last updated:** [3 April 2023 05:52 UTC](https://discourse.nodered.org/t/on-device-activity-node-red-contrib-alexa-remote2-applestrudel-5-0-25/77166 "2023-04-03T05:52:53Z")

</div>

Hi forum !! I have been using Node Red (3.0.02 on raspy) for Home Automation for a while and it works great. I installed for integration with Alexa (node-red-contrib-alexa-remote2-applestrudel 5.0.25) . It works well bu…

---

## [Is this a bug in the function node withe respect to flow context?](https://discourse.nodered.org/t/is-this-a-bug-in-the-function-node-withe-respect-to-flow-context/77167)

<div class="topic-metadata">

**Author:** [@ssnowa](https://discourse.nodered.org/u/ssnowa)\
**Replies:** 3\
**Last updated:** [2 April 2023 22:27 UTC](https://discourse.nodered.org/t/is-this-a-bug-in-the-function-node-withe-respect-to-flow-context/77167 "2023-04-02T22:27:56Z")

</div>

In the attached flow, upon first inject a flow context variable "chargeCurrentLimit" will be initialized. However, upon a subsequent inject, the test in the function node, "type of flow.chargeCurrentLimit" returns "unde…

---

## [Tasmota DC Power Monitoring Hardware. Does it exist?](https://discourse.nodered.org/t/tasmota-dc-power-monitoring-hardware-does-it-exist/77158)

<div class="topic-metadata">

**Author:** [@richiep](https://discourse.nodered.org/u/richiep)\
**Replies:** 7\
**Last updated:** [2 April 2023 17:39 UTC](https://discourse.nodered.org/t/tasmota-dc-power-monitoring-hardware-does-it-exist/77158 "2023-04-02T17:39:40Z")

</div>

Hey All. I'm looking for hardware to monitor DC power consumption. I've seen that Sonoff makes something but I would prefer something with Tasmota. I've tried flashing Sonoff modules with Tasmota but I fried the pads …

---

## [Node-red-contrib-queue-gate - how to add trigger identifier?](https://discourse.nodered.org/t/node-red-contrib-queue-gate-how-to-add-trigger-identifier/77137)

<div class="topic-metadata">

**Author:** [@bs-eng](https://discourse.nodered.org/u/bs-eng)\
**Replies:** 16\
**Last updated:** [2 April 2023 17:38 UTC](https://discourse.nodered.org/t/node-red-contrib-queue-gate-how-to-add-trigger-identifier/77137 "2023-04-02T17:38:30Z")

</div>

Hi there! I am using node-red-contrib-queue-gate and am wondering how I can add trigger identifiers to the messages generated. For example I have a stream of data which is being queued. Then I have several triggers that…

---

## [Why is this happening?](https://discourse.nodered.org/t/why-is-this-happening/77159)

<div class="topic-metadata">

**Author:** [@SeRiusRod](https://discourse.nodered.org/u/SeRiusRod)\
**Replies:** 9\
**Last updated:** [2 April 2023 15:27 UTC](https://discourse.nodered.org/t/why-is-this-happening/77159 "2023-04-02T15:27:10Z")

</div>

Does anyone know why the following javascript code is triggering the warn alert? function send(message) { if ( message.measurement == null || message.measurement == "" || message.topic == null || mes…

---

## [Flow Sequence Operation?](https://discourse.nodered.org/t/flow-sequence-operation/77157)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 8\
**Last updated:** [2 April 2023 14:11 UTC](https://discourse.nodered.org/t/flow-sequence-operation/77157 "2023-04-02T14:11:33Z")

</div>

I have a Node Red program with 3 flows, how will this be excuted? Will flow 2 not start until flow 1 is done or will flow 2 and flow 3 start at same time flow 1 starts?

---

## [Chart node - set blank label via msg](https://discourse.nodered.org/t/chart-node-set-blank-label-via-msg/77149)

<div class="topic-metadata">

**Author:** [@k5map](https://discourse.nodered.org/u/k5map)\
**Replies:** 2\
**Last updated:** [2 April 2023 12:17 UTC](https://discourse.nodered.org/t/chart-node-set-blank-label-via-msg/77149 "2023-04-02T12:17:42Z")

</div>

I have the chart node working great so long as data flows to it. Problem is when the website I'm pulling the data fails, the chart does not reflect this and just keeps the last data displayed. Does anyone know how you…

---

## [Node-red-html-to-pdf Error](https://discourse.nodered.org/t/node-red-html-to-pdf-error/77143)

<div class="topic-metadata">

**Author:** [@WilsonOviedo](https://discourse.nodered.org/u/WilsonOviedo)\
**Replies:** 2\
**Last updated:** [1 April 2023 17:33 UTC](https://discourse.nodered.org/t/node-red-html-to-pdf-error/77143 "2023-04-01T17:33:42Z")

</div>

Hi, i'm use html to pdf node, when i send html to node, return this error: TypeError: Cannot read properties of undefined (reading 'split') This is my code: \[ { "id": "3f78bec97e2f1517", "type": …

---

## [Node-RED extend Delay count](https://discourse.nodered.org/t/node-red-extend-delay-count/77138)

<div class="topic-metadata">

**Author:** [@tmollow](https://discourse.nodered.org/u/tmollow)\
**Replies:** 1\
**Last updated:** [1 April 2023 17:11 UTC](https://discourse.nodered.org/t/node-red-extend-delay-count/77138 "2023-04-01T17:11:33Z")

</div>

I am looking for a Node-Red-Timer, which I can extend by e.g. 5 minutes with each button click. I would also like to display the remaining time. Is there any example)

---

## [Question on beta and reverting to stable](https://discourse.nodered.org/t/question-on-beta-and-reverting-to-stable/77098)

<div class="topic-metadata">

**Author:** [@Aaroneisele55](https://discourse.nodered.org/u/Aaroneisele55)\
**Replies:** 2\
**Last updated:** [1 April 2023 16:54 UTC](https://discourse.nodered.org/t/question-on-beta-and-reverting-to-stable/77098 "2023-04-01T16:54:39Z")

</div>

Hello, I've been thinking about using the beta version of NodeRed, but I still have some questions about it: If I have the beta and something doesn't work, how easy is it to switch back? Does the beta have some other …

---

## [Open UIBuilder page from NR nodes elements](https://discourse.nodered.org/t/open-uibuilder-page-from-nr-nodes-elements/77140)

<div class="topic-metadata">

**Author:** [@gNeandr](https://discourse.nodered.org/u/gNeandr)\
**Replies:** 1\
**Last updated:** [1 April 2023 15:40 UTC](https://discourse.nodered.org/t/open-uibuilder-page-from-nr-nodes-elements/77140 "2023-04-01T15:40:54Z")

</div>

UIBuilder works fine with my "dev" port setup and starting with node-red -p 2000 -u /home/pi/.red2000 This gives a setup like this: $ ls -lta (part of listing) drwxr-xr-x 5 pi pi 4096 1. Apr 15:53 .red2000 drw…

---

## [Issue with multiple modbus getter nodes](https://discourse.nodered.org/t/issue-with-multiple-modbus-getter-nodes/77130)

<div class="topic-metadata">

**Author:** [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Replies:** 2\
**Last updated:** [1 April 2023 12:10 UTC](https://discourse.nodered.org/t/issue-with-multiple-modbus-getter-nodes/77130 "2023-04-01T12:10:15Z")

</div>

Hello guys, I have an issue with the use of multiple Modbus-Flex-Getter nodes. I am working with raspberry pi 3b+ and use following software versions: I have expanded my project to communicate now with 3 solar inver…

---

## [I like to know how to display live feed from usb webcamera on dashboard of node red](https://discourse.nodered.org/t/i-like-to-know-how-to-display-live-feed-from-usb-webcamera-on-dashboard-of-node-red/77058)

<div class="topic-metadata">

**Author:** [@Azurek](https://discourse.nodered.org/u/Azurek)\
**Replies:** 10\
**Last updated:** [1 April 2023 06:43 UTC](https://discourse.nodered.org/t/i-like-to-know-how-to-display-live-feed-from-usb-webcamera-on-dashboard-of-node-red/77058 "2023-04-01T06:43:39Z")

</div>

I planning to add a colour detection coding on the function node of the flow but I am not sure what node to use for displaying live feed from usb webcamera on dashboard as I just started learning and not much source i ca…

---

## [Time seems off when writing to InfluxDB](https://discourse.nodered.org/t/time-seems-off-when-writing-to-influxdb/76072)

<div class="topic-metadata">

**Author:** [@NewToNodeRed](https://discourse.nodered.org/u/NewToNodeRed)\
**Replies:** 3\
**Last updated:** [1 April 2023 04:53 UTC](https://discourse.nodered.org/t/time-seems-off-when-writing-to-influxdb/76072 "2023-04-01T04:53:40Z")

</div>

I have code in Node Red writing the high and low temp for the each day at 11:59pm CST. Node Red triggers at 2023-03-02 23:59pm CST. When I query influx it shows the time as 1677823140034645235, or 2023-03-03T05:59:00.0…

---

## [Time confused? System is UTC, form entered time is local? But form returns wrong UTC encoding? Appears to be 1 hour off, like it is ignoring DST?](https://discourse.nodered.org/t/time-confused-system-is-utc-form-entered-time-is-local-but-form-returns-wrong-utc-encoding-appears-to-be-1-hour-off-like-it-is-ignoring-dst/76849)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 10\
**Last updated:** [1 April 2023 04:22 UTC](https://discourse.nodered.org/t/time-confused-system-is-utc-form-entered-time-is-local-but-form-returns-wrong-utc-encoding-appears-to-be-1-hour-off-like-it-is-ignoring-dst/76849 "2023-04-01T04:22:34Z")

</div>

OK system is UTC as it should be, but when I enter say 9pm (local) on a NR form, UTC should 4am (where I am) but is shown as 5am, which means DST is ignored? Form result for 9pm entered... 1970-01-02T05:00:00.000Z clea…

---

## [Node-red-contrib-modbus get and sequencer node status="stopped"](https://discourse.nodered.org/t/node-red-contrib-modbus-get-and-sequencer-node-status-stopped/77038)

<div class="topic-metadata">

**Author:** [@ssnowa](https://discourse.nodered.org/u/ssnowa)\
**Replies:** 7\
**Last updated:** [31 March 2023 17:42 UTC](https://discourse.nodered.org/t/node-red-contrib-modbus-get-and-sequencer-node-status-stopped/77038 "2023-03-31T17:42:15Z")

</div>

I have a system running; redeployed some node changes and a sequencer and the initial getter node in the flow reached state "stopped". Now injecting a message results in an error complaining that the node is in state sto…

---

## [How to control a "switch" button by an input to it...?](https://discourse.nodered.org/t/how-to-control-a-switch-button-by-an-input-to-it/77119)

<div class="topic-metadata">

**Author:** [@alfschuster](https://discourse.nodered.org/u/alfschuster)\
**Replies:** 3\
**Last updated:** [31 March 2023 17:42 UTC](https://discourse.nodered.org/t/how-to-control-a-switch-button-by-an-input-to-it/77119 "2023-03-31T17:42:05Z")

</div>

High, I have a switch button which controls a pump by sending an ON String or an OFF string. That works fine if I switch the button from ON to OFF by means of the Node-red panel. Now I want to control this switch butto…

---

## [ExtensionObjectArray OPC UA](https://discourse.nodered.org/t/extensionobjectarray-opc-ua/77120)

<div class="topic-metadata">

**Author:** [@Kamal8393](https://discourse.nodered.org/u/Kamal8393)\
**Replies:** 0\
**Last updated:** [31 March 2023 16:56 UTC](https://discourse.nodered.org/t/extensionobjectarray-opc-ua/77120 "2023-03-31T16:56:48Z")

</div>

Hello, I have created a struct on my OPC UA server. I am able to read the struct on NodeRed. similar to reading I would like to write as well, however I am not sure, how to make the extension object array, or how to do…

---

## [Scrapping a dynamic (AJAX) page](https://discourse.nodered.org/t/scrapping-a-dynamic-ajax-page/77113)

<div class="topic-metadata">

**Author:** [@DamianosS](https://discourse.nodered.org/u/DamianosS)\
**Replies:** 4\
**Last updated:** [31 March 2023 15:46 UTC](https://discourse.nodered.org/t/scrapping-a-dynamic-ajax-page/77113 "2023-03-31T15:46:24Z")

</div>

Dear community, I've read every post that contains "scrap" but couldn't find an answer to my problem (most likely because of my ignorance). Here is what I'd like to do: The (Greek) webpage ΔΕΔΔΗΕ Α.Ε. - Προγραμματισμέν…

---

## [Export a sub-set of flows/tabs](https://discourse.nodered.org/t/export-a-sub-set-of-flows-tabs/77116)

<div class="topic-metadata">

**Author:** [@rko](https://discourse.nodered.org/u/rko)\
**Replies:** 0\
**Last updated:** [31 March 2023 14:16 UTC](https://discourse.nodered.org/t/export-a-sub-set-of-flows-tabs/77116 "2023-03-31T14:16:04Z")

</div>

Not really a question. Just realized you can export a sub-set of tabs/flows by clicking them, holding down shift or ctrl key and then go to export. So cool! Happy weekend everyone!

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

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