Hello Tim,
this is a question we all have to address in due time.
I had a system with Pocket PC and VB6 to send SMS.
viewtopic.php?f=4&t=12991&start=30&hilit=smsBut long ago.
I think it should be possible to use, for example, ARCHER router with a SIM card or even SYNOLOGY.
Best regards,
Otto
I googled:
Yes, Synology NAS devices support sending SMS programmatically using the Synology DSM SMS API. The Synology DSM SMS API allows you to send SMS messages from your Synology NAS device using HTTP requests.
Here's an example of how to send an SMS message using the Synology DSM SMS API using JavaScript:
javascript
Copy code
const axios = require('axios');
const nasIpAddress = 'NAS_IP_ADDRESS';
const port = 'PORT_NUMBER';
const username = 'YOUR_USERNAME';
const password = 'YOUR_PASSWORD';
const message = 'Hello world!';
const phoneNumber = 'RECIPIENT_PHONE_NUMBER';
axios.post(`http://${nasIpAddress}:${port}/webapi/entry.cgi`, {
api: 'SYNO.SMS.Send',
version: 1,
method: 'send',
message: message,
to_number: phoneNumber,
account: username,
passwd: password
})
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error(error);
});
In this example, you would replace "NAS_IP_ADDRESS" with the IP address of your Synology NAS device, "PORT_NUMBER" with the port number of your Synology DSM web interface, "YOUR_USERNAME" and "YOUR_PASSWORD" with your Synology DSM login credentials, "Hello world!" with the message content you want to send, and "RECIPIENT_PHONE_NUMBER" with the phone number of the recipient.
Note that the Synology DSM SMS API may require additional parameters or authentication headers depending on the NAS model and DSM version. You should consult the Synology documentation for more information.
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club********************************************************************