I must include the statements form the Twilio class as they stand in the article and not change tihings.
But now I need some info that I can add the two buttons for the different messages. I renamed the main.py into Alarm01.py and Alarm02.py.
And the new main must have when you pushed Button 1 an statement run Alarm01.py and when you pus the other button goto (run) Alarm02.py I hope you understand my question and will be able to find a solution for me. The problem with the Pi by power fail the program did not restart and ESP8266 keeps his program.
Thanks very much also from the lady I want to help. And off cores form her husband because now he knows if there is a real problem or she wants to get some attention.