Retrofit Sprinkler Controller in Rainbird box

I’d like to replace the old controller board (mechanical) with my new Wyze Sprinkler Controller inside my old Rainbird box. Just wondering if anyone has already done this and can share the parts they used to mount the new controller inside the existing box. I’m looking at the possibility of fabricating a small frame to fit in the back of that box to which I can attach the mounting bracket for the new controller. But don’t want to re-invent the wheel if someone has already done it.
David W.