This is a great general-purpose project box, but only in the case where the box is mounted to a flat surface to complete the waterproof seal. It is designed to fit to a number of different back-box standards including UK light switches, but would work for any flat surface mount with cables coming through from the back and/or entering from the bottom. There is a break-away blanking piece covering the rear cable access, but it is not waterproof like the bottom cable access is and the bottom cable gland is waterproof with or without cables.
I had a hunch this would be good for my application, making a 'Smart' parcel and letter box truely smart by notifying me of a delivery over WiFi (ESPHome). I am not using any Sonoff components. It turned out to be better suited than I'd dared hope. I just needed to Dremmel a little plastic off the top to fit a small step in the surface I was mounting to.
I am really hoping that it lives up to the 'waterproof' billing as this will be outside and truely tested! An actual IP rating would be comforting though. Also it would be good to have an opaque plastic option as well as the transparent.