SmartThings Water Sensor PVC Mount, designed for 2-inch PVC. I use this to mount a water sensor directly above my sump pump (for earlier notification of issues). Fasten with zip ties.
No supports needed.
The author marked this model as their own original creation.