This is the only electrical code compliant method I can come up with. I have the same need, with an older house, built on a concrete slab.
You can now get a dc power supply for your device that will work from the low voltage AC. You may need another bracket higher up the wall for sensors, etc.