This plate can be used with the included self-tapping screws to mount one or two magnets on the back. Any kind of circular magnet with a hole in the middle will work, as long as you can use an M5x8 bolt, nut, and washer. I'd also use thread-lock.
OpenSCAD file included, you can easily update this for any enclosure with similar self-tapping screws.
PLA is an absolute no-go here, it will easily warp/melt in the sun. Use PETG or better.
Enclosure: https://www.amazon.com/gp/product/B08KY7VK8W
The author marked this model as their own original creation.