Your smartphone can do much more than text, take photos, and check the weather. In an emergency, it can call 911, notify your family, and share your location, even if you cannot press a single button.
I programmed it with ESPHome, and it only took a few hours from start to finish.