Dashboard not appearing

Hi
Today I used node red with raspberry pi3 and after installing the node red and start with blinking led project I moved to ip:1880/ui but there were nothing to appear on it

Please advice

Did you create a flow using dashboard nodes?

Yes
I follow this video


But no switches appear to play with it

If you are in Node-RED and you go to the menu ( top right ) and click
What version does it say you are using? ( bottom of menu)

If there is a โ€œManage paletteโ€ option on that list, click on it, on the page that comes up, where it says โ€œfilter nodesโ€
if you type in โ€œdashboardโ€ does it find the nodes?

Hi
please see the screen shot
e4
also please see the node red at starting if I miss somthing since i'm very new on the node red just today I start with :slight_smile:
8 Jun 21:23:22 - [info] Node-RED version: v0.15.3
8 Jun 21:23:22 - [info] Node.js version: v0.10.29
8 Jun 21:23:22 - [info] Linux 4.4.50-v7+ arm LE
8 Jun 21:23:25 - [info] Loading palette nodes
pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/usr/bin/python -u /usr/lib/node_modules/node-red/nodes/core/hardware/nrgpio.py info
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
8 Jun 21:23:34 - [info] Dashboard version 2.9.4 started at /ui
8 Jun 21:23:41 - [info] Settings file : /home/pi/.node-red/settings.js
8 Jun 21:23:41 - [info] User directory : /home/pi/.node-red
8 Jun 21:23:41 - [info] Flows file : /home/pi/.node-red/flows_pi.json
8 Jun 21:23:41 - [info] Starting flows
8 Jun 21:23:42 - [info] Started flows
pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/usr/bin/python -u /usr/lib/node_modules/node-red/nodes/core/hardware/nrgpio.py out 40
pam_unix(sudo:session): session opened for user root by (uid=0)
8 Jun 21:23:42 - [info] Server now running at http://127.0.0.1:1880/

Ahh you are using an old version of Node-RED and node.js.

You can follow the instructions here to upgrade https://nodered.org/docs/hardware/raspberrypi

Once youโ€™ve done that try again

Hi
i follow the link and still not able to see the final dashboard IP:1880/ui as screenshot


I got on screen ((Cannot GET /ui/))

please advise

Have you got any other โ€œdashboardโ€ nodes installed?

What is the flow you are using with a dashboard node in?

Can you repost the startup log details now you have upgraded.

Hi
I hope the text below can has your two questions since iโ€™m new in node red i may not understand these questions
Start Node-RED

Once Node-RED has started, point a browser at http://192.168.0.109:1880
On Pi Node-RED works better with the Firefox or Chrome browser

Use node-red-stop to stop Node-RED
Use node-red-start to start Node-RED again
Use node-red-log to view the recent log output
Use sudo systemctl enable nodered.service to autostart Node-RED at every boot
Use sudo systemctl disable nodered.service to disable autostart on boot

To find more nodes and example flows - go to http://flows.nodered.org

Starting as a systemd service.
9 Jun 13:08:19 - [info] Started flows

There should be more in the log than that. Use the command

node-red-log

to see it. Ctrl+C will get you out of the log.

Also from the command line go to the node-red folder:
cd .node-red
then enter:
npm list -depth=1

and post the result of all the lines starting with โ€˜node-red-โ€™

Welcome to Node-RED

9 Jun 13:52:49 - [info] Node-RED version: v0.18.7
9 Jun 13:52:49 - [info] Node.js version: v8.11.2
9 Jun 13:52:49 - [info] Linux 4.14.34-v7+ arm LE
9 Jun 13:52:53 - [info] Loading palette nodes
9 Jun 13:53:04 - [info] mDashboard version 0.1.5 started at /mui
9 Jun 13:53:18 - [info] Settings file : /home/pi/.node-red/settings.js
9 Jun 13:53:18 - [info] User directory : /home/pi/.node-red
9 Jun 13:53:18 - [warn] Projects disabled : editorTheme.projects.enabled=false
9 Jun 13:53:18 - [info] Flows file : /home/pi/.node-red/flows_pi.json
9 Jun 13:53:18 - [warn]

Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the โ€˜credentialSecretโ€™ option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.

9 Jun 13:53:19 - [info] Starting flows
9 Jun 13:53:19 - [info] Started flows
9 Jun 13:53:19 - [info] Server now running at http://127.0.0.1:1880/

pi@pi:~ $ cd .node-red
pi@pi:~/.node-red $ npm list -depth=1
node-red-project@0.0.1 /home/pi/.node-red
โ”œโ”€โ”ฌ node-red@0.18.7
โ”‚ โ”œโ”€โ”€ basic-auth@2.0.0
โ”‚ โ”œโ”€โ”€ bcrypt@1.0.3
โ”‚ โ”œโ”€โ”€ bcryptjs@2.4.3
โ”‚ โ”œโ”€โ”€ body-parser@1.18.3
โ”‚ โ”œโ”€โ”€ cheerio@0.22.0
โ”‚ โ”œโ”€โ”€ clone@2.1.1
โ”‚ โ”œโ”€โ”€ cookie@0.3.1
โ”‚ โ”œโ”€โ”€ cookie-parser@1.4.3
โ”‚ โ”œโ”€โ”€ cors@2.8.4
โ”‚ โ”œโ”€โ”€ cron@1.3.0
โ”‚ โ”œโ”€โ”€ express@4.16.3
โ”‚ โ”œโ”€โ”€ express-session@1.15.6
โ”‚ โ”œโ”€โ”€ follow-redirects@1.4.1
โ”‚ โ”œโ”€โ”€ fs-extra@5.0.0
โ”‚ โ”œโ”€โ”€ fs.notify@0.0.4
โ”‚ โ”œโ”€โ”€ hash-sum@1.0.2
โ”‚ โ”œโ”€โ”€ i18next@1.10.6
โ”‚ โ”œโ”€โ”€ is-utf8@0.2.1
โ”‚ โ”œโ”€โ”€ js-yaml@3.11.0
โ”‚ โ”œโ”€โ”€ json-stringify-safe@5.0.1
โ”‚ โ”œโ”€โ”€ jsonata@1.5.4
โ”‚ โ”œโ”€โ”€ media-typer@0.3.0
โ”‚ โ”œโ”€โ”€ memorystore@1.6.0
โ”‚ โ”œโ”€โ”€ mqtt@2.18.0
โ”‚ โ”œโ”€โ”€ multer@1.3.0
โ”‚ โ”œโ”€โ”€ mustache@2.3.0
โ”‚ โ”œโ”€โ”€ node-red-node-email@0.1.29
โ”‚ โ”œโ”€โ”€ node-red-node-feedparser@0.1.12
โ”‚ โ”œโ”€โ”€ node-red-node-rbe@0.2.3
โ”‚ โ”œโ”€โ”€ node-red-node-twitter@1.0.1
โ”‚ โ”œโ”€โ”€ nopt@4.0.1
โ”‚ โ”œโ”€โ”€ oauth2orize@1.11.0
โ”‚ โ”œโ”€โ”€ on-headers@1.0.1
โ”‚ โ”œโ”€โ”€ passport@0.4.0
โ”‚ โ”œโ”€โ”€ passport-http-bearer@1.0.1
โ”‚ โ”œโ”€โ”€ passport-oauth2-client-password@0.1.2
โ”‚ โ”œโ”€โ”€ raw-body@2.3.3
โ”‚ โ”œโ”€โ”€ semver@5.5.0
โ”‚ โ”œโ”€โ”€ sentiment@2.1.0
โ”‚ โ”œโ”€โ”€ uglify-js@3.3.25
โ”‚ โ”œโ”€โ”€ when@3.7.8
โ”‚ โ”œโ”€โ”€ ws@1.1.5
โ”‚ โ””โ”€โ”€ xml2js@0.4.19
โ”œโ”€โ”ฌ node-red-contrib-ibm-watson-iot@0.2.8
โ”‚ โ””โ”€โ”€ ibmiotf@0.2.41
โ”œโ”€โ”ฌ node-red-contrib-mdashboard@0.1.5
โ”‚ โ”œโ”€โ”€ serve-static@1.13.2
โ”‚ โ””โ”€โ”€ socket.io@1.7.4
โ”œโ”€โ”€ node-red-contrib-play-audio@2.3.2
โ”œโ”€โ”€ node-red-node-ledborg@0.0.19
โ”œโ”€โ”€ node-red-node-pi-sense-hat@0.0.16
โ”œโ”€โ”€ node-red-node-ping@0.0.15
โ”œโ”€โ”€ node-red-node-random@0.1.0
โ”œโ”€โ”ฌ node-red-node-serialport@0.6.7
โ”‚ โ””โ”€โ”€ serialport@6.2.0
โ””โ”€โ”€ node-red-node-smooth@0.1.0

You have installed mdashboard (node-red-contrib-mdashboard) which would stop the maintained node-red-dashboard from running.

But it looks as if you have not actually installed node-red-dashboard. Which is why you donโ€™t see anything,
As you say you are a beginner, I would suggest you delete node-red-contrib-mdashboard and install the official node-red-dashboard which is the one your tutorial actually used.

please guide me how to delete it can you list required commands ??

Use the โ€œManage paletteโ€ option under the node-red menu. You will need to delete any mdashboard nodes you have deployed re-deploy and then it should be self explanatory

Hi
It works now , thank you and to all other for the support.
please i want to ask some questions
1- I couldnโ€™t delete the contrib-mydashboard from manager palette since there was no option for removing but I was able to install the node red dashboard and now I can see two dashboards.
2- i was implementing a switch ON-OFF LED with raspberry pi3 so after finishing the project the led works fine but after switch the RPI off and switching it ON from main supply the and pressing the icon of starting up the node red the LED gose ON directly and this makes me worry about interfacing with RPI since it may damaging the process in case using many GPIOs , so is there any expalantion why the GPIO starting ON in starting the node red ??
3- is it possible to add some addons to the dashboard tools like some logic gates like OR,AND ,NAND โ€ฆetc to be able to perform some controlling process?? and how
your reply will be highly appreciated
thank you a gain

Answer to Q1:
To remove mdashboard go back to the command line and get into the .node-red folder and enter:
npm remove node-red-contrib-mdashboard
and that should get rid of it.

Answer to Q2:
You havenโ€™t explained enough to get an answer. Are you using NR to turn the LED on/off? How? Maybe including your flow (place three backtickโ€™s before and after the code) would allow others to see what you are doing.
Answer to Q3:
Why wouldnโ€™t you do the logic in the back end flow? Then send the results to the dashboard?
A better explaination of what you want to accomplish would be helpful.

In answer to #3, search on flows.nodered.org for โ€œboolโ€ or โ€œgateโ€ and you will see several nodes that others have written to implement boolean logic gates.

1 Like