Este driver integra ao Nice/ELAN os termostatos Wi-Fi de piso aquecido (e de caldeira) cadastrados nos apps Smart Life ou Tuya Smart, de qualquer marca que use a plataforma Tuya. Cada termostato aparece como um termostato nativo do ELAN, com liga/desliga, temperatura desejada, temperatura ambiente e indicação de aquecimento.
A comunicação é feita pela nuvem da Tuya com a própria conta do app: o instalador digita o Código do Usuário e lê um QR Code com o celular. Não é preciso conta de desenvolvedor na Tuya nem configurar IP ou chave local de cada termostato.
É um driver só, ZoomDH Tuya Floor Heating Thermostat, instalado na guia Climate. Ele cria um termostato no ELAN para cada termostato da conta.
Recursos suportados
Login por QR Code na conta Smart Life / Tuya Smart do cliente. O acesso fica gravado no controlador e é renovado sozinho.
Busca automática dos termostatos da conta, com o termostato de cada um criado e nomeado no ELAN.
Modos Off e Heat (desliga e liga o termostato).
Temperatura desejada de 5 a 40 °C, dentro da faixa de cada aparelho.
Temperatura ambiente e indicação de aquecendo (relé ligado), quando o aparelho informa.
Tempo real: o que é feito no app ou no próprio termostato chega ao ELAN na hora, com uma leitura de segurança a cada 2 minutos.
ComandosAll On e All Off para cenas e Event Mapper.
Termostato on-line/off-line no status de cada termostato do ELAN.
Programação horária do próprio termostato, bloqueio infantil, calibração e modo antecongelamento continuam sendo ajustados pelo app. Ar-condicionado não faz parte deste driver. Qualquer recurso não indicado como suportado deve ser considerado sem suporte.
Pré-requisitos
Termostatos já cadastrados e funcionando no app Smart Life ou Tuya Smart.
O celular com o app logado na conta do cliente, para ler o QR Code na instalação.
Controlador ELAN com acesso à internet e com data e hora corretas (a integração depende da nuvem da Tuya).
No Nice Configurator, abra a guia Climate, adicione um dispositivo e clique em Import..., apontando para ZoomDH_Tuya_Thermostat.edrvc.
Se o driver não aparecer na lista, clique em Show All.
Insira a chave de licença em License Key.
Vincule a conta do cliente pelo QR Code (próxima seção).
Clique em Discover Thermostats. Cada termostato da conta é criado no ELAN com o nome que tem no app. Renomeie e coloque nos ambientes normalmente.
Para incluir termostatos novos depois, cadastre-os no app e clique em Discover Thermostats de novo. Os que já existem no ELAN são mantidos.
O Address de cada termostato é o Device ID da Tuya (preenchido pela busca). Um termostato também pode ser incluído à mão, informando o Device ID no Address.
Vincular a conta (QR Code)
No app Smart Life ou Tuya Smart, logado na conta do cliente, toque em Eu e no ícone de Configurações.
Entre em Conta e Segurança e copie o Código do Usuário (User Code).
No driver, digite o código em Tuya User Code e clique no botão Generate QR Code.
O campo Tuya Status mostra Abra no navegador e leia com o app: seguido de um endereço. Copie o endereço e abra num navegador: a página mostra o QR Code. O link também fica no log, na linha [Tuya] QR Code:.
No app, use o leitor de QR (ícone no canto superior da tela Eu ou + > Escanear), leia o QR Code e confirme a autorização.
Em alguns segundos o Tuya Status passa para Auth: Autenticado.
O QR Code vale por 5 minutos; depois disso, clique em Generate QR Code de novo. Não é preciso repetir o login quando o controlador reinicia.
Campos de configuração
Campo
Descrição
License Key
Chave de licença para uso do driver.
License Status
Status da licença e tempo restante de avaliação (somente leitura).
Driver Information
Mensagens de status do driver (somente leitura).
Developer Debug
Ativa log detalhado de cada chamada à nuvem e das mensagens em tempo real. Deixe desativado em uso normal.
Tuya User Code
Código do Usuário (User Code) da conta do app. É o único dado digitado para o login.
Tuya Status
Link do QR Code durante o login; depois, o estado da conexão, por exemplo Auth: Autenticado | MQTT: Conectado, ou o último erro (somente leitura).
Generate QR Code
Botão: inicia o login com o Tuya User Code informado.
Discover Thermostats
Botão: procura os termostatos da conta e cria os que ainda não estão no ELAN.
Funcionamento e limites
O driver usa o mesmo acesso por QR Code que a Tuya oferece para integrações de automação residencial com a conta do app. Não há cota de chamadas nem plano para renovar.
As mudanças chegam por uma conexão permanente com a nuvem da Tuya. Se ela cair, o driver reconecta sozinho e a leitura a cada 2 minutos mantém o estado em dia enquanto isso.
Sem internet ou com a nuvem da Tuya fora do ar, os termostatos não respondem pelo ELAN (continuam funcionando no próprio aparelho).
Ao ajustar a temperatura várias vezes seguidas, o driver espera 1,5 s e manda só o último valor ao termostato.
A Tuya pode alterar esse acesso sem aviso. Se o login ou a conexão deixarem de funcionar, verifique se há versão nova do driver.
Solução de problemas
Mensagem
O que fazer
Erro: preencha Tuya User Code
Preencha o Tuya User Code e clique em Generate QR Code de novo.
Falha ao pedir o QR Code
Confira o Código do Usuário (copie de novo do app) e a internet do controlador.
QR Code expirou
O QR não foi lido em 5 minutos. Clique em Generate QR Code de novo.
This driver integrates Wi-Fi underfloor heating thermostats (and boiler thermostats) set up in the Smart Life or Tuya Smart apps, of any brand built on the Tuya platform, with Nice/ELAN. Each thermostat shows up as a native ELAN thermostat, with on/off, target temperature, room temperature and heating indication.
Communication goes through the Tuya cloud with the customer's own app account: the installer types the User Code and scans a QR code with the phone. No Tuya developer account is needed, and no IP address or local key has to be set for each thermostat.
It is a single driver, ZoomDH Tuya Floor Heating Thermostat, installed in the Climate tab. It creates one ELAN thermostat for each thermostat in the account.
Supported features
QR code login to the customer's Smart Life / Tuya Smart account. Access is stored on the controller and renewed automatically.
Automatic discovery of the account thermostats, with each one created and named in ELAN.
Off and Heat modes (turns the thermostat off and on).
Target temperature from 5 to 40 °C, within each device's range.
Room temperature and heating indication (relay on), when the device reports them.
Real time: changes made in the app or on the thermostat itself reach ELAN right away, with a safety refresh every 2 minutes.
All On and All Offcommands for scenes and the Event Mapper.
Thermostat online/offline in the status of each ELAN thermostat.
The thermostat's own schedule, child lock, calibration and frost protection are still set in the app. Air conditioners are not part of this driver. Any feature not listed as supported should be considered unsupported.
Prerequisites
Thermostats already set up and working in the Smart Life or Tuya Smart app.
A phone with the app logged in to the customer's account, to scan the QR code during installation.
ELAN controller with internet access and the correct date and time (the integration depends on the Tuya cloud).
In the Nice Configurator, open the Climate tab, add a device and click Import..., pointing to ZoomDH_Tuya_Thermostat.edrvc.
If the driver is not listed, click Show All.
Enter the license key in License Key.
Link the customer's account with the QR code (next section).
Click Discover Thermostats. Each thermostat in the account is created in ELAN with its app name. Rename them and place them in rooms as usual.
To add new thermostats later, set them up in the app and click Discover Thermostats again. Thermostats already in ELAN are kept.
Each thermostat's Address is its Tuya Device ID (filled in by discovery). A thermostat can also be added by hand by entering the Device ID as the Address.
Link the account (QR code)
In the Smart Life or Tuya Smart app, logged in to the customer's account, tap Me and the Settings icon.
Open Account and Security and copy the User Code.
In the driver, type the code in Tuya User Code and click the Generate QR Code button.
The Tuya Status field shows Abra no navegador e leia com o app: followed by an address. Copy the address and open it in a browser: the page shows the QR code. The link is also in the log, on the [Tuya] QR Code: line.
In the app, use the QR scanner (icon at the top of the Me screen or + > Scan), scan the QR code and confirm the authorization.
After a few seconds Tuya Status changes to Auth: Autenticado.
The QR code is valid for 5 minutes; after that, click Generate QR Code again. There is no need to log in again when the controller restarts.
Configuration fields
Field
Description
License Key
License key for the driver.
License Status
License status and remaining trial time (read only).
Driver Information
Driver status messages (read only).
Developer Debug
Enables a detailed log of every cloud call and real-time message. Keep it off in normal use.
Tuya User Code
The app account User Code. It is the only data typed for the login.
Tuya Status
QR code link during login; afterwards, the connection state, for example Auth: Autenticado | MQTT: Conectado, or the last error (read only).
Generate QR Code
Button: starts the login with the Tuya User Code entered.
Discover Thermostats
Button: finds the account thermostats and creates the ones not yet in ELAN.
Operation and limits
The driver uses the same QR code access that Tuya offers for home automation integrations with the app account. There is no call quota and no plan to renew.
Changes arrive over a permanent connection to the Tuya cloud. If it drops, the driver reconnects by itself and the refresh every 2 minutes keeps the state up to date meanwhile.
Without internet, or with the Tuya cloud down, the thermostats do not respond from ELAN (they keep working on the device itself).
When the temperature is adjusted several times in a row, the driver waits 1.5 s and sends only the last value to the thermostat.
Tuya may change this access without notice. If login or the connection stops working, check for a new driver version.
Troubleshooting
Message
What to do
Erro: preencha Tuya User Code
Fill in Tuya User Code and click Generate QR Code again.
Falha ao pedir o QR Code
Check the User Code (copy it again from the app) and the controller's internet.
QR Code expirou
The QR was not scanned within 5 minutes. Click Generate QR Code again.