There is the right and the easier way to do it.
First of all, if you have not used a voltage divider, shut your printer down immediately and dont use it until you install.
The voltage divider will reduce the 12v/24v coming from the sensor to 5V (logic) level used by the board,
you can search it online, there are thousands of calculators!.
Second: about it being on all the time. there are two logics kinds, PNP or NPN, i like the NPN better, because i dont need to invert the logic in the firmware, but its simple to invert. you need access to the firmware, open the configuration.h page, and change the line:
….”Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop”….
to true. it should work!
Remember to activate the autoleveling function properly!, otherwise it wont work too.
there is a guide here on how to do it, but its for servo+endstop.
i’ll make one about inductive soon,