Hello Welcom to SMS Weather. There are a few steps you need to do to get this application working
-
Regester for a Twilio Account https://www.twilio.com
-
Open send_sms.py
-
On line 4, put your Account SID in for the account_sid variable https://www.twilio.com/console
-
On line 7, put your Auth Token in for the auth_token varible https://www.twilio.com/console
-
On line 15, put your personal phone number format ==> "+1##########"
-
On line 17, put your twilio phone number
-
Go to https://openweathermap.org and register
-
Open recieve_sms
-
On line 10, enter you openweathermap API key https://home.openweathermap.org/api_keys
-
Install python on machine
-
Install pyowm on machine 'pip install pyowm'
-
Install ngrok on machine 'brew cask install ngrok'
-
Go to SMSWeather folder in Command Line and run 'recieve_sms.py'
-
Type 'ngrok http 5000'
-
Copy the last Forwarding address and add '/sms' to the end Ex: https://1ded6c50.ngrok.io/sms
-
Log into Twilio and go to phone numbers https://www.twilio.com/console/phone-numbers/
-
Click on the phone number entered in step 6
-
Change "A MESSAGE COMES IN" section to the ngrok address
-
Run 'python send_sms'