I needed to mount my Wyze Cam to a metallic door but still wanted it upright (and not sideways) so I made a small shelf, added magnets, and stuck the metal plate that came with the camera onto it.
The OpenSCAD file is included if you need to make changes. I used 12mm x 3mm magnets, so the pockets are for that specific size. I didn't glue them in as they fit really well, but did add some gaff tape so they don't fall out.
Read more about this project: https://rasterweb.net/raster/2022/08/14/wyze-cam-magnetic-shelf/
The author marked this model as their own original creation.