I've just bought a sensor to replace my pull cord in a toilet. On the sensor there is inputs for Live In, Neutral, Live Out.
Does this mean i need to run a constant live feed to the sensor ? as when i tried it with just the live in & neutral from the switch the sensor worked but it wouldn't turn the light on.
Do i need to run the live feed back to the junction box or back to the light ?
At the switch point you don't have a neutral. You have live in and switched live out. You need a neutral, you have to replace the cable with a 3 core and earth.