Controling gpio pins using node-red and Rhasspy

I think I got it if msg.slots.state used for on and off would that make msg.slots.name the payload in the switch?

OMG IT WORKED !!! i dont know if you will see this but im so happy right now
thank you for 1 beleving in me and saying that i can do it and 2 thank you for not giving me the answer right when i asked you i watched this guy on youtube Node-Red Switch Node for Beginners - YouTube
and i start to think what did Rhasppy inject then i remembred what you learnd me so the Key word i was asking for was name i dont know how i thinked about this it just striked me
i hope you are proud of me

1 Like