> 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/pt-br/on-premise/how-to-guide/configuration/mqtt.md).

# MQTT

Configure o suporte MQTT para dispositivos IoT no Navixy On-Premise. Defina host, porta e configurações de autenticação para dispositivos compatíveis, incluindo Xirgo Global.

O MQTT é um protocolo de comunicação popular usado por dispositivos da Internet das Coisas (IoT). Ele permite que os dispositivos enviem e recebam mensagens com baixa latência e baixo uso de largura de banda, o que o torna ideal para aplicações de IoT.

Os usuários da Navixy podem utilizar facilmente o protocolo MQTT para conectar seus dispositivos IoT à plataforma e receber dados em tempo real sem precisar de nenhuma configuração especial. Esse recurso está disponível em todos os tipos de implantação da Navixy, incluindo ServerMate (PaaS), Cloud e On-Premise. Com o MQTT, os usuários também podem enviar comandos aos dispositivos e monitorar o status deles, o que oferece uma ferramenta poderosa para gerenciar dispositivos IoT.

## Exemplos de configuração de dispositivos MQTT

Veja a seguir exemplos de configuração de dispositivos MQTT específicos:

* [Xirgo Global (anteriormente BCE)](#xirgo-global)
* [Globalmatix](#globalmatix)

O processo de adição de dispositivos MQTT à plataforma Navixy é idêntico em todas as implantações da Navixy, incluindo ServerMate (PaaS) e On-Premise. No entanto, o processo de configuração dos dispositivos pode variar ligeiramente. Os exemplos abaixo são fornecidos como referência.

### Xirgo Global

Para configurar dispositivos Xirgo Global para funcionar via MQTT:

1. Acesse [o gerenciador de configuração FMSET da BCE](https://xdm.xgfleet.eu/login)
2. Selecione Connectivity → Telemetry server → MQTT broker address settings e especifique:

* Host: o host da interface do usuário da Navixy (por exemplo, `ui.mydomain.com`)
* Porta: 1883

![](https://1301762840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkUnMmePH99SsdChtqqu7%2Fuploads%2Fgit-blob-e5a27a0fd62ce12acd06c22a62e7f60e65781082%2Fimage-20230810-133722.png?alt=media\&token=1168b706-bc74-4b72-a4eb-38df196a9725)

3. Adicione o usuário padrão em MQTT Segurança -> Authorization

* ID do cliente: %IMEI%
* Nome de usuário: bce\_device
* Senha: secretword

![](https://1301762840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkUnMmePH99SsdChtqqu7%2Fuploads%2Fgit-blob-badf6be11fdb9917a7b23d12fcd293318ddb2331%2Fimage-20230810-133739.png?alt=media\&token=df3130b7-062e-4862-8ca7-e89c0d4636b4)

4. Verifique se a configuração dos tópicos está correta:

* Todos os tópicos, exceto Output control topic name, estão definidos com os valores padrão
* Output control topic name deve ser definido como %IMEI%/OUTC

![](https://1301762840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkUnMmePH99SsdChtqqu7%2Fuploads%2Fgit-blob-cb8e6476aca122468ac7dc0ce3f1fab4b564c218%2Fimage-20230810-133800.png?alt=media\&token=76109a9e-f920-47a7-b8ac-326f94d24773)

5. Salve a configuração

### Globalmatix

Para configurar o dispositivo Globalmatix para funcionar via MQTT:

* Especifique o host da interface do usuário da Navixy (por exemplo, `ui.mydomain.com`)
* Porta: 1883
* Usuário: globalmatix\_device
* Senha: secretword
* Tópico: globalmatix/in

![](https://1301762840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkUnMmePH99SsdChtqqu7%2Fuploads%2Fgit-blob-86659087594fb46bff5e400d6895379a3b56acea%2Fimage-20230810-133819.png?alt=media\&token=091f28c3-5efb-4c3d-88c7-19c3546948a5)


---

# 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/pt-br/on-premise/how-to-guide/configuration/mqtt.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.
