On 2023-03-29 11:16, Per Jessen wrote:
Philippe Andersson wrote:
Just mentioning it because I think it would do exactly what you request. Please have a look at https://smslink.sourceforge.net/.
It's an OSS client-server solution I wrote a long time ago (but it still works great). It's designed to be integrated into higher-level applications (I currently use it as a plugin for Nagios to send me SMS alerts in case a critical server or service goes down).
It requires the use of a hardware GSM module that your PC would access over serial or USB connection, and of course a valid SIM card in the module, so the overall cost of the solution is not null. But the result is really reliable.
I can confirm - this is the solution (albeit not Philippe's code) we have been using (for over fifteen years) up until we switched to Threema. In our case, messages are triggered by an email sent to the machine that has the GSM modem.
Yes, I have tested in the past software that would communicate with a phone via USB and make it to send an SMS. Could be wammu or gnokii. But currently my use case is just an itch, nothing that justify investing in hardware. My current solution is sending an email to my phone, and eventually I notice it. It is gratis. Some of the proposed solutions here are very interesting, some a bit complex. It seems that we can notify an Android phone with something called "PUSH notification" using a suitable server, and that can be done, if wished, at home if wished, or with an external server. https://ntfy.sh/ seems the easiest, just that I haven't got around to testing it yet. Others proposed solutions that involved running ssh and scripts or smtp in the phone and cron jobs. All those are active connections and use battery; PUSH seems to be passive. It is what banks and others use to send notifications to their apps installed on the phones. (this is mostly guessing, I haven't actually read anything) https://www.tutorialspoint.com/android/android_push_notification.htm https://support.iterable.com/hc/en-us/articles/115000331943-Setting-up-Andro... -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)