-
-
Notifications
You must be signed in to change notification settings - Fork 706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMS commands and notifications #106
Comments
I don't really believe in SMS, I think it will die sooner or later. Also, seems like this functionality is completely independent from original app, so it might as well be a separate application. |
As I already mentioned, SMS is in some areas more reliable and may work when you are using roaming. Maybe it dies in a couple of years but as of now, it is available everywhere. It is true, that new code had to be added for handling SMS but the entire logic is based upon and integrated in the TraccarService class. The original concept hasn't changed at all. |
What I'm saying is that it doesn't actually interact with Traccar server. |
That is indeed true but fixable. The server has to be extended for SMS functionality and the SMS could contain a standard traccar message (NMEA sequence). I have never used "normal" Java for SMS sending/receiving. However smslib should be easily integrated into the server. |
I have actually used smslib in the past, but I'm not convinced that SMS communication has any future. |
This is great news and I will definitely use that! Thanks. SMS tracking might not be very useful but the thing that was really One thing I remember is when I needed to upgrade my traccar server I see it as a very important feature to change settings using SMS Mohammad Yusuf |
@mhdyousif, ideally you should be using domain name instead of IP address. |
That's not always possible because I don't even have a domain name and And what about the tracking interval for example? sometimes I need I also constantly get periods of time when I see no updates from one of It would be really useful in these cases to be able to SMS the device On 02/09/2014 12:12 م, Anton Tananaev wrote:
Mohammad Yusuf |
Adding more commands is an easy task. Instant info is already there (pos command). But with the "update" feature, you could update the interval as needed. I will implement the needed features. Question is: will they be merged into the client? |
And there is always the possibility of things going wrong. Amazon On 02/09/2014 12:18 م, Mohammad Yusuf wrote:
Mohammad Yusuf |
On 02/09/2014 12:20 م, Armagetron wrote:
Great!
That is up to the author of course. He already did a wonderful job with You could, if it didn't get merged, as he suggested change its name and Mohammad Yusuf |
@mhdyousif: You could use a DynDNS service like NO-IP to mask any IP address. |
Yes but Amazon elastic IPs are still more reliable. |
I added some more commands which allows more settings to be modified via sms. Doing this I encountered a problem. The data in the preference screen (the stuff displayed by TraccarActivity) does not get updated, when the settings change. Restarting the application however updates the information as they are fetched from the persistent storage. Does anyone know how to fix this? |
What data are you talking about? |
I use the SharedPreference class to update the configuration. This ensures a persistent change and the Listener is also signalled. Question is: how do I update them? |
I think they should be updated if you use SharedPreference correctly. |
Great FORK. I was hoping for it and its actually here :) I will give it a try and will update the article on my blog as well. Good work Guys :) 👍 |
Can someone please give some directions howto to get the new traccar client (with sms support) package for Android? .apk file? |
Since there is still work to do on the SMS functionality or in other words I wish to add more features and I'm mostly doing this for myself there is no "official" package for this version. However you can build it by yourself and install it manually on your device. |
any update on the sms feature? Regards, |
I haven't worked on the client but on other features related to it on my server.
This is a completely different issue and has nothing to do with sms. |
Hi, |
hello sir Armagetron,., can i ask something about your android., can i get your email address? thankyou |
I would like to invite everyone who is interested in sms support to discuss features in my fork. |
@redge76: I got something like that running on an Raspberry Pi. It uses an Huawei UMTS Stick which receives SMS from traccar, converts them to the traccar protocol (because I want the SMS to be human readable) and sends them to the tracking server. SMS handling is done using the gammu library and a piece of software that process the SMS. For those of you who are still interested into it, I have currently updated the settings screen. Now I am redoing the UI. This will allow me to integrate other features using more screens/fragments. |
Sure I'm still interested... |
Any news about this client with SMS commands? Here is my use case:
Why SMS is so important ? because 3G if generally not available where she rides. It's too far in the country. It can be miles before she find a strong enough signal to send the position backlog. So maybe SMS is a technology from the past, but in very useful in such scenario. Armagetron can you provide a compiled client for me to test ? thanks, |
+1 for SMS delivery of positions to the server. I put on endurance events, some in remote locations, where data availability is spotty or nonexistent. |
SMS notifications are already available. Server doesn't decode SMS positions, but it will show save any incoming SMS as events. |
I have added SMS functionality to the traccar client. You can now receive position updates through SMS messages. These SMS are send to a configured number in the app. This feature can be toggled on or off. These updates are in addition to the normal logging via the internet connection.
This functionality is useful for users who live in remote locations where SMS is still working but the mobile internet is not.
The client can also be controlled via SMS. I have implemented the following commands (which are send via SMS to the device):
Here are two screenshots. The first shows the additional menu items and the second one a log entry of a SMS. You can check out the changes in my forked repository. I would like to hear your thoughts!
The text was updated successfully, but these errors were encountered: