# General

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

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

**Page:** 318

---

## [Node-RED in a pro environment: version control, DevOps & no side effect](https://discourse.nodered.org/t/node-red-in-a-pro-environment-version-control-devops-no-side-effect/68261)

<div class="topic-metadata">

**Author:** [@hyamanieu](https://discourse.nodered.org/u/hyamanieu)\
**Replies:** 0\
**Last updated:** [26 September 2022 19:59 UTC](https://discourse.nodered.org/t/node-red-in-a-pro-environment-version-control-devops-no-side-effect/68261 "2022-09-26T19:59:00Z")

</div>

tl;dr: I am suggesting a solution to turn Node-RED into a production-ready environment. Any thoughts? Negative & positive feedbacks are welcome. Hello Node-RED community, working in a professional industrial environm…

---

## [Why importing sometimes misses some nodes?](https://discourse.nodered.org/t/why-importing-sometimes-misses-some-nodes/67549)

<div class="topic-metadata">

**Author:** [@SeRiusRod](https://discourse.nodered.org/u/SeRiusRod)\
**Replies:** 15\
**Last updated:** [26 September 2022 19:25 UTC](https://discourse.nodered.org/t/why-importing-sometimes-misses-some-nodes/67549 "2022-09-26T19:25:25Z")

</div>

This is the original flow in one machine: And this is the same flow imported in a new machine: This has been happening to me since months. And sometimes it's very difficult to find if something is missing. In th…

---

## [Chart-Issue: Timestamp seems to be null](https://discourse.nodered.org/t/chart-issue-timestamp-seems-to-be-null/68216)

<div class="topic-metadata">

**Author:** [@Pinky](https://discourse.nodered.org/u/Pinky)\
**Replies:** 4\
**Last updated:** [26 September 2022 19:00 UTC](https://discourse.nodered.org/t/chart-issue-timestamp-seems-to-be-null/68216 "2022-09-26T19:00:34Z")

</div>

Good morning everybody, I am currently trying to feed a line chart with the values from an iobroker device. It is either true or false. I want to display the state in the line chart so I can see if the device was turned…

---

## [Does Node-RED support Federated Logic when it comes to multiple deployed node-RED instances?](https://discourse.nodered.org/t/does-node-red-support-federated-logic-when-it-comes-to-multiple-deployed-node-red-instances/68221)

<div class="topic-metadata">

**Author:** [@Shan](https://discourse.nodered.org/u/Shan)\
**Replies:** 1\
**Last updated:** [26 September 2022 18:56 UTC](https://discourse.nodered.org/t/does-node-red-support-federated-logic-when-it-comes-to-multiple-deployed-node-red-instances/68221 "2022-09-26T18:56:58Z")

</div>

Description If one has more than 2 instances of node-RED deployed on distinct hardware and has authentication setup up, is there a feature where the end-user can generate a single Bearer Token which can be used to deploy…

---

## [UNIX Timestamp parsing](https://discourse.nodered.org/t/unix-timestamp-parsing/68224)

<div class="topic-metadata">

**Author:** [@jakobgabriel](https://discourse.nodered.org/u/jakobgabriel)\
**Replies:** 9\
**Last updated:** [26 September 2022 18:42 UTC](https://discourse.nodered.org/t/unix-timestamp-parsing/68224 "2022-09-26T18:42:45Z")

</div>

Currently i have an issue by parsing a UNIX timestamp which has the following format and is from datatype string: "7147610980292335270" Example Message Payload: { "id":"e34ea3ef-3896-4aaa-85e9-83e5fcf6f5e0", "sy…

---

## [Set login page with session and access control in uibuilder](https://discourse.nodered.org/t/set-login-page-with-session-and-access-control-in-uibuilder/68232)

<div class="topic-metadata">

**Author:** [@miladmrm](https://discourse.nodered.org/u/miladmrm)\
**Replies:** 1\
**Last updated:** [26 September 2022 18:36 UTC](https://discourse.nodered.org/t/set-login-page-with-session-and-access-control-in-uibuilder/68232 "2022-09-26T18:36:30Z")

</div>

I have designed a dashboard using uibuilder. Now I want to expand this dashboard and define users with different access levels for it, as well as login page and session management. Given that I don't manage the back-end…

---

## [Camera PTZ - Position / Preset](https://discourse.nodered.org/t/camera-ptz-position-preset/68249)

<div class="topic-metadata">

**Author:** [@gregolin](https://discourse.nodered.org/u/gregolin)\
**Replies:** 2\
**Last updated:** [26 September 2022 18:11 UTC](https://discourse.nodered.org/t/camera-ptz-position-preset/68249 "2022-09-26T18:11:14Z")

</div>

Hi. I could send a command by node red in order to move my camera PTZ to another preset position, but I'd like to return the camera to the main position after some seconds. Considering the camera can be move by other w…

---

## [Use cron-plus to get tomorrow's sunrise and sunset?](https://discourse.nodered.org/t/use-cron-plus-to-get-tomorrows-sunrise-and-sunset/68248)

<div class="topic-metadata">

**Author:** [@lorccan](https://discourse.nodered.org/u/lorccan)\
**Replies:** 2\
**Last updated:** [26 September 2022 17:29 UTC](https://discourse.nodered.org/t/use-cron-plus-to-get-tomorrows-sunrise-and-sunset/68248 "2022-09-26T17:29:54Z")

</div>

I'm feeding cron-plus this: msg.payload = { "command": "describe", "expressionType": "solar", "location": "51.5100087,-2.5644624", "time": "2022-09-27 12:00", "solarType": "selected", "solarEvent…

---

## [Artless Gauge - Font Colour](https://discourse.nodered.org/t/artless-gauge-font-colour/67795)

<div class="topic-metadata">

**Author:** [@eddee54455](https://discourse.nodered.org/u/eddee54455)\
**Replies:** 10\
**Last updated:** [26 September 2022 16:40 UTC](https://discourse.nodered.org/t/artless-gauge-font-colour/67795 "2022-09-26T16:40:47Z")

</div>

Hi All, I have a need to set the font colour on "Artless Gauge" .... Both the Label and the primary/secondary fields... Individually if possible, but as a whole would also be ok... Is this possible? TIA Ed

---

## [Node-red-contrib-opcua : dynamic setting of "Value" property of OpcUa-Item node](https://discourse.nodered.org/t/node-red-contrib-opcua-dynamic-setting-of-value-property-of-opcua-item-node/68244)

<div class="topic-metadata">

**Author:** [@mohan.b02](https://discourse.nodered.org/u/mohan.b02)\
**Replies:** 0\
**Last updated:** [26 September 2022 15:54 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-dynamic-setting-of-value-property-of-opcua-item-node/68244 "2022-09-26T15:54:30Z")

</div>

Dear Team, For the use case I am trying to implement, I need to set the "Value" property of OpcUa-Item node dynamically using the msg object attribute, which gets the event from external system like Kafka broker. Can yo…

---

## [Zwave.js set value on thermostat](https://discourse.nodered.org/t/zwave-js-set-value-on-thermostat/68037)

<div class="topic-metadata">

**Author:** [@magicman](https://discourse.nodered.org/u/magicman)\
**Replies:** 8\
**Last updated:** [26 September 2022 15:00 UTC](https://discourse.nodered.org/t/zwave-js-set-value-on-thermostat/68037 "2022-09-26T15:00:15Z")

</div>

hi , I am trying to set a setpoint value on a secure thermostat { "valueId": { "commandClassName": "Thermostat Setpoint", "commandClass": 67, "endpoint": 0, "property": "setpoint", "propertyKey": 1, "propertyNam…

---

## [Problem in packaging the subflow](https://discourse.nodered.org/t/problem-in-packaging-the-subflow/68211)

<div class="topic-metadata">

**Author:** [@Sztt](https://discourse.nodered.org/u/Sztt)\
**Replies:** 2\
**Last updated:** [26 September 2022 14:09 UTC](https://discourse.nodered.org/t/problem-in-packaging-the-subflow/68211 "2022-09-26T14:09:21Z")

</div>

When I packaged the subflow, I followed the tutorial on the website(https://nodered.org/docs/creating-nodes/subflow-modules) and nothing seemed to change. The result is that my package.json file didn't seem to work. "n…

---

## [Manage the data from openweathermap](https://discourse.nodered.org/t/manage-the-data-from-openweathermap/68094)

<div class="topic-metadata">

**Author:** [@john8andersson](https://discourse.nodered.org/u/john8andersson)\
**Replies:** 6\
**Last updated:** [26 September 2022 12:17 UTC](https://discourse.nodered.org/t/manage-the-data-from-openweathermap/68094 "2022-09-26T12:17:26Z")

</div>

Hi! I was wondering if someone could help me manage the msg.payload data from the 5 day forecast node openweathermap. What I would like to get out is the average temperature for the next 12 hours. Cheers!

---

## [Error Installing Node-red Modbus snap V3.0.2 on Ubuntu core 16](https://discourse.nodered.org/t/error-installing-node-red-modbus-snap-v3-0-2-on-ubuntu-core-16/68016)

<div class="topic-metadata">

**Author:** [@Kaij3](https://discourse.nodered.org/u/Kaij3)\
**Replies:** 14\
**Last updated:** [26 September 2022 10:15 UTC](https://discourse.nodered.org/t/error-installing-node-red-modbus-snap-v3-0-2-on-ubuntu-core-16/68016 "2022-09-26T10:15:48Z")

</div>

Hello all :wave:, I am currently using Node red snap, V3.0.2(Node-Red Snap) and i'm trying to install node-red-contrib-modbus palette , Modbus Palette but however I can't install it and these are some of the errors i fa…

---

## [Passing Variables](https://discourse.nodered.org/t/passing-variables/68220)

<div class="topic-metadata">

**Author:** [@dennyhle](https://discourse.nodered.org/u/dennyhle)\
**Replies:** 4\
**Last updated:** [26 September 2022 09:16 UTC](https://discourse.nodered.org/t/passing-variables/68220 "2022-09-26T09:16:40Z")

</div>

Sorry for very basic question. I have a function node that generates a list of media\_players that audio should be played on. I want to pass that variable onto the "group\_members" attribute in the media\_player service. I…

---

## [Helpful tip when remote controlling SAMSUNG TV and FOXTEL (payTV) STB](https://discourse.nodered.org/t/helpful-tip-when-remote-controlling-samsung-tv-and-foxtel-paytv-stb/68225)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 0\
**Last updated:** [26 September 2022 09:11 UTC](https://discourse.nodered.org/t/helpful-tip-when-remote-controlling-samsung-tv-and-foxtel-paytv-stb/68225 "2022-09-26T09:11:28Z")

</div>

I have only in the last couple of years got an HDMI TV and was introduced to the world of HDMI. I have this set of nodes: node-red-contrib-samsung-tv-control My Problem was that I would send channel changes but the ST…

---

## [Function里面，怎么把中文转换成 gb2312编码](https://discourse.nodered.org/t/function-gb2312/68227)

<div class="topic-metadata">

**Author:** [@weng3](https://discourse.nodered.org/u/weng3)\
**Replies:** 0\
**Last updated:** [26 September 2022 09:17 UTC](https://discourse.nodered.org/t/function-gb2312/68227 "2022-09-26T09:17:55Z")

</div>

中文编码，gb2312，在function里面，怎么把中文转换成 gb2312编码

---

## [\[SOLVED\] Multiple inputs to one msg function (noob)](https://discourse.nodered.org/t/solved-multiple-inputs-to-one-msg-function-noob/12228)

<div class="topic-metadata">

**Author:** [@Stroked\_Papy](https://discourse.nodered.org/u/Stroked_Papy)\
**Replies:** 19\
**Last updated:** [26 September 2022 07:39 UTC](https://discourse.nodered.org/t/solved-multiple-inputs-to-one-msg-function-noob/12228 "2022-09-26T07:39:44Z")

</div>

Hello I have 4 sting and you will want to make a message to make a Command (sox -t mp3 SomeSong.mp3 -t wav -r 22050 -c 1 - | sudo ./pifm - 102.3) I tried the function but it does not work var newMsg = { toutp: msg.pa…

---

## [Pass value of variable in cron-plus node](https://discourse.nodered.org/t/pass-value-of-variable-in-cron-plus-node/68215)

<div class="topic-metadata">

**Author:** [@MiliH](https://discourse.nodered.org/u/MiliH)\
**Replies:** 0\
**Last updated:** [26 September 2022 06:25 UTC](https://discourse.nodered.org/t/pass-value-of-variable-in-cron-plus-node/68215 "2022-09-26T06:25:41Z")

</div>

Hello, I am using cron-plus node for scheduling workflow but I want to pass value of variable that is returned by function to cron-plus node and then pass value further to HTTP request node. Please find workflow below …

---

## [Values from array to curl post](https://discourse.nodered.org/t/values-from-array-to-curl-post/68077)

<div class="topic-metadata">

**Author:** [@smitterer](https://discourse.nodered.org/u/smitterer)\
**Replies:** 7\
**Last updated:** [25 September 2022 17:29 UTC](https://discourse.nodered.org/t/values-from-array-to-curl-post/68077 "2022-09-25T17:29:33Z")

</div>

Hi, I need to take values from a json and put them into a post request similar to this: curl -i -H "Content-Type: application/json" -X POST -d '{"pv\_power\_forecast":\[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 70, …

---

## [Will Mosquito work in the production environment?](https://discourse.nodered.org/t/will-mosquito-work-in-the-production-environment/67284)

<div class="topic-metadata">

**Author:** [@miladmrm](https://discourse.nodered.org/u/miladmrm)\
**Replies:** 15\
**Last updated:** [25 September 2022 17:26 UTC](https://discourse.nodered.org/t/will-mosquito-work-in-the-production-environment/67284 "2022-09-25T17:26:32Z")

</div>

I'm implementing a project with Node-Red where I want to track and control several drones with a dashboard I designed using uibuilder. I want to use mqtt protocol to communicate between drones and NR. The question that …

---

## [Fronius - Reading MODBUS using Float](https://discourse.nodered.org/t/fronius-reading-modbus-using-float/67260)

<div class="topic-metadata">

**Author:** [@mgfeal](https://discourse.nodered.org/u/mgfeal)\
**Replies:** 1\
**Last updated:** [25 September 2022 13:28 UTC](https://discourse.nodered.org/t/fronius-reading-modbus-using-float/67260 "2022-09-25T13:28:00Z")

</div>

Until today i was reading my Fronius using MODBUS with "int + SF" configuration. But I installed today a new charger for my electric car, that connects directly to the Fronius and it needs to configure Fronius with Floa…

---

## [Date string within longer text string](https://discourse.nodered.org/t/date-string-within-longer-text-string/68185)

<div class="topic-metadata">

**Author:** [@stain3565](https://discourse.nodered.org/u/stain3565)\
**Replies:** 1\
**Last updated:** [24 September 2022 23:29 UTC](https://discourse.nodered.org/t/date-string-within-longer-text-string/68185 "2022-09-24T23:29:50Z")

</div>

Node Red novice I have a string in a msg.topic with a date and time within it. An example is below: Motion Detected from GardenEnd at 2022/9/24 17:43:05 This could also start with "Person Detected...." instead of "Mot…

---

## [Problem hue dimmer switch](https://discourse.nodered.org/t/problem-hue-dimmer-switch/68174)

<div class="topic-metadata">

**Author:** [@kroonp](https://discourse.nodered.org/u/kroonp)\
**Replies:** 8\
**Last updated:** [24 September 2022 22:17 UTC](https://discourse.nodered.org/t/problem-hue-dimmer-switch/68174 "2022-09-24T22:17:25Z")

</div>

I have installed hue magic in home assistant . When I use the node (hue-buttons) and I press the upper button from my hue switch gives in the debug node: object reachable: true connectionStatus: "connected" button: 1 …

---

## [Split Array and Objects](https://discourse.nodered.org/t/split-array-and-objects/68173)

<div class="topic-metadata">

**Author:** [@MrThiemann](https://discourse.nodered.org/u/MrThiemann)\
**Replies:** 18\
**Last updated:** [24 September 2022 20:35 UTC](https://discourse.nodered.org/t/split-array-and-objects/68173 "2022-09-24T20:35:53Z")

</div>

Hy, i have a HTTP request that gives me several arrays with objects. payload.List.Item\[0\], payload.List.Item\[1\], payload.List.Item\[2\]..... How to split those objects from all arrays into single requests? I need from …

---

## [I would like to know how to check the serial port unconnected message](https://discourse.nodered.org/t/i-would-like-to-know-how-to-check-the-serial-port-unconnected-message/68068)

<div class="topic-metadata">

**Author:** [@Athurian](https://discourse.nodered.org/u/Athurian)\
**Replies:** 8\
**Last updated:** [24 September 2022 11:38 UTC](https://discourse.nodered.org/t/i-would-like-to-know-how-to-check-the-serial-port-unconnected-message/68068 "2022-09-24T11:38:48Z")

</div>

I would like to know how to check the serial port unconnected message. For example, if you set msg.status.text in the debug node like the status node, you want the serial port or mqtt to check the unconnected messages i…

---

## [Chart - set color bar](https://discourse.nodered.org/t/chart-set-color-bar/67739)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 15\
**Last updated:** [24 September 2022 06:06 UTC](https://discourse.nodered.org/t/chart-set-color-bar/67739 "2022-09-24T06:06:18Z")

</div>

Hi, I read many post on this topic but the examples are for needs very complex while mine is very simple (not for me of course) I have this chart (seven bar - one for each day of week) and every night I send to it t…

---

## [Error 102 with Castv2 on Smart TV](https://discourse.nodered.org/t/error-102-with-castv2-on-smart-tv/68158)

<div class="topic-metadata">

**Author:** [@Winjet](https://discourse.nodered.org/u/Winjet)\
**Replies:** 1\
**Last updated:** [24 September 2022 06:26 UTC](https://discourse.nodered.org/t/error-102-with-castv2-on-smart-tv/68158 "2022-09-24T06:26:03Z")

</div>

Hello, I have a problem with Castv2. Indeed, I get error 102 (MEDIA\_ERR\_DECODE error) when I try to cast on my Sony Bravia (Smart TV with Chromecast built-in). As soon as I launch the cast of a video, my TV reacts, the…

---

## [XML header trips error](https://discourse.nodered.org/t/xml-header-trips-error/68154)

<div class="topic-metadata">

**Author:** [@Sandmman](https://discourse.nodered.org/u/Sandmman)\
**Replies:** 6\
**Last updated:** [23 September 2022 21:44 UTC](https://discourse.nodered.org/t/xml-header-trips-error/68154 "2022-09-23T21:44:32Z")

</div>

Hi there, I have looked and have not found the answer to my problem. Running NR (Current version: 13.4.0) inside HA, but this is not HA related. I'm setting up the heating at my home we use Möhlenhoff Alpha units and …

---

## [Read very large JSON File (2GB file)?](https://discourse.nodered.org/t/read-very-large-json-file-2gb-file/68155)

<div class="topic-metadata">

**Author:** [@ger94](https://discourse.nodered.org/u/ger94)\
**Replies:** 1\
**Last updated:** [23 September 2022 21:13 UTC](https://discourse.nodered.org/t/read-very-large-json-file-2gb-file/68155 "2022-09-23T21:13:54Z")

</div>

how to read a very large file?

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

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