# General

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

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

**Page:** 280

---

## [Problem data format for Multi realtime chart Apexchartjs + Uibuilder](https://discourse.nodered.org/t/problem-data-format-for-multi-realtime-chart-apexchartjs-uibuilder/72012)

<div class="topic-metadata">

**Author:** [@Loknong](https://discourse.nodered.org/u/Loknong)\
**Replies:** 1\
**Last updated:** [12 December 2022 00:17 UTC](https://discourse.nodered.org/t/problem-data-format-for-multi-realtime-chart-apexchartjs-uibuilder/72012 "2022-12-12T00:17:09Z")

</div>

Hi, I follow this link and can make a real-time chart. Then I need to show a multi-axis realtime chart. But look like my data format is wrong. Can you guys suggest one? \[{"id":"d41ad5268dc1847f","type":"inject","z":"4…

---

## [API call via NodeJS](https://discourse.nodered.org/t/api-call-via-nodejs/71952)

<div class="topic-metadata">

**Author:** [@interscope101](https://discourse.nodered.org/u/interscope101)\
**Replies:** 7\
**Last updated:** [11 December 2022 20:14 UTC](https://discourse.nodered.org/t/api-call-via-nodejs/71952 "2022-12-11T20:14:03Z")

</div>

An API provider is providing a connection example via NodeJS (I've been doing these through external python scripts). Is it simpler to do NodeJS ? Can it be run directly from template/function node? / Require taapi (u…

---

## [Aggregating API data set in MySQL for tabulator table](https://discourse.nodered.org/t/aggregating-api-data-set-in-mysql-for-tabulator-table/71888)

<div class="topic-metadata">

**Author:** [@interscope101](https://discourse.nodered.org/u/interscope101)\
**Replies:** 1\
**Last updated:** [11 December 2022 19:42 UTC](https://discourse.nodered.org/t/aggregating-api-data-set-in-mysql-for-tabulator-table/71888 "2022-12-11T19:42:03Z")

</div>

Hello! I am trying to aggregate trading transaction history in tabulator table. I make an API call to get transaction record(s); there is a limit of 100 records per call (within any specified timeframe). Hence I nee…

---

## [Find failing node](https://discourse.nodered.org/t/find-failing-node/72046)

<div class="topic-metadata">

**Author:** [@paulhollands](https://discourse.nodered.org/u/paulhollands)\
**Replies:** 2\
**Last updated:** [11 December 2022 18:31 UTC](https://discourse.nodered.org/t/find-failing-node/72046 "2022-12-11T18:31:40Z")

</div>

Hi, I'm getting the following error within my NodeRed container logs. I run use NodeRed within Home Assistant and I can't seem to fathom how I go about finding which one of my many nodes is Node 17. Could someone please…

---

## [How can I arrange components in a better way](https://discourse.nodered.org/t/how-can-i-arrange-components-in-a-better-way/72045)

<div class="topic-metadata">

**Author:** [@phil12345678910](https://discourse.nodered.org/u/phil12345678910)\
**Replies:** 1\
**Last updated:** [11 December 2022 17:59 UTC](https://discourse.nodered.org/t/how-can-i-arrange-components-in-a-better-way/72045 "2022-12-11T17:59:48Z")

</div>

Hi, I added gauges, but I would want to appear in a more friendly way, not vertical I want to see all the gauges on screen like in a grid fashion or something thanks for your inputs

---

## [How to aggregate multiple sub msg objects as one](https://discourse.nodered.org/t/how-to-aggregate-multiple-sub-msg-objects-as-one/71955)

<div class="topic-metadata">

**Author:** [@xHUNx](https://discourse.nodered.org/u/xHUNx)\
**Replies:** 8\
**Last updated:** [11 December 2022 17:44 UTC](https://discourse.nodered.org/t/how-to-aggregate-multiple-sub-msg-objects-as-one/71955 "2022-12-11T17:44:51Z")

</div>

Trying to write a function without much success: How to take a msg objects and sub objects and pass them as top msg. Example: msg has 3 objects (payload,req,res) and their sub objects. 2 object that generated as part…

---

## [Why is "JSON or Url Encoded" node not updating?](https://discourse.nodered.org/t/why-is-json-or-url-encoded-node-not-updating/72043)

<div class="topic-metadata">

**Author:** [@phil12345678910](https://discourse.nodered.org/u/phil12345678910)\
**Replies:** 4\
**Last updated:** [11 December 2022 17:33 UTC](https://discourse.nodered.org/t/why-is-json-or-url-encoded-node-not-updating/72043 "2022-12-11T17:33:43Z")

</div>

Hi, Usually as I mod the code of the node, it adds output pins/ports but now it does not work anymore am I missing something ? why output ports are not added as I click DONE ? thanks

---

## [Help getting time difference between two dates from Home Assistant](https://discourse.nodered.org/t/help-getting-time-difference-between-two-dates-from-home-assistant/72015)

<div class="topic-metadata">

**Author:** [@UngluedChalice](https://discourse.nodered.org/u/UngluedChalice)\
**Replies:** 14\
**Last updated:** [11 December 2022 16:40 UTC](https://discourse.nodered.org/t/help-getting-time-difference-between-two-dates-from-home-assistant/72015 "2022-12-11T16:40:55Z")

</div>

I've read a bunch of the posts on the forum for the same question, but I still can't get it to work. Here's my code in the function node: var last = global.get("homeAssistant.states\['device\_tracker.iphone\_13'\].last\_cha…

---

## [externalModules](https://discourse.nodered.org/t/externalmodules/72032)

<div class="topic-metadata">

**Author:** [@spillz](https://discourse.nodered.org/u/spillz)\
**Replies:** 6\
**Last updated:** [11 December 2022 14:26 UTC](https://discourse.nodered.org/t/externalmodules/72032 "2022-12-11T14:26:36Z")

</div>

Hi, Been trying to import external modules in function node , while many were successful some are giving "TypeError: xxxx is not a constructor" const { DSLink } = 'dslink/js/web'; async function main() { let link…

---

## [Long deploy time (again...)](https://discourse.nodered.org/t/long-deploy-time-again/70945)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 10\
**Last updated:** [11 December 2022 13:23 UTC](https://discourse.nodered.org/t/long-deploy-time-again/70945 "2022-12-11T13:23:40Z")

</div>

I know this topic isn't unique, but I wasn't able to find the answer when searching through a few similar posts here, so maybe someone can point me in the right direction? Randomly this evening I was editing nodes and s…

---

## [Converting String into JSON Object](https://discourse.nodered.org/t/converting-string-into-json-object/72002)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 9\
**Last updated:** [11 December 2022 11:10 UTC](https://discourse.nodered.org/t/converting-string-into-json-object/72002 "2022-12-11T11:10:37Z")

</div>

I've been working on this for some time and I can not figure out how to come up with a solution. I am trying to format this string: \[Tag(tag='DINT1', value=20, type='DINT', error=None), Tag(tag='SINT1', value=5, type='…

---

## [Convert Buffer to proper object](https://discourse.nodered.org/t/convert-buffer-to-proper-object/72020)

<div class="topic-metadata">

**Author:** [@shri360](https://discourse.nodered.org/u/shri360)\
**Replies:** 10\
**Last updated:** [11 December 2022 10:51 UTC](https://discourse.nodered.org/t/convert-buffer-to-proper-object/72020 "2022-12-11T10:51:13Z")

</div>

Hello, i'm getting buffer in msg.payload like this. (from mqtt) \[1,3,80,0,0,3,232,0,0,5,93,0,0,0,0,5,93,42,224,26,207,37,138,107,57,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0\] i want it like this { "Device\_ID": "CC50E3EBD81D"…

---

## [Comparing Large Data Set](https://discourse.nodered.org/t/comparing-large-data-set/70611)

<div class="topic-metadata">

**Author:** [@interscope101](https://discourse.nodered.org/u/interscope101)\
**Replies:** 34\
**Last updated:** [11 December 2022 02:14 UTC](https://discourse.nodered.org/t/comparing-large-data-set/70611 "2022-12-11T02:14:31Z")

</div>

Got a challenge. Need to identify any cryptocurrency with a change in price ( \> 5%) within a certain timeframe ( 5min) in a large set (around 2400). I can do an API call to get the full list of currency data . …

---

## [A possible enhancement for change nodes?](https://discourse.nodered.org/t/a-possible-enhancement-for-change-nodes/72010)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 0\
**Last updated:** [10 December 2022 22:53 UTC](https://discourse.nodered.org/t/a-possible-enhancement-for-change-nodes/72010 "2022-12-10T22:53:34Z")

</div>

In another thread, @zenofmud posted a change node with 9 rules. \[ { "id": "006ee02eff444905", "type": "change", "z": "e6abd9a54498ec6f", "name": "", "rules": \[ { …

---

## [Replace a value inside a string with comma separated values](https://discourse.nodered.org/t/replace-a-value-inside-a-string-with-comma-separated-values/71997)

<div class="topic-metadata">

**Author:** [@flipside](https://discourse.nodered.org/u/flipside)\
**Replies:** 3\
**Last updated:** [10 December 2022 21:33 UTC](https://discourse.nodered.org/t/replace-a-value-inside-a-string-with-comma-separated-values/71997 "2022-12-10T21:33:52Z")

</div>

Hello! I'm working on a proximity detection project. A user is carrying a BLE beacon. Everytime the beacon broadcasts a BLE gateway is sending to a server a MQTT message (plain text) that contains a timestamp, beacon MA…

---

## [Convert payload decoder for LoraWAN for use in function](https://discourse.nodered.org/t/convert-payload-decoder-for-lorawan-for-use-in-function/72001)

<div class="topic-metadata">

**Author:** [@markost](https://discourse.nodered.org/u/markost)\
**Replies:** 0\
**Last updated:** [10 December 2022 18:46 UTC](https://discourse.nodered.org/t/convert-payload-decoder-for-lorawan-for-use-in-function/72001 "2022-12-10T18:46:15Z")

</div>

Hi, I'm starting to play with the Dragino end node on the HELIUM network. The device was successfully connected, a copy/paste of the payload decoder from the Dragino repository was also made and data is displayed correct…

---

## [Setting maximum temperature only works above 0 degrees](https://discourse.nodered.org/t/setting-maximum-temperature-only-works-above-0-degrees/71989)

<div class="topic-metadata">

**Author:** [@Mikee1234K](https://discourse.nodered.org/u/Mikee1234K)\
**Replies:** 18\
**Last updated:** [10 December 2022 15:42 UTC](https://discourse.nodered.org/t/setting-maximum-temperature-only-works-above-0-degrees/71989 "2022-12-10T15:42:07Z")

</div>

I am storing daily minimum and maximum temperatures in a flow variable. I have a simple function node to store the temperatures. At midnight, I reset them. I set the minimum temperature to +50 degrees, the max to -20 deg…

---

## [Raspberry pi Install script not working](https://discourse.nodered.org/t/raspberry-pi-install-script-not-working/71865)

<div class="topic-metadata">

**Author:** [@srikumarc](https://discourse.nodered.org/u/srikumarc)\
**Replies:** 29\
**Last updated:** [10 December 2022 14:54 UTC](https://discourse.nodered.org/t/raspberry-pi-install-script-not-working/71865 "2022-12-10T14:54:09Z")

</div>

Hi, I tried installing nodered locally on my new raspberry pi 4 B and the provided Github install script does not work. The pi seems to "think" for a while when the script is run but returns to command prompt with no ind…

---

## [Write zip file to filesystem from BASE64 message object](https://discourse.nodered.org/t/write-zip-file-to-filesystem-from-base64-message-object/71938)

<div class="topic-metadata">

**Author:** [@rolo64](https://discourse.nodered.org/u/rolo64)\
**Replies:** 2\
**Last updated:** [10 December 2022 13:14 UTC](https://discourse.nodered.org/t/write-zip-file-to-filesystem-from-base64-message-object/71938 "2022-12-10T13:14:46Z")

</div>

I have a message object that contains BASE64 data in payload.data, it's a ZIP file and I would like to save that zip file to the filesystem. I did some experiments with the write file node but no luck. Any tips on how t…

---

## [General advice - starting out with KNX](https://discourse.nodered.org/t/general-advice-starting-out-with-knx/71986)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 0\
**Last updated:** [10 December 2022 10:28 UTC](https://discourse.nodered.org/t/general-advice-starting-out-with-knx/71986 "2022-12-10T10:28:04Z")

</div>

I'm a long time Node-RED user, but starting to get into KNX for lighting and lighting control (e.g. light switches etc.) I have bought a few KNX lighting dimmers, a KNX power supply, wired up our new build with KNX cabl…

---

## [How to work with gpio with wiringpi in node-red](https://discourse.nodered.org/t/how-to-work-with-gpio-with-wiringpi-in-node-red/71985)

<div class="topic-metadata">

**Author:** [@tamiloli.it](https://discourse.nodered.org/u/tamiloli.it)\
**Replies:** 0\
**Last updated:** [10 December 2022 10:13 UTC](https://discourse.nodered.org/t/how-to-work-with-gpio-with-wiringpi-in-node-red/71985 "2022-12-10T10:13:03Z")

</div>

Hi, Im the beginner of gpio and wiringpi. we are execute the node-red-node-pi-gpio connecting success from raspberrypi. But our need was integrate with Odroid is there any solution for this one. Please guide me.

---

## [Sometimes the node-red web page is not connected](https://discourse.nodered.org/t/sometimes-the-node-red-web-page-is-not-connected/71957)

<div class="topic-metadata">

**Author:** [@Athurian](https://discourse.nodered.org/u/Athurian)\
**Replies:** 1\
**Last updated:** [10 December 2022 09:53 UTC](https://discourse.nodered.org/t/sometimes-the-node-red-web-page-is-not-connected/71957 "2022-12-10T09:53:22Z")

</div>

Sometimes the Nordred web page is not connected. I am using it by connecting the sensor to Raspberry Pi 4b. I am using node-red by running it automatically in an environment where there is no Internet. The webpage scr…

---

## [Unknown Function Calls from Terminal](https://discourse.nodered.org/t/unknown-function-calls-from-terminal/71961)

<div class="topic-metadata">

**Author:** [@srikumarc](https://discourse.nodered.org/u/srikumarc)\
**Replies:** 6\
**Last updated:** [10 December 2022 09:45 UTC](https://discourse.nodered.org/t/unknown-function-calls-from-terminal/71961 "2022-12-10T09:45:53Z")

</div>

Hi, The moment I open the Nodered Terminal from the Nodered Icon on my raspberri pi, the terminal stars issuing uninitiated function calls (convert to Hex) automatically every 10 seconds, with no action from my end. A…

---

## [Function node Test whether a value is boolean or not](https://discourse.nodered.org/t/function-node-test-whether-a-value-is-boolean-or-not/71948)

<div class="topic-metadata">

**Author:** [@Bodad](https://discourse.nodered.org/u/Bodad)\
**Replies:** 5\
**Last updated:** [10 December 2022 09:40 UTC](https://discourse.nodered.org/t/function-node-test-whether-a-value-is-boolean-or-not/71948 "2022-12-10T09:40:33Z")

</div>

It's getting late and I'm having a brain freeze. I have a payload which is either boolean true or false. However, sometimes the request times out and an error code is returned as payload which is a negative integer. I…

---

## [Overkiz node documentation](https://discourse.nodered.org/t/overkiz-node-documentation/71658)

<div class="topic-metadata">

**Author:** [@HeraldCoupe](https://discourse.nodered.org/u/HeraldCoupe)\
**Replies:** 3\
**Last updated:** [10 December 2022 09:12 UTC](https://discourse.nodered.org/t/overkiz-node-documentation/71658 "2022-12-10T09:12:57Z")

</div>

I want to use the Overkiz node to control my TaHoma blinds using the local API on the TaHoma switch. The node looks promising and was updated recently but I can't see any documentation for it. Where can I find any?

---

## [Need help in finding PID solution for Energy Storage System (ESS)](https://discourse.nodered.org/t/need-help-in-finding-pid-solution-for-energy-storage-system-ess/71639)

<div class="topic-metadata">

**Author:** [@hominidae](https://discourse.nodered.org/u/hominidae)\
**Replies:** 12\
**Last updated:** [10 December 2022 08:16 UTC](https://discourse.nodered.org/t/need-help-in-finding-pid-solution-for-energy-storage-system-ess/71639 "2022-12-10T08:16:27Z")

</div>

Hi Folks, I need to get my head around a problem for optimising my newly installed EnergyStorageSystem, to optimise Battery charging from dynamic PV intake, while consumption/loads are also dynamic during winter time - …

---

## [Base64 to image file](https://discourse.nodered.org/t/base64-to-image-file/71971)

<div class="topic-metadata">

**Author:** [@u1903101](https://discourse.nodered.org/u/u1903101)\
**Replies:** 3\
**Last updated:** [10 December 2022 08:01 UTC](https://discourse.nodered.org/t/base64-to-image-file/71971 "2022-12-10T08:01:01Z")

</div>

How do I save this to a file? I am new to nodered and finding this confusing. :thinking:

---

## [Node red error when starting error 1C80006B](https://discourse.nodered.org/t/node-red-error-when-starting-error-1c80006b/71947)

<div class="topic-metadata">

**Author:** [@subjects](https://discourse.nodered.org/u/subjects)\
**Replies:** 2\
**Last updated:** [10 December 2022 00:01 UTC](https://discourse.nodered.org/t/node-red-error-when-starting-error-1c80006b/71947 "2022-12-10T00:01:49Z")

</div>

Hi first timr using the forum. I have just install the gree HVAC node and when I deployed 1 instance of the node it worked perfectly. Adding another node has caused node red to crash. When I restart Node Red I get the…

---

## [Extracting data from a msg object with a number in it's name](https://discourse.nodered.org/t/extracting-data-from-a-msg-object-with-a-number-in-its-name/71680)

<div class="topic-metadata">

**Author:** [@TadyTheFish](https://discourse.nodered.org/u/TadyTheFish)\
**Replies:** 7\
**Last updated:** [9 December 2022 21:36 UTC](https://discourse.nodered.org/t/extracting-data-from-a-msg-object-with-a-number-in-its-name/71680 "2022-12-09T21:36:27Z")

</div>

Hello I'm trying process data coming from the OpenWeatherMap node but i'm stuck on one parameter that has a number in it's name and the template complains about formatting. So I want to check if msg.data.snow exist…

---

## [Node-Red on Odroid C4 stop when closing SSH connection](https://discourse.nodered.org/t/node-red-on-odroid-c4-stop-when-closing-ssh-connection/71933)

<div class="topic-metadata">

**Author:** [@vincentducate](https://discourse.nodered.org/u/vincentducate)\
**Replies:** 8\
**Last updated:** [9 December 2022 19:56 UTC](https://discourse.nodered.org/t/node-red-on-odroid-c4-stop-when-closing-ssh-connection/71933 "2022-12-09T19:56:11Z")

</div>

Hi, Why does Node-Red stops working on my Odroid C4 when i'm closing the ssh connection. I'm new to this so I have no clue where to look for a solution. Regards, Vincent

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

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