# General

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

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

**Page:** 362

---

## [Invalid MQTT comand on startup of Tasmota Devide](https://discourse.nodered.org/t/invalid-mqtt-comand-on-startup-of-tasmota-devide/64128)

<div class="topic-metadata">

**Author:** [@ruffieuxh](https://discourse.nodered.org/u/ruffieuxh)\
**Replies:** 3\
**Last updated:** [19 June 2022 11:11 UTC](https://discourse.nodered.org/t/invalid-mqtt-comand-on-startup-of-tasmota-devide/64128 "2022-06-19T11:11:24Z")

</div>

Hi, Using node-red version v1.3.5 on a raspberry PI, I have a problem with a Tasmota device (Shelly) which I connected to node-red: On startup of the device, and sometimes during the day the devices turns off both powe…

---

## [Refresh access Token](https://discourse.nodered.org/t/refresh-access-token/64126)

<div class="topic-metadata">

**Author:** [@AhmedKamel2022](https://discourse.nodered.org/u/AhmedKamel2022)\
**Replies:** 2\
**Last updated:** [19 June 2022 08:57 UTC](https://discourse.nodered.org/t/refresh-access-token/64126 "2022-06-19T08:57:15Z")

</div>

i have access token expire in 4 hrs. and in node red i have to refresh and inject the access token every 4 hrs manually ... is there any way to schedule the refresh token or ever use open RPA for that

---

## [Add weekdays to date](https://discourse.nodered.org/t/add-weekdays-to-date/64123)

<div class="topic-metadata">

**Author:** [@animalkingdoms](https://discourse.nodered.org/u/animalkingdoms)\
**Replies:** 2\
**Last updated:** [19 June 2022 06:24 UTC](https://discourse.nodered.org/t/add-weekdays-to-date/64123 "2022-06-19T06:24:55Z")

</div>

I am trying to add x number of business days to a date now() and have tried several methods without any success. Business days meaning Monday to Friday node-red-contrib-calc-next-work-days 0.0.6 looked promising, but …

---

## [How to avoid deselect of row if table only has one row?](https://discourse.nodered.org/t/how-to-avoid-deselect-of-row-if-table-only-has-one-row/64121)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 2\
**Last updated:** [19 June 2022 06:17 UTC](https://discourse.nodered.org/t/how-to-avoid-deselect-of-row-if-table-only-has-one-row/64121 "2022-06-19T06:17:50Z")

</div>

How to avoid deselect of row if table only has one row? The following works the selected row the background color is changed as desired when there are two rows or more. But I want the background of a single/pre-selecte…

---

## [Changing UI chart colors? Using ui\_control?](https://discourse.nodered.org/t/changing-ui-chart-colors-using-ui-control/64117)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 4\
**Last updated:** [19 June 2022 02:41 UTC](https://discourse.nodered.org/t/changing-ui-chart-colors-using-ui-control/64117 "2022-06-19T02:41:27Z")

</div>

Changing UI chart colors? I believe the following should work right? msg.ui\_control = {"colors":\['#FF0000', '#00FF00', '#0000FF', '#000000', '#000000', '#000000', '#000000', '#000000', '#000000'\]}; The question is can…

---

## [Append value to JSON object based on ID](https://discourse.nodered.org/t/append-value-to-json-object-based-on-id/64113)

<div class="topic-metadata">

**Author:** [@danm98](https://discourse.nodered.org/u/danm98)\
**Replies:** 1\
**Last updated:** [18 June 2022 18:39 UTC](https://discourse.nodered.org/t/append-value-to-json-object-based-on-id/64113 "2022-06-18T18:39:52Z")

</div>

Hi All, I'm getting caught up trying to find a solution to the following problem: I have 2 seperate data sources that provide JSON objects, each object has a unique identifier within the JSON. Source 2 provides payloa…

---

## [Emotiv with Emotiv Toolbox and node-red EEG recording](https://discourse.nodered.org/t/emotiv-with-emotiv-toolbox-and-node-red-eeg-recording/64100)

<div class="topic-metadata">

**Author:** [@Safaiat](https://discourse.nodered.org/u/Safaiat)\
**Replies:** 2\
**Last updated:** [18 June 2022 17:11 UTC](https://discourse.nodered.org/t/emotiv-with-emotiv-toolbox-and-node-red-eeg-recording/64100 "2022-06-18T17:11:32Z")

</div>

Hi, My project is to record raw brain signals using the emotive epoc 14 channels. what i wanted to do is show a participant an image for a particular time(such as 1 min) and record his brain signal of that time to a sep…

---

## [(closed - duplicate) Node-red-contrib-mysql2](https://discourse.nodered.org/t/closed-duplicate-node-red-contrib-mysql2/64106)

<div class="topic-metadata">

**Author:** [@bertaud](https://discourse.nodered.org/u/bertaud)\
**Replies:** 1\
**Last updated:** [18 June 2022 16:27 UTC](https://discourse.nodered.org/t/closed-duplicate-node-red-contrib-mysql2/64106 "2022-06-18T16:27:42Z")

</div>

i have try to use node-red-contrib-mysql2 node In nodered documentation it is said mysql nodes for node-red with paramaterization. npm install node-red-contrib-mysql2 This is a fork to the original node-red-contrib-m…

---

## [Telegram not connecting: String\[36\] "Error stopping node: Close timed out"](https://discourse.nodered.org/t/telegram-not-connecting-string-36-error-stopping-node-close-timed-out/64076)

<div class="topic-metadata">

**Author:** [@JannieO](https://discourse.nodered.org/u/JannieO)\
**Replies:** 3\
**Last updated:** [18 June 2022 16:21 UTC](https://discourse.nodered.org/t/telegram-not-connecting-string-36-error-stopping-node-close-timed-out/64076 "2022-06-18T16:21:25Z")

</div>

Background I loaded node-red-contrib-telegrambot on Raspberry Pi4 using Node-Red Pallet Then I create a bot with botfather.(and got a Token ,use r& chatID) If I test sending messages via the Pi web browser it works. …

---

## [Declare msg.payload as a value](https://discourse.nodered.org/t/declare-msg-payload-as-a-value/63790)

<div class="topic-metadata">

**Author:** [@Xenos](https://discourse.nodered.org/u/Xenos)\
**Replies:** 5\
**Last updated:** [18 June 2022 15:12 UTC](https://discourse.nodered.org/t/declare-msg-payload-as-a-value/63790 "2022-06-18T15:12:42Z")

</div>

My message payload is a value of X, its always changing, in this example it's 33.13. How would I go about declaring it so I can use it in the position or value I have as "X" in this example Thank you for your hel…

---

## [Node-red-contrib-mysql2 node](https://discourse.nodered.org/t/node-red-contrib-mysql2-node/64096)

<div class="topic-metadata">

**Author:** [@bertaud](https://discourse.nodered.org/u/bertaud)\
**Replies:** 5\
**Last updated:** [18 June 2022 14:37 UTC](https://discourse.nodered.org/t/node-red-contrib-mysql2-node/64096 "2022-06-18T14:37:05Z")

</div>

i saw in nodered documentation there is an existing node node-red-contrib-mysql2 node where it is possible to get parameters from incomming msg "We can also send the server details using msg.server, without adding those…

---

## [Prevent msg resetting MSSQL plus node](https://discourse.nodered.org/t/prevent-msg-resetting-mssql-plus-node/64108)

<div class="topic-metadata">

**Author:** [@noob69](https://discourse.nodered.org/u/noob69)\
**Replies:** 1\
**Last updated:** [18 June 2022 13:10 UTC](https://discourse.nodered.org/t/prevent-msg-resetting-mssql-plus-node/64108 "2022-06-18T13:10:02Z")

</div>

Is there a way to prevent the reseting of the original msg when going through the MSSQL plus node?

---

## [How to use variable in a JSON format?](https://discourse.nodered.org/t/how-to-use-variable-in-a-json-format/64094)

<div class="topic-metadata">

**Author:** [@Mauri](https://discourse.nodered.org/u/Mauri)\
**Replies:** 2\
**Last updated:** [18 June 2022 11:46 UTC](https://discourse.nodered.org/t/how-to-use-variable-in-a-json-format/64094 "2022-06-18T11:46:46Z")

</div>

Hello everyone I would like to send some values ​​in a JSON format, but I want to use variables as placeholders for these values. Does anyone have an idea how to do this? Thanks for your time! Mauri

---

## [Way to fix TCP LocalPort Source](https://discourse.nodered.org/t/way-to-fix-tcp-localport-source/64102)

<div class="topic-metadata">

**Author:** [@smallf00t](https://discourse.nodered.org/u/smallf00t)\
**Replies:** 0\
**Last updated:** [18 June 2022 08:52 UTC](https://discourse.nodered.org/t/way-to-fix-tcp-localport-source/64102 "2022-06-18T08:52:49Z")

</div>

Hi, i try to communicate with a 2 way radio motorola i have the protocol but there is problem :smiley: It s a tcp protocol the device wait a communication on port 8002 \> that s ok (wireshark see the in and the out) but…

---

## [HTTP Post command](https://discourse.nodered.org/t/http-post-command/64083)

<div class="topic-metadata">

**Author:** [@Dasmonk3003](https://discourse.nodered.org/u/Dasmonk3003)\
**Replies:** 4\
**Last updated:** [18 June 2022 07:12 UTC](https://discourse.nodered.org/t/http-post-command/64083 "2022-06-18T07:12:34Z")

</div>

Hey, my google powers is not enough and I havent really found a good explanation. Can someone please tell me how I can send post request that looks like this? curl -X POST -H "Content-Type: application/json" -d '{"perc…

---

## [Help with message formatting](https://discourse.nodered.org/t/help-with-message-formatting/64057)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 3\
**Last updated:** [17 June 2022 21:27 UTC](https://discourse.nodered.org/t/help-with-message-formatting/64057 "2022-06-17T21:27:00Z")

</div>

Today's problem for me.... I have the msg.payload loaded with the time as an array (I think that is the right term). So (example) msg.payload.0 is the seconds. msg.payload.1 is the minutes. msg.payload.2 is the hour…

---

## [Is there a way to set the scaling of the dashboard based on the device type?](https://discourse.nodered.org/t/is-there-a-way-to-set-the-scaling-of-the-dashboard-based-on-the-device-type/64084)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 2\
**Last updated:** [17 June 2022 21:18 UTC](https://discourse.nodered.org/t/is-there-a-way-to-set-the-scaling-of-the-dashboard-based-on-the-device-type/64084 "2022-06-17T21:18:00Z")

</div>

Is there a way to set the scaling of the dashboard based on the device type? I have a touch screen that has a lot of space for dashboard elements. But if I display the same dashboard on my phone, it is a bit ugly havin…

---

## [Trying to study uibuilder](https://discourse.nodered.org/t/trying-to-study-uibuilder/64049)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 9\
**Last updated:** [17 June 2022 18:54 UTC](https://discourse.nodered.org/t/trying-to-study-uibuilder/64049 "2022-06-17T18:54:49Z")

</div>

I've been studying uibuilder for a couple of days and I would have some doubts to clarify. From what I understand, each uibuilder node corresponds to a specific app and url, and all flows must converge to that node to c…

---

## [HTML CSS Checkbox Switch input and output](https://discourse.nodered.org/t/html-css-checkbox-switch-input-and-output/64080)

<div class="topic-metadata">

**Author:** [@Zyan](https://discourse.nodered.org/u/Zyan)\
**Replies:** 3\
**Last updated:** [17 June 2022 18:36 UTC](https://discourse.nodered.org/t/html-css-checkbox-switch-input-and-output/64080 "2022-06-17T18:36:04Z")

</div>

Hi guys, I used this Node Red Website example and got this 2 Checkbox switches. https://flows.nodered.org/flow/1bffe6808d37bd96cce283939983e758 This is my Flow with the Switches \[{"id":"5de0bbd4.6c8574","type":"http …

---

## [Your flow credentials file is encrypted](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted/64078)

<div class="topic-metadata">

**Author:** [@nadabnammar](https://discourse.nodered.org/u/nadabnammar)\
**Replies:** 2\
**Last updated:** [17 June 2022 17:23 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted/64078 "2022-06-17T17:23:32Z")

</div>

could you help me with this please i didin't know how to deal with it i try to uninstall the node and i install it again but it didin't fix how to do it please ( sorry for my english )

---

## [A bit quirky, but no icon for enter key in font-awesome or material-icons libraries?](https://discourse.nodered.org/t/a-bit-quirky-but-no-icon-for-enter-key-in-font-awesome-or-material-icons-libraries/63881)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 10\
**Last updated:** [17 June 2022 16:37 UTC](https://discourse.nodered.org/t/a-bit-quirky-but-no-icon-for-enter-key-in-font-awesome-or-material-icons-libraries/63881 "2022-06-17T16:37:32Z")

</div>

A bit quirky, but no icon for enter key in font-awesome or material-icons libraries? Actually funny... there is backspace, space bar, etc., but no enter key symbol at all!?

---

## [May I ask what node used for "state continued" and how to set it?](https://discourse.nodered.org/t/may-i-ask-what-node-used-for-state-continued-and-how-to-set-it/64041)

<div class="topic-metadata">

**Author:** [@etmomoabc](https://discourse.nodered.org/u/etmomoabc)\
**Replies:** 3\
**Last updated:** [17 June 2022 15:36 UTC](https://discourse.nodered.org/t/may-i-ask-what-node-used-for-state-continued-and-how-to-set-it/64041 "2022-06-17T15:36:16Z")

</div>

I use "get entities" to get the number of devices in the same state for automation! If it is equal to 0, turn off the light, if it is greater than 0, turn on the light However, the device is not stable and jumping arou…

---

## [Table seems to disappear after refreshing page](https://discourse.nodered.org/t/table-seems-to-disappear-after-refreshing-page/40680)

<div class="topic-metadata">

**Author:** [@aa123](https://discourse.nodered.org/u/aa123)\
**Replies:** 5\
**Last updated:** [17 June 2022 12:07 UTC](https://discourse.nodered.org/t/table-seems-to-disappear-after-refreshing-page/40680 "2022-06-17T12:07:54Z")

</div>

The table node I am using ends up disappearing after I refresh the UI page. The table node isn't able to connect with a node on the right, whereas the topics I see on the internet the table nodes they are able to connect…

---

## [Filtering JSON WiFi data](https://discourse.nodered.org/t/filtering-json-wifi-data/64064)

<div class="topic-metadata">

**Author:** [@Samokomo](https://discourse.nodered.org/u/Samokomo)\
**Replies:** 1\
**Last updated:** [17 June 2022 11:11 UTC](https://discourse.nodered.org/t/filtering-json-wifi-data/64064 "2022-06-17T11:11:15Z")

</div>

Hello, I am new to Node-Red and I am struggling to find a way to filter JSON data - lets break it down. My WiFi Data looks like: {"id\_external":"\*3103B","mac":"58:XX:25:XX:52:XX","eap":"","interface":"2.4GHz-XXX11-4np…

---

## [Get "Day of Year" with NodeRed?](https://discourse.nodered.org/t/get-day-of-year-with-nodered/64028)

<div class="topic-metadata">

**Author:** [@Gawan](https://discourse.nodered.org/u/Gawan)\
**Replies:** 4\
**Last updated:** [17 June 2022 00:25 UTC](https://discourse.nodered.org/t/get-day-of-year-with-nodered/64028 "2022-06-17T00:25:53Z")

</div>

Hi there, to be able to set the limits of my PV according to the expected value of sunshine, I would like to use the DayOfYear as a Trigger. Is there a way in Node-Red, comparable to MS SQL --\> select datepart (dayofye…

---

## [Trigger node seems to lack a time- or iteration-based way to stop sending events](https://discourse.nodered.org/t/trigger-node-seems-to-lack-a-time-or-iteration-based-way-to-stop-sending-events/64033)

<div class="topic-metadata">

**Author:** [@dancook](https://discourse.nodered.org/u/dancook)\
**Replies:** 0\
**Last updated:** [16 June 2022 21:32 UTC](https://discourse.nodered.org/t/trigger-node-seems-to-lack-a-time-or-iteration-based-way-to-stop-sending-events/64033 "2022-06-16T21:32:48Z")

</div>

I've been trying to replace looptimer and stoptimer nodes (due to the apparent deprecation of them). Mostly I am using a trigger node in this effort. But what seems fundamentally missing is a way for the trigger node to …

---

## [Upgrade version issue](https://discourse.nodered.org/t/upgrade-version-issue/64021)

<div class="topic-metadata">

**Author:** [@hoolahoous](https://discourse.nodered.org/u/hoolahoous)\
**Replies:** 5\
**Last updated:** [16 June 2022 20:31 UTC](https://discourse.nodered.org/t/upgrade-version-issue/64021 "2022-06-16T20:31:22Z")

</div>

I have node-red 2.1.3 and I tried to upgrade to latest version using sudo npm install -g --unsafe-perm node-red however, even after command finishes and restart (both node-red and my linux box) I still see node-red 2.1…

---

## [Inject Node with fixed time does not work](https://discourse.nodered.org/t/inject-node-with-fixed-time-does-not-work/63925)

<div class="topic-metadata">

**Author:** [@Gawan](https://discourse.nodered.org/u/Gawan)\
**Replies:** 10\
**Last updated:** [16 June 2022 19:12 UTC](https://discourse.nodered.org/t/inject-node-with-fixed-time-does-not-work/63925 "2022-06-16T19:12:02Z")

</div>

Hey Guys, I am using an "inject" node with a fixed timing (like 17:08) But if time goes by and it gets 17:08, nothing happens. If I click the inject button manually at 17:08:05 it triggers, but it does not work aut…

---

## [Dynamic filename in File node](https://discourse.nodered.org/t/dynamic-filename-in-file-node/64025)

<div class="topic-metadata">

**Author:** [@el\_pablo](https://discourse.nodered.org/u/el_pablo)\
**Replies:** 4\
**Last updated:** [16 June 2022 18:55 UTC](https://discourse.nodered.org/t/dynamic-filename-in-file-node/64025 "2022-06-16T18:55:06Z")

</div>

Hi guys, Is it possible to put dynamic content in a node field without having a function node as an input? Eg. I have a flow.chartTempFname variable. I would like to insert it in the Filename field. Do I have to use a …

---

## [Cannot start node-red!](https://discourse.nodered.org/t/cannot-start-node-red/62891)

<div class="topic-metadata">

**Author:** [@tai34126](https://discourse.nodered.org/u/tai34126)\
**Replies:** 14\
**Last updated:** [16 June 2022 18:03 UTC](https://discourse.nodered.org/t/cannot-start-node-red/62891 "2022-06-16T18:03:04Z")

</div>

hey guys!!! I have the big problem!! I cannot use my node red. please help me T-T

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

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