Is it somehow possible that when I have the coordinate 1401 64 8761, the redstone signal for my two pistons for the secret passage is activated next to me? I want to keep the entrance a secret!
I think you can "set" blocks with a cmd block. With "setblock [coordinate] minecraft: redstone_torch" you can then generate a redstone signal. With a second command block you could then remove the redstone torch with "setblock [coordinates of the redstone torch] minecraft: air"