Temperature detection aiming for Covid-19 prevention is widely in demand from 2020. A system combining Covid-19 detection and authentication plays a significant role in ensuring safety and security. Nevertheless, after reviewing the literature, it is found that most of such systems existing contain two devices including a visible light camera for recognition and a thermal camera for temperature detection. In this paper, we propose an integrated single device framework based on a thermal camera, which combines authentication and Covid-19 detection using thermal infrared imagery. It features customizing machine learning models for face recognition, temperature detection with thermal images captured by the thermal camera and sending warnings to the house owner remotely if necessary. The whole work is carried out from two aspects: framework design and simulation. The framework designing part concerns modules involved and allocating the modules into edge devices and servers. For the software implementation part, work is generally divided into the initialization phase for training the machine learning model and the authentication phase for face recognition and temperature detection.