So, this may be pretty specific to my situation but I thought I'd share. I wanted to mount the Wyze Contact Sensor on my dog pen gate as he has a tendency to want to open it or it gets left open by someone.
I had used the sensor covers by cgfan on the gate and on my mailbox for a few weeks and they've held up to heavy rain and heat. But I had difficulty mounting the covers to the round pole of my gate. Then Bakersbread came up with his round post mounts, so I combined them and resized them to my specs. Both are tagged as being remixed by this project.
My gate is ~34mm in diameter on the gate side and 61mm diameter on the post side. I plan to mount the sensors just above the hinge on the top of the gate.
You may have to resize to fit your particular dimensions.
You'll also need to print the bottom covers from cgfan design. I'm not sure if I can include them here. If I find out I can I'll add them.
This is all new to me so if I'm leaving something out let me know. Also, learning Tinkercad as I go.
Update #1 Had to update the sensor side. The two parts weren't connected when printed I've glued the two parts together for testing.
Photo shows magnet side (photo left) with two parts oriented incorrectly, still works but that's been corrected in the stl.