# Nicedevil's Starting Questions

**URL:** https://discourse.nodered.org/t/nicedevils-starting-questions/14454
**Category:** General
**Created:** [18 August 2019 15:39 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454 "2019-08-18T15:39:49Z")
**Posts on this page:** 20
**Page:** 4

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [22 August 2019 19:19 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/61 "2019-08-22T19:19:04Z")

</div>

Is there anything in the node-RED log when doing a deploy?  
`node-red-log`

---

<div class="post-metadata">

### Author: ![nicedevil](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nicedevil](https://discourse.nodered.org/u/nicedevil)
#### Post date: [22 August 2019 19:26 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/62 "2019-08-22T19:26:02Z")

</div>

I set up my logging inside the settings.js... but where can I read those messages?

![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/2/20d567f1386c79b78b674e67ca3daa263aff43bf.png)

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [22 August 2019 19:30 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/63 "2019-08-22T19:30:29Z")

</div>

Depends on how you started node red and what operating system.

---

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [22 August 2019 19:31 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/64 "2019-08-22T19:31:17Z")

</div>

> [@Paul-Reed](#):
>
> node-red-log

Just enter the above at the cmd prompt.

Alternatively, and maybe a better way would be to stop and restart node-RED, and watch the log.  
`node-red-stop` & `node-red-start`

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [22 August 2019 19:31 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/65 "2019-08-22T19:31:20Z")

</div>

Search the forum. Lots and lots of questions and answers on this one

---

<div class="post-metadata">

### Author: ![nicedevil](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nicedevil](https://discourse.nodered.org/u/nicedevil)
#### Post date: [22 August 2019 19:34 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/66 "2019-08-22T19:34:31Z")

</div>

I'm using node-red inside docker and did more than one restart on that 😉  
So maybe the log files are located on a not persistant volume right now.

---

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [22 August 2019 19:36 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/67 "2019-08-22T19:36:13Z")

</div>

Aaah Docker!  
I know nothing about docker installs, so I'll leave the discussion. Good luck!

---

<div class="post-metadata">

### Author: ![nicedevil](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nicedevil](https://discourse.nodered.org/u/nicedevil)
#### Post date: [22 August 2019 19:38 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/68 "2019-08-22T19:38:28Z")

</div>

hahaha 🙂 Docker is fine so far.

What I tryed out right now. I exported my whole flow for backup and removed it.  
Now I#m rebuilding it from the ground, maybe it was too much to handle for this one.

I'm having just 1 mqtt device now with one switch for the dashboard, that's it. Dashboard is loading instant now! Doesn't matter how often I hit the deploy button.

---

<div class="post-metadata">

### Author: ![nicedevil](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nicedevil](https://discourse.nodered.org/u/nicedevil)
#### Post date: [22 August 2019 20:02 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/69 "2019-08-22T20:02:28Z")

</div>

ok... It seems to be fixed!

Just recreation of the flow with multiple mqtt devices instead of 4 with following switches to get out 8 topics for everything... maybe that was what was not the best solution. now it is loading as fast as it should be and no flickering on the refreshbutton....

I know some of you won't like that way to debug... but was the easiest for me, just try and error 🙂  
Thank you anyway! Will take a look at the timer thing now \<3

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [22 August 2019 20:14 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/70 "2019-08-22T20:14:56Z")

</div>

When it was misbehaving was the editor window still responsive?

---

<div class="post-metadata">

### Author: ![nicedevil](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nicedevil](https://discourse.nodered.org/u/nicedevil)
#### Post date: [22 August 2019 20:18 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/71 "2019-08-22T20:18:09Z")

</div>

in firefox sometimes not!

then I opened Edge and Edge Chromium and the old Internet Explorer to verify that that was maybe a firefox problem. All of these later 3 browsers got a responsive editor but the same problem with the dashboard.

Sometimes my firefox started to block any interactions with the mouse, couldn't even close it without using the task manager.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [22 August 2019 20:20 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/72 "2019-08-22T20:20:42Z")

</div>

Are you sure you did not have an mqtt loop or something that was hogging the processor. The change to the MQTT In architecture that you described should not have any noticable effect on anything, if it was functionally equivalent.

---

<div class="post-metadata">

### Author: ![nicedevil](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nicedevil](https://discourse.nodered.org/u/nicedevil)
#### Post date: [22 August 2019 20:22 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/73 "2019-08-22T20:22:17Z")

</div>

mhhh could be, that could be a reason why now it is working as intended.

but I'm relativly sure that I rebuild near everything (topics/switches) like I did before... just without all the switches to split my topics.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [22 August 2019 20:27 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/74 "2019-08-22T20:27:32Z")

</div>

Obviously, if you wanted to, you could go back to your original flow and try disabling bits till at least the dashboard draws itself, even without data coming in. Having a look at the processor loading is worth while when there seems to be some sort of clog up to see if something is hogging it (run `top` in a terminal). If you suspect a possible mqtt loop then stopping the mqtt server will immediately stop the loop.

---

<div class="post-metadata">

### Author: ![nicedevil](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nicedevil](https://discourse.nodered.org/u/nicedevil)
#### Post date: [22 August 2019 20:50 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/75 "2019-08-22T20:50:38Z")

</div>

my newly build flow looks bit cleaner now, so it wasn't that bad at all.

but I will keep it in mind for the future! Thank you all for the help right now and in the past!

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/4/4c3360332c8b9f4107231c01dd3bdd845d2b6fcb.png)

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [22 August 2019 21:26 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/76 "2019-08-22T21:26:53Z")

</div>

Meanwhile there is also this node that may help with setting timers from the dashboard

> **[@clysema/node-red-contrib-ui-week-schedule](https://flows.nodered.org/node/@clysema/node-red-contrib-ui-week-schedule)**
>
> A Week Schedule UI for the Node-RED Dashboard

(I've not tried it yet so can't comment as to how useable it is, or even if it does what you want...)

---

<div class="post-metadata">

### Author: ![nicedevil](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nicedevil](https://discourse.nodered.org/u/nicedevil)
#### Post date: [25 August 2019 08:49 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/77 "2019-08-25T08:49:14Z")

</div>

hey guys, still stuck with my harmony right now.

I can get to a point where I'm pretty happy with switching on/off and doing those activities on my harmony but:

is it even possible to return a message with a payload = "on" and some objects? All in one message of course so I only need 1 function for that 🙂

f.e.  
msg.payload = "on"  
msg.payload.status = 1  
msg.payload.activities = 123456789

?

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [25 August 2019 09:10 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/78 "2019-08-25T09:10:23Z")

</div>

No a payload can’t be both a string and an object at the same time

---

<div class="post-metadata">

### Author: ![nicedevil](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nicedevil](https://discourse.nodered.org/u/nicedevil)
#### Post date: [25 August 2019 09:21 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/79 "2019-08-25T09:21:26Z")

</div>

wasn't the answer I wanna hear but now I know that I'm doing it right xD

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [25 August 2019 09:30 UTC](https://discourse.nodered.org/t/nicedevils-starting-questions/14454/80 "2019-08-25T09:30:43Z")

</div>

But you could code things up like this

msg.payload = "on"  
msg.status = 1  
msg.activities = 123456789

[Previous page](https://discourse.nodered.org/t/nicedevils-starting-questions/14454.md?page=3)

[Next page](https://discourse.nodered.org/t/nicedevils-starting-questions/14454.md?page=5)
