A cheap ESP32, a sensor, and a battery ...
Texting with no cell towers, no SIM, no license: just $40 LoRa radios and neighbors with solar repeaters on their roofs.