Este driver integra ao Nice/ELAN os aparelhos ligados a um hub Hubitat Elevation (Z-Wave, Zigbee, Matter, LAN e virtuais): interruptores, dimmers, cortinas, portões de garagem, válvulas, fechaduras, botões e sensores. A comunicação é direta com o hub pela rede local, sem nuvem, usando o app Maker API do próprio Hubitat. O que muda no hub (app, interruptor da parede, automação) chega ao ELAN na hora.
São três drivers, instalados juntos:
ZoomDH Hubitat Bridge (guia Communication Devices): licença, conexão com o hub, lista de aparelhos e comandos.
ZoomDH Hubitat Light (instalado pelo driver principal, guia Lighting): interruptores, dimmers, cortinas, portões, válvulas, fechaduras e botões.
ZoomDH Hubitat Sensors (instalado pelo driver principal, guia Input/Output): sensores de estado e valores (temperatura, umidade, luminosidade, potência, bateria...).
Recursos suportados
Configuração com um campo: basta colar no driver a URL de exemplo que o Maker API mostra.
Só os aparelhos escolhidos: aparecem no ELAN os aparelhos marcados no Maker API, com o nome do Hubitat.
Interruptores e tomadas como On/Off e dimmers com nível de 1 a 100%.
Cortinas e persianas com abrir, fechar, parar e posição em %.
Portões de garagem com abrir e fechar, e válvulas como On/Off (ligado = aberta).
Fechaduras como On/Off (ligado = trancada), com o estado também no Sensors.
Botões (pulsadores, controles de cena, interruptores com botões) como botões virtuais para o Event Mapper: apertar, segurar, soltar e toque duplo.
Valores: temperatura, umidade, luminosidade, potência, energia, tensão, CO2, qualidade do ar, setpoints de termostato e bateria.
Tempo real pelo canal de eventos do hub, com leitura de segurança periódica.
ZOOM WhatsApp AI: com o driver ZOOM WhatsApp AI no mesmo controlador, luzes, cortinas, fechaduras e sensores aparecem sozinhos para o assistente.
Status da conexão no ELAN e eventos Device Online / Device Offline.
Termostatos aparecem nesta versão só com a temperatura e os setpoints como valores (sem controle de modo e setpoint pelo ELAN). Cor de lâmpadas RGB, modos do Hubitat e o HSM não são suportados nesta versão. Qualquer recurso não indicado como suportado deve ser considerado sem suporte.
Tipos de aparelho
O driver usa as capacidades (capabilities) de cada aparelho no Hubitat, então funciona com qualquer marca e protocolo que o hub aceite:
Capacidade no Hubitat
No ELAN
Switch
Light: On/Off
Switch + SwitchLevel
Light: Dimmer
WindowShade / WindowBlind
Light: Shade (abrir, fechar, parar, posição)
GarageDoorControl
Light: Shade (aberto = 100%, fechado = 0%)
Valve
Light: On/Off (ligado = aberta)
Lock
Light: On/Off (ligado = trancada) e Sensors: Trancada
Hub Hubitat Elevation (C-5, C-7, C-8 ou C-8 Pro) com a plataforma atualizada, na mesma rede do controlador ELAN.
IP fixo ou reserva de DHCP para o hub.
App Maker API instalado no Hubitat (Apps > Add Built-In App > Maker API), com os aparelhos que vão para o ELAN marcados.
O controlador precisa alcançar o hub pela porta 80.
Instalação
No Hubitat, abra Apps > Add Built-In App > Maker API. Em Select Devices, marque os aparelhos que vão para o ELAN, deixe ligado Allow Access via Local IP Address e clique em Done.
Abra o Maker API de novo e copie uma das URLs de exemplo da parte Local URLs, por exemplo Get All Devices: http://192.168.1.50/apps/api/41/devices?access_token=...
No Nice Configurator, abra a guia Communication Devices, adicione um dispositivo e clique em Import..., apontando para ZoomDH_Hubitat.edrvc.
Se o driver não aparecer na lista, clique em Show All.
Instale o ZoomDH Hubitat Bridge. Ele instala sozinho os drivers Hubitat Light (Lighting) e Hubitat Sensors (Input/Output). Se eles não aparecerem, clique em Refresh Devices.
Insira a chave de licença em License Key.
Cole a URL copiada no campo Maker API URL. O driver lê os aparelhos e conecta no canal de eventos do hub. O resumo aparece em Devices, por exemplo 25 aparelhos.
Na guia Lighting, os aparelhos aparecem no driver Hubitat Light com o nome do Hubitat. Renomeie e ligue-os aos controles e cenários do ELAN normalmente.
Na guia Input/Output, abra o Hubitat Sensors: as páginas Sensors (Sensor 01 a 32), Valores 1 (Valor 01 a 32) e Valores 2 (Valor 33 a 64) mostram o que ficou em cada entrada. Os nomes aparecem aos poucos, cerca de um minuto depois da instalação.
Ao incluir aparelhos novos no Maker API, clique em Refresh Devices.
Campos de configuração
ZoomDH Hubitat Bridge
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, como o resultado da leitura (somente leitura).
Developer Debug
Ativa log detalhado da comunicação com o hub. Deixe desativado em uso normal.
Maker API URL
Qualquer URL de exemplo da parte Local URLs do Maker API (tem o IP do hub, o número do app e o token).
Devices
Resumo, por exemplo 25 aparelhos, ou o problema encontrado (somente leitura).
User Name / Password
Só se o hub tiver Hub Login Security ligado: usuário e senha de acesso ao hub. Deixe vazio nos outros casos.
Refresh Devices
Botão: lê de novo a lista do Maker API (inclui aparelhos novos), reconecta os eventos e reinstala Hubitat Light e Hubitat Sensors se tiverem sido removidos.
Endereço dos dispositivos (Light)
Cada dispositivo de iluminação usa dois campos de endereço, preenchidos pelo driver: Device ID (o número do aparelho no Hubitat) e Function (switch, shade, garage, valve, lock, btn:1, dbl:1...).
Botões e sensores
Botões (Hubitat Light)
Cada botão de um aparelho vira um botão virtual no Hubitat Light, para usar no Event Mapper:
Apertar (pushed): aperta e solta o botão virtual.
Segurar (held) e soltar (released): aperta ao segurar e solta ao soltar.
Toque duplo (doubleTapped): aperta e solta o botão virtual "Duplo" do mesmo número.
Hubitat Sensors
Entradas
Tipo
Conteúdo
Sensor 01 a 32
Estado (0/1)
1 = porta aberta, movimento, vazamento, fumaça, CO, gás, presente, vibração, violação, fechadura trancada ou portão aberto.
Valor 01 a 64
Numérica
Temperatura, umidade (%), setpoints, luminosidade (lux), potência (W), energia (kWh), tensão (V), CO2 (ppm), qualidade do ar e bateria (%), em números inteiros.
As entradas são distribuídas na primeira leitura e não mudam depois. A bateria fica por último: se as 64 numéricas acabarem, sobram de fora as baterias. As páginas Sensors, Valores 1 e Valores 2 mostram o nome do aparelho e a grandeza de cada entrada; use esses nomes para renomear as entradas no Configurator e no Event Mapper.
Funcionamento e limites
O driver mantém uma conexão permanente com o canal de eventos do hub e lê a lista completa de novo a cada 30 minutos (a cada 5 minutos se o canal de eventos cair). Ele reconecta sozinho.
Quando o hub reinicia, o driver lê os aparelhos de novo sozinho.
Funciona sem internet: a comunicação é toda na rede local.
Os aparelhos são lidos um por vez, para não pesar no hub: com muitos aparelhos, a primeira leitura leva alguns segundos.
Cortina sem comando de posição no Hubitat: níveis acima de 50% abrem e os demais fecham.
Aparelho tirado do Maker API deixa de ser atualizado. O dispositivo no ELAN continua lá e pode ser apagado.
Solução de problemas
Mensagem
O que fazer
Preencha Maker API URL
Cole no campo Maker API URL uma URL de exemplo da parte Local URLs do Maker API.
Token do Maker API recusado
Copie a URL de novo no Maker API (o token muda se for recriado).
Maker API nao encontrado
O número do app na URL não existe mais. Copie a URL de novo no Maker API.
hub nao responde em ...
Confira se o hub está ligado e se o IP mudou (use IP fixo ou reserva de DHCP).
... aparelhos, eventos desconectados
Comandos funcionam, mas o estado só atualiza a cada 5 minutos. Se o hub tiver Hub Login Security, preencha User Name e Password.
Aparelho não aparece: confira se ele está marcado no Maker API e clique em Refresh Devices.
Comandos não funcionam: confira o License Status e o resumo em Devices.
Diagnóstico: ative o Developer Debug para ver no log cada mensagem trocada com o hub (o token não aparece no log).
Licenciamento
Este driver funciona por um período de avaliação de 7 dias. Após esse período, é necessário inserir uma chave de licença para continuar operando.
A chave é inserida no campo License Key do ZoomDH Hubitat Bridge e vale para os três drivers. As licenças são emitidas e vinculadas por controlador ELAN.
Sem licença válida, o driver não envia comandos nem atualiza o estado dos dispositivos.
Uma vez por dia, também durante o teste, o driver informa ao servidor de licenças dados técnicos da instalação (endereço de rede e fuso horário do controlador, versão do driver e situação da licença). Nenhum dado pessoal é enviado. Quando há versão nova do driver, ela aparece em License Status, com o link da página do driver no site.
Suporte e Atualizações
Atualizações disponíveis aparecem em License Status.
This driver brings to Nice/ELAN the devices paired with a Hubitat Elevation hub (Z-Wave, Zigbee, Matter, LAN and virtual): switches, dimmers, shades, garage doors, valves, locks, buttons and sensors. It talks to the hub directly on the local network, with no cloud, through the hub's own Maker API app. Whatever changes on the hub (app, wall switch, automation) reaches ELAN right away.
There are three drivers, installed together:
ZoomDH Hubitat Bridge (Communication Devices tab): license, hub connection, device list and commands.
ZoomDH Hubitat Light (installed by the main driver, Lighting tab): switches, dimmers, shades, garage doors, valves, locks and buttons.
ZoomDH Hubitat Sensors (installed by the main driver, Input/Output tab): state sensors and values (temperature, humidity, illuminance, power, battery...).
Supported features
One-field setup: just paste the example URL shown by the Maker API into the driver.
Only the chosen devices: the devices selected in the Maker API show up in ELAN, with their Hubitat names.
Switches and outlets as On/Off and dimmers with 1 to 100% level.
Shades and blinds with open, close, stop and position in %.
Garage doors with open and close, and valves as On/Off (on = open).
Locks as On/Off (on = locked), with the state also in Sensors.
Buttons (push buttons, scene controllers, switches with buttons) as virtual buttons for the Event Mapper: push, hold, release and double tap.
Sensors: door/window, motion, water leak, smoke, CO, gas, presence, vibration and tamper.
Values: temperature, humidity, illuminance, power, energy, voltage, CO2, air quality, thermostat setpoints and battery.
Real time through the hub event channel, with a periodic safety refresh.
ZOOM WhatsApp AI: with the ZOOM WhatsApp AI driver on the same controller, lights, shades, locks and sensors show up by themselves for the assistant.
Connection status in ELAN and Device Online / Device Offline events.
In this version thermostats show only their temperature and setpoints as values (no mode or setpoint control from ELAN). RGB bulb color, Hubitat modes and HSM are not supported in this version. Any feature not listed as supported should be considered unsupported.
Device types
The driver uses each device's capabilities in Hubitat, so it works with any brand and protocol the hub accepts:
Hubitat capability
In ELAN
Switch
Light: On/Off
Switch + SwitchLevel
Light: Dimmer
WindowShade / WindowBlind
Light: Shade (open, close, stop, position)
GarageDoorControl
Light: Shade (open = 100%, closed = 0%)
Valve
Light: On/Off (on = open)
Lock
Light: On/Off (on = locked) and Sensors: Trancada (locked)
Hubitat Elevation hub (C-5, C-7, C-8 or C-8 Pro) with up-to-date platform, on the same network as the ELAN controller.
Fixed IP or DHCP reservation for the hub.
Maker API app installed on Hubitat (Apps > Add Built-In App > Maker API), with the devices for ELAN selected.
The controller must reach the hub on port 80.
Installation
On Hubitat, open Apps > Add Built-In App > Maker API. Under Select Devices, select the devices for ELAN, keep Allow Access via Local IP Address on and click Done.
Open the Maker API again and copy one of the example URLs under Local URLs, for example Get All Devices: http://192.168.1.50/apps/api/41/devices?access_token=...
In the Nice Configurator, open the Communication Devices tab, add a device and click Import..., pointing to ZoomDH_Hubitat.edrvc.
If the driver is not listed, click Show All.
Install ZoomDH Hubitat Bridge. It installs the Hubitat Light (Lighting) and Hubitat Sensors (Input/Output) drivers by itself. If they do not show up, click Refresh Devices.
Enter the license key in License Key.
Paste the copied URL into Maker API URL. The driver reads the devices and connects to the hub event channel. The summary shows in Devices, for example 25 aparelhos (25 devices).
In the Lighting tab, the devices show up in the Hubitat Light driver with their Hubitat names. Rename and bind them to ELAN controls and scenes as usual.
In the Input/Output tab, open Hubitat Sensors: the Sensors (Sensor 01 to 32), Valores 1 (Valor 01 to 32) and Valores 2 (Valor 33 to 64) pages show what went into each input. The names appear gradually, about one minute after installation.
When adding new devices to the Maker API, click Refresh Devices.
Configuration fields
ZoomDH Hubitat Bridge
Field
Description
License Key
License key for the driver.
License Status
License status and remaining trial time (read only).
Driver Information
Driver status messages, such as the result of the device reading (read only).
Developer Debug
Enables detailed logging of the hub communication. Keep it off in normal use.
Maker API URL
Any example URL from the Local URLs part of the Maker API (it has the hub IP, the app number and the token).
Devices
Summary, for example 25 aparelhos, or the problem found (read only).
User Name / Password
Only if the hub has Hub Login Security enabled: hub login user and password. Leave empty otherwise.
Refresh Devices
Button: reads the Maker API list again (adds new devices), reconnects the events and reinstalls Hubitat Light and Hubitat Sensors if they were removed.
Device address (Light)
Each lighting device uses two address fields, filled in by the driver: Device ID (the device number in Hubitat) and Function (switch, shade, garage, valve, lock, btn:1, dbl:1...).
Buttons and sensors
Buttons (Hubitat Light)
Each button of a device becomes a virtual button in Hubitat Light, for use in the Event Mapper:
Push (pushed): presses and releases the virtual button.
Hold (held) and release (released): presses on hold and releases on release.
Double tap (doubleTapped): presses and releases the "Duplo" virtual button with the same number.
Hubitat Sensors
Inputs
Type
Content
Sensor 01 to 32
State (0/1)
1 = door open, motion, leak, smoke, CO, gas, present, vibration, tamper, lock locked or garage door open.
Valor 01 to 64
Numeric
Temperature, humidity (%), setpoints, illuminance (lux), power (W), energy (kWh), voltage (V), CO2 (ppm), air quality and battery (%), as whole numbers.
Inputs are assigned on the first reading and do not change afterwards. Battery goes last: if the 64 numeric inputs run out, the batteries are left out. The Sensors, Valores 1 and Valores 2 pages show the device name and the quantity of each input; use these names to rename the inputs in the Configurator and the Event Mapper.
Operation and limits
The driver keeps a permanent connection to the hub event channel and reads the full list again every 30 minutes (every 5 minutes if the event channel drops). It reconnects by itself.
When the hub restarts, the driver reads the devices again by itself.
Works without internet: all communication is on the local network.
Devices are read one at a time, so as not to load the hub: with many devices, the first reading takes a few seconds.
Shades without a position command in Hubitat: levels above 50% open and the others close.
A device removed from the Maker API stops being updated. The ELAN device stays and can be deleted.
Troubleshooting
Message
What to do
Preencha Maker API URL (fill in Maker API URL)
Paste an example URL from the Local URLs part of the Maker API into the Maker API URL field.
Token do Maker API recusado (token refused)
Copy the URL from the Maker API again (the token changes if it is recreated).
Maker API nao encontrado (not found)
The app number in the URL no longer exists. Copy the URL from the Maker API again.
hub nao responde em ... (hub not responding)
Check that the hub is on and whether its IP changed (use a fixed IP or DHCP reservation).
Once a day, also during the trial, the driver reports technical data of the installation to the license server (controller network address and time zone, driver version and license state). No personal data is sent. When a new driver version is available, it shows in License Status with the link to the driver page on the website.