# General

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

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

**Page:** 325

---

## [Resent last correct value if actual value was incorrect](https://discourse.nodered.org/t/resent-last-correct-value-if-actual-value-was-incorrect/67558)

<div class="topic-metadata">

**Author:** [@bgdev2015](https://discourse.nodered.org/u/bgdev2015)\
**Replies:** 9\
**Last updated:** [10 September 2022 18:27 UTC](https://discourse.nodered.org/t/resent-last-correct-value-if-actual-value-was-incorrect/67558 "2022-09-10T18:27:05Z")

</div>

Hey Node-Red-Users, as shown here iam filtering out wrong data, but is it possible to resent last correct value if the second filter blocks an wrong value?

---

## [Pipe RTSP - Cam (live) video stream to YouTube?](https://discourse.nodered.org/t/pipe-rtsp-cam-live-video-stream-to-youtube/67525)

<div class="topic-metadata">

**Author:** [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Replies:** 7\
**Last updated:** [10 September 2022 16:51 UTC](https://discourse.nodered.org/t/pipe-rtsp-cam-live-video-stream-to-youtube/67525 "2022-09-10T16:51:02Z")

</div>

Hi ho folks :slight\_smile: After I got all my cams working with Node Red by using ffmpeg / kevin s nodes. I was thinking to live-stream the interesting stuff (chicken cams) to YouTube. With this idea I am not the first: …

---

## [Palette manager issue - looks like can't reach internet](https://discourse.nodered.org/t/palette-manager-issue-looks-like-cant-reach-internet/67552)

<div class="topic-metadata">

**Author:** [@bogi](https://discourse.nodered.org/u/bogi)\
**Replies:** 6\
**Last updated:** [10 September 2022 14:29 UTC](https://discourse.nodered.org/t/palette-manager-issue-looks-like-cant-reach-internet/67552 "2022-09-10T14:29:42Z")

</div>

Guys, the situation is as follows: finally i have a time to play with NodeREd. I hooked my setup which is: RB Pi4 4GB running on SSD Pi is running IoTstack and all is in dockers Pi is connected to Tenda router with et…

---

## [Node-RED template node + Traefik CORS problem](https://discourse.nodered.org/t/node-red-template-node-traefik-cors-problem/67359)

<div class="topic-metadata">

**Author:** [@rucksman007](https://discourse.nodered.org/u/rucksman007)\
**Replies:** 2\
**Last updated:** [10 September 2022 11:55 UTC](https://discourse.nodered.org/t/node-red-template-node-traefik-cors-problem/67359 "2022-09-10T11:55:51Z")

</div>

I am trying to load fonts from a subdomain different from the Node-RED subdomain in a template node, but this fails with this error: Access to font at 'https://www.mydomain.tld/path/to/font.woff2' from origin 'https://n…

---

## [How to add a decimal place inside a number?](https://discourse.nodered.org/t/how-to-add-a-decimal-place-inside-a-number/67551)

<div class="topic-metadata">

**Author:** [@network\_potato](https://discourse.nodered.org/u/network_potato)\
**Replies:** 1\
**Last updated:** [10 September 2022 11:43 UTC](https://discourse.nodered.org/t/how-to-add-a-decimal-place-inside-a-number/67551 "2022-09-10T11:43:25Z")

</div>

I have a temperature that is displayed like this: temperature: 1563 I would like it to look like this: temperature: 15.6 How would I do that?

---

## [Wrong timezone in Node-RED](https://discourse.nodered.org/t/wrong-timezone-in-node-red/67545)

<div class="topic-metadata">

**Author:** [@network\_potato](https://discourse.nodered.org/u/network_potato)\
**Replies:** 3\
**Last updated:** [10 September 2022 11:13 UTC](https://discourse.nodered.org/t/wrong-timezone-in-node-red/67545 "2022-09-10T11:13:11Z")

</div>

It seems my Node-RED is 2 hours off. This is the output of an inject node directly connected to a debug node, notice the timestamp of the debug node is correct, but the string inside is 2 hours off: I run Node-RED in…

---

## [Raspberry Pi errors: Recovery application crashed. sh: can't access tty: job control turned off](https://discourse.nodered.org/t/raspberry-pi-errors-recovery-application-crashed-sh-cant-access-tty-job-control-turned-off/67535)

<div class="topic-metadata">

**Author:** [@ScottJ2505](https://discourse.nodered.org/u/ScottJ2505)\
**Replies:** 3\
**Last updated:** [10 September 2022 07:32 UTC](https://discourse.nodered.org/t/raspberry-pi-errors-recovery-application-crashed-sh-cant-access-tty-job-control-turned-off/67535 "2022-09-10T07:32:43Z")

</div>

Hello, I am been using a raspbery pi 3 successfully for a few years to run Node Red for home automation. The Pi also hosts MQTT mosquito. I am not using any GPIO pins. For some reason today the Pi is throwing the follow…

---

## [WeatherAPI com weather service](https://discourse.nodered.org/t/weatherapi-com-weather-service/64216)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 38\
**Last updated:** [10 September 2022 05:59 UTC](https://discourse.nodered.org/t/weatherapi-com-weather-service/64216 "2022-09-10T05:59:28Z")

</div>

weatherapi been around a few years now, but it's not been on my radar (and not mentioned elsewhere in the node-RED forum), so I thought I'd give it a try, as most of the other weather api's are no longer available (for…

---

## [Connect Node-RED Project to Bitbucket git \[SOLVED\]](https://discourse.nodered.org/t/connect-node-red-project-to-bitbucket-git-solved/66446)

<div class="topic-metadata">

**Author:** [@cow\_n\_berg](https://discourse.nodered.org/u/cow_n_berg)\
**Replies:** 5\
**Last updated:** [9 September 2022 21:33 UTC](https://discourse.nodered.org/t/connect-node-red-project-to-bitbucket-git-solved/66446 "2022-09-09T21:33:45Z")

</div>

A short how-to (for the next time I need it...) When I tried to connect my project git to a Bitbucket repository, I couldn't get it right. Now I have, so let's share it. In the end, I had the entire project already in B…

---

## [Next value in msg max 1 higher than last](https://discourse.nodered.org/t/next-value-in-msg-max-1-higher-than-last/67493)

<div class="topic-metadata">

**Author:** [@bgdev2015](https://discourse.nodered.org/u/bgdev2015)\
**Replies:** 22\
**Last updated:** [9 September 2022 21:12 UTC](https://discourse.nodered.org/t/next-value-in-msg-max-1-higher-than-last/67493 "2022-09-09T21:12:27Z")

</div>

Hi at first, iam running an MQTT-Server where NodeRed fetches data. I want to filter a spicific msg that this stored value is maximum 1 higher than the last sended value. Iam completely new to NodeRed so please be gent…

---

## [Help with why this isn't working](https://discourse.nodered.org/t/help-with-why-this-isnt-working/67504)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 28\
**Last updated:** [9 September 2022 21:07 UTC](https://discourse.nodered.org/t/help-with-why-this-isnt-working/67504 "2022-09-09T21:07:55Z")

</div>

Sorry folks, the brain has yet again failed me. This is the code (just to get it posted) \[{"id":"736e32dd.75a544","type":"function","z":"10fde8b5.a8a82f","name":"/ 1000","func":"let now = parseInt(msg.now/1000);\\nmsg.n…

---

## [I need help to add more to a bot](https://discourse.nodered.org/t/i-need-help-to-add-more-to-a-bot/67523)

<div class="topic-metadata">

**Author:** [@Holk](https://discourse.nodered.org/u/Holk)\
**Replies:** 4\
**Last updated:** [9 September 2022 16:04 UTC](https://discourse.nodered.org/t/i-need-help-to-add-more-to-a-bot/67523 "2022-09-09T16:04:14Z")

</div>

Hi I am totally new to the world of node red, but would like to try to understand it better, I have downloaded start that a bot that I would like to do more on, what it can do now is buy currency in a specified second, …

---

## [Can the Delay node rate limit, but pass first message immediately, and always pass on the latest message?](https://discourse.nodered.org/t/can-the-delay-node-rate-limit-but-pass-first-message-immediately-and-always-pass-on-the-latest-message/67170)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 76\
**Last updated:** [9 September 2022 14:08 UTC](https://discourse.nodered.org/t/can-the-delay-node-rate-limit-but-pass-first-message-immediately-and-always-pass-on-the-latest-message/67170 "2022-09-09T14:08:44Z")

</div>

I have a scenario with messages coming in at random intervals. Often a long way apart but occasionally close together. These are the goals When a message comes in and there has been more than five seconds since the …

---

## [Use SQLite in a function node](https://discourse.nodered.org/t/use-sqlite-in-a-function-node/66981)

<div class="topic-metadata">

**Author:** [@stgj](https://discourse.nodered.org/u/stgj)\
**Replies:** 18\
**Last updated:** [9 September 2022 13:34 UTC](https://discourse.nodered.org/t/use-sqlite-in-a-function-node/66981 "2022-09-09T13:34:02Z")

</div>

I have a table with no primary key. There will be several duplicated records. The table will hold alarms from a facility. 4 columns: tag, description, start\_time and end\_time. The only rule is that there cant exist dup…

---

## [Ui control behaviour on two different devices](https://discourse.nodered.org/t/ui-control-behaviour-on-two-different-devices/67477)

<div class="topic-metadata">

**Author:** [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Replies:** 2\
**Last updated:** [9 September 2022 13:22 UTC](https://discourse.nodered.org/t/ui-control-behaviour-on-two-different-devices/67477 "2022-09-09T13:22:52Z")

</div>

Hiho, I use a ui-control node to show / hide different groups. That does work like expected on one device. If I trigger a "show" or "hide" on the first device while viewing the page on second device it will not work. I…

---

## [Working with JSON data objects coming from MQTT](https://discourse.nodered.org/t/working-with-json-data-objects-coming-from-mqtt/67066)

<div class="topic-metadata">

**Author:** [@gbhide0312](https://discourse.nodered.org/u/gbhide0312)\
**Replies:** 6\
**Last updated:** [9 September 2022 11:28 UTC](https://discourse.nodered.org/t/working-with-json-data-objects-coming-from-mqtt/67066 "2022-09-09T11:28:03Z")

</div>

Hi, My first time on this forum. Working with incoming MQTT Data. It is a big JSON string. Tried outputting it both as string/buffer as well as parsed JSON object. What im trying to do here is extract the individual ke…

---

## [How to send JSON out of function node?](https://discourse.nodered.org/t/how-to-send-json-out-of-function-node/67500)

<div class="topic-metadata">

**Author:** [@EaB11](https://discourse.nodered.org/u/EaB11)\
**Replies:** 2\
**Last updated:** [9 September 2022 08:52 UTC](https://discourse.nodered.org/t/how-to-send-json-out-of-function-node/67500 "2022-09-09T08:52:33Z")

</div>

hi all.. I am using this subflow to try and fade between values.. https://flows.nodered.org/flow/4abee421817eac7335b5633f166295af i noticed the inject node in the subflows example sends JSON as the payload with a bun…

---

## [How to create TCP server and access it from public IP](https://discourse.nodered.org/t/how-to-create-tcp-server-and-access-it-from-public-ip/67503)

<div class="topic-metadata">

**Author:** [@kc2015](https://discourse.nodered.org/u/kc2015)\
**Replies:** 2\
**Last updated:** [9 September 2022 08:05 UTC](https://discourse.nodered.org/t/how-to-create-tcp-server-and-access-it-from-public-ip/67503 "2022-09-09T08:05:17Z")

</div>

Hi, I have created a TCP server. If I set localhost it work. Within node red I can access and send / receive messages. My node is hosted on AwS. I need to access tcp server from outside over internet. I set up port fo…

---

## [HomeAssistant palette installation error](https://discourse.nodered.org/t/homeassistant-palette-installation-error/67155)

<div class="topic-metadata">

**Author:** [@agino](https://discourse.nodered.org/u/agino)\
**Replies:** 13\
**Last updated:** [9 September 2022 01:47 UTC](https://discourse.nodered.org/t/homeassistant-palette-installation-error/67155 "2022-09-09T01:47:08Z")

</div>

Dear, please help, I cannot install palette to NR at HA os running RaspberryPi. Im new and no idea how handle this error. here is the log: ----------------------------------------------------------- 2022-08-30T22:06…

---

## [Change Node: string to number](https://discourse.nodered.org/t/change-node-string-to-number/67475)

<div class="topic-metadata">

**Author:** [@HaVi](https://discourse.nodered.org/u/HaVi)\
**Replies:** 4\
**Last updated:** [8 September 2022 15:00 UTC](https://discourse.nodered.org/t/change-node-string-to-number/67475 "2022-09-08T15:00:36Z")

</div>

I hope I don't bore others with my question, it must be simple but I couldn't solve it. In the Change Node I use the code below but the output temp and humi is a string (see image) but that must be a number. Can someone …

---

## [MQTT Node connections](https://discourse.nodered.org/t/mqtt-node-connections/6819)

<div class="topic-metadata">

**Author:** [@manal](https://discourse.nodered.org/u/manal)\
**Replies:** 6\
**Last updated:** [8 September 2022 14:51 UTC](https://discourse.nodered.org/t/mqtt-node-connections/6819 "2022-09-08T14:51:37Z")

</div>

Hi , I am using MQTT node to publish and subscribe on different topics (all the same flow) to mosquitto broker. everything work very well, I can send command to the node-red in raspberry pi3 and publish data from sens…

---

## [Add new library using library store](https://discourse.nodered.org/t/add-new-library-using-library-store/67469)

<div class="topic-metadata">

**Author:** [@alevher](https://discourse.nodered.org/u/alevher)\
**Replies:** 6\
**Last updated:** [8 September 2022 14:24 UTC](https://discourse.nodered.org/t/add-new-library-using-library-store/67469 "2022-09-08T14:24:25Z")

</div>

Good moning everyone! I am trying to add a local library and i came acrosss this: i added the library portion to the settings file and created the folder but i see the new library tab but i still can't see the flows …

---

## [Face recognition using Omron HVC](https://discourse.nodered.org/t/face-recognition-using-omron-hvc/67385)

<div class="topic-metadata">

**Author:** [@FrantaD](https://discourse.nodered.org/u/FrantaD)\
**Replies:** 2\
**Last updated:** [8 September 2022 12:44 UTC](https://discourse.nodered.org/t/face-recognition-using-omron-hvc/67385 "2022-09-08T12:44:16Z")

</div>

Hi, I want to get this facial recognition device. I found a tutorial on how to run this on RPI 4 using Python code. Is there any reasonable way to implement this in Nodered? Thanks for all the comments. I'm trying to…

---

## [Useage of contrib-npm](https://discourse.nodered.org/t/useage-of-contrib-npm/67449)

<div class="topic-metadata">

**Author:** [@smitterer](https://discourse.nodered.org/u/smitterer)\
**Replies:** 6\
**Last updated:** [8 September 2022 10:40 UTC](https://discourse.nodered.org/t/useage-of-contrib-npm/67449 "2022-09-08T10:40:38Z")

</div>

Hi! I'd like to use the npm node (node-red-contrib-npm (node) - Node-RED) to be able to use pdf-merger-js (pdf-merger-js - npm). Unfortunately, I always get errors like TypeError: func is not a function or similar, dep…

---

## [Create files TXT with multiline](https://discourse.nodered.org/t/create-files-txt-with-multiline/67471)

<div class="topic-metadata">

**Author:** [@LinkView\_Maze](https://discourse.nodered.org/u/LinkView_Maze)\
**Replies:** 3\
**Last updated:** [8 September 2022 10:08 UTC](https://discourse.nodered.org/t/create-files-txt-with-multiline/67471 "2022-09-08T10:08:28Z")

</div>

Hello I want to inject several lines into a text file with the following formatting. # USER user\_name=1000 user\_domain=10.65.101.48 user\_display=Name site user\_organization= auth\_realm= auth\_name=1000 auth\_pass=link217…

---

## [Setting up a Live/Prod and a Development System](https://discourse.nodered.org/t/setting-up-a-live-prod-and-a-development-system/67415)

<div class="topic-metadata">

**Author:** [@DonRacz](https://discourse.nodered.org/u/DonRacz)\
**Replies:** 18\
**Last updated:** [7 September 2022 20:21 UTC](https://discourse.nodered.org/t/setting-up-a-live-prod-and-a-development-system/67415 "2022-09-07T20:21:16Z")

</div>

I have two environments running on two seperate RPI's. RPI-14 and RPI-15. I have a very basic sprinkler system on 14 that uses an ESP32 to control the valves. (just on off for now). I setup a second esp32 for testing a…

---

## [How to display live video to the node red dashboard and have the ability to simply turn it on and turn it off with either a slide switch or "On" "Off" push buttons](https://discourse.nodered.org/t/how-to-display-live-video-to-the-node-red-dashboard-and-have-the-ability-to-simply-turn-it-on-and-turn-it-off-with-either-a-slide-switch-or-on-off-push-buttons/67017)

<div class="topic-metadata">

**Author:** [@jorymathis13](https://discourse.nodered.org/u/jorymathis13)\
**Replies:** 29\
**Last updated:** [7 September 2022 16:00 UTC](https://discourse.nodered.org/t/how-to-display-live-video-to-the-node-red-dashboard-and-have-the-ability-to-simply-turn-it-on-and-turn-it-off-with-either-a-slide-switch-or-on-off-push-buttons/67017 "2022-09-07T16:00:41Z")

</div>

@kevinGodell Hey Kevin, first off I'm going preface and say that I am a complete NEWB when it comes using node-red and ip cameras. I am able to stream my ip cameras with VLC using rtsp and see the live streams. I spent …

---

## [Control a servo ...HELP](https://discourse.nodered.org/t/control-a-servo-help/67436)

<div class="topic-metadata">

**Author:** [@node2](https://discourse.nodered.org/u/node2)\
**Replies:** 10\
**Last updated:** [7 September 2022 14:40 UTC](https://discourse.nodered.org/t/control-a-servo-help/67436 "2022-09-07T14:40:55Z")

</div>

I'm using a servo as a Gate i need a FLOW as follow ..when i push a button i need the servo to turn +90 degrees... stops for 2 seconds.... then turns back -90 degrees .....stop the loop . THX in advance

---

## [Remove repeating array objects in the flow](https://discourse.nodered.org/t/remove-repeating-array-objects-in-the-flow/67384)

<div class="topic-metadata">

**Author:** [@abdul-Tz-prog](https://discourse.nodered.org/u/abdul-Tz-prog)\
**Replies:** 6\
**Last updated:** [7 September 2022 13:34 UTC](https://discourse.nodered.org/t/remove-repeating-array-objects-in-the-flow/67384 "2022-09-07T13:34:14Z")

</div>

Hello everyone, I am new with nodeRed and need your help. I have a flow where I get the array of objects using a filter node, but when a new object comes then previous objects also shows in the array. I only want to show…

---

## [Strange log line](https://discourse.nodered.org/t/strange-log-line/67430)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 3\
**Last updated:** [7 September 2022 11:21 UTC](https://discourse.nodered.org/t/strange-log-line/67430 "2022-09-07T11:21:18Z")

</div>

Few days ago I found this line in my syslog: Sun, 04 Sep 2022 12:37:45 GMT express deprecated res.status("200"): use res.status(200) instead at ../../usr/lib/node\_modules/node-red/node\_modules/@node-red/nodes/core/netwo…

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

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