# Latest

**URL:** https://discourse.nodered.org/latest.md?page=815

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

**Page:** 816

---

## [Count how many times button is pressed](https://discourse.nodered.org/t/count-how-many-times-button-is-pressed/45708)

<div class="topic-metadata">

**Author:** [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Replies:** 17\
**Last updated:** [16 May 2021 15:20 UTC](https://discourse.nodered.org/t/count-how-many-times-button-is-pressed/45708 "2021-05-16T15:20:55Z")

</div>

Hi everyone, I am a very beginner, don't be disgusted abut my question. I am trying to count how many times a button is pressed. I have setup a Rpi-gpio node on a pin and connected it to a function. \[{"id":"c74669a0.…

---

## [Cron-Plus and using dynamic offsets](https://discourse.nodered.org/t/cron-plus-and-using-dynamic-offsets/45550)

<div class="topic-metadata">

**Author:** [@eddee54455](https://discourse.nodered.org/u/eddee54455)\
**Replies:** 11\
**Last updated:** [16 May 2021 15:00 UTC](https://discourse.nodered.org/t/cron-plus-and-using-dynamic-offsets/45550 "2021-05-16T15:00:48Z")

</div>

@Steve-Mcl Hi Everybody, especially you Steve! I am playing around with cron-plus with a fairly specific requirement.... What I would like to do is to be able to push a variable offset via a payload to a standard sche…

---

## [Join node - how to define order](https://discourse.nodered.org/t/join-node-how-to-define-order/45098)

<div class="topic-metadata">

**Author:** [@Cyber](https://discourse.nodered.org/u/Cyber)\
**Replies:** 2\
**Last updated:** [16 May 2021 14:58 UTC](https://discourse.nodered.org/t/join-node-how-to-define-order/45098 "2021-05-16T14:58:47Z")

</div>

Hello, I am having issues with a join node, I cannot find a possibility to sort the parts which I combine into an array. \[ { "id": "9bd5b323.cd419", "type": "tab", "label": "Flow 1", …

---

## [I2C-bus install fail - RPI Zero W](https://discourse.nodered.org/t/i2c-bus-install-fail-rpi-zero-w/45713)

<div class="topic-metadata">

**Author:** [@Zodiac-69](https://discourse.nodered.org/u/Zodiac-69)\
**Replies:** 9\
**Last updated:** [16 May 2021 14:46 UTC](https://discourse.nodered.org/t/i2c-bus-install-fail-rpi-zero-w/45713 "2021-05-16T14:46:44Z")

</div>

I have a RPI Zero W with Node-RED. I am trying to install i2c-oled and it failed. I then tried other nodes and any node that use i2c-bus fail to install. I have confirmed that the hardware works by using i2cdetect -y 1…

---

## [No multiple topics](https://discourse.nodered.org/t/no-multiple-topics/45718)

<div class="topic-metadata">

**Author:** [@Crashy77](https://discourse.nodered.org/u/Crashy77)\
**Replies:** 16\
**Last updated:** [16 May 2021 14:24 UTC](https://discourse.nodered.org/t/no-multiple-topics/45718 "2021-05-16T14:24:17Z")

</div>

Hi. I´m pretty new in Node-Red, but I´m trying to understand it better every day. Actually I want to transfer MQTT of my heat pump to my PLC with ADS. But I don´t want to use 100´s of MQTT nodes, just only one with /#…

---

## [Scheduling monthly tasks](https://discourse.nodered.org/t/scheduling-monthly-tasks/13959)

<div class="topic-metadata">

**Author:** [@biz](https://discourse.nodered.org/u/biz)\
**Replies:** 11\
**Last updated:** [16 May 2021 13:36 UTC](https://discourse.nodered.org/t/scheduling-monthly-tasks/13959 "2021-05-16T13:36:15Z")

</div>

So I have a problem scheduling items. There are two mains nodes I have found to do 99% of my scheduling Bigtimer and schedx. Both are great. HOWEVER these are more for daily/weekly tasks. Is there any node out there tha…

---

## [Dark theme not working for me](https://discourse.nodered.org/t/dark-theme-not-working-for-me/45712)

<div class="topic-metadata">

**Author:** [@AsHex\_66](https://discourse.nodered.org/u/AsHex_66)\
**Replies:** 10\
**Last updated:** [16 May 2021 11:40 UTC](https://discourse.nodered.org/t/dark-theme-not-working-for-me/45712 "2021-05-16T11:40:57Z")

</div>

All, Might just have one of those 'blond' moments on a Sunday night but cannot get the Dark Mode to work. I corrupted my Node-Red, so re-installed this. Installed @node-red-contrib-themes/dark - npm via NPM. Made the…

---

## [I2c display not working](https://discourse.nodered.org/t/i2c-display-not-working/45701)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 5\
**Last updated:** [16 May 2021 11:18 UTC](https://discourse.nodered.org/t/i2c-display-not-working/45701 "2021-05-16T11:18:35Z")

</div>

hey! i have a Chinese i2c display link to display when i run i2cdetect -y 1 i get this gives me 3c?? what is my address then? when i enter 3c nr crashes. What is want to do is display some text on the 128x64 di…

---

## [SQLite Install from Manage Palette](https://discourse.nodered.org/t/sqlite-install-from-manage-palette/45457)

<div class="topic-metadata">

**Author:** [@FrensisX99](https://discourse.nodered.org/u/FrensisX99)\
**Replies:** 17\
**Last updated:** [15 May 2021 20:41 UTC](https://discourse.nodered.org/t/sqlite-install-from-manage-palette/45457 "2021-05-15T20:41:07Z")

</div>

I am trying to install sqlite from the manage palette of my node red but for some reason is shows an error. I am still new to this so I dont have a lot of experience on how to fix it so if possible please be as detailed …

---

## [Multistate switch - Resend input in output](https://discourse.nodered.org/t/multistate-switch-resend-input-in-output/45566)

<div class="topic-metadata">

**Author:** [@Franco](https://discourse.nodered.org/u/Franco)\
**Replies:** 3\
**Last updated:** [15 May 2021 19:54 UTC](https://discourse.nodered.org/t/multistate-switch-resend-input-in-output/45566 "2021-05-15T19:54:06Z")

</div>

Hello, I am trying to use the Multistate switch node in a project. When I insert a msg.payload in its input, it changes its state but it doesn't resend that change to its output. Is any way to do this (like the switch …

---

## [Circadian Lighting with Hue](https://discourse.nodered.org/t/circadian-lighting-with-hue/45695)

<div class="topic-metadata">

**Author:** [@derail\_green](https://discourse.nodered.org/u/derail_green)\
**Replies:** 0\
**Last updated:** [15 May 2021 19:41 UTC](https://discourse.nodered.org/t/circadian-lighting-with-hue/45695 "2021-05-15T19:41:21Z")

</div>

Brand new to node-red... installed last night on my RPi 4 that also runs Homebridge and Pi-hole. I read a post a while back on Reddit where someone mentioned how they used node-red to control Adaptive Lighting. Intrigue…

---

## [Хочу анимированные Flow - Want Animated Flow](https://discourse.nodered.org/t/flow-want-animated-flow/45391)

<div class="topic-metadata">

**Author:** [@AndrewEvMailRu](https://discourse.nodered.org/u/AndrewEvMailRu)\
**Replies:** 13\
**Last updated:** [15 May 2021 19:28 UTC](https://discourse.nodered.org/t/flow-want-animated-flow/45391 "2021-05-15T19:28:36Z")

</div>

Как в Total.js

---

## [Controlling Alexa discovered devices with Node-Red](https://discourse.nodered.org/t/controlling-alexa-discovered-devices-with-node-red/45638)

<div class="topic-metadata">

**Author:** [@kvramji](https://discourse.nodered.org/u/kvramji)\
**Replies:** 4\
**Last updated:** [15 May 2021 16:03 UTC](https://discourse.nodered.org/t/controlling-alexa-discovered-devices-with-node-red/45638 "2021-05-15T16:03:05Z")

</div>

I am trying to develop a dashboard to control all the devices which are programmed with my amazon echo dots. Has anyone been able to successfully discover the devices connected to their amazon account and control them us…

---

## [Adjust values from the pressure sensor with Node?](https://discourse.nodered.org/t/adjust-values-from-the-pressure-sensor-with-node/45674)

<div class="topic-metadata">

**Author:** [@pinie\_pinie](https://discourse.nodered.org/u/pinie_pinie)\
**Replies:** 12\
**Last updated:** [15 May 2021 14:30 UTC](https://discourse.nodered.org/t/adjust-values-from-the-pressure-sensor-with-node/45674 "2021-05-15T14:30:08Z")

</div>

Hello, I use a digital pressure sensor in my irrigation system. Unfortunately, its measurement results are not linear. I have to adjust the values mathematically. I can't get any further with the "range node". Is there …

---

## [Unwanted nodered restart](https://discourse.nodered.org/t/unwanted-nodered-restart/45677)

<div class="topic-metadata">

**Author:** [@Arnaudd78000](https://discourse.nodered.org/u/Arnaudd78000)\
**Replies:** 8\
**Last updated:** [15 May 2021 14:03 UTC](https://discourse.nodered.org/t/unwanted-nodered-restart/45677 "2021-05-15T14:03:34Z")

</div>

Hello everyone, it seems that my Node-Red is restarting in an unwanted way. That makes me unhappy, because it clears all chart data and history. It runs on a raspian with a Raspi4. After a restart, I've got : node-re…

---

## [Calculations HTTP Request received data string](https://discourse.nodered.org/t/calculations-http-request-received-data-string/45679)

<div class="topic-metadata">

**Author:** [@HaVi](https://discourse.nodered.org/u/HaVi)\
**Replies:** 2\
**Last updated:** [15 May 2021 12:59 UTC](https://discourse.nodered.org/t/calculations-http-request-received-data-string/45679 "2021-05-15T12:59:30Z")

</div>

Because I have little experience with NodeRED, I run into a problem. With an HTTP Request I retrieve the data as in the graphic, a left column with 24 values and a right column with 24 times. I want to add the first 3 v…

---

## [Node-Red and Excel Files](https://discourse.nodered.org/t/node-red-and-excel-files/44976)

<div class="topic-metadata">

**Author:** [@sefaguntepe](https://discourse.nodered.org/u/sefaguntepe)\
**Replies:** 3\
**Last updated:** [15 May 2021 11:52 UTC](https://discourse.nodered.org/t/node-red-and-excel-files/44976 "2021-05-15T11:52:03Z")

</div>

Hello, Node is built on Red Raspberry Pi. I can create an excel file inside Pi using "node-red-contrib-alasql". However, I want to move this file to my windows computer over the network. How can I do it?

---

## [Dashboard charts break after refresh (X axis scales up 5 hrs+)](https://discourse.nodered.org/t/dashboard-charts-break-after-refresh-x-axis-scales-up-5-hrs/45525)

<div class="topic-metadata">

**Author:** [@TheOzarkWizard](https://discourse.nodered.org/u/TheOzarkWizard)\
**Replies:** 27\
**Last updated:** [15 May 2021 09:18 UTC](https://discourse.nodered.org/t/dashboard-charts-break-after-refresh-x-axis-scales-up-5-hrs/45525 "2021-05-15T09:18:27Z")

</div>

Hello all, I am new to node red as of 2 weeks ago, so Im sure theres something simple im missing here. I have a Raspberry pi zero W, with a neopixel stick and an adafruit BME680. I have used several different guides to b…

---

## [Write SMA Modbus Register](https://discourse.nodered.org/t/write-sma-modbus-register/45627)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 13\
**Last updated:** [15 May 2021 07:50 UTC](https://discourse.nodered.org/t/write-sma-modbus-register/45627 "2021-05-15T07:50:14Z")

</div>

Hi, after a successful Modbus query (read) I wanted to venture into the next chapter, to write Modbus.. but I need some help: Modbus register 40016 defines Power value of inverter in W to provide (set-point): positive…

---

## [Exec node output](https://discourse.nodered.org/t/exec-node-output/45620)

<div class="topic-metadata">

**Author:** [@kenkoknz](https://discourse.nodered.org/u/kenkoknz)\
**Replies:** 7\
**Last updated:** [15 May 2021 07:32 UTC](https://discourse.nodered.org/t/exec-node-output/45620 "2021-05-15T07:32:36Z")

</div>

Hi, linux noob, just mucking round with the exec node: Why does the payload of the command sometimes display human readable ascii string and sometimes hex: e.g with ls -a cmd, display a nice string of human readabl…

---

## [Add local date and time to a CSV-file](https://discourse.nodered.org/t/add-local-date-and-time-to-a-csv-file/45658)

<div class="topic-metadata">

**Author:** [@HaVi](https://discourse.nodered.org/u/HaVi)\
**Replies:** 6\
**Last updated:** [15 May 2021 07:25 UTC](https://discourse.nodered.org/t/add-local-date-and-time-to-a-csv-file/45658 "2021-05-15T07:25:29Z")

</div>

My intention is to convert a measurement "luchtdruk" (pressure via MQTT) together with local date and time into a comma separated CSV file: date, time, pressure. As you can see in the graphic I use the Moment Node with …

---

## [Using the node-red documented install script on RPi 3b but not getting the full node-red distribution installed](https://discourse.nodered.org/t/using-the-node-red-documented-install-script-on-rpi-3b-but-not-getting-the-full-node-red-distribution-installed/45672)

<div class="topic-metadata">

**Author:** [@rigbone25](https://discourse.nodered.org/u/rigbone25)\
**Replies:** 2\
**Last updated:** [15 May 2021 02:13 UTC](https://discourse.nodered.org/t/using-the-node-red-documented-install-script-on-rpi-3b-but-not-getting-the-full-node-red-distribution-installed/45672 "2021-05-15T02:13:47Z")

</div>

I used the node-red bash script documented here on a brand new Raspbian OS image for my Raspberry Pi 3b and the install went very smoothly. I didn't notice any error messages being thrown out. However, when accessing the…

---

## [\[Solved\] Need help with math conversion](https://discourse.nodered.org/t/solved-need-help-with-math-conversion/45661)

<div class="topic-metadata">

**Author:** [@007bond](https://discourse.nodered.org/u/007bond)\
**Replies:** 4\
**Last updated:** [14 May 2021 23:26 UTC](https://discourse.nodered.org/t/solved-need-help-with-math-conversion/45661 "2021-05-14T23:26:06Z")

</div>

Sorry for the silly newbie questions. OK so I am getting milliamps and I want amps displayed on my dashboard. So I use a function node with this and all works great. var o = msg.payload msg.payload = msg.payload / 10…

---

## [Can a google assistant routine be triggered from node-red?](https://discourse.nodered.org/t/can-a-google-assistant-routine-be-triggered-from-node-red/45670)

<div class="topic-metadata">

**Author:** [@gadget](https://discourse.nodered.org/u/gadget)\
**Replies:** 0\
**Last updated:** [14 May 2021 22:54 UTC](https://discourse.nodered.org/t/can-a-google-assistant-routine-be-triggered-from-node-red/45670 "2021-05-14T22:54:36Z")

</div>

As per the title. I've got a nest hub for which for I would like to programmatically turn off the display when not in use. I can either issue a voice command or use a set routine to do this. But I'm wondering - if there…

---

## [How to limit temp display on dashboard to 2 decimals](https://discourse.nodered.org/t/how-to-limit-temp-display-on-dashboard-to-2-decimals/45622)

<div class="topic-metadata">

**Author:** [@007bond](https://discourse.nodered.org/u/007bond)\
**Replies:** 17\
**Last updated:** [14 May 2021 22:52 UTC](https://discourse.nodered.org/t/how-to-limit-temp-display-on-dashboard-to-2-decimals/45622 "2021-05-14T22:52:06Z")

</div>

New so maybe this is simple but I can't seem to figure it out or find it anywhere. I am reading temperature via MQTT the msg comes as 10th degree C. I want it displayed on my dashboard in F. So first I convert the 10th …

---

## [How to convert payload object to array of elements](https://discourse.nodered.org/t/how-to-convert-payload-object-to-array-of-elements/45665)

<div class="topic-metadata">

**Author:** [@rafterkai](https://discourse.nodered.org/u/rafterkai)\
**Replies:** 4\
**Last updated:** [14 May 2021 21:27 UTC](https://discourse.nodered.org/t/how-to-convert-payload-object-to-array-of-elements/45665 "2021-05-14T21:27:41Z")

</div>

I'm not sure if the title correctly dictates what i need and i'm sorry if this something simple to do but i have no experience with javascript or coding and i'm fairly new to node red. Here's an example of what i'm tryi…

---

## [Docker Exec node & automatic update?](https://discourse.nodered.org/t/docker-exec-node-automatic-update/45259)

<div class="topic-metadata">

**Author:** [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)\
**Replies:** 4\
**Last updated:** [14 May 2021 20:55 UTC](https://discourse.nodered.org/t/docker-exec-node-automatic-update/45259 "2021-05-14T20:55:42Z")

</div>

Hello, When NR is running in a container, it is no longer possible to launch the node EXEC to run the command by exemple "sudo systemctl restart nodered" or "node-red-restart" as it is possible with a standard installa…

---

## [Plug 'n' play of sub-flows](https://discourse.nodered.org/t/plug-n-play-of-sub-flows/45669)

<div class="topic-metadata">

**Author:** [@augjoh](https://discourse.nodered.org/u/augjoh)\
**Replies:** 0\
**Last updated:** [14 May 2021 20:49 UTC](https://discourse.nodered.org/t/plug-n-play-of-sub-flows/45669 "2021-05-14T20:49:41Z")

</div>

Given the following flow: I would like to replace the Standard subflow with different subflow modules (as described here: Packaging a Subflow as a module : Node-RED) for different installations of the same flows.json/…

---

## [Message formatting from JSON to Object/Array](https://discourse.nodered.org/t/message-formatting-from-json-to-object-array/45657)

<div class="topic-metadata">

**Author:** [@DuncanCT](https://discourse.nodered.org/u/DuncanCT)\
**Replies:** 9\
**Last updated:** [14 May 2021 20:48 UTC](https://discourse.nodered.org/t/message-formatting-from-json-to-object-array/45657 "2021-05-14T20:48:04Z")

</div>

Warning this isn't going to be pretty, I pretty sure non of my terminology will be correct. Don't think it needs saying but I don't really know what I'm doing. I'm trying to convert a message from JSON to Object/Array? …

---

## [Node-red 1.3.1 no open chrome](https://discourse.nodered.org/t/node-red-1-3-1-no-open-chrome/43931)

<div class="topic-metadata">

**Author:** [@monroyhd](https://discourse.nodered.org/u/monroyhd)\
**Replies:** 6\
**Last updated:** [14 May 2021 19:31 UTC](https://discourse.nodered.org/t/node-red-1-3-1-no-open-chrome/43931 "2021-05-14T19:31:28Z")

</div>

Hi, Node-red 1.3.1 not open in google chrome, this error view: red.min.js: Uncaught TypeError: e.trim is not a function in macmini M1

[Previous page](https://discourse.nodered.org/latest.md?page=814)

[Next page](https://discourse.nodered.org/latest.md?page=816)
