Gabriel's Reminder Program
Have you ever needed to be reminded of something but a simple apple or android reminder app wasn't enough for you.
I have a solution for you with this simple easy to code solution which is a App I made with python that will message you till you respond the to the message
Supplies
You will need:
-A program to run python code like pycharm found here (pycharm)
-Also will need a computer
-And this intract
First Step Download Pycharm
You will need to download Pycharm or some type of program that will run python code
Link:(https://www.jetbrains.com/pycharm/download/#sectio...)
Once you download and setup pycharm we are able to move to the next step
Step 2 First Part of the Code
This code that you see is the main part of the system which runs and will help you send a SMS or (Text Message) to your phone. The proxy client is in a way a server to help send a text to you repteadly and the lower code is a due date and what makes the reminder functions work.
DO NOT TOUCH ANY OF THIS CODE OR IT WILL BRAKE
The Code will be left down below for you to use.
load_dotenv()
proxy_client = TwilioHttpClient(proxy={'http': os.getenv("HTTP_PROXY"), 'https': os.getenv("HTTPS_PROXY")}) twilio_client = Client(http_client=proxy_client)
#this will set a date the reminder is due and gets the program going do not mess with def find_reminders_due(): reminders = read_reminder_json() reminders_due = [ reminder for reminder in reminders if reminder['due_date'] == str(date.today()) ] if len(reminders_due) > 0: send_sms_reminder(reminders_due)
Step 3 Editing the Code
Ok for this step you are now able to touch and mess with the code all the code you see here is how you will set up the reminder system and you will put your phone number at the (to_phone_number = reminder['phone_number']). Then you for the {twilio_from = os.getenv("TWILIO_SMS_FROM")} This part of the code is your contact name or the name of the reminder.
Then for the rest of the code body=reminder['message'], from_=f"{twilio_from}", to=f"{to_phone_number}") update_due_date(reminder) this is where you will set up your message and then write what you want it to say and reminder of and it will text it to you.
Final Step
Last bit you will YOU WILL NEED TO MAKE SURE YOU HAVE THIS!!
This bit of code is important because it will determined when it will be sent
In the parts where it says ("Due Date") Change that to a date on when you want to get the reminder and
the rest of the code will work with the first part of code and send the message to your phone with the message title and on the date you put.
Receiving
Once you have done all the above steps you should get a message like this and it will repeat till you text the number back and it will stop.
PLEASE REMEBER TO TEXT THE NUMBER TO STOP THE SYSTEM FROM REMINDING YOU.