knocker
doorknocker
rapper
a device (usually metal and ornamental) attached by a hinge to a door