Dude SMS Notifications

Hi, we now use dude server on a CHR mounted on a PVE. We also have a GSM modem conected via seral to the machine.

In the router OS i can send SMS messages via the modem connected to the serial port.

Is there a way or plans to implement a SMS notification sevice in dude that utalises the onboard SMS service on the Routerboard OS that the server is installed on?

Thanks

There is an idea that we could allow dude server to access sms tool for sending notifications. Although I cannot yet say when this feature will actually get implemented in dude server.

Any update on this? we already have it running on old dude, because it is on windows server, but now we moved to new version and we need sms notifications directly from board

Yes. A while ago new notification type “execute on server” was added. Which allows you to write ROS scripts in there to use various tools on host device side. That includes option to send sms that way.

Can you give me more info how to do that? we have dude on router board. we have sms server with link or we can use gsm gateway, can you suggest which option to use and how?

shrek777,

We use SMS notification via HTTP request.
It looks like this:

#
# Send SMS
#
:local notificationtextEncoded "[Probe.Name] on [Device.Name] is now [Service.Status] - [TimeAndDate] - [Service.TimeSinceChanged]";
:local url http://192.168.1.1:1111/sendsms;
:local username user;
:local password password;
:local from dude-sms;
#
# First Name Last Name
:local to "+XXXXXXXXXXX";
/tool fetch url="$url\?username=$username&password=$password&to=$to=$to&text=$notificationtextEncoded&from=$from" keep-result=no
#

For more information, please refer to the Dude Telegram Example

First, please try to send SMS from ROS terminal using fetch.

Thank you!