# General

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

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

**Page:** 306

---

## [RasPi update of Node-Red](https://discourse.nodered.org/t/raspi-update-of-node-red/69435)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 7\
**Last updated:** [22 October 2022 22:41 UTC](https://discourse.nodered.org/t/raspi-update-of-node-red/69435 "2022-10-22T22:41:06Z")

</div>

I have a RasPi 3B (Buster) Raspberry Pi 2 Model B Rev 1.1 PRETTY\_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION\_ID="10" VERSION="10 (buster)" VERSION\_CODENAME=buster ID=raspbian ID\_LIKE=debian …

---

## [MQTT Dynamic connection with changing IP Adress](https://discourse.nodered.org/t/mqtt-dynamic-connection-with-changing-ip-adress/69299)

<div class="topic-metadata">

**Author:** [@manfred9999](https://discourse.nodered.org/u/manfred9999)\
**Replies:** 26\
**Last updated:** [22 October 2022 21:58 UTC](https://discourse.nodered.org/t/mqtt-dynamic-connection-with-changing-ip-adress/69299 "2022-10-22T21:58:30Z")

</div>

Hello I have an MQTT Server on a Raspberry Pi which is not manageable. Evry time my Wifi is down it receives a new IP Adress. Unfortunately, I can also not assign IP-Adress to MAC Adress on the Wifi. I manged to retrie…

---

## [How to parse bits in bytes](https://discourse.nodered.org/t/how-to-parse-bits-in-bytes/69428)

<div class="topic-metadata">

**Author:** [@addi](https://discourse.nodered.org/u/addi)\
**Replies:** 4\
**Last updated:** [22 October 2022 18:45 UTC](https://discourse.nodered.org/t/how-to-parse-bits-in-bytes/69428 "2022-10-22T18:45:25Z")

</div>

Hello! I have got USB-RS-485 dongle and Modbus-RTU device I read protocol frame but I cant parse it cause I dont know in what language I can do it(read value of separate bits or group of bits) For example in C I can …

---

## [Create node-red flow into Executable package format](https://discourse.nodered.org/t/create-node-red-flow-into-executable-package-format/1154)

<div class="topic-metadata">

**Author:** [@Kesavan](https://discourse.nodered.org/u/Kesavan)\
**Replies:** 7\
**Last updated:** [22 October 2022 18:25 UTC](https://discourse.nodered.org/t/create-node-red-flow-into-executable-package-format/1154 "2022-10-22T18:25:21Z")

</div>

I am trying to pass some value from my own application and try to get output from node-red. How can i add instance in my application

---

## [Execute dos command in node-red](https://discourse.nodered.org/t/execute-dos-command-in-node-red/23809)

<div class="topic-metadata">

**Author:** [@Munier](https://discourse.nodered.org/u/Munier)\
**Replies:** 50\
**Last updated:** [22 October 2022 17:25 UTC](https://discourse.nodered.org/t/execute-dos-command-in-node-red/23809 "2022-10-22T17:25:16Z")

</div>

How to use node red to run dos command to execute software application? I am new user and I want to learn how I can use node-red to automatically execute DOS command for Real Time Optimization (RTO) model from another …

---

## [Start and stop mosquitto server from node-red](https://discourse.nodered.org/t/start-and-stop-mosquitto-server-from-node-red/69402)

<div class="topic-metadata">

**Author:** [@jim53](https://discourse.nodered.org/u/jim53)\
**Replies:** 7\
**Last updated:** [22 October 2022 16:19 UTC](https://discourse.nodered.org/t/start-and-stop-mosquitto-server-from-node-red/69402 "2022-10-22T16:19:06Z")

</div>

Hello everybody, I would like to start and stop mosquitto server from node-red and not from the windows command i Windows 10 OS. I have used the "exec" node with the command "net start mosquitto" but error 5 occured be…

---

## [How do i write a function to obtain these objects](https://discourse.nodered.org/t/how-do-i-write-a-function-to-obtain-these-objects/69422)

<div class="topic-metadata">

**Author:** [@EidWanna](https://discourse.nodered.org/u/EidWanna)\
**Replies:** 2\
**Last updated:** [22 October 2022 14:22 UTC](https://discourse.nodered.org/t/how-do-i-write-a-function-to-obtain-these-objects/69422 "2022-10-22T14:22:40Z")

</div>

How do i write a function to be able to read and display these specific readings?

---

## [Serial input stops](https://discourse.nodered.org/t/serial-input-stops/69419)

<div class="topic-metadata">

**Author:** [@XYZ](https://discourse.nodered.org/u/XYZ)\
**Replies:** 7\
**Last updated:** [22 October 2022 12:47 UTC](https://discourse.nodered.org/t/serial-input-stops/69419 "2022-10-22T12:47:57Z")

</div>

Hi there, I am using Serial input node with NodeRED on my Laptop to receive data coming at a baud rate of 9600 from a NodeMCU. I am receiving around 100 data per second from the NodeMCU. Since the graph node on NodeRED i…

---

## [Send a file to telegram messenger](https://discourse.nodered.org/t/send-a-file-to-telegram-messenger/10672)

<div class="topic-metadata">

**Author:** [@anon4382222](https://discourse.nodered.org/u/anon4382222)\
**Replies:** 8\
**Last updated:** [22 October 2022 12:23 UTC](https://discourse.nodered.org/t/send-a-file-to-telegram-messenger/10672 "2022-10-22T12:23:36Z")

</div>

Hi, Im trying to send a file to my telegram messenger. This is my flow. Is it possible to send a file to Telegram Messenger and if so how can I do this? The aim is that when I send a command to my bot he grabs the …

---

## [Simulations - alternative ways to distribute ticks](https://discourse.nodered.org/t/simulations-alternative-ways-to-distribute-ticks/69304)

<div class="topic-metadata">

**Author:** [@stefaanv](https://discourse.nodered.org/u/stefaanv)\
**Replies:** 3\
**Last updated:** [22 October 2022 10:02 UTC](https://discourse.nodered.org/t/simulations-alternative-ways-to-distribute-ticks/69304 "2022-10-22T10:02:16Z")

</div>

I'm using node-red 3 to simulate processes. I find myself distributing a setup and a tick signal to almost all nodes. That makes the flows visually cluttered. Are there alternatives to handle global signals that many n…

---

## [A telegram bot question with http POST](https://discourse.nodered.org/t/a-telegram-bot-question-with-http-post/4608)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 21\
**Last updated:** [22 October 2022 09:48 UTC](https://discourse.nodered.org/t/a-telegram-bot-question-with-http-post/4608 "2022-10-22T09:48:07Z")

</div>

I have installed node-red-contrib-telegrambot, setup a bot on telegram, got a bot token and it is basically working. I can send messages from phone and pick them up in node red and vice versa. However, when I use the …

---

## [Nodered\_Node\_Email\_Update](https://discourse.nodered.org/t/nodered-node-email-update/69417)

<div class="topic-metadata">

**Author:** [@ganeshiac](https://discourse.nodered.org/u/ganeshiac)\
**Replies:** 1\
**Last updated:** [22 October 2022 08:02 UTC](https://discourse.nodered.org/t/nodered-node-email-update/69417 "2022-10-22T08:02:34Z")

</div>

@knolleary I need to clarification about Email update. Here my question is how to update email node in updated version ?. I got below error, It seems like " Failed to update: node-red-node-email module …

---

## [Error updating nodes.](https://discourse.nodered.org/t/error-updating-nodes/69408)

<div class="topic-metadata">

**Author:** [@leojcs2021](https://discourse.nodered.org/u/leojcs2021)\
**Replies:** 1\
**Last updated:** [22 October 2022 07:23 UTC](https://discourse.nodered.org/t/error-updating-nodes/69408 "2022-10-22T07:23:06Z")

</div>

How to go about fixing this problem, I can't update my nodes? I have node-red integrated into my home assistant! I'll put the error screen that appears in the log. 2022-10-21T18:37:12.188Z Install : node-red-contrib…

---

## [Properties setting](https://discourse.nodered.org/t/properties-setting/69400)

<div class="topic-metadata">

**Author:** [@Giacomo23](https://discourse.nodered.org/u/Giacomo23)\
**Replies:** 3\
**Last updated:** [22 October 2022 06:18 UTC](https://discourse.nodered.org/t/properties-setting/69400 "2022-10-22T06:18:43Z")

</div>

How can I set the values of "node-red-contrib-fs-ops" through the edit change node?

---

## [Temp to Telegram Channel](https://discourse.nodered.org/t/temp-to-telegram-channel/19983)

<div class="topic-metadata">

**Author:** [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Replies:** 4\
**Last updated:** [22 October 2022 04:37 UTC](https://discourse.nodered.org/t/temp-to-telegram-channel/19983 "2022-10-22T04:37:54Z")

</div>

Hi, I have a flow that sends the room temp to Telegram bot periodical, it can also reply the temp if I send any message to it. I actually want the send the temp to a Telegram Channel, any one with some help please will…

---

## [Listening to Hue Events](https://discourse.nodered.org/t/listening-to-hue-events/66821)

<div class="topic-metadata">

**Author:** [@dgulliver](https://discourse.nodered.org/u/dgulliver)\
**Replies:** 9\
**Last updated:** [22 October 2022 02:23 UTC](https://discourse.nodered.org/t/listening-to-hue-events/66821 "2022-10-22T02:23:03Z")

</div>

Hi, been using node red for some years now but I've become stuck. Basically I had a flow using Hue Magic hue light node to turn on some lights in the garden if motion detected (I use the function node to set the payload…

---

## [MQTT not reconnecting if only only one mqtt node using it](https://discourse.nodered.org/t/mqtt-not-reconnecting-if-only-only-one-mqtt-node-using-it/69381)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 6\
**Last updated:** [21 October 2022 20:06 UTC](https://discourse.nodered.org/t/mqtt-not-reconnecting-if-only-only-one-mqtt-node-using-it/69381 "2022-10-21T20:06:37Z")

</div>

Could someone confirm an apparent bug that I am seeing please? Starting with an empty flows file, configure a single MQTT In node (subscribing to a fixed topic) and a broker and deploy. Check it is working. Change the…

---

## [Node-red-contrib-aws-iot-hub 0.1.14 Only one instance of "aws-mqtt-in" works](https://discourse.nodered.org/t/node-red-contrib-aws-iot-hub-0-1-14-only-one-instance-of-aws-mqtt-in-works/69398)

<div class="topic-metadata">

**Author:** [@Wirewrap](https://discourse.nodered.org/u/Wirewrap)\
**Replies:** 0\
**Last updated:** [21 October 2022 19:30 UTC](https://discourse.nodered.org/t/node-red-contrib-aws-iot-hub-0-1-14-only-one-instance-of-aws-mqtt-in-works/69398 "2022-10-21T19:30:24Z")

</div>

I have installed node-red-contrib-aws-iot-hub 0.1.14 on node-red v2.2.2 and node.js v12.22.12 I can connect to an AWS MQTT broker I can send and receive MQTT messages via "aws-mqtt out" and"aws-mqtt in" However, i…

---

## [Updated to Node 16 and now have issues installing/updating nodes ("boom@0.3.8")](https://discourse.nodered.org/t/updated-to-node-16-and-now-have-issues-installing-updating-nodes-boom-0-3-8/69379)

<div class="topic-metadata">

**Author:** [@yesdred](https://discourse.nodered.org/u/yesdred)\
**Replies:** 2\
**Last updated:** [21 October 2022 18:00 UTC](https://discourse.nodered.org/t/updated-to-node-16-and-now-have-issues-installing-updating-nodes-boom-0-3-8/69379 "2022-10-21T18:00:45Z")

</div>

I want to make use of node-red-contrib-discord-advanced and therefore upgraded to Node 16 from 14 (minimum requirement). Now, when trying to install the module or updating another module I get the following error: 2022-…

---

## [Node-RED 3.0.2 on Elastic Beanstalk : 413 "Request entity too large" error on palette deploy](https://discourse.nodered.org/t/node-red-3-0-2-on-elastic-beanstalk-413-request-entity-too-large-error-on-palette-deploy/69352)

<div class="topic-metadata">

**Author:** [@nicholas](https://discourse.nodered.org/u/nicholas)\
**Replies:** 0\
**Last updated:** [21 October 2022 00:39 UTC](https://discourse.nodered.org/t/node-red-3-0-2-on-elastic-beanstalk-413-request-entity-too-large-error-on-palette-deploy/69352 "2022-10-21T00:39:20Z")

</div>

I'm running Node-RED 3.0.2 on an Elastic Beanstalk environment (Amazon Linux 2 / Node 16) After adding a fair amount of flows, I began to encounter deploy failures in the admin palette with error "413 : Request entity …

---

## [Nodered Form ui to Sqlite](https://discourse.nodered.org/t/nodered-form-ui-to-sqlite/69375)

<div class="topic-metadata">

**Author:** [@Pjlals](https://discourse.nodered.org/u/Pjlals)\
**Replies:** 3\
**Last updated:** [21 October 2022 16:46 UTC](https://discourse.nodered.org/t/nodered-form-ui-to-sqlite/69375 "2022-10-21T16:46:15Z")

</div>

HI everyone Am trying to insert varaiable data through form ui to sqlite , but its not working .pls help me out thanks in advance

---

## [Download pictures from URL and save to file](https://discourse.nodered.org/t/download-pictures-from-url-and-save-to-file/69391)

<div class="topic-metadata">

**Author:** [@andre\_x](https://discourse.nodered.org/u/andre_x)\
**Replies:** 2\
**Last updated:** [21 October 2022 16:39 UTC](https://discourse.nodered.org/t/download-pictures-from-url-and-save-to-file/69391 "2022-10-21T16:39:41Z")

</div>

Hi all! I'm trying to download a picture from unsplash.com and save it to a file, but...I can't! The file gets downloaded, but it's not an image (Windows says that it's an unsupported format). I've tried to save the f…

---

## [Node-red-contrib-dht-sensor](https://discourse.nodered.org/t/node-red-contrib-dht-sensor/69376)

<div class="topic-metadata">

**Author:** [@Alsama7ii](https://discourse.nodered.org/u/Alsama7ii)\
**Replies:** 6\
**Last updated:** [21 October 2022 16:38 UTC](https://discourse.nodered.org/t/node-red-contrib-dht-sensor/69376 "2022-10-21T16:38:08Z")

</div>

I am trying to install node-red-contrib-dht-sensor. I have followed the three steps which are: Step 1- Installing BCM2835 library Step 2 & 3 - Install the node-dht-sensor dependency nodejs version: v12.22.12 np…

---

## [Node red unresponsive // one specific flow](https://discourse.nodered.org/t/node-red-unresponsive-one-specific-flow/69350)

<div class="topic-metadata">

**Author:** [@DaaD](https://discourse.nodered.org/u/DaaD)\
**Replies:** 2\
**Last updated:** [21 October 2022 16:14 UTC](https://discourse.nodered.org/t/node-red-unresponsive-one-specific-flow/69350 "2022-10-21T16:14:38Z")

</div>

Hello, I've started using node red as an home assistant add on a couple of months ago, and all went fine for some time. Then began the trouble of an unresponsive node red and failing automations. After a lot of hassle. …

---

## [Automatically import and deploy a flow](https://discourse.nodered.org/t/automatically-import-and-deploy-a-flow/69295)

<div class="topic-metadata">

**Author:** [@Rgrove](https://discourse.nodered.org/u/Rgrove)\
**Replies:** 4\
**Last updated:** [21 October 2022 16:11 UTC](https://discourse.nodered.org/t/automatically-import-and-deploy-a-flow/69295 "2022-10-21T16:11:16Z")

</div>

Kinda like an Automatic software update. I have a very difficult-to-reach Pi running NR, on a sometimes very spotty IP radio connection. I want it to pull in new flows, deploy them to itself, and restart. If it gets sh…

---

## [How to compare two topics with different payload messages](https://discourse.nodered.org/t/how-to-compare-two-topics-with-different-payload-messages/69289)

<div class="topic-metadata">

**Author:** [@Dtrexx](https://discourse.nodered.org/u/Dtrexx)\
**Replies:** 10\
**Last updated:** [21 October 2022 15:59 UTC](https://discourse.nodered.org/t/how-to-compare-two-topics-with-different-payload-messages/69289 "2022-10-21T15:59:58Z")

</div>

I am trying to use Node-Red to switch on pump by comparing the two output from two topics. topic1 = soc; topic2 = pvt; I want to send 0 or 1 to switch node if any of this condition is meet. if soc \>= 50 && pvt \>= …

---

## [Cannot use node-red-contrib-onvif-nodes](https://discourse.nodered.org/t/cannot-use-node-red-contrib-onvif-nodes/69380)

<div class="topic-metadata">

**Author:** [@Crashy77](https://discourse.nodered.org/u/Crashy77)\
**Replies:** 6\
**Last updated:** [21 October 2022 14:51 UTC](https://discourse.nodered.org/t/cannot-use-node-red-contrib-onvif-nodes/69380 "2022-10-21T14:51:41Z")

</div>

I´m running this command in /home/pi/.node-red: npm install node-red-contrib-onvif-nodes@0.0.1-beta.16 Output: npm WARN deprecated request@2.88.2: request has been deprecated, see Request’s Past, Present and Future ·…

---

## [AVG all keys of an array of objects](https://discourse.nodered.org/t/avg-all-keys-of-an-array-of-objects/69378)

<div class="topic-metadata">

**Author:** [@protonmw](https://discourse.nodered.org/u/protonmw)\
**Replies:** 3\
**Last updated:** [21 October 2022 14:11 UTC](https://discourse.nodered.org/t/avg-all-keys-of-an-array-of-objects/69378 "2022-10-21T14:11:02Z")

</div>

Hi all, I need to average all keys of an array of objects like this: \[{"a":-5736,"b":6436,"c":15888,"d":32700,"e":18338},{"a":-5736,"b":6436,"c":15888,"d":32700,"e":18338},{"a":-5738,"b":6436,"c":15888,"d":32700,"e":18…

---

## [How to import a value from another function](https://discourse.nodered.org/t/how-to-import-a-value-from-another-function/69373)

<div class="topic-metadata">

**Author:** [@rush\_cs](https://discourse.nodered.org/u/rush_cs)\
**Replies:** 2\
**Last updated:** [21 October 2022 12:41 UTC](https://discourse.nodered.org/t/how-to-import-a-value-from-another-function/69373 "2022-10-21T12:41:41Z")

</div>

How do I use a value from another function within the flow in my current function. I am very new to node-red :smiley:

---

## [Node for querying API with security](https://discourse.nodered.org/t/node-for-querying-api-with-security/69282)

<div class="topic-metadata">

**Author:** [@vantech](https://discourse.nodered.org/u/vantech)\
**Replies:** 6\
**Last updated:** [21 October 2022 12:39 UTC](https://discourse.nodered.org/t/node-for-querying-api-with-security/69282 "2022-10-21T12:39:17Z")

</div>

Hi, I am looking for a node (or a way) to query an API in Nodered. The API requires a token to login, with the ability to define encryption algorithms, e.g, MD5 digest for passwords with 32-bit hex encoding. Thanks.

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

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