charlietburton : Many thanks for the additional diagram! The flickering of the lamp results from the SW-input of Shelly plus 1. Try to swap the wires at pins L and N of SHELLY, leaving the other wires at its place!
Thank you!! Swapping the L and N on the Shelly worked - exactly as expected! Why is this?