OpenMarine

Full Version: SMS interface implemented
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have added an interface to send SMS from GSM dongles and phones connected by USB or Bluetooth. This is the list of compatible devices: http://wammu.eu/phones/ with some data to configure them.

I have tested it with an Huawei K3520 GSM dongle and works like a charm.

[attachment=2]

Now I have to add the "send SMS" action but you can already play sending test messages Big Grin

Follow these instructions to test: http://www.sailoog.com/en/blog/test-open...r-v080beta

I have not tested with phones yet.

More info: http://wammu.eu/docs/manual/faq/index.html
Is it possible to build in a option to send sms with HTTP POST/GET syntax ?
i have a Teltonika RUT500 3g router that have that option. (Teltonika RUT500)

HTTP POST/GET string example

http://xxx.xxx.xxx.xxx/cgi-bin/sms_send?...&text=test
Yes it is, but that should be a new action/trigger able to manage GET/POST

Noted on features requests, thanks!
It would be nice to request a status report via SMS from outside the boat.


Viele Grüße,
Martin

www.sirius-forum.de
You will be able to get keywords from SMS and trigger an action to send any value by SMS
Hi Sailoog,

I now got a K3520, too. It is recognized by Raspian and I can send SMS from command line.
In Openplotter I set up a serial device and used it in the SMS dialog.
When testing, the device can not be connected.
What am I doing wrong?

Martin
I have tested it with an Huawei E220 USB connected via USB and it is ok

But when I try to send an SMS via trigger I have this problem:

I set the trigger

Time: time
operator: was present in the last (sec)
value= 180500 (for the tast I set the current time plus 10 minutes)

I expect that after 10 minutes the SMS starts, but the SMS starts after a few seconds

i think maybe I'm wrong by setting the trigger, which is the correct setting?
Yes your settings is not what you want.

Your setting means: The trigger will be true if in the last 10 minutes the magnitude Time has had a valid value. So, immediately the magnitude Time have a value, the trigger will be true.

If you want to send a SMS every 10 minutes you should define a trigger "None (always true)" and an action "sends SMS", repeat after "10", "minutes".

If you want to send a SMS just once after 10 minutes I have no idea how... A feature ahead is to process Time and Data to be able to set triggers based on time.
Wasn't sure where to post this but...

Have you seen these gsm board not long out? Cost next to nothing, next one will have a gps built in as well..

http://www.myelectronicslab.com/tutorial...i-thinker/