The plugs do not look 'factory', have you followed the loom they were plugged into? As per earlier comments, the box with the hole could be a volumetric sensor for an alarm, some of Jap models had the fridge and some had rear A/C so perhaps another type of temp sensor. Either way does not look factory but of course I could be wrong.
regards
Dave