GPIO not control External Relè

Hi all, i have little problem with nodered, i think the problem is the configuration i am using.

i have a relay that activates with 0V, and even using a BC337 i can't get it energized.

it seems to go the loop regardless of the command I issue from Google Home.

This is my configuration images.

reading the docs, i read that the GPIOs only give 3.3V and was using a BC337 to ground everything.

Is there anyone who can help me?

also connecting a simple LED I have the same problem, it seems that the voltage does not come out from the GPIO pins

I assume you're running NR on a Raspberry Pi as you did not specify this. Have you tried if you can get the relay of LED toggled using some Python code based on Raspberry documentation or tutorials?

Unless you have, it will be difficult to guess if this is a hardware issue or Node-RED related.

Yes I have Node Red.

yes i did a test following this tutorial to set it from bash using GPIO09 -> PIN 21 and it works fine from bash.

if I use the same PIN from NODE RED, it doesn't work

This is very disaster :frowning: bat work....

have another solution to exec some action to turn on GPIO pin ?

Please note that you can paste images directly in here, there is no need to use an external site.

Add a debug node showing what you are sending to the gpio node and show us what it gives. Also show us how you have configured the gpio node (screenshot is the best way).
Do you see any errors in the debug window when you try to drive the output?

Also I presume this is on a pi, did you install node-red using the recommended method in the node-red docs?

Finally stop and restart node-red in a terminal and copy/paste the terminal output here please, right up to the point you attempt to drive the output. Use the </> button above this box and paste it in.