It would be so much easier to make things and I would be able to use less space with redstone.
You power a Redstone Transmitter, where you choose a frequency.
Afterwards, you connect whatever you need to power to a Redstone Receiver. If it has the same frequency as an active Redstone Transmitter, it will emit a redstone signal.
Something like this "https://minecraft.curseforge.com/projects/wireless-redstone-cbe?gameCategorySlug=mc-mods&projectID=260824" maybe?