Turns out the RJ45 connector was not connected properly to the camera. I attached a new connector and it worked.
Unifi Switch immediately showed that the port was connected (orange color of the port, instead of grey, see image).
I set my PC to 192.168.1.1 and it found the camera.