Night infrared will not switch back to daytime mode resulting in pinkish image

Told to smack the camera to correct it. Smacking works, but don’t want to do that every morning

Sounds like a defect in the camera. Contact to handle this and probably get it replaced. Hitting it is not how the camera is designed to work.