Virtual pins are working but no hardware pin is responding

I need help with what i think is a simple problem but i don’t see it anymore.
I want to control the watering of the garden with a pump and a couple of valve’s for the different groups.
But i can’t get it working with the normal buttons in the Blynk app.
The virtual button is working ( you can see the state change in the serial monitor )
The hardware pin is not responding at all, i think that i’m doing something wrong but i don’t now what.
Reading different topics and watching Youtube but i can’t get it working.
Can someone help me with a tip?
( PS with a segmented switch it work’s fine) But it has to work also with lose buttons, i think?

Using a ESP 32 dev board.
Blynk server.
Android Smartpone.

[Unformatted code removed by moderator]

@Martijn_Pannekoek please edit your post, using the pencil icon at the bottom, and add triple backticks at the beginning and end of your code so that it displays correctly.
Triple backticks look like this:


@Martijn_Pannekoek I gave you triple backticks to copy/paste, but you’ve decided to use different characters, that don’t work.

Please try again, otherwise your unformatted code will be deleted.