This is a housing for the electronics of an LED lamp with a remote control.
The housing has 4 holes and 8 mm diameter pins.