# General

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

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

**Page:** 292

---

## [Convert pdf to json using external module](https://discourse.nodered.org/t/convert-pdf-to-json-using-external-module/70819)

<div class="topic-metadata">

**Author:** [@mtoko](https://discourse.nodered.org/u/mtoko)\
**Replies:** 0\
**Last updated:** [18 November 2022 10:09 UTC](https://discourse.nodered.org/t/convert-pdf-to-json-using-external-module/70819 "2022-11-18T10:09:17Z")

</div>

Hi I am trying to convert a pdf to json using the npm module pdf2json. I have followed the example here https://flows.nodered.org/flow/195773d3b493d81c9bf012f64da02ea3 and modified the settings.js. When I start NR I …

---

## [High Frequency Polling](https://discourse.nodered.org/t/high-frequency-polling/70796)

<div class="topic-metadata">

**Author:** [@ceejm1](https://discourse.nodered.org/u/ceejm1)\
**Replies:** 2\
**Last updated:** [18 November 2022 09:46 UTC](https://discourse.nodered.org/t/high-frequency-polling/70796 "2022-11-18T09:46:22Z")

</div>

Hello, I have one of these boards for triggering sound effects from contact closures. It comes with a node for node-Red and I had expected to be able to obtain an output on a state change however it requires polling …

---

## [Custom sunrise LED light setup](https://discourse.nodered.org/t/custom-sunrise-led-light-setup/70773)

<div class="topic-metadata">

**Author:** [@rnelsonr](https://discourse.nodered.org/u/rnelsonr)\
**Replies:** 10\
**Last updated:** [18 November 2022 08:48 UTC](https://discourse.nodered.org/t/custom-sunrise-led-light-setup/70773 "2022-11-18T08:48:00Z")

</div>

Hi there, I have recently managed to create a custom sunrise lighting setup for my aquarium diy light, but I am having a few issues. I am using a shelly rgbw2 as my light controller for 4 LED light strips. What I have …

---

## [Custom HMI outside node-red](https://discourse.nodered.org/t/custom-hmi-outside-node-red/70714)

<div class="topic-metadata">

**Author:** [@KamalRUG92](https://discourse.nodered.org/u/KamalRUG92)\
**Replies:** 6\
**Last updated:** [18 November 2022 07:35 UTC](https://discourse.nodered.org/t/custom-hmi-outside-node-red/70714 "2022-11-18T07:35:20Z")

</div>

Hello, I have S7-1200 PLC; I would like to build an HMI for it (web-based). While doing so, I quickly realize that the programming memory is small. requirements Custom HMI is estimated to be around 400MB in size. …

---

## [Email in node error handling](https://discourse.nodered.org/t/email-in-node-error-handling/70783)

<div class="topic-metadata">

**Author:** [@lesmar96](https://discourse.nodered.org/u/lesmar96)\
**Replies:** 5\
**Last updated:** [18 November 2022 07:12 UTC](https://discourse.nodered.org/t/email-in-node-error-handling/70783 "2022-11-18T07:12:13Z")

</div>

Good Day, I am using the email-in node to monitor an email mailbox. I wanted to add error handling if this node was in error state. See the below screen shot. I have the email node selected for the catch node. But when…

---

## [Unable to install modules - permission denied](https://discourse.nodered.org/t/unable-to-install-modules-permission-denied/70804)

<div class="topic-metadata">

**Author:** [@Ccheese4](https://discourse.nodered.org/u/Ccheese4)\
**Replies:** 0\
**Last updated:** [18 November 2022 00:58 UTC](https://discourse.nodered.org/t/unable-to-install-modules-permission-denied/70804 "2022-11-18T00:58:54Z")

</div>

I have attempted to install two modules recently. node-red-contrib-sun-position, and node-red-dashboard. Both have failed due to the same error. Here is the output from my log file: 2022-11-18T00:50:37.753Z Install : no…

---

## [Connecting to HIVE MQ Cloud](https://discourse.nodered.org/t/connecting-to-hive-mq-cloud/70789)

<div class="topic-metadata">

**Author:** [@sweetwater](https://discourse.nodered.org/u/sweetwater)\
**Replies:** 3\
**Last updated:** [17 November 2022 22:33 UTC](https://discourse.nodered.org/t/connecting-to-hive-mq-cloud/70789 "2022-11-17T22:33:01Z")

</div>

I have setup a HIVE MQ cluster as my MQTT Broker However, I am having problem establishing a connection. The MQTT just hangs at "connecting". Note, using the PUBLIC HIVE MQTT broker work ok. Its just the HIVE MQ that …

---

## [Change node to set value for each object in array with if exeption](https://discourse.nodered.org/t/change-node-to-set-value-for-each-object-in-array-with-if-exeption/70671)

<div class="topic-metadata">

**Author:** [@danieleronchi](https://discourse.nodered.org/u/danieleronchi)\
**Replies:** 3\
**Last updated:** [17 November 2022 19:44 UTC](https://discourse.nodered.org/t/change-node-to-set-value-for-each-object-in-array-with-if-exeption/70671 "2022-11-17T19:44:06Z")

</div>

Hi to everyone, i need a little help. I found this intresting discussion Change node to set value for each object in array in the forum and it helps a lot but i need to change the value of the object of the array only w…

---

## [MQTT node - messages received twice!?](https://discourse.nodered.org/t/mqtt-node-messages-received-twice/70727)

<div class="topic-metadata">

**Author:** [@PPASSL](https://discourse.nodered.org/u/PPASSL)\
**Replies:** 23\
**Last updated:** [17 November 2022 18:04 UTC](https://discourse.nodered.org/t/mqtt-node-messages-received-twice/70727 "2022-11-17T18:04:46Z")

</div>

Using NR v3.0.2 I'm using a MQTT in Node and keep getting the messages received twice. It might be a trivial issue... tried changing the QOS from the default 0 to 2 but didn't change anything. Thought it was the broke…

---

## [Viability question](https://discourse.nodered.org/t/viability-question/11266)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 39\
**Last updated:** [17 November 2022 17:21 UTC](https://discourse.nodered.org/t/viability-question/11266 "2022-11-17T17:21:01Z")

</div>

(Probably not the best/right place to ask, but.....) I'm stuck with which way to go: I have NR running on my RPI and it is coping with it, but it is headless and is the "brains" to the system. I need a display system. …

---

## [Help with nodejs changes to new Buffer()](https://discourse.nodered.org/t/help-with-nodejs-changes-to-new-buffer/70753)

<div class="topic-metadata">

**Author:** [@emlarsen](https://discourse.nodered.org/u/emlarsen)\
**Replies:** 4\
**Last updated:** [17 November 2022 17:07 UTC](https://discourse.nodered.org/t/help-with-nodejs-changes-to-new-buffer/70753 "2022-11-17T17:07:10Z")

</div>

I have a function node that extracts some numbers from binary data. It has been running for years wonderfully but of course I decided to upgrade nodejs and nodered and new Buffer is no longer working and I can seem to un…

---

## [Fuel Tank Level](https://discourse.nodered.org/t/fuel-tank-level/70661)

<div class="topic-metadata">

**Author:** [@pierrot](https://discourse.nodered.org/u/pierrot)\
**Replies:** 23\
**Last updated:** [17 November 2022 16:38 UTC](https://discourse.nodered.org/t/fuel-tank-level/70661 "2022-11-17T16:38:59Z")

</div>

Hello all anyone can help with his experience in installing fuel level sensor for a fuel tank ? there is the contactless level sensor but dont know if it will work with rpi - node red

---

## [Filter after Counter](https://discourse.nodered.org/t/filter-after-counter/70048)

<div class="topic-metadata">

**Author:** [@ELParreira](https://discourse.nodered.org/u/ELParreira)\
**Replies:** 8\
**Last updated:** [17 November 2022 15:33 UTC](https://discourse.nodered.org/t/filter-after-counter/70048 "2022-11-17T15:33:03Z")

</div>

Hello to all, I'm having a brain meltdown since I have a code to send error messages, I want to receive a message after 3 errors, so I introduced a counter and a filter. It warns when I have 3 error but not when I stop…

---

## [SOLVED : NODE-RED crash while restarting Postgres service in WINDOWS!](https://discourse.nodered.org/t/solved-node-red-crash-while-restarting-postgres-service-in-windows/70777)

<div class="topic-metadata">

**Author:** [@Josh](https://discourse.nodered.org/u/Josh)\
**Replies:** 2\
**Last updated:** [17 November 2022 15:17 UTC](https://discourse.nodered.org/t/solved-node-red-crash-while-restarting-postgres-service-in-windows/70777 "2022-11-17T15:17:21Z")

</div>

Case: The node "node-red-contrib-postgresql" when deployed in flow works smooth. But when the postgres service is stopped for any reasons. The node causes the whole nodered to crash, resulting in this error : error: te…

---

## [MQTT won't send stop command to ffmpeg spawn node](https://discourse.nodered.org/t/mqtt-wont-send-stop-command-to-ffmpeg-spawn-node/70290)

<div class="topic-metadata">

**Author:** [@jorymathis13](https://discourse.nodered.org/u/jorymathis13)\
**Replies:** 14\
**Last updated:** [17 November 2022 14:48 UTC](https://discourse.nodered.org/t/mqtt-wont-send-stop-command-to-ffmpeg-spawn-node/70290 "2022-11-17T14:48:40Z")

</div>

Hey @kevinGodell could you please help me again sir? I'm using a function node with an MQTT IN node attached. I can send an MQTT messgae to "start" the ffmpeg spawn node of yours, but when I try to stop the ffmpeg spawn …

---

## [How to use RBE node with object](https://discourse.nodered.org/t/how-to-use-rbe-node-with-object/70767)

<div class="topic-metadata">

**Author:** [@ketpa](https://discourse.nodered.org/u/ketpa)\
**Replies:** 4\
**Last updated:** [17 November 2022 13:38 UTC](https://discourse.nodered.org/t/how-to-use-rbe-node-with-object/70767 "2022-11-17T13:38:47Z")

</div>

I have object var a = { "a1": 0, "a2": 0, "a3": 0, "a4": 0, "a5": 0, "a6": 0, "a7": 1, } How to check changed value with RBE. How to create new topic for each value and send to RBE? \[ { "id": "6404…

---

## [Unit 8 CRC (look up table)](https://discourse.nodered.org/t/unit-8-crc-look-up-table/70720)

<div class="topic-metadata">

**Author:** [@tramanah](https://discourse.nodered.org/u/tramanah)\
**Replies:** 1\
**Last updated:** [17 November 2022 12:17 UTC](https://discourse.nodered.org/t/unit-8-crc-look-up-table/70720 "2022-11-17T12:17:19Z")

</div>

Hi Serial Port communication string is composed of 6 bytes, detail is shown below: \[BYTE 0 = Register\], \[BYTE 1 BYTE 2 BYTE 3 BYTE 4 = 32 bit data\], \[BYTE 5 = CRC\] Byte 5 contains checksum, calculated from byte 0 to b…

---

## [Is there some nodes for a similar automation like Zapier that is cheaper?](https://discourse.nodered.org/t/is-there-some-nodes-for-a-similar-automation-like-zapier-that-is-cheaper/70756)

<div class="topic-metadata">

**Author:** [@funhall](https://discourse.nodered.org/u/funhall)\
**Replies:** 2\
**Last updated:** [17 November 2022 09:31 UTC](https://discourse.nodered.org/t/is-there-some-nodes-for-a-similar-automation-like-zapier-that-is-cheaper/70756 "2022-11-17T09:31:45Z")

</div>

Is there some nodes for a similar automation like Zapier that is cheaper?

---

## [How to read/write in MS Access table by using node red](https://discourse.nodered.org/t/how-to-read-write-in-ms-access-table-by-using-node-red/70380)

<div class="topic-metadata">

**Author:** [@haladriel](https://discourse.nodered.org/u/haladriel)\
**Replies:** 9\
**Last updated:** [17 November 2022 09:27 UTC](https://discourse.nodered.org/t/how-to-read-write-in-ms-access-table-by-using-node-red/70380 "2022-11-17T09:27:22Z")

</div>

Hello everyone. I have an application where i need to log the data in MS Access and later from other table i need to read other data. But i am not getting any node related to MS Access. I have the Description, the UID,…

---

## [Can I ask for a link or process on how to use Node Red and MQTT](https://discourse.nodered.org/t/can-i-ask-for-a-link-or-process-on-how-to-use-node-red-and-mqtt/70558)

<div class="topic-metadata">

**Author:** [@Ceowens](https://discourse.nodered.org/u/Ceowens)\
**Replies:** 5\
**Last updated:** [17 November 2022 08:50 UTC](https://discourse.nodered.org/t/can-i-ask-for-a-link-or-process-on-how-to-use-node-red-and-mqtt/70558 "2022-11-17T08:50:56Z")

</div>

I'm a beginner with Node Red and MQTT, but I've made some good strides. I have two raspberry pis that I downloaded MQTT and Node Red on. I have simple Nodes that are currently sending the recurring outputs from my only …

---

## [I search for a Solution for Power Consumption Fallback](https://discourse.nodered.org/t/i-search-for-a-solution-for-power-consumption-fallback/70332)

<div class="topic-metadata">

**Author:** [@Starfoxfs](https://discourse.nodered.org/u/Starfoxfs)\
**Replies:** 9\
**Last updated:** [17 November 2022 08:05 UTC](https://discourse.nodered.org/t/i-search-for-a-solution-for-power-consumption-fallback/70332 "2022-11-17T08:05:23Z")

</div>

Hi, i search for a Solution to restore the Power Consumption if my Shelly get a powerloss and the Total Power Consumption falls back to 0 So far I've made it this far: I have a MQTT IN with the actually results of the…

---

## [Can't connect to Zigbee2MQTT MQTT Server](https://discourse.nodered.org/t/cant-connect-to-zigbee2mqtt-mqtt-server/70743)

<div class="topic-metadata">

**Author:** [@mikeg-de](https://discourse.nodered.org/u/mikeg-de)\
**Replies:** 6\
**Last updated:** [17 November 2022 07:27 UTC](https://discourse.nodered.org/t/cant-connect-to-zigbee2mqtt-mqtt-server/70743 "2022-11-17T07:27:10Z")

</div>

Hi, I have quite some troubles connecting to the MQTT Server from Zigbee2MQTT. I tried different methods but pretty much always get a "Connection refused" or MQTT offline. Hope anyone can help me spot my mistake o…

---

## [Store the old data to use latter](https://discourse.nodered.org/t/store-the-old-data-to-use-latter/70749)

<div class="topic-metadata">

**Author:** [@Jhankhana](https://discourse.nodered.org/u/Jhankhana)\
**Replies:** 1\
**Last updated:** [17 November 2022 05:44 UTC](https://discourse.nodered.org/t/store-the-old-data-to-use-latter/70749 "2022-11-17T05:44:16Z")

</div>

Hello there, I Need your help! How can I store the readings of a particular variables at a particular time and then use that reading after a day to perform math things and display them on the dashboard? Thanks in advan…

---

## [How to test is msg.payload is a number or not?](https://discourse.nodered.org/t/how-to-test-is-msg-payload-is-a-number-or-not/70741)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 2\
**Last updated:** [17 November 2022 05:14 UTC](https://discourse.nodered.org/t/how-to-test-is-msg-payload-is-a-number-or-not/70741 "2022-11-17T05:14:48Z")

</div>

I have a flow that reads a temperature sensor in Home Assistant and puts the numeric value in a flow variable. Works fine. However, if something happens to the sensor, the reading becomes "unavailable". How can I dete…

---

## ["Error: Error 7: Missing or insufficient permissions."](https://discourse.nodered.org/t/error-error-7-missing-or-insufficient-permissions/70747)

<div class="topic-metadata">

**Author:** [@hoang](https://discourse.nodered.org/u/hoang)\
**Replies:** 0\
**Last updated:** [17 November 2022 02:51 UTC](https://discourse.nodered.org/t/error-error-7-missing-or-insufficient-permissions/70747 "2022-11-17T02:51:33Z")

</div>

I use firestore to data and have a error like this: Error: 7 PERMISSION\_DENIED: Missing or insufficient permissions. I dont know fixed. Can anyone help me?

---

## [CSV to live/interactive line graph](https://discourse.nodered.org/t/csv-to-live-interactive-line-graph/70094)

<div class="topic-metadata">

**Author:** [@cookin83](https://discourse.nodered.org/u/cookin83)\
**Replies:** 2\
**Last updated:** [17 November 2022 02:12 UTC](https://discourse.nodered.org/t/csv-to-live-interactive-line-graph/70094 "2022-11-17T02:12:33Z")

</div>

I'm an absolute noob to Node Red and I'm not sure where to start with this part of my project. I have a Raspberry Pi Pico W that is sending a MQTT feed with temperature and humidity to a Raspberry Pi running Node Red. No…

---

## [Calculates days between 2 dates excluding weekends and holidays](https://discourse.nodered.org/t/calculates-days-between-2-dates-excluding-weekends-and-holidays/70604)

<div class="topic-metadata">

**Author:** [@ecombs](https://discourse.nodered.org/u/ecombs)\
**Replies:** 9\
**Last updated:** [17 November 2022 01:52 UTC](https://discourse.nodered.org/t/calculates-days-between-2-dates-excluding-weekends-and-holidays/70604 "2022-11-17T01:52:46Z")

</div>

Hello everyone, I'm trying to calculate the number of days between two date excluding weekends and holidays. I can get the normal amount of days, however it doesn't account for weekends or holidays. I've look at just a…

---

## [Count messages // do something // reset // howt to simplify flow](https://discourse.nodered.org/t/count-messages-do-something-reset-howt-to-simplify-flow/70689)

<div class="topic-metadata">

**Author:** [@DaaD](https://discourse.nodered.org/u/DaaD)\
**Replies:** 6\
**Last updated:** [16 November 2022 23:24 UTC](https://discourse.nodered.org/t/count-messages-do-something-reset-howt-to-simplify-flow/70689 "2022-11-16T23:24:12Z")

</div>

I have a home assistant feature that does fail sometimes at the first command, so i wanted a flow that when this happens there are 3 retries before another action takes place (msg + restart application). I've cobbled so…

---

## [Serial communication change value](https://discourse.nodered.org/t/serial-communication-change-value/70552)

<div class="topic-metadata">

**Author:** [@calida82](https://discourse.nodered.org/u/calida82)\
**Replies:** 2\
**Last updated:** [16 November 2022 23:15 UTC](https://discourse.nodered.org/t/serial-communication-change-value/70552 "2022-11-16T23:15:05Z")

</div>

Hi, it's my first time with node-red and it's my first time here. I would like to use a stream that I downloaded from the web to be able to communicate with my pylontech battery, I know that the stream is working because…

---

## [Problem with: Template (JSON) \> Exec (Python) \> Payload (Output)](https://discourse.nodered.org/t/problem-with-template-json-exec-python-payload-output/70644)

<div class="topic-metadata">

**Author:** [@steveneyre](https://discourse.nodered.org/u/steveneyre)\
**Replies:** 5\
**Last updated:** [16 November 2022 21:49 UTC](https://discourse.nodered.org/t/problem-with-template-json-exec-python-payload-output/70644 "2022-11-16T21:49:20Z")

</div>

I'm having some trouble injecting JSON into a Python script being executed using the Exec node. The JSON is held in a template node. I've read all the other forum posts on this and similar but I am still hitting a dead e…

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

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