DEV Community

Islam Ibrakhimzhanov
Islam Ibrakhimzhanov

Posted on

Please take a moment to help.

Hello, good people. Please tell me the idea. How can I implement sms-parenting alerts? The idea to set up GPS in school and in the hands of children there is a smart watch and when they enter the GPS zone, messages are sent to parents that the child is in school. And when they leave the zone, then the SMS that they are gone. PS I apologize if there are errors in the text, I am weak in English.

Top comments (3)

Collapse
 
voanhcuoc profile image
Khoa Che • Edited

You got the idea. Problem is how you implement it!

Let take a simplest approach:

  1. Get the coordinate of the school from Google Map
  2. The GPS device constantly check distance between the it and the above coordinate.
  3. If the distance is acceptable, let schedule to send SMS by about 15 minutes, by calling an API to send SMS (for example twillio)
  4. If the distance is larger than allowed, immediately send an SMS to alert.
Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
voanhcuoc profile image
Khoa Che • Edited

Oh, as this is DEV community, I've assumed you're a programmer asking for technical instruction, sorry.

As a user, you can either find and buy a pre-existing parental-control solution that has your desired feature, or hire a programmer to write you one.