Plug-in mains power and temperature monitor