Begginer needs a little help

Im completely new to Node-Red and have no clue about coding and that’s the main reason I started with nodered, because it seems like I can learn it.
Here is my setup
NodeRed is running on RPi3 Raspbian with desktop 4.14, 8 gpio pins connected to 8 channel relay powered independently with 5v power supply.
Added nodes:
Also added and later removed (thinking that was the cause of the problem) nodes:

I’m utilzing 2 nodes to control relays and delay node for “soft” start
UI node switch and rpi gpio
Each gpio has its own ui-switch and I can control them from UI web interface.

Here is the problem
I added one more “Master” switch and wired it to control all 8 switches with delay node in between.
It shows up in UI and I can control it from there, but if I switch On/Off one of the switches and then click on Master switch it would activate all switches except the one that was active recently.

Will add snap shots as soon as figure out how to do it

Not related to your question but you should start by removing
Node-red-contrib-ui and Node-red-contrib-ui_j
and after restarting Node-RED then install Node-red-dashboard

node-red-contrib-ui was redeveloped into node-red-dashboard several years ago.

Which also suggests you are using an old version. What version of Node-RED and nodejs are you using?

Node-red v0.19.4
Node.js v8.11.1
Dashboard 2.13.2

I did as you recommended, imported the flow I saved and now I get grey screen on UI

So you have uninstalled all the dashboard nodes apart from node-RED dashboard?
None appear on the list of nodes on the left hand side?

If so, what do the logs say on startup?

20 Feb 13:58:15 - [info] User directory : /home/pi/.node-red
20 Feb 13:58:15 - [warn] Projects disabled : editorTheme.projects.enabled=false
20 Feb 13:58:15 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
20 Feb 13:58:15 - [info] Creating new flow file
20 Feb 13:58:15 - [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.

20 Feb 13:58:15 - [info] Starting flows
20 Feb 13:58:15 - [info] Started flows
20 Feb 13:58:15 - [info] Server now running at
20 Feb 14:10:30 - [info] Stopping flows
20 Feb 14:10:30 - [info] Stopped flows
20 Feb 14:10:30 - [info] Starting flows
20 Feb 14:10:30 - [info] Started flows
20 Feb 14:11:59 - [info] Stopping flows
20 Feb 14:11:59 - [info] Stopped flows
20 Feb 14:11:59 - [info] Starting flows
20 Feb 14:11:59 - [info] Started flows

i also followed upgrade instructions from here and created new flow with switch and gpio nodes, they dont appear in UI

im not sure i did ui nodes still appear on the left. are they part of dashboard node?

dashboard is working now
i was sure i deleted ui and ui_j folders, but somehow i didnt.
now Ive got new color switch node, which didnt appear when ui nodes were there.
will rebuilt the flow and see if its working

Great at least now you are on a version of the dashboard that is being developed and supported.

Thank you ukmoose, it solved my issue!!!
New dashboard is working much faster and displayed properly on my iPhone too.

1 Like