Very simple. Offline status means that your device disconnects from the server.
is there a way of changing that? or will it just say offline after each update?
That's something you need to ask your device vendor. Some devices are configurable.
OK thank you. I'll have to look into this, the device seems very heavily configurable, it's a teltonika FMB900.
I have a couple more questions if you don't mind.
delete from tc_events where servertime < DATE(NOW() - INTERVAL 1 HOUR);
delete from tc_positions where servertime < DATE(NOW() - INTERVAL 1 HOUR);
delete from tc_statistics where capturetime < DATE(NOW() - INTERVAL 1 HOUR);
to purge the original event, but the milage hasn't changed.
my reverse proxy settings are as follows:
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name traccar.*;
include /config/nginx/ssl.conf;
client_max_body_size 0;
location / {
include /config/nginx/proxy.conf;
proxy_pass http://192.168.12.227:8082;
proxy_redirect http://192.168.12.227:8082/ /;
proxy_redirect ws://192.168.12.227:8082/api/socket /api/socket;
}
}
Thank you so much for taking the time to read this.
Thanks.
I took a look at the configuration on my tracker and the timeout is on there, so that has been changed. Thanks. Just looking at proxying. I'm sure I had restarted, but never mind. Worst case scenario, I kill the existing database and setup another.
I dont know how nginx do it but enabling mod_wstunnel in apache solv the websocket error for me
Evening Ladies, and Gents,
I've got my motorcycle tracker and my phone tracker both reporting on own installation.
I have the following information in my configuration file:
My phone shows as online constantly, (both phone and teltonika tracker are set to update once an hour if no movement is detected) however after five or so minutes my motorcycle tracker shows as offline. - Could someone point me in the right direction to resolve this, please?
Many thanks.