# General

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

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

**Page:** 624

---

## [ONVIF access on ANNKE C500](https://discourse.nodered.org/t/onvif-access-on-annke-c500/38516)

<div class="topic-metadata">

**Author:** [@nygma2004](https://discourse.nodered.org/u/nygma2004)\
**Replies:** 7\
**Last updated:** [12 January 2021 22:57 UTC](https://discourse.nodered.org/t/onvif-access-on-annke-c500/38516 "2021-01-12T22:57:41Z")

</div>

I am using node-red-contrib-onvif-nodes in my Node-Red setup and it connects to my Reolink cameras without any issues. I have purchased a Annke C500, and I think I have configured it correctly (enabled ONVIF in settings…

---

## [Sub-flow still not playing right after being put on another machine](https://discourse.nodered.org/t/sub-flow-still-not-playing-right-after-being-put-on-another-machine/39000)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 1\
**Last updated:** [12 January 2021 20:14 UTC](https://discourse.nodered.org/t/sub-flow-still-not-playing-right-after-being-put-on-another-machine/39000 "2021-01-12T20:14:45Z")

</div>

Ok, I have written this subflow. It listens to MQTT on a couple of topics. The idea is it receives a message telling it the frequency at which it functions. Say 20 seconds. It has an inbuilt setting to set it to 30 s…

---

## [Abort Deploy/Revert Global](https://discourse.nodered.org/t/abort-deploy-revert-global/39021)

<div class="topic-metadata">

**Author:** [@votecoffee](https://discourse.nodered.org/u/votecoffee)\
**Replies:** 2\
**Last updated:** [12 January 2021 19:33 UTC](https://discourse.nodered.org/t/abort-deploy-revert-global/39021 "2021-01-12T19:33:14Z")

</div>

Is there a way to abandon changes (awaiting deploy) and get the global (all flows) back from the currently deployed system?

---

## [Unhide Node Red Flow](https://discourse.nodered.org/t/unhide-node-red-flow/38912)

<div class="topic-metadata">

**Author:** [@AbDhops](https://discourse.nodered.org/u/AbDhops)\
**Replies:** 6\
**Last updated:** [12 January 2021 17:09 UTC](https://discourse.nodered.org/t/unhide-node-red-flow/38912 "2021-01-12T17:09:24Z")

</div>

Hello There, I have Node red running in Synology docker. Suddenly I have noticed that some of my flows are hidden. Don't know how and since when these flows were hidden.... I am sure, flow is still there, as automatio…

---

## [Inserting serial port doesn't work](https://discourse.nodered.org/t/inserting-serial-port-doesnt-work/39004)

<div class="topic-metadata">

**Author:** [@Tehn](https://discourse.nodered.org/u/Tehn)\
**Replies:** 2\
**Last updated:** [12 January 2021 15:03 UTC](https://discourse.nodered.org/t/inserting-serial-port-doesnt-work/39004 "2021-01-12T15:03:36Z")

</div>

Hello! while trying to import data from a port i keep getting acces denied in the following line 12 Jan 15:15:43 - \[error\] serial port COM4 error: Error: Opening COM4: Access denied Does anyone know how to read the COM…

---

## [Ui-time-scheduler](https://discourse.nodered.org/t/ui-time-scheduler/38981)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 3\
**Last updated:** [12 January 2021 14:43 UTC](https://discourse.nodered.org/t/ui-time-scheduler/38981 "2021-01-12T14:43:04Z")

</div>

Been playing with this node for a bit now and it's my new favorite node, adding the topic really helped. Thanks for the node and the update

---

## [Crash in NodeRed with Email Node](https://discourse.nodered.org/t/crash-in-nodered-with-email-node/38919)

<div class="topic-metadata">

**Author:** [@softy2k](https://discourse.nodered.org/u/softy2k)\
**Replies:** 2\
**Last updated:** [12 January 2021 14:13 UTC](https://discourse.nodered.org/t/crash-in-nodered-with-email-node/38919 "2021-01-12T14:13:31Z")

</div>

The code is as simple as possible : \[{"id":"b0fe7e8b.25abf","type":"e-mail","z":"1c590d17.efd25b","server":"your.email@email.com","port":"465","secure":true,"tls":true,"name":"","dname":"Email","x":910,"y":500,"wires":\[…

---

## [ConnectionError SQL SERVER 19](https://discourse.nodered.org/t/connectionerror-sql-server-19/38993)

<div class="topic-metadata">

**Author:** [@Mattia.88](https://discourse.nodered.org/u/Mattia.88)\
**Replies:** 4\
**Last updated:** [12 January 2021 13:59 UTC](https://discourse.nodered.org/t/connectionerror-sql-server-19/38993 "2021-01-12T13:59:24Z")

</div>

Goog morning, i have some problem with sql server (in local pc), using "node-red-contrib-mssql": "ConnectionError: Failed to connect to LM-NBK-03:undefined in 15000ms" My instance name is: LM-NBK-03\\DEV19 Problably t…

---

## [Stop infinity loop in function node using payload](https://discourse.nodered.org/t/stop-infinity-loop-in-function-node-using-payload/38999)

<div class="topic-metadata">

**Author:** [@maxym](https://discourse.nodered.org/u/maxym)\
**Replies:** 4\
**Last updated:** [12 January 2021 12:43 UTC](https://discourse.nodered.org/t/stop-infinity-loop-in-function-node-using-payload/38999 "2021-01-12T12:43:34Z")

</div>

Hello all. This is my first post over here. I had to write a simple simulation routine, which takes data from payload once, then spool the loop to generate a series of result values. After each iteration of that loo…

---

## [Sorry to ask again, I can't find my original post](https://discourse.nodered.org/t/sorry-to-ask-again-i-cant-find-my-original-post/38996)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [12 January 2021 11:10 UTC](https://discourse.nodered.org/t/sorry-to-ask-again-i-cant-find-my-original-post/38996 "2021-01-12T11:10:05Z")

</div>

What is the trick to access global variables form within a change node? I was wanting to do maths things to it and so to simply set/get it I would then need a function node, but someone posted me how to do it. I seem t…

---

## [Append new flow remotely](https://discourse.nodered.org/t/append-new-flow-remotely/38994)

<div class="topic-metadata">

**Author:** [@akhtar321h](https://discourse.nodered.org/u/akhtar321h)\
**Replies:** 0\
**Last updated:** [12 January 2021 10:24 UTC](https://discourse.nodered.org/t/append-new-flow-remotely/38994 "2021-01-12T10:24:37Z")

</div>

Hello Everyone, I want to add or delete new flow remotely, I have tried some methods but by that methods we can replace all existing flow with new flow. I want to add new flows. Is there any method to do this, please h…

---

## [Disabling palette module from inside the application](https://discourse.nodered.org/t/disabling-palette-module-from-inside-the-application/38967)

<div class="topic-metadata">

**Author:** [@Guillermo](https://discourse.nodered.org/u/Guillermo)\
**Replies:** 3\
**Last updated:** [12 January 2021 08:59 UTC](https://discourse.nodered.org/t/disabling-palette-module-from-inside-the-application/38967 "2021-01-12T08:59:55Z")

</div>

Hi all, I am currently doing an application in which it is compulsory to have a certain module disabled, as if I had touched this button from the palette: My problem is that whilst I need to have this module installe…

---

## [How to handle Http request timeout](https://discourse.nodered.org/t/how-to-handle-http-request-timeout/38937)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 5\
**Last updated:** [12 January 2021 08:43 UTC](https://discourse.nodered.org/t/how-to-handle-http-request-timeout/38937 "2021-01-12T08:43:43Z")

</div>

Hi, I have a flow CheckFileAndGetData that handles the file check and retrieves the data of the file, this flow is called by the flow DataCollect by http nodes. In the case of a large number of files, about 10,000 f…

---

## [Why delete message properties?](https://discourse.nodered.org/t/why-delete-message-properties/38966)

<div class="topic-metadata">

**Author:** [@adamelli](https://discourse.nodered.org/u/adamelli)\
**Replies:** 6\
**Last updated:** [12 January 2021 06:25 UTC](https://discourse.nodered.org/t/why-delete-message-properties/38966 "2021-01-12T06:25:11Z")

</div>

What are some general examples or reasons to delete a message property? https://cookbook.nodered.org/basic/delete-message-property Maybe one instance is when a payload is split up, following different branches...

---

## [Node-red Worldmap track line](https://discourse.nodered.org/t/node-red-worldmap-track-line/38875)

<div class="topic-metadata">

**Author:** [@chooimail](https://discourse.nodered.org/u/chooimail)\
**Replies:** 10\
**Last updated:** [12 January 2021 05:00 UTC](https://discourse.nodered.org/t/node-red-worldmap-track-line/38875 "2021-01-12T05:00:21Z")

</div>

Hi, My first post/question to the forum. Main concern: Why is the tracking line connecting back to the first point? What I have tried is based on the existing example "Map in Dashboard". What is intended to achieve …

---

## [Question Regarding uibuilder](https://discourse.nodered.org/t/question-regarding-uibuilder/38854)

<div class="topic-metadata">

**Author:** [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Replies:** 8\
**Last updated:** [11 January 2021 22:51 UTC](https://discourse.nodered.org/t/question-regarding-uibuilder/38854 "2021-01-11T22:51:28Z")

</div>

I have been practicing programming uibuilder with vue & bootstrapVue. I have worked up a database manipulation program following an excellent tutorial and I can get data through the network with a vue method using async …

---

## [Flows stopped due to missing node types: chatbot-telegram-node](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-chatbot-telegram-node/38980)

<div class="topic-metadata">

**Author:** [@nsacras](https://discourse.nodered.org/u/nsacras)\
**Replies:** 2\
**Last updated:** [11 January 2021 22:25 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-chatbot-telegram-node/38980 "2021-01-11T22:25:34Z")

</div>

Hi, I need some help. I'm not a node red advanced user but i'm learning and make my step by step achivements. Right now all my node red flows aren't working! I have this message: Flows stopped due to missing node ty…

---

## [Switch node - multiple conditions](https://discourse.nodered.org/t/switch-node-multiple-conditions/38978)

<div class="topic-metadata">

**Author:** [@dathor](https://discourse.nodered.org/u/dathor)\
**Replies:** 4\
**Last updated:** [11 January 2021 22:24 UTC](https://discourse.nodered.org/t/switch-node-multiple-conditions/38978 "2021-01-11T22:24:58Z")

</div>

Hello I am looking for a way to route some messages based on a property, lets say the topic. Using a switch node i can route the message. For example 'Foo' could be routed to output one and 'Bar' could be routed to ou…

---

## [Update a MYSQL DB Entry](https://discourse.nodered.org/t/update-a-mysql-db-entry/38972)

<div class="topic-metadata">

**Author:** [@paco1503](https://discourse.nodered.org/u/paco1503)\
**Replies:** 2\
**Last updated:** [11 January 2021 22:20 UTC](https://discourse.nodered.org/t/update-a-mysql-db-entry/38972 "2021-01-11T22:20:29Z")

</div>

Hey, again a noob question ^^ i tried 2 put something into my sql DB and it worked function: var frisch = msg.count; query = INSERT INTO Wasser(Stand) VALUES("+frisch+");; msg.topic = query; return msg; but now i …

---

## [How to get a value of an HTML page](https://discourse.nodered.org/t/how-to-get-a-value-of-an-html-page/37975)

<div class="topic-metadata">

**Author:** [@gschmidt](https://discourse.nodered.org/u/gschmidt)\
**Replies:** 4\
**Last updated:** [11 January 2021 22:10 UTC](https://discourse.nodered.org/t/how-to-get-a-value-of-an-html-page/37975 "2021-01-11T22:10:05Z")

</div>

Hi, I want to get a VALUE of an element of a (local) HTML page The element in the HTML page is \<p id="stbStatus"\> VALUE \</p\> I tried a lot of possiblities but I can't figure out what I need to fill in at the Selec…

---

## [Exec node as root?](https://discourse.nodered.org/t/exec-node-as-root/38921)

<div class="topic-metadata">

**Author:** [@EnricoSx](https://discourse.nodered.org/u/EnricoSx)\
**Replies:** 7\
**Last updated:** [11 January 2021 22:05 UTC](https://discourse.nodered.org/t/exec-node-as-root/38921 "2021-01-11T22:05:13Z")

</div>

Good morning, forgive google translator. What is the correct way to run a command as root via the exec node? I have a Raspberry Pi and I want it to execute "sudo shutdown now" by pressing the physical button, pin valu…

---

## [Light schedule with additional condition](https://discourse.nodered.org/t/light-schedule-with-additional-condition/38372)

<div class="topic-metadata">

**Author:** [@Enrico](https://discourse.nodered.org/u/Enrico)\
**Replies:** 15\
**Last updated:** [11 January 2021 21:33 UTC](https://discourse.nodered.org/t/light-schedule-with-additional-condition/38372 "2021-01-11T21:33:14Z")

</div>

Hey guys I've got the following in mind and I hope someone can point me in the right direction. I want to have a scheduled lighting with starting time according to the sunset. So nothing special so far, there are plen…

---

## [Simple If statement doesn´t work](https://discourse.nodered.org/t/simple-if-statement-doesn-t-work/37937)

<div class="topic-metadata">

**Author:** [@oma](https://discourse.nodered.org/u/oma)\
**Replies:** 14\
**Last updated:** [11 January 2021 20:05 UTC](https://discourse.nodered.org/t/simple-if-statement-doesn-t-work/37937 "2021-01-11T20:05:40Z")

</div>

I am sure it´s an "boy, tt´s so damn easy" question but i can´t see it anyway. I am getting a msg.payload value of 41.1 but my function still returns false: var watt = msg.payload.value; if (watt \> 20) { ms…

---

## [Trigger Question and trigger reset question](https://discourse.nodered.org/t/trigger-question-and-trigger-reset-question/38969)

<div class="topic-metadata">

**Author:** [@vikozo](https://discourse.nodered.org/u/vikozo)\
**Replies:** 7\
**Last updated:** [11 January 2021 19:58 UTC](https://discourse.nodered.org/t/trigger-question-and-trigger-reset-question/38969 "2021-01-11T19:58:43Z")

</div>

Hello first i have a trigger to avoid to get to many telegram so the Trigger 180Min will wait this time, this part work. But is there a way in the node config part to check how long the 180min are going on? Second, th…

---

## [Protection for window cover when window is open](https://discourse.nodered.org/t/protection-for-window-cover-when-window-is-open/38880)

<div class="topic-metadata">

**Author:** [@martinst](https://discourse.nodered.org/u/martinst)\
**Replies:** 4\
**Last updated:** [11 January 2021 18:02 UTC](https://discourse.nodered.org/t/protection-for-window-cover-when-window-is-open/38880 "2021-01-11T18:02:08Z")

</div>

I have several window roller shutters and windows that opens to the outside of the house. So when I control the cover by Home Assistant or it is triggered by some automation, I don't want to let the covers go down when t…

---

## [Dim Shelly Dimmer 2 using Homekit Node](https://discourse.nodered.org/t/dim-shelly-dimmer-2-using-homekit-node/38852)

<div class="topic-metadata">

**Author:** [@mabo01](https://discourse.nodered.org/u/mabo01)\
**Replies:** 24\
**Last updated:** [11 January 2021 17:30 UTC](https://discourse.nodered.org/t/dim-shelly-dimmer-2-using-homekit-node/38852 "2021-01-11T17:30:45Z")

</div>

Hi! I searched the forum for my questions, but could not find anything. I'm a bloody newbie - so please forgive me, in case this is a silly question. I would like to dim my new Shelly Dimmer 2 (Node: node-red-contrib-s…

---

## [Unexpected end of JSON input in Json Node](https://discourse.nodered.org/t/unexpected-end-of-json-input-in-json-node/38944)

<div class="topic-metadata">

**Author:** [@bobfield](https://discourse.nodered.org/u/bobfield)\
**Replies:** 13\
**Last updated:** [11 January 2021 17:16 UTC](https://discourse.nodered.org/t/unexpected-end-of-json-input-in-json-node/38944 "2021-01-11T17:16:46Z")

</div>

Dears, I'm appending a Json records sequence in a text file using the 'File Node', and the last line is a newline character. After, I read this file with 'File In Node' and 'Json Node' to convert in Json. It works, but …

---

## [Bug in node-red-contrib-1wire 0.0.1](https://discourse.nodered.org/t/bug-in-node-red-contrib-1wire-0-0-1/38927)

<div class="topic-metadata">

**Author:** [@stefan24](https://discourse.nodered.org/u/stefan24)\
**Replies:** 3\
**Last updated:** [11 January 2021 16:15 UTC](https://discourse.nodered.org/t/bug-in-node-red-contrib-1wire-0-0-1/38927 "2021-01-11T16:15:05Z")

</div>

I am reading several 1wire temparature sensors with a Raspi 3 with this node: I wanted to start a heater when temperatures below 0 °C are reached. But I realized, that the min value is always 0. I don't know, how to …

---

## [Counting Pulses from an RPM Sensor](https://discourse.nodered.org/t/counting-pulses-from-an-rpm-sensor/38918)

<div class="topic-metadata">

**Author:** [@Marty\_B](https://discourse.nodered.org/u/Marty_B)\
**Replies:** 12\
**Last updated:** [11 January 2021 15:56 UTC](https://discourse.nodered.org/t/counting-pulses-from-an-rpm-sensor/38918 "2021-01-11T15:56:43Z")

</div>

Hi All, I am considering connecting a raspberry PI 3B+ to a gate controller's RPM sensor. This sensor outputs a square wave at about 100 Hz at its maximum speed. My question is, how can I count these using node-red?

---

## [Scraping a web page with data embedded in a script tag](https://discourse.nodered.org/t/scraping-a-web-page-with-data-embedded-in-a-script-tag/38949)

<div class="topic-metadata">

**Author:** [@stevenhorner](https://discourse.nodered.org/u/stevenhorner)\
**Replies:** 4\
**Last updated:** [11 January 2021 14:33 UTC](https://discourse.nodered.org/t/scraping-a-web-page-with-data-embedded-in-a-script-tag/38949 "2021-01-11T14:33:58Z")

</div>

Hello, I am testing scraping a webpage to show stock levels of items, rather than constantly checking a website. Example page to scrape: Link I have tried using the examples and looked at other similar questions but th…

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

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