> For the complete documentation index, see [llms.txt](https://navixy.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://navixy.com/docs/on-premise/ru/on-premise/how-to-guide/configuration/device-statuses.md).

# Статусы работы устройств

Настройте пороговые значения тайм-аутов для индикаторов статуса устройства в Navixy On-Premise: на связи, GPS не обновлялся и оффлайн. Отредактируйте конфигурационный файл tcp-server.

Каждое устройство на платформе Navixy имеет определенный статус, который показывает его текущее состояние. Эти статусы меняются в зависимости от того, сколько времени проходит.

<table data-header-hidden><thead><tr><th width="236.727294921875" align="center"></th><th width="119.9090576171875"></th><th></th></tr></thead><tbody><tr><td align="center"><img src="https://1855757370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkUnMmePH99SsdChtqqu7%2Fuploads%2Fgit-blob-3669eefeef77f859941c75c500b773c6a7d3cc9f%2Fbrowser_lrla4GLmVP.png?alt=media&amp;token=3495cf59-a0fd-405b-b654-46ca9c5f6314" alt="browser_lrla4GLmVP.png" data-size="original"></td><td>Н/Д</td><td>От устройства постоянно поступают данные, содержащие действительные координаты</td></tr><tr><td align="center"><img src="https://1855757370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkUnMmePH99SsdChtqqu7%2Fuploads%2Fgit-blob-38de0e743d43791f73dae311e7c131c41816a55c%2Fbrowser_qJjb9CyZAT.png?alt=media&amp;token=dc4c3e59-9fd2-45d8-b3a7-0cb38acb07ed" alt="browser_qJjb9CyZAT.png"></td><td>5 минут</td><td>Нет действительных данных о местоположении более 5 минут, или устройство передает данные в часовом поясе, отличном от UTC+0</td></tr><tr><td align="center"><img src="https://1855757370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkUnMmePH99SsdChtqqu7%2Fuploads%2Fgit-blob-6ded99ee4a5ed6394b0db8ae5a7ba93e3b63f62c%2Fbrowser_CHEecmH3nB.png?alt=media&amp;token=a17cb09f-3a87-42e1-8b59-b45ff0e43607" alt="browser_CHEecmH3nB.png"></td><td>10 минут</td><td>Устройство не отправляет никаких пакетов данных в течение заданного периода времени</td></tr></tbody></table>

### Настройка тайм-аутов

При необходимости тайм-ауты в экземплярах On-Premise можно настроить, изменив конфигурационный файл "tcp-server". Файл конфигурации находится по следующему пути

* в Linux: `/home/java/tcp-server/conf/config.properties`
* в Windows: `C:\java\tcp-server\conf\config.properties`

Чтобы настроить тайм-ауты, откройте конфигурационный файл "tcp-server" для редактирования и добавьте следующие строки:

```
timers.idleTimeout=10m
timers.offlineTimeout=15m
```

В приведенном выше примере значение тайм-аута для "<mark style="color:фиолетовый;">Местоположение не обновлено</mark>" статусе установлено на 10 минут, а значение тайм-аута для "<mark style="color:оранжевый;">Оффлайн</mark>" статусе установлено на 15 минут. Вы можете указать любые нужные значения, но убедитесь, что первое значение тайм-аута меньше второго. Также обратите внимание, что обязательно нужно добавить букву "m" после указанного значения тайм-аута, что означает минуты.

После указания значений тайм-аута сохраните конфигурационный файл и перезапустите "tcp-server", чтобы применить изменения.

Благодаря этим настройкам параметры тайм-аута можно адаптировать под потребности пользователей и обеспечить оптимальную работу устройства на платформе Navixy.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://navixy.com/docs/on-premise/ru/on-premise/how-to-guide/configuration/device-statuses.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
