Skip to content

About

The module allows you to use Node-Red together with the Yandex.Alice voice assistant service (voice control of Yandex smart home devices)

Resources

Stars

40 stars

Watchers

3 watching

Forks

Repository files navigation

NodeRed Home (node-red-contrib-alice)

platform Min Node Version GitHub version NPM Total Downloads NPM Downloads per month

Интеграция Node-RED с умным домом Яндекса. Подключите любые устройства из Node-RED к Алисе и управляйте ими голосом.

Integration of Node-RED with Yandex Smart Home. Connect any device from Node-RED to Alice voice assistant.

Telegram: https://t.me/nodered_home_chat — поддержка и обсуждение / support & discussion

Сайт / Website: https://nodered-home.ru


⚠️ Работают только версии 3.0.0 и новее

В октябре 2026 сервис переехал из Yandex Cloud на собственные серверы. Старый канал команд через Yandex IoT Core (MQTT), которым пользовались версии 2.x, отключён — теперь работают только версии плагина 3.0.0 и новее. Они получают команды Алисы по WebSocket (wss://ws.nodered-home.ru, исходящее подключение на стандартный порт 443).

Если Алиса не управляет устройствами (отвечает «устройство недоступно», устройства не включаются из приложения «Дом с Алисой») — скорее всего, у вас версия 2.x. Обновите плагин.

Как узнать версию: меню Node-RED → Управление палитрой (Manage palette) → вкладка Ноды → node-red-contrib-alice — версия указана рядом.

Как обновиться — прямо из интерфейса Node-RED: меню → Управление палитрой (Manage palette) → вкладка Ноды → найдите node-red-contrib-alice → кнопка Обновить, затем перезапустите Node-RED.

Альтернатива через npm:

cd ~/.node-red
npm install node-red-contrib-alice@latest

Затем перезапустите Node-RED. В Docker или Home Assistant выполните команду в каталоге данных Node-RED внутри контейнера (обычно /data) либо обновите через палитру, а затем перезапустите контейнер или аддон.

Флоу, настройки и авторизация сохраняются — переавторизация и перенастройка устройств не требуются. Если после обновления ноды не показывают статус online — заново авторизуйтесь (Credentials → Yandex Authentication → новый код → Submit → Update → Deploy). Подробная инструкция — nodered-home.ru/docs.html#update.

Бонус: теперь можно подключать несколько инстансов Node-RED под одним аккаунтом (до 5 одновременных подключений) — в MQTT-версии они конфликтовали.


Быстрый старт

  1. Установите Node-RED (инструкция)
  2. Установите модуль из палитры Node-RED или через npm:
    npm install node-red-contrib-alice
    
  3. Перетащите на рабочую область ноду alice-device и нужные умения (on/off, range, color, mode и т.д.)
  4. Откройте настройки ноды alice-device, нажмите «Зарегистрироваться» — авторизуйтесь через Яндекс
  5. Соедините умения с вашими устройствами в Node-RED
  6. В приложении «Дом с Алисой» добавьте навык NodeRed Home — устройства появятся автоматически

Концепция

Каждое устройство в Node-RED состоит из:

  • alice-device — само устройство (лампочка, розетка, кондиционер и т.д.)
  • Умения — функции устройства, которые подключаются к alice-device:
    • on_off — включение/выключение
    • range — числовые параметры (яркость, громкость, температура)
    • color — управление цветом
    • mode — режимы работы (скорость вентилятора, режим кондиционера)
    • toggle — переключатели (пауза, беззвучный режим)
    • sensor — датчики (температура, влажность, CO2)
    • event — события (открытие двери, движение)
    • video — видеопоток

Умения можно комбинировать в любом порядке. Например, лампочка = on_off + range (яркость) + color.

Подробнее об устройствах и умениях: документация Яндекса

Подтверждение команд

Когда Алиса отправляет команду, устройство должно вернуть подтверждение (отправить значение на вход ноды умения). Если ваше устройство не отвечает или отвечает медленно — включите опцию Response в настройках умения, и подтверждение будет отправлено автоматически.

Тарифы

  • До 4 устройств — бесплатно
  • 5 и более устройств — 299 руб./мес.

⚠️ Only versions 3.0.0 and newer work

In October 2026 the service moved from Yandex Cloud to its own servers. The old command channel via Yandex IoT Core (MQTT), used by versions 2.x, is shut down — only plugin versions 3.0.0 and newer work now. They receive Alice commands over WebSocket (wss://ws.nodered-home.ru, outgoing connection on standard port 443).

If Alice does not control your devices ("device unavailable", devices don't respond in the Yandex Smart Home app) — you most likely run version 2.x. Update the plugin.

How to check the version: Node-RED menu → Manage palette → Nodes tab → node-red-contrib-alice — the version is shown next to it.

How to update — right from the Node-RED editor: menu → Manage palette → Nodes tab → find node-red-contrib-alice → click Update, then restart Node-RED.

Alternatively via npm:

cd ~/.node-red
npm install node-red-contrib-alice@latest

Then restart Node-RED. In Docker or Home Assistant run the command in the Node-RED data directory inside the container (usually /data) or update via the palette, then restart the container or add-on.

Flows, settings and authorization are preserved — no re-authentication or device reconfiguration required. If the nodes don't show online after the update, re-authenticate (Credentials → Yandex Authentication → new code → Submit → Update → Deploy). Detailed guide (in Russian): nodered-home.ru/docs.html#update.

Bonus: you can now connect several Node-RED instances under one account (up to 5 simultaneous connections) — MQTT versions conflicted with each other.


Quick Start

  1. Install Node-RED (guide)
  2. Install the module from the Node-RED palette or via npm:
    npm install node-red-contrib-alice
    
  3. Drag an alice-device node and the desired capability nodes (on/off, range, color, mode, etc.) onto your flow
  4. Open the alice-device settings, click "Register" and sign in with your Yandex account
  5. Wire the capability nodes to your devices in Node-RED
  6. In the Yandex "Home with Alice" app, add the NodeRed Home skill — your devices will appear automatically

Concept

Each device in Node-RED consists of:

  • alice-device — the device itself (light, switch, AC, etc.)
  • Capabilities — device functions connected to alice-device:
    • on_off — turn on/off
    • range — numeric parameters (brightness, volume, temperature)
    • color — color control
    • mode — operating modes (fan speed, AC mode)
    • toggle — toggles (mute, pause)
    • sensor — sensors (temperature, humidity, CO2)
    • event — events (door open, motion detected)
    • video — video stream

Capabilities can be combined in any order. For example, a light = on_off + range (brightness) + color.

More about devices and capabilities: Yandex documentation

Command Confirmation

When Alice sends a command, the device must return a confirmation (send a value to the capability node input). If your device does not respond or responds slowly, enable the Response option in the capability settings — the confirmation will be sent automatically.

Pricing

  • Up to 4 devices — free
  • 5 or more devices — 299 RUB/month

About

The module allows you to use Node-Red together with the Yandex.Alice voice assistant service (voice control of Yandex smart home devices)

Resources

Stars

40 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages