NodeRed : Output 4 Switches To String

Cerrado Publicado hace 6 años Pagado a la entrega
Cerrado Pagado a la entrega

This is a very easy project for anyone who knows Node-RED!

I want 4 "switches" from the Node-RED dashboard (that I can toggle on / off from UI)..

Each time I hit a button "GO" on the UI, I'd like to send a string "BLUE"+ the combined status of those switches...

So as example, If I hit the "GO" button, and switch 1 is on and switches 2,3,4 are off, Id like to send message payload of "BLUE,1,0,0,0"

Or if I hit the "GO" button and all 4 switches are on, I'd like to send "BLUE,1,1,1,1" as the message payload

MQTT

Nº del proyecto: #15346308

Sobre el proyecto

Proyecto remoto Activo hace 6 años