Setting a switch value dependent on multiple other switches

@Ronsch Ron, welcome to the forum!

Are you talking about the switch node, some physical switches, dashboard switches?

Which version of node-red and node.js are you using? (You can get these from the start up log)
What device are you running it on?
Are you using Docker?
Are you using HA?
Can you provide a copy of your flow?

It would be useful to provide this information. Remember that none of us knows any of this information and without it, it’s kind of hard to give you any help.

I recommend watching this playlist: Node-RED Essentials. The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot more in about 1 hour. A small investment for a lot of gain.

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```)

``` 
   code goes here 
```

You can edit and correct your post by clicking the pencil :pencil2: icon.

See this post for more details - How to share code or flow json

1 Like