> For the complete documentation index, see [llms.txt](https://portal-integracao.intelbras.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://portal-integracao.intelbras.com.br/linha-de-faciais/configuracoes-de-porta/alterar-tempo-de-abertura-de-porta.md).

# Alterar Tempo de Abertura de Porta

Configuração geral e para o perfil Acessibilidade

Por meio da chamada abaixo é possível alterar o tempo de abertura da porta.

#### Requisição - GET

`http://192.168.1.201/cgi-bin/configManager.cgi?action=setConfig&AccessControl[0].UnlockHoldInterval=3000`

| param                   | type   | description                                                                               |
| ----------------------- | ------ | ----------------------------------------------------------------------------------------- |
| `setConfig` \*          | String | Comando para Configuração                                                                 |
| `UnlockHoldInterval` \* | Number | Tempo de Abertura da Porta, Unidade em Milissegundos, o valor deve ser entre 250 e 20000. |

#### Exemplo de Retorno - *text/plain*

```sh
OK
```

#### Exemplos

{% tabs %}
{% tab title="Python" %}

```python
import requests
 
device_ip = '192.168.3.87'
username = 'admin'
password = 'acesso1234'
 
enable_sensor = False
 
url = "http://{}/cgi-bin/configManager.cgi?action=setConfig&AccessControl[0].SensorEnable={}".format(
                            str(device_ip),
                            str(enable_sensor).lower(), 
                        )
 
digest_auth = requests.auth.HTTPDigestAuth(username, password)
rval = requests.get(url, auth=digest_auth, stream=True, timeout=20, verify=False)
 
print(rval.text)
```

{% endtab %}
{% endtabs %}

### Interface Web 2.0

Para os produtos listados na tabela abaixo, com a nova interface web 2.0 e versão de firmware indicada, é possível configurar um tempo maior para o perfil de usuário **Acessibilidade.** Com isso, esse perfil permitirá um tempo maior de abertura do relé com relação aos demais perfis, que seguiram a configuração de porta acima descrita.&#x20;

**Dispositivos que suportam esta função:**

| Dispositivos    | Firmware             |
| --------------- | -------------------- |
| SS 3531 MF Lite | 20260211 ou superior |
| SS 3542 MF LITE | 20260211 ou superior |
| SS 3532 MF      | 20260211 ou superior |
| SS 3532 MF      | 20260211 ou superior |
| SS 3532 MF W    | 20260211 ou superior |
| SS 3542 MF W    | 20260211 ou superior |
| SS 5531 MF W    | 20260211 ou superior |
| SS 5531 MF EX   | 20260211 ou superior |
| SS 5541 MF W    | 20260211 ou superior |
| SS 5532 MF W    | 20260211 ou superior |
| SS 5542 MF W    | 20260211 ou superior |

#### Requisição - GET

`http://192.168.1.201/cgi-bin/configManager.cgi?action=setConfig&_UnlockHoldInterval_.UnlockIntervalTime=5000`

| param                   | type   | description                                                                                |
| ----------------------- | ------ | ------------------------------------------------------------------------------------------ |
| `setConfig` \*          | String | Comando para Configuração                                                                  |
| `UnlockHoldInterval` \* | Number | Tempo de Abertura da Porta, Unidade em Milissegundos, o valor deve ser entre 5000 e 60000. |

#### Exemplo de Retorno - *text/plain*

```sh
OK
```


---

# 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://portal-integracao.intelbras.com.br/linha-de-faciais/configuracoes-de-porta/alterar-tempo-de-abertura-de-porta.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.
