By the looks of it you have no neutral at the switch and as far as I’m aware the shelly one requires a neutral to work. You could try wiring at the light end where there has to be a neutral if that’s possible or I think shelly do a dimmer that doesn’t require a neutral. Hope this helps