This project will alert the local government authority or police whenever the home quarantined patient tries to leave the home or quarantine room. The project will be set up at the door of the room of the patient or at the main entrance. Whenever, the patient will try to exit from the door, the PIR motion sensor will sent a signal to the Bolt module which will trigger the cloud. With the help of a code and Twilio messaging service, a SMS alert will be sent to the local authority or police. A buzzer is also attached with the module which will ring when the PIR motion sensor detects any movement. With the help of Integromat, an integration is being done with the android of the patient’s phone and Google sheets. Whenever the GPS location of the phone crosses a 200m radius of the patient’s house, the current location of the phone is added to the Google sheet. (A GPS module could serve the purpose more efficiently. Due to its unavailability during the lock-down period, this is an alternative solution.) Thus, the police or the local government authority will be informed if the patient tries to leave his residence.
Working of the ProjectIntegromat IntegrationAn integration is done on the Integromat environment between Android of the patient’s phone and Google sheets. Whenever the GPS location of the phone crosses the 300m radius, the current location of the phone (latitude and longitude) is added to a Google sheet.
Link of the Google sheet: CLICK HERE
The Integromat mobile app is to be downloaded in the patient's phone and logged in to the same Integromat account. The following settings are to be applied on the app:
The configuration file and the main file have been attached. The codes were written in Python and run in Ubuntu environment.
Code OutputThe output of the code when the sensor detects motion is as follows:
When the motion is detected, the following SMS alert is sent via Twilio:
I believe that the application of this project will be much effective in the current scenario. Tracking the location of all the patients round the clock manually is a much difficult and hectic process. Instead, checking the location of the patient when the SMS alert is received will be much easier and smooth. The project is cost effective and I think it will be of much help if it is brought to the market. On conclusion, I would like to say that this project can efficiently curb the movement of home quarantine patients and help us to beat Corona virus.
Comments
Please log in or sign up to comment.