# Latest

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

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

**Page:** 121

---

## [Cex.io websocket help needed :)](https://discourse.nodered.org/t/cex-io-websocket-help-needed/93863)

<div class="topic-metadata">

**Author:** [@dcigir](https://discourse.nodered.org/u/dcigir)\
**Replies:** 3\
**Last updated:** [11 December 2024 18:20 UTC](https://discourse.nodered.org/t/cex-io-websocket-help-needed/93863 "2024-12-11T18:20:31Z")

</div>

Can someone help me how to create websocket connection with my broker with node-red (in HASSIO)? I have tried to read guide from -cex.io, but I'm lost cex.io api documentation What I have done so far is connection to …

---

## [Dashboard 2 Data Format](https://discourse.nodered.org/t/dashboard-2-data-format/93820)

<div class="topic-metadata">

**Author:** [@gerrybartley](https://discourse.nodered.org/u/gerrybartley)\
**Replies:** 9\
**Last updated:** [11 December 2024 11:58 UTC](https://discourse.nodered.org/t/dashboard-2-data-format/93820 "2024-12-11T11:58:38Z")

</div>

Having trouble converting payload for Dashboard 1 chart into the expected format for Dashboard 2. \[{"labels":\["08 - 09","09 - 10","10 - 11","11 - 00","00 - 01","01 - 02","02 - 03","03 - 04","04 - 05","05 - 06","06 - 07"…

---

## [The script part of the HTML statement in the template component, how to reference the data from the previous node](https://discourse.nodered.org/t/the-script-part-of-the-html-statement-in-the-template-component-how-to-reference-the-data-from-the-previous-node/93848)

<div class="topic-metadata">

**Author:** [@uuuape](https://discourse.nodered.org/u/uuuape)\
**Replies:** 12\
**Last updated:** [11 December 2024 11:42 UTC](https://discourse.nodered.org/t/the-script-part-of-the-html-statement-in-the-template-component-how-to-reference-the-data-from-the-previous-node/93848 "2024-12-11T11:42:40Z")

</div>

Hello, I built a template component and wrote the HTML content for generating the table, but in the script section, I couldn't reference the data from the previous node. Once I add a reference, the HTML page has no conte…

---

## [How acces flow.set(), flow.get() with var in json](https://discourse.nodered.org/t/how-acces-flow-set-flow-get-with-var-in-json/93837)

<div class="topic-metadata">

**Author:** [@sylvain](https://discourse.nodered.org/u/sylvain)\
**Replies:** 2\
**Last updated:** [11 December 2024 09:55 UTC](https://discourse.nodered.org/t/how-acces-flow-set-flow-get-with-var-in-json/93837 "2024-12-11T09:55:06Z")

</div>

Hi, I am problem with var flow.set() and flow.get() example of code: var tmp ={'start':0,'open':0,'close':0}; flow.set('X1\_1',tmp); flow.set('X2\_2',tmp); when I want to write in the variable with flow.set('X1\_1.open…

---

## [Receiving "chunks" of data via MQTT and adding to Dashboard chart](https://discourse.nodered.org/t/receiving-chunks-of-data-via-mqtt-and-adding-to-dashboard-chart/93694)

<div class="topic-metadata">

**Author:** [@DrNeon](https://discourse.nodered.org/u/DrNeon)\
**Replies:** 8\
**Last updated:** [11 December 2024 09:12 UTC](https://discourse.nodered.org/t/receiving-chunks-of-data-via-mqtt-and-adding-to-dashboard-chart/93694 "2024-12-11T09:12:55Z")

</div>

I have a datalogger system that is recording multiple data points (and associated timestamps) more quickly than one would want to publish via MQTT, so each MQTT submission includes multiple data that I want to append to …

---

## [Deploy too long in a Raspberry device](https://discourse.nodered.org/t/deploy-too-long-in-a-raspberry-device/93798)

<div class="topic-metadata">

**Author:** [@bobfield](https://discourse.nodered.org/u/bobfield)\
**Replies:** 15\
**Last updated:** [11 December 2024 08:25 UTC](https://discourse.nodered.org/t/deploy-too-long-in-a-raspberry-device/93798 "2024-12-11T08:25:36Z")

</div>

Hi Dears, I have a node-red application running successfully on a Raspbian in a Raspberry PI 4. The problem is that when I make any change to a flow or subflow it takes a long time to complete the deployment (15 minutes…

---

## [Dashboard (DB1)- Not working when run as windows Service](https://discourse.nodered.org/t/dashboard-db1-not-working-when-run-as-windows-service/93819)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 22\
**Last updated:** [11 December 2024 01:13 UTC](https://discourse.nodered.org/t/dashboard-db1-not-working-when-run-as-windows-service/93819 "2024-12-11T01:13:07Z")

</div>

Continuing the discussion from Dasboard does not display correctly when node-red is started as a windows service: I have exactly similar issue. when run at command prompt works OK. when run as a service only part of the…

---

## [Issue with HTML Notifications on Dashboard After Upgrade](https://discourse.nodered.org/t/issue-with-html-notifications-on-dashboard-after-upgrade/93813)

<div class="topic-metadata">

**Author:** [@MecatronicaMADE](https://discourse.nodered.org/u/MecatronicaMADE)\
**Replies:** 4\
**Last updated:** [10 December 2024 23:52 UTC](https://discourse.nodered.org/t/issue-with-html-notifications-on-dashboard-after-upgrade/93813 "2024-12-10T23:52:37Z")

</div>

Hi community, I'm injecting HTML into a notification node via a template node. The HTML consists of a simple table, and the formatting works correctly in Node-RED version 1.18.0 (see Image 1). However, after upgrading to…

---

## [Installing a Shelly pro 2](https://discourse.nodered.org/t/installing-a-shelly-pro-2/93762)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 17\
**Last updated:** [10 December 2024 22:44 UTC](https://discourse.nodered.org/t/installing-a-shelly-pro-2/93762 "2024-12-10T22:44:35Z")

</div>

Hi folks, Years after years I am planning to control my outdoor Christmas lights with Node-RED. But never find time. This week it needs to happen. I have bought a Shelly Pro 2 switch, but I am doubting about two thin…

---

## [Chart node doesn't support epoch timestamps anymore?](https://discourse.nodered.org/t/chart-node-doesnt-support-epoch-timestamps-anymore/93780)

<div class="topic-metadata">

**Author:** [@sys64738](https://discourse.nodered.org/u/sys64738)\
**Replies:** 6\
**Last updated:** [10 December 2024 22:34 UTC](https://discourse.nodered.org/t/chart-node-doesnt-support-epoch-timestamps-anymore/93780 "2024-12-10T22:34:24Z")

</div>

Epoch timestamps worked until recently, but has the support really been removed in v1.20.0 of Dashboard-2? It's still a widely used format in time-series databases. Is ISO 8601 the only supported format now?

---

## [How to stop writing bad nodes using the nrg cli and Vitest](https://discourse.nodered.org/t/how-to-stop-writing-bad-nodes-using-the-nrg-cli-and-vitest/93786)

<div class="topic-metadata">

**Author:** [@AllanOricil](https://discourse.nodered.org/u/AllanOricil)\
**Replies:** 1\
**Last updated:** [10 December 2024 22:32 UTC](https://discourse.nodered.org/t/how-to-stop-writing-bad-nodes-using-the-nrg-cli-and-vitest/93786 "2024-12-10T22:32:31Z")

</div>

I would like to share with you an example where I demonstrate how you can write tests for your nodes using Vitest obs: node-red-node-test-helper is still locked to this commit because my changes to enable vitest were …

---

## [Switch node not capturing text](https://discourse.nodered.org/t/switch-node-not-capturing-text/93812)

<div class="topic-metadata">

**Author:** [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Replies:** 11\
**Last updated:** [10 December 2024 21:57 UTC](https://discourse.nodered.org/t/switch-node-not-capturing-text/93812 "2024-12-10T21:57:21Z")

</div>

I am trying to utilize a switch node to eliminate messages that contain a certain text. In this case the text "cmnd". The debug output displayed is coming from the 2nd output of the switch command. What am I missing? …

---

## [Problem using node-red-contrib-opcua](https://discourse.nodered.org/t/problem-using-node-red-contrib-opcua/93460)

<div class="topic-metadata">

**Author:** [@gfattal](https://discourse.nodered.org/u/gfattal)\
**Replies:** 4\
**Last updated:** [10 December 2024 20:28 UTC](https://discourse.nodered.org/t/problem-using-node-red-contrib-opcua/93460 "2024-12-10T20:28:29Z")

</div>

Hello I am very new user of node-red. I am trying to experiment with it. I want to read from an OPC UA server, I used Siemens S7-1200 PLC as an OPC Server. I connected the PLC with a Raspberry Pi on an Ethernet network w…

---

## [Finite State Machine (FSM) with delay](https://discourse.nodered.org/t/finite-state-machine-fsm-with-delay/88275)

<div class="topic-metadata">

**Author:** [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Replies:** 12\
**Last updated:** [10 December 2024 18:36 UTC](https://discourse.nodered.org/t/finite-state-machine-fsm-with-delay/88275 "2024-12-10T18:36:58Z")

</div>

I was asked the other day about how to create a Finite State Machine (FSM) with different delays between various transitions. Here is a simple example, based on the UK traffic light sequence, that makes use of the msg.de…

---

## [Dashboard2 ui-form](https://discourse.nodered.org/t/dashboard2-ui-form/93828)

<div class="topic-metadata">

**Author:** [@alexander77](https://discourse.nodered.org/u/alexander77)\
**Replies:** 2\
**Last updated:** [10 December 2024 17:37 UTC](https://discourse.nodered.org/t/dashboard2-ui-form/93828 "2024-12-10T17:37:57Z")

</div>

Hi, I have two questions regarding the ui-form: can the data made boot-secure (in case of a power failure) can i preload a dataset? The problem is, i need different setups which require different predefined inputs, wh…

---

## [Node red core Inject node remove seconds option from dropdown using configurations](https://discourse.nodered.org/t/node-red-core-inject-node-remove-seconds-option-from-dropdown-using-configurations/93822)

<div class="topic-metadata">

**Author:** [@navichawla92](https://discourse.nodered.org/u/navichawla92)\
**Replies:** 14\
**Last updated:** [10 December 2024 16:15 UTC](https://discourse.nodered.org/t/node-red-core-inject-node-remove-seconds-option-from-dropdown-using-configurations/93822 "2024-12-10T16:15:01Z")

</div>

Node-RED version: v3.1.9 Mode Version: v18.20.4 I am currently working with Node-RED and facing an issue with the Inject node. When a user sets the "repeat" option to loop every second, it can lead to potential perform…

---

## [Dashboard 2.0 button/switch node](https://discourse.nodered.org/t/dashboard-2-0-button-switch-node/93758)

<div class="topic-metadata">

**Author:** [@NodyRed](https://discourse.nodered.org/u/NodyRed)\
**Replies:** 4\
**Last updated:** [10 December 2024 15:49 UTC](https://discourse.nodered.org/t/dashboard-2-0-button-switch-node/93758 "2024-12-10T15:49:11Z")

</div>

Some questions here on button node in dashboard 2: Using button node and disabling pointerdown, pointerup and click event in order to just show an icon I still get an effect when mouse over button (changing mousepoint…

---

## [How to determine if a dashboard tab is active or not](https://discourse.nodered.org/t/how-to-determine-if-a-dashboard-tab-is-active-or-not/93751)

<div class="topic-metadata">

**Author:** [@LoganathanSambath](https://discourse.nodered.org/u/LoganathanSambath)\
**Replies:** 6\
**Last updated:** [10 December 2024 15:24 UTC](https://discourse.nodered.org/t/how-to-determine-if-a-dashboard-tab-is-active-or-not/93751 "2024-12-10T15:24:23Z")

</div>

when user logins, After logging in to the dashboard some time, i want to check if user is still active or not in the dashboard. How to check? In case of active or inactive state, I want console message to be printed Ho…

---

## [Image selection by comparison version 2](https://discourse.nodered.org/t/image-selection-by-comparison-version-2/93759)

<div class="topic-metadata">

**Author:** [@Udina](https://discourse.nodered.org/u/Udina)\
**Replies:** 18\
**Last updated:** [10 December 2024 12:52 UTC](https://discourse.nodered.org/t/image-selection-by-comparison-version-2/93759 "2024-12-10T12:52:53Z")

</div>

Good morning, I'm relaunching a post to move forward with the image selection through comparisons because I had put a little aside. Here is the first topic I started: https://discourse.nodered.org/t/image-selection-by…

---

## [Sending response back to the right serial port](https://discourse.nodered.org/t/sending-response-back-to-the-right-serial-port/93821)

<div class="topic-metadata">

**Author:** [@grawsom](https://discourse.nodered.org/u/grawsom)\
**Replies:** 3\
**Last updated:** [10 December 2024 12:51 UTC](https://discourse.nodered.org/t/sending-response-back-to-the-right-serial-port/93821 "2024-12-10T12:51:46Z")

</div>

I have a solution with 2 serial inputs and 1 serial output, where a response is received on the output for a received message. If data comes from both inputs, how can I ensure that I send a response back to the input it…

---

## [Creating dashboard with multi language support + camera?](https://discourse.nodered.org/t/creating-dashboard-with-multi-language-support-camera/93809)

<div class="topic-metadata">

**Author:** [@PratikVlegel](https://discourse.nodered.org/u/PratikVlegel)\
**Replies:** 2\
**Last updated:** [10 December 2024 10:06 UTC](https://discourse.nodered.org/t/creating-dashboard-with-multi-language-support-camera/93809 "2024-12-10T10:06:36Z")

</div>

Hello all! I'm making a machine wizard, and I'd like to be able to switch the language of the wizard into 1 of 4 options, english, german, french dutch. Is this possible? Any suggestions? I'm quite new to this so excuse…

---

## [Writing modbus to EV charger](https://discourse.nodered.org/t/writing-modbus-to-ev-charger/92123)

<div class="topic-metadata">

**Author:** [@maciejbilu](https://discourse.nodered.org/u/maciejbilu)\
**Replies:** 9\
**Last updated:** [10 December 2024 06:23 UTC](https://discourse.nodered.org/t/writing-modbus-to-ev-charger/92123 "2024-12-10T06:23:47Z")

</div>

Hi there! I have started my experience with Node Red few weeks ago. The goal is to manage the power flow between PV (via SOFAR 20 KTL), energy storage, EV charger, and the heat pomp. I had to start with SOFAR and the E…

---

## [Help in function node - for each - flow context (moving a msg.payload to flow.context in a function node)](https://discourse.nodered.org/t/help-in-function-node-for-each-flow-context-moving-a-msg-payload-to-flow-context-in-a-function-node/93790)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 5\
**Last updated:** [9 December 2024 17:45 UTC](https://discourse.nodered.org/t/help-in-function-node-for-each-flow-context-moving-a-msg-payload-to-flow-context-in-a-function-node/93790 "2024-12-09T17:45:06Z")

</div>

I am trying to set an array into flow context but unable to write the appropriate code. please help. I get only null. i dont know whcih part of the code in function node is incorrect. const data = Array.isArray(msg.pay…

---

## [Starting shairport-sync with exec-node](https://discourse.nodered.org/t/starting-shairport-sync-with-exec-node/93671)

<div class="topic-metadata">

**Author:** [@WP-Rue](https://discourse.nodered.org/u/WP-Rue)\
**Replies:** 1\
**Last updated:** [9 December 2024 17:32 UTC](https://discourse.nodered.org/t/starting-shairport-sync-with-exec-node/93671 "2024-12-09T17:32:38Z")

</div>

Maybe someone can help or explain: I install shairport-sync on a Raspi 5 with Rasbian OS Bookworm. In a terminal from GUI of the Pi5 I can start the shairport-sync program: playing with new audio-system pipe wire on usb…

---

## [Odd MQTT connect behavior. Maybe AEDES broker node, maybe not](https://discourse.nodered.org/t/odd-mqtt-connect-behavior-maybe-aedes-broker-node-maybe-not/93771)

<div class="topic-metadata">

**Author:** [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Replies:** 3\
**Last updated:** [9 December 2024 16:04 UTC](https://discourse.nodered.org/t/odd-mqtt-connect-behavior-maybe-aedes-broker-node-maybe-not/93771 "2024-12-09T16:04:21Z")

</div>

I am using project management. I maintain the project on one computer, push it to github, and then pull it down to another computer. I am using Aedes broker node and it is installed on both computers. I can create a MQ…

---

## [Need help: JSON to Influx](https://discourse.nodered.org/t/need-help-json-to-influx/93802)

<div class="topic-metadata">

**Author:** [@VolkerK62](https://discourse.nodered.org/u/VolkerK62)\
**Replies:** 5\
**Last updated:** [9 December 2024 16:03 UTC](https://discourse.nodered.org/t/need-help-json-to-influx/93802 "2024-12-09T16:03:26Z")

</div>

Hi, I love Node Red, because I am not able to programm my own code :wink: I want to see my solar forecast in grafana (via influx). I get the data JSON from solarprognose.de, but the influx node rejects it. "unable to …

---

## [Dashbard 2.0 bar chart problems](https://discourse.nodered.org/t/dashbard-2-0-bar-chart-problems/93803)

<div class="topic-metadata">

**Author:** [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Replies:** 4\
**Last updated:** [9 December 2024 15:09 UTC](https://discourse.nodered.org/t/dashbard-2-0-bar-chart-problems/93803 "2024-12-09T15:09:58Z")

</div>

Hiho friends, I am still migrating things and hang on migration of bar charts Maybe some can help. Chart settings: Payload/Values: What I get is this (DB 2.0) : What I want is this (Dashboard 1.0): Thx! …

---

## [Hay guys need your help again](https://discourse.nodered.org/t/hay-guys-need-your-help-again/93797)

<div class="topic-metadata">

**Author:** [@aredhone](https://discourse.nodered.org/u/aredhone)\
**Replies:** 0\
**Last updated:** [9 December 2024 09:34 UTC](https://discourse.nodered.org/t/hay-guys-need-your-help-again/93797 "2024-12-09T09:34:32Z")

</div>

i want a note to parse through a message to my alexa i got this , but i keep getting syntax error or json error what am i doing wrong \[{"id":"fc62a7e46bb6cb64","type":"group","z":"974e85ac2d994845","g":"f07456f5dde6d97a…

---

## [Node-RED: Where is the Socket Generation Code Located? Need Help Managing Dashboard Connections](https://discourse.nodered.org/t/node-red-where-is-the-socket-generation-code-located-need-help-managing-dashboard-connections/93795)

<div class="topic-metadata">

**Author:** [@DhamodharanGopal](https://discourse.nodered.org/u/DhamodharanGopal)\
**Replies:** 4\
**Last updated:** [9 December 2024 12:21 UTC](https://discourse.nodered.org/t/node-red-where-is-the-socket-generation-code-located-need-help-managing-dashboard-connections/93795 "2024-12-09T12:21:12Z")

</div>

Hi everyone, I'm currently working on modifying the ui\_base.js file onConnection method to manage socket connections for the Node-RED Dashboard. Specifically, I want to achieve the following: On api/login: Allow the cr…

---

## [Milesight LoraWAN Router](https://discourse.nodered.org/t/milesight-lorawan-router/89882)

<div class="topic-metadata">

**Author:** [@kitori](https://discourse.nodered.org/u/kitori)\
**Replies:** 4\
**Last updated:** [9 December 2024 10:31 UTC](https://discourse.nodered.org/t/milesight-lorawan-router/89882 "2024-12-09T10:31:11Z")

</div>

Got my hands on a LoraWAN router and a thermostat. The Router has an integrated network server, so you don't need an externel Application server. You can activate an outdated Node-RED-Server (v1.2.9) inside the Rout…

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

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