Device Offline computed attribute

Demetris7 years ago

Can anybody help me how to make a computed atribute to get notification when device is offline for more than 12 hours?

Thanks.

Anton Tananaev7 years ago

It's not possible to do with computed attributes.

Demetris7 years ago

OK. I am sorry if i sound stupid but i am new in this field. I hope you understand.
Basically i started 3 months ago installing GPS trackers (ST-901) in a large fleet.
So far i have installed 150 trackers and i still have 850 more.

The initial plan was to use the trackers only via sms or call (we wanted to keep the monthly expenses low).
After putting 150 devices i realized that this method is not only time consuming but not that safe as well. (I used to send sms to each devices 2 times per month just to make sure that everything is working good).

The idea to use Traccar was to be able to check the status of the trackers easily via the web platform.
So it would be easier to verify that all the trackers are connected and working properly. But unfortunately there seems to be a problem with the ST-901 trackers and they keep connecting and disconnecting after 10 minutes or so.

What is your opinion? How do you verify that your trackers are working properly? Any recommendations would be appreciated.
Thanks for your understanding.

Anton Tananaev7 years ago

There are status notifications for it (unknown and offline).

Demetris7 years ago

Yes i understand that. The thing is the the ST-901 trackers every 10 minutes go offline for a bit and then back online. So when i will check on my trackers to verify that all of them are working properly i will be seeing some of them offline (but actually they will be working fine). So that wont help to actually see which devices will be really offline.

Anton Tananaev7 years ago

Then you can use "unknown" notification.

Demetris7 years ago

What does actually unknown stands for? In which condition does unknown comes up?

Anton Tananaev7 years ago

It means that device was online, but hasn't reported for certain period of time (10 minutes by default, but it's configurable).

Demetris7 years ago

that sounds interesting. how can i configure the time interval. Can i also change the colour of Unknown status?

Anton Tananaev7 years ago

Please read documentation:

https://www.traccar.org/configuration-file/

As for colour, you can only change it in the code.

Demetris7 years ago

Is it this one? status.timeout config