This is an universal junction box for the Nest Protect V2. There are 4 screw holes that allow the unit to be mounted with the original Nest Protect screws. It was designed to mount a mains powered NP anywhere on the ceiling / wall and provide room for the cabling and connect to cable ducts.
eBay