That's a good DIY you did. Next time though, I still recommend the OEM junction box . The PFA139 Dahua junction boxes are generally made out of metal and go for around $6-$10 on Amazon. You can avoid Home Depot altogether to avoid exposure to the virus
I found a weatherproof electrical box from Homedepot for about $7.91 that I was able to simply modify it to fit for my cameras. See photo