Skip to main content

Yandex Alice by iRidi

Alice is a voice assistant from Yandex. Required:

Server_logo_3.png

iRidi Server

Alice is a voice assistant from Yandex that runs on Yandex Station and devices from other manufacturers:

  • LG;
  • Irbis;
  • Dexp Smartbox.

Devices with Yandex Browser with Alice installed are supported: *on a smartphone;

  • on a tablet;
  • on a laptop or desktop computer (a microphone is required).

Alice understands only Russian. Through a speaker, Alice can control a smart home using iRidi Cloud and iRidi Server. Say "Включи свет" (meaning: turn on the light), and the light turns on. Say "Выключи свет" (meaning: turn off the light), and the light turns off. It is simple!

Yandex_Alice_scheme.png

Tip

Building a smart voice control system is simple:

Install Yandex Browser with Alice on a smartphone, tablet, or computer.

Launch the "Иридий" skill (Iridium), which enables the Alice speaker to interact with iRidi. Connect to the site in iRidi Cloud.

Create a smart home based on iRidi Server. Specify which voice commands to process, how to process them, and how to respond.

Try Alice for free in trial mode!

iRidi has an alternative driver, Alice with the "Иридий" skill (Iridium), with the following advantages and disadvantages:

Advantages:

  • you can create your own command and its functionality.

Disadvantages:

  • inconvenient for the customer: each time, they must first say "Алиса, запусти навык Иридий" (meaning: Alice, launch the Iridium skill) and then say the command "Включи свет в гостиной" (meaning: turn on the light in the living room).

Supported Yandex Alice devices​

Working in iRidi Studio​

  1. Create a server project.
Note

To display the correct device count to the end user, install the latest version of iRidi Studio from our website.

  1. Add the Yandex Alice Platform driver to the project.

Add_driver1.png

  1. Change the connection settings if necessary:

Alice38.png

  • Log Level - logging level (Emergency - Debug);
  • Keep Alive - TCP connection check interval. If Yandex Alice does not respond to a request, the driver is forcibly switched to the disconnected state;
  • Driver Version - driver version*.
Tip

Starting with version 2 of the Yandex Alice Platform driver, control commands send values directly to Alice; the feedback value changes only from the "Умный дом с Алисой" app (Smart Home with Alice).

Version 3 adds Yandex Alice Platform support for i .

For driver version 3, the automatic device linking tool is available: Voice assistants

  1. Right-click Yandex Alice Platform and add smart devices to the project.

Alice1.png

Device list.

Alice2.png

  1. Rename the required devices for convenient use. Try to avoid names containing many digits, because the device name is displayed to the end user.

Alice3.png

Note

The device name must be no longer than 25 characters, including spaces. It contains only Cyrillic letters and digits, and letters and digits must be separated by a space.

Device feedbacks must not be renamed because they have strictly defined meanings.

  1. Set Room. This will allow you to control a group of devices in the specified room.

Alice4.png

Note

Room names are case-sensitive. Do not give rooms the same name with different capitalization, to avoid creating two rooms with the same name (for example, "кухня" and "Кухня", both meaning kitchen).

To rename a room, remove the device in the Yandex Alice menu, rename the room in the server project, and update the project on the server and in the cloud. Then update the device list in the Yandex app.

  1. Set Use name > Enter custom if you plan to control identical devices in different rooms (for example, "люстра" (chandelier) in the living room and "люстра" (chandelier) in the bedroom). Enter the device name in the Device name field.

Alice5.png

Important

The Device name field allows devices in different rooms to have the same name. For the app to work correctly, do not use devices with identical names in the same room.

By default, Use name is set to Same as device name, which uses the device name entered in the Name field. The device name (Name) must be unique and cannot be assigned to multiple devices in the project!

Device and feedback channel descriptions​

Yandex Alice devices are not physical devices; they are only an interface between physical devices and Alice. You must implement their functionality in iRidi Server or establish connections to the corresponding physical devices using a suitable protocol.

iRidi provides an interface with various device types. However, this does not limit your ability to work with other devices. For example, you can control a relay using a binary Switch device. Alternatively, you can use the Иридий skill (Iridium) after reading its operating instructions.

You do not need to use every device feedback channel; use only the ones you need.

Devices​

Doors​

Doors, gates, actuators, shutters.

ParameterDescriptionValueExample command
On/OffOn/off state.1 / 0"Алиса, закрой окно." "Алиса, открой дверь." (meaning: Alice, close the window. Alice, open the door.)
Work SpeedOperating speed:
medium
fast
slow
turbo
auto.
Speed mode:
medium
fast
slow
turbo
auto.
"Алиса, поставь быструю скорость работы дверей." (meaning: Alice, set the door operating speed to fast.)

Oven​

Oven, multicooker.

ParameterDescriptionValueExample command
On/OffOn/off state.1 / 0"Алиса, включи духовой шкаф." "Алиса, включи печь." (meaning: Alice, turn on the oven. Alice, turn on the stove.)
TemperatureCelsiusSet the temperature to the required value.0 ~ 400"Алиса, выставь температуру печи на 200 градусов." (meaning: Alice, set the oven temperature to two hundred degrees.)
ProgramProgram:
one
two
three
four
five
six
seven
eight
nine
ten
normal
express.
Program: one
two
three
four
five
six
seven
eight
nine
ten
normal
express.
"Алиса, поставь экспресс программу духового шкафа." "Алиса, включи нормальную программу на духовом шкафе." (meaning: Alice, select the oven's express program. Alice, select the oven's normal program.)
LockLock: enable the lock
enable child mode.
1 / 0"Алиса, заблокируй управление на мультиварке." "Алиса, включи детский режим на духовом шкафе." (meaning: Alice, lock the multicooker controls. Alice, enable child mode on the oven.)
KeepWarmKeep warm.1 / 0"Алиса, поддерживай тепло в мультиварке." (meaning: Alice, keep the multicooker warm.)
PausePause operation.1 / 0"Алиса, поставь паузу на мультиварке." "Алиса, сними духовой шкаф с паузы." (meaning: Alice, pause the multicooker. Alice, resume the oven.)

Coffee maker​

Coffee maker, coffee machine.

ParameterDescriptionValueExample command
On/OffOn/off state.1 / 0"Алиса, свари кофе." "Алиса, включи кофемашину." (meaning: Alice, make coffee. Alice, turn on the coffee machine.)
ProgramProgram:
one
two
three
four
five
six
seven
eight
nine
ten
normal
express.
Program: one
two
three
four
five
six
seven
eight
nine
ten
normal
express.
Program: one
two
three
four
five
six
seven
eight
nine
ten
normal
express.
Coffe ModeCoffee type:
americano
cappuccino
double espresso
espresso
latte.
Coffe Mode:
americano
cappuccino
double_espresso
espresso
latte.
"Алиса, поставь режим эспрессо на кофеварке." "Алиса, включи режим капучино на кофеварке." (meaning: Alice, select espresso mode on the coffee maker. Alice, select cappuccino mode on the coffee maker.)

RGB lamp​

Light bulb, light fixture, night light, or chandelier with RGB control.

ParameterDescriptionValueExample command
On/OffOn/off state.1 / 0"Алиса, включи люстру." "Алиса, выключи ночник." (meaning: Alice, turn on the chandelier. Alice, turn off the night light.)
BrightnessSet to maximum/minimum.0 ~ 100"Алиса, установи яркость ночника на минимум." "Алиса, установи яркость светильника на максимум." "Алиса, убавь яркость люстры." "Алиса, прибавь яркость люстры." (meaning: Alice, set the night light brightness to minimum. Alice, set the light fixture brightness to maximum. Alice, decrease the chandelier brightness. Alice, increase the chandelier brightness.)
RGBSet the color value.RGB is a function for changing the color of luminous elements according to the RGB model in the range [0; 16777215]"Алиса, включи на торшере зеленый." "Алиса, включи оранжевый свет." (meaning: Alice, set the floor lamp to green. Alice, turn on orange light.)

Use a script to convert the value from Alice for buses that have separate RGB channels.

var Alice = IR.GetDevice("Yandex Alice Platform");
var device = IR.GetDevice("Modbus TCP");
IR.AddListener(IR.EVENT_TAG_CHANGE, Alice, function(in_sName, in_sValue)
{
if (in_sName == "Лампа:RGB") {
var valueR = (in_sValue >> 24) & 0xFF;
var commandR = "Red";
setRGB(commandR, valueR);

var valueG = (in_sValue >> 16) & 0xFF;
var commandG = "Green";
setRGB(commandG, valueG);

var valueB = (in_sValue >> 8) & 0xFF;
var commandB = "Blue";
setRGB(commandB, valueB);
}
IR.Log(" Красный " + valueR + " Зеленый " + valueG + " Синий " + valueB);
});

function setRGB (command ,value){
device.Set(command, value);
}

RGB lamp with backlight​

Light bulb, light fixture, night light, or chandelier with RGB control and a backlight function.

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, включи люстру." (meaning: Alice, turn on the chandelier.)
"Алиса, выключи ночник." (meaning: Alice, turn off the night light.)
BrightnessSet to maximum/minimum.0 ~ 100"Алиса, установи яркость ночника на минимум." (meaning: Alice, set the night light brightness to minimum.)
"Алиса, установи яркость светильника на максимум." (meaning: Alice, set the light fixture brightness to maximum.)
"Алиса, убавь яркость люстры." (meaning: Alice, decrease the chandelier brightness.)
"Алиса, прибавь яркость люстры." (meaning: Alice, increase the chandelier brightness.)
RGBSet the color value.RGB is a function for changing the color of luminous elements according to the RGB model in the range [0; 16777215]"Алиса, включи на торшере зеленый." (meaning: Alice, set the floor lamp to green.)
"Алиса, включи оранжевый свет." (meaning: Alice, turn on orange light.)
BacklightBacklight control1 / 0"Алиса, включи подсветку лампы." (meaning: Alice, turn on the lamp backlight.)

LED lamp​

Light bulb, light fixture, night light, or chandelier with adjustable brightness

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, включи люстру." (meaning: Alice, turn on the chandelier.)
"Алиса, выключи ночник." (meaning: Alice, turn off the night light.)
BrightnessSet to maximum/minimum.0 ~ 100"Алиса, установи яркость ночника на минимум." (meaning: Alice, set the night light brightness to minimum.)
"Алиса, установи яркость светильника на максимум." (meaning: Alice, set the light fixture brightness to maximum.)
"Алиса, убавь яркость люстры." (meaning: Alice, decrease the chandelier brightness.)
"Алиса, прибавь яркость люстры." (meaning: Alice, increase the chandelier brightness.)

TW lamp (with adjustable color temperature)​

Light bulb, light fixture, night light, or chandelier with adjustable brightness and color temperature

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, включи люстру." (meaning: Alice, turn on the chandelier.)
"Алиса, выключи ночник." (meaning: Alice, turn off the night light.)
BrightnessSet to maximum/minimum.0 ~ 100"Алиса, установи яркость ночника на минимум." (meaning: Alice, set the night light brightness to minimum.)
"Алиса, установи яркость светильника на максимум." (meaning: Alice, set the light fixture brightness to maximum.)
"Алиса, убавь яркость люстры." (meaning: Alice, decrease the chandelier brightness.)
"Алиса, прибавь яркость люстры." (meaning: Alice, increase the chandelier brightness.)
ColorTemperatureMake the light warmer or cooler.
Additional color temperature settings are available:
- ColorTemperature (min), K - minimum color temperature;
- ColorTemperature (max), K - maximum color temperature.
Set these according to the color temperature range supported by the LED strip in use.
2000 ~ 9000"Алиса, сделай свет теплее." (meaning: Alice, make the light warmer.)
"Алиса, сделай свет похолоднее." (meaning: Alice, make the light cooler.)
BacklightBacklight control1 / 0"Алиса, включи подсветку лампы." (meaning: Alice, turn on the lamp backlight.)

If the device supports only one color temperature mode, you must select and send the closest value from the table. Alice switches and sets the light value according to the table.

Temperature, KColorDefault Value
Flame white1500No
Soft white2700No
Warm white3400No
White4500Yes
Daylight white5600No
Cool white6500No
Misty white7500No
Sky white9000No

If you send a value or range of values that does not overlap with the table, the user will be offered the default option (white with a value of 4500 K).

Air conditioner​

Air conditioner.

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, включи кондей." (meaning: Alice, turn on the AC.)
"Алиса, включи кондиционер." (meaning: Alice, turn on the air conditioner.)
Mode thermostat*Operating mode:
fan only (fan_only)
dehumidification (dry)
cooling (cool)
heating (heat)
automatic mode (auto)
eco mode (eco).
Mode thermostat:
fan_only
dry
cool
heat
auto
eco.
"Алиса, переведи кондиционер в режим охлаждения." (meaning: Alice, switch the air conditioner to cooling mode.)
"Алиса, переведи кондиционер в режим ЭКО." (meaning: Alice, switch the air conditioner to ECO mode.)
Mode fan**Fan speed:
minimum
medium
maximum
automatic mode (auto).
Mode fan:
low
medium
high
auto.
"Алиса, включи высокую скорость вентиляции." (meaning: Alice, enable high ventilation speed.)
"Алиса, выключи минимальную скорость вентиляции на кондиционере." (meaning: Alice, turn off minimum ventilation speed on the air conditioner.)
TemperatureCelsiusSet the temperature to the required value.-30 ~ 100"Алиса, выставь температуру на 23 градуса." (meaning: Alice, set the temperature to twenty-three degrees.)
Swing ModeAir circulation:
auto
vertical
horizontal
stationary.
Swing mode:
auto
horizontal
stationary
vertical.
"Алиса, включи статичное направление воздуха на кондиционере." (meaning: Alice, enable a stationary airflow direction on the air conditioner.)
IonizationEnable ionization.1 / 0"Алиса, включи ионизацию на кондиционере." (meaning: Alice, enable ionization on the air conditioner.)
OscillationEnable oscillation1 / 0"Алиса, включи вращение на кондиционере." (meaning: Alice, enable oscillation on the air conditioner.)
HumidityEnable humidification0 ~ 100"Алиса, поставь максимальную влажность." (meaning: Alice, set humidity to maximum.)
"Алиса, установи влажность кондиционера на 45%." (meaning: Alice, set the air conditioner humidity to forty-five percent.)

Mode thermostat - operating mode of climate control equipment, such as an air conditioner;
Mode fan - operating mode for setting the ventilation speed, for example, in an air conditioner, fan, or heater.

Media​

DVD player, receiver, media set-top box, and other media devices.

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, включи телек." (meaning: Alice, turn on the TV.)
"Алиса, выключи плеер." (meaning: Alice, turn off the player.)
ChannelSelects the required channel.
Additional channel settings are available:
Channel select mode:
- Select and switching - allows control using the +/- buttons or entry of a channel number in the Умный дом с Алисой app (Smart Home with Alice);
- Switching - allows control using only the +/- buttons;
- Range value (min) - minimum channel value;
- Range value (max) - maximum channel value.
If the minimum value is greater than the maximum, the device will not be added to the app.
0 ~ 1500"Алиса, включи на телеке пятый канал." (meaning: Alice, select channel five on the TV.)
VolumeVolume0 ~ 100"Алиса, сделай плеер погромче." (meaning: Alice, turn up the player volume.)
"Алиса, сделай телек тише." (meaning: Alice, turn down the TV volume.)
Input SourceInput source:
one
two
three
four
five
six
seven
eight
nine
ten.
Input Source:
one
two
three
four
five
six
seven
eight
nine
ten.
"Алиса, включи шестой источник сигнала на медиа." (meaning: Alice, select the sixth input source on the media device.)
"Алиса, поставь десятый источник сигнала медиа." (meaning: Alice, select the tenth input source on the media device.)
MuteMute mode1 / 0"Алиса, выключи звук на плеере." (meaning: Alice, mute the player.)
PausePause operation.1 / 0"Алиса, поставь паузу на медиа." (meaning: Alice, pause the media device.)
"Алиса, сними медиа с паузы." (meaning: Alice, resume the media device.)

Air purifier​

Air purifier, air washer.

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, включи очиститель воздуха." (meaning: Alice, turn on the air purifier.)
"Алиса, включи очиститель." (meaning: Alice, turn on the purifier.)
Mode fanFan speed:
minimum
medium
maximum
automatic mode (auto).
Mode fan:
low
medium
high
auto.
"Алиса, включи высокую скорость вентиляции на очистителе воздуха." (meaning: Alice, enable high ventilation speed on the air purifier.)
"Алиса, выключи минимальную скорость вентиляции на очистителе воздуха." (meaning: Alice, turn off minimum ventilation speed on the air purifier.)
IonizationEnable ionization.1 / 0"Алиса, включи ионизацию на очистителе воздуха." (meaning: Alice, enable ionization on the air purifier.)

Switch​

Wall light switch, toggle switch, circuit breaker in an electrical panel, smart relay.

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, включи лампу." (meaning: Alice, turn on the lamp.)
"Алиса, выключи светильник." (meaning: Alice, turn off the light fixture.)

Vacuum cleaner​

Robot vacuum cleaner, robot floor polisher.

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, пропылесось." (meaning: Alice, vacuum.)
"Алиса, уберись." (meaning: Alice, clean up.)
Work SpeedOperating speed:
auto
medium
fast
slow
turbo.
Speed mode:
auto
medium
fast
slow
turbo.
"Алиса, поставь быструю скорость работы пылесоса." (meaning: Alice, set the vacuum cleaner operating speed to fast.)
Cleanup ModeCleanup mode:
auto
eco
express
normal
quiet.
Cleanup mode:
auto
eco
express
normal
quiet.
"Алиса, поставь экспресс режим работы на пылесосе." (meaning: Alice, select express mode on the vacuum cleaner.)
PausePause operation.1 / 0"Алиса, поставь паузу на пылесосе." (meaning: Alice, pause the vacuum cleaner.)
"Алиса, сними пылесос с паузы." (meaning: Alice, resume the vacuum cleaner.)

Socket​

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, включи розетку." (meaning: Alice, turn on the socket.)
"Алиса, выключи розетки в зале." (meaning: Alice, turn off the sockets in the living room.)
BacklightBacklight control1 / 0"Алиса, включи подсветку розетки." (meaning: Alice, turn on the socket backlight.)
ColorRGBSet the color value.RGB is a function for changing the color of luminous elements according to the RGB model in the range [0; 16777215]"Алиса, включи на розетке зеленый." (meaning: Alice, set the socket to green.)

Washing machine​

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, запусти стиральную машину." (meaning: Alice, start the washing machine.)
"Алиса, включи стиральную машину." (meaning: Alice, turn on the washing machine.)
ProgramProgram:
one
two
three
four
five
six
seven
eight
nine
ten
normal
express.
Program:
one
two
three
four
five
six
seven
eight
nine
ten
normal
express.
"Алиса, поставь экспресс программу на стиральной машине." (meaning: Alice, select the washing machine's express program.)
"Алиса, включи нормальную программу на стиральной машине." (meaning: Alice, select the washing machine's normal program.)
LockLock:
enable the lock
enable child mode.
1 / 0"Алиса, включи детский режим на стиральной машине." (meaning: Alice, enable child mode on the washing machine.)
PausePause operation.1 / 0"Алиса, поставь паузу на стиральной машине." (meaning: Alice, pause the washing machine.)
"Алиса, выключи паузу на стиральной машине." (meaning: Alice, resume the washing machine.)

TV​

Smart TV, IR remote control for a TV, media set-top box, receiver.

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, включи телек." (meaning: Alice, turn on the TV.)
"Алиса, выключи ТВ." (meaning: Alice, turn off the TV.)
ChannelSelects the required channel.
Additional channel settings are available:
Channel select mode:
- Select and switching - allows control using the +/- buttons or entry of a channel number in the Умный дом с Алисой app (Smart Home with Alice);
- Switching - allows control using only the +/- buttons;
- Range value (min) - minimum channel value;
- Range value (max) - maximum channel value.
If the minimum value is greater than the maximum, the device will not be added to the app.
0 ~ 1500"Алиса, включи на телеке десятый канал." (meaning: Alice, select channel ten on the TV.)
VolumeVolume.0 ~ 100"Алиса, сделай телевизор погромче." (meaning: Alice, turn up the TV volume.)
"Алиса, сделай телек тише." (meaning: Alice, turn down the TV volume.)
Input SourceInput source:
one
two
three
four
five
six
seven
eight
nine
ten.
Input Source:
one
two
three
four
five
six
seven
eight
nine
ten.
"Алиса, включи шестой источник сигнала на телевизоре." (meaning: Alice, select the sixth input source on the TV.)
"Алиса, поставь десятый источник сигнала на телевизоре." (meaning: Alice, select the tenth input source on the TV.)
LockLock:
enable the lock
enable child mode.
1 / 0"Алиса, включи детский режим на телевизоре." (meaning: Alice, enable child mode on the TV.)
"Алиса, заблокируй управление на тв." (meaning: Alice, lock the TV controls.)
BacklightBacklight control1 / 0"Алиса, включи подсветку телевизора." (meaning: Alice, turn on the TV backlight.)
MuteMute mode1 / 0"Алиса, выключи звук на телевизоре." (meaning: Alice, mute the TV.)
PausePause operation.1 / 0"Алиса, поставь паузу на телеке." (meaning: Alice, pause the TV.)
"Алиса, сними телевизор с паузы." (meaning: Alice, resume the TV.)

Thermostat​

Water heater, underfloor heating, heater, electric fan.

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, включи теплый пол." (meaning: Alice, turn on the underfloor heating.)
"Алиса, включи нагреватель." (meaning: Alice, turn on the heater.)
Mode thermostat*Operating mode:
fan only (fan_only)
dehumidification (dry)
cooling (cool)
heating (heat)
automatic mode (auto)
eco mode (eco).
Mode thermostat:
fan_only
dry
cool
heat
auto
eco.
"Алиса, переведи обогреватель в режим эко." (meaning: Alice, switch the heater to eco mode.)
"Алиса, переведи электровентилятор в режим охлаждения." (meaning: Alice, switch the electric fan to cooling mode.)
Mode fan**Fan speed:
minimum
medium
maximum
automatic mode (auto).
Mode fan:
low
medium
high
auto.
"Алиса, включи высокую скорость вентиляции." (meaning: Alice, enable high ventilation speed.)
"Алиса, выключи минимальную скорость вентиляции на вентиляторе." (meaning: Alice, turn off minimum ventilation speed on the fan.)
TemperatureCelsiusSet the temperature to the required value.-30 ~ 100"Алиса, выставь температуру водонагревателя на 23 градуса." (meaning: Alice, set the water heater temperature to twenty-three degrees.)
Heat ModeHeating mode:
auto
maximum
minimum.
Heat Mode:
auto
max
min.
"Алиса, включи максимальный нагрев." (meaning: Alice, enable maximum heating.)
OscillationEnable oscillation1 / 0"Алиса, включи вращение на вентиляторе." (meaning: Alice, enable oscillation on the fan.)
HumidityEnable humidification0 ~ 100"Алиса, поставь максимальную влажность." (meaning: Alice, set humidity to maximum.)
"Алиса, установи влажность термостата на 45%." (meaning: Alice, set the thermostat humidity to forty-five percent.)

Humidifier​

Humidifier

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, включи увлажнитель." (meaning: Alice, turn on the humidifier.)
"Алиса, включи воздухоувлажнитель." (meaning: Alice, turn on the air humidifier.)
Mode fanFan speed:
minimum
medium
maximum
automatic mode (auto).
Mode fan:
low
medium
high
auto.
"Алиса, включи высокую скорость вентиляции на увлажнителе." (meaning: Alice, enable high ventilation speed on the humidifier.)
"Алиса, выключи минимальную скорость вентиляции на увлажнителе." (meaning: Alice, turn off minimum ventilation speed on the humidifier.)
IonizationEnable ionization1 / 0"Алиса, включи ионизацию на увлажнителе воздуха." (meaning: Alice, enable ionization on the air humidifier.)
HumidityEnable humidification0 ~ 100"Алиса, поставь максимальную влажность." (meaning: Alice, set humidity to maximum.)
"Алиса, установи влажность увлажнителя на 45%." (meaning: Alice, set the humidifier humidity to forty-five percent.)
TemperatureCelsiusSet the temperature to the required value.-30 ~ 100"Алиса, выставь температуру увлажнителя воздуха на 23 градуса." (meaning: Alice, set the air humidifier temperature to twenty-three degrees.)

Kettle​

Smart kettle, thermopot with backlight.

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, включи чайник." (meaning: Alice, turn on the kettle.)
"Алиса, вскипяти чайник." (meaning: Alice, boil the kettle.)
ProgramProgram:
one
two
three
four
five
six
seven
eight
nine
ten
normal
express.
Program:
one
two
three
four
five
six
seven
eight
nine
ten
normal
express.
"Алиса, поставь экспресс программу для чайника." (meaning: Alice, select the kettle's express program.)
"Алиса, включи нормальную программу на чайнике." (meaning: Alice, select the kettle's normal program.)
ColorRGBSet the color value.RGB is a function for changing the color of luminous elements according to the RGB model in the range [0; 16777215]"Алиса, включи на чайнике зеленый." (meaning: Alice, set the kettle to green.)
TemperatureCelsiusSet the temperature to the required value.-30 ~ 100"Алиса, подогрей чайник." (meaning: Alice, warm up the kettle.)
"Алиса, установи температуру термоса 90 градусов." (meaning: Alice, set the thermos temperature to ninety degrees.)
BacklightBacklight control1 / 0"Алиса, включи подсветку чайника." (meaning: Alice, turn on the kettle backlight.)
LockLock:
enable the lock
enable child mode.
1 / 0"Алиса, заблокируй управление на чайнике." (meaning: Alice, lock the kettle controls.)
KeepWarmKeep warm.1 / 0"Алиса, поддерживай тепло в чайнике." (meaning: Alice, keep the kettle warm.)

Curtains​

Curtains, blinds

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, открой шторы." (meaning: Alice, open the curtains.)
"Алиса, закрой шторы." (meaning: Alice, close the curtains.)
PausePause while opening / closing curtains1 / 0"Алиса, поставь шторы на паузу." (meaning: Alice, pause the curtains.)
"Алиса, сними шторы с паузы." (meaning: Alice, resume the curtains.)
"Алиса, включи паузу на шторах." (meaning: Alice, enable pause on the curtains.)
"Алиса, выключи паузу на шторах." (meaning: Alice, disable pause on the curtains.)
"Алиса, приостанови шторы." (meaning: Alice, stop the curtains temporarily.)
Work SpeedOperating speed:
auto
medium
fast
slow
turbo.
Speed mode:
auto
medium
fast
slow
turbo.
"Алиса, включи быструю скорость работы на шторах." (meaning: Alice, set the curtains to fast operating speed.)
"Алиса, включи медленную скорость работы на шторах." (meaning: Alice, set the curtains to slow operating speed.)
RangeCurtain position0 ~ 100"Алиса, открой штору на треть." (meaning: Alice, open the curtain by one third.)
"Алиса, открой штору на 50 процентов." (meaning: Alice, open the curtain to fifty percent.)

Humidity sensor​

ChannelDescriptionRangeExample requests
ValueSensor value0 ~ 100"Алиса, какая влажность на датчике влажности." (meaning: Alice, what is the humidity sensor reading?)
"Алиса, какая влажность в доме." (meaning: Alice, what is the humidity in the house?)
"Алиса, что с датчиком влажности." (meaning: Alice, what is the humidity sensor status?)

Pressure sensor​

ChannelDescriptionRangeExample requests
ValueSensor value0 ~ ..."Алиса, какое давление на датчике давления." (meaning: Alice, what is the pressure sensor reading?)
"Алиса, какое давление в доме." (meaning: Alice, what is the pressure in the house?)
"Алиса, что с датчиком давления." (meaning: Alice, what is the pressure sensor status?)

Configuration parameters:

ChannelDescriptionValue
UnitUnit of measurement displayed in Yandex Alice.Atm
Pascal
Bar
Mmhg.

Battery charge sensor​

ChannelDescriptionRangeExample requests
ValueSensor value0 ~ 100"Алиса, какой уровень заряда батареи на датчике заряда батареи." (meaning: Alice, what is the battery charge level on the battery charge sensor?)
"Алиса, что с датчиком заряда батареи." (meaning: Alice, what is the battery charge sensor status?)

Voltage sensor​

ChannelDescriptionRangeExample requests
ValueSensor value0 ~ ..."Алиса, какое напряжение на датчике напряжения." (meaning: Alice, what is the voltage sensor reading?)
"Алиса, что с датчиком напряжения." (meaning: Alice, what is the voltage sensor status?)

Illuminance sensor​

ChannelDescriptionRangeExample requests
ValueSensor value0 ~ ..."Алиса, что с датчиком освещенности." (meaning: Alice, what is the illuminance sensor status?)

Current consumption sensor​

ChannelDescriptionRangeExample requests
ValueSensor value0 ~ 100"Алиса, какое значение на датчике потребления тока." (meaning: Alice, what is the current consumption sensor reading?)
"Алиса, что с датчиком потребления тока." (meaning: Alice, what is the current consumption sensor status?)

Temperature sensor​

ChannelDescriptionRangeExample requests
ValueSensor valueany value"Алиса, какая температура на датчике температуры." (meaning: Alice, what is the temperature sensor reading?)
"Алиса, какая температура в доме." (meaning: Alice, what is the temperature in the house?)
"Алиса, что с датчиком температуры." (meaning: Alice, what is the temperature sensor status?)

Water level sensor​

ChannelDescriptionRangeExample requests
ValueSensor value0 ~ 100"Алиса, какой уровень воды на датчике уровня воды." (meaning: Alice, what is the water level sensor reading?)
"Алиса, что с датчиком уровня воды." (meaning: Alice, what is the water level sensor status?)

Energy consumption sensor​

ChannelDescriptionRangeExample requests
ValueSensor value0 ~ ..."Алиса, какая мощность на датчике энергопотребления." (meaning: Alice, what is the power reading on the energy consumption sensor?)
"Алиса, что с датчиком энергопотребления." (meaning: Alice, what is the energy consumption sensor status?)

Air pollution sensor​

ChannelDescriptionRangeExample requests
ValueSensor value0 ~ ..."Алиса, какой уровень органических веществ в доме." (meaning: Alice, what is the level of organic substances in the house?)
"Алиса, что с датчиком уровня загрязнения." (meaning: Alice, what is the pollution level sensor status?)
Note

To address the name length limit (item 4), Use name is enabled by default; the device uses Device name as its name.

PM1 particulate air pollution sensor​

ChannelDescriptionRangeExample requests
ValueSensor value0 ~ ..."Алиса, какой уровень частиц PM1 на датчике мелких частиц." (meaning: Alice, what is the PM-one particle level on the fine particle sensor?)
"Алиса, какой уровень частиц PM1 в доме." (meaning: Alice, what is the PM-one particle level in the house?)
"Алиса, что с датчиком мелких частиц." (meaning: Alice, what is the fine particle sensor status?)
Note

To address the name length limit (item 4), Use name is enabled by default; the device uses Device name as its name.

PM2,5 particulate air pollution sensor​

ChannelDescriptionRangeExample requests
ValueSensor value0 ~ ..."Алиса, какой уровень частиц PM2.5 на датчике средних частиц." (meaning: Alice, what is the PM-two-point-five particle level on the medium particle sensor?)
"Алиса, какой уровень частиц PM2.5 в доме." (meaning: Alice, what is the PM-two-point-five particle level in the house?)
"Алиса, что с датчиком средних частиц." (meaning: Alice, what is the medium particle sensor status?)
Note

To address the name length limit (item 4), Use name is enabled by default; the device uses Device name as its name.

PM10 particulate air pollution sensor​

ChannelDescriptionRangeExample requests
ValueSensor value0 ~ ..."Алиса, какой уровень частиц PM10 на датчике крупных частиц." (meaning: Alice, what is the PM-ten particle level on the coarse particle sensor?)
"Алиса, какой уровень частиц PM10 в доме." (meaning: Alice, what is the PM-ten particle level in the house?)
"Алиса, что с датчиком крупных частиц." (meaning: Alice, what is the coarse particle sensor status?)
Note

To address the name length limit (item 4), Use name is enabled by default; the device uses Device name as its name.

CO2 sensor​

ChannelDescriptionRangeExample requests
ValueSensor value0 ~ ..."Алиса, какой уровень углекислого газа на датчике углекислого газа." (meaning: Alice, what is the carbon dioxide sensor reading?)
"Алиса, какой уровень углекислого газа в доме." (meaning: Alice, what is the carbon dioxide level in the house?)
Note

To address the name length limit (item 4), Use name is enabled by default; the device uses Device name as its name.

Physical impact sensor​

ChannelDescriptionValueExample requests
StatusStatus:
tilt
fall
vibration.
Status:
tilt
fall
vibration.
"Алиса, что с датчиком воздействия." (meaning: Alice, what is the impact sensor status?)
Note

To address the name length limit (item 4), Use name is enabled by default; the device uses Device name as its name.

Leak sensor​

ChannelDescriptionValueExample requests
StatusStatus:
no leak
leak.
Status:
dry
leak.
"Алиса, что с датчиком протечки." (meaning: Alice, what is the leak sensor status?)

Opening sensor​

ChannelDescriptionValueExample requests
StatusStatus:
open
closed.
Status:
opened
closed.
"Алиса, что с датчиком открытия." (meaning: Alice, what is the opening sensor status?)

Gas Sensor​

ChannelDescriptionValueExample requests
StatusStatus:
detected
not detected
high level.
Status:
detected
not_detected
high.
"Алиса, что с датчиком наличия газа." (meaning: Alice, what is the gas sensor status?)

Smoke Sensor​

ChannelDescriptionValueExample requests
StatusStatus:
detected
not detected
high level.
Status:
detected
not_detected
high.
"Алиса, что с датчиком дыма." (meaning: Alice, what is the smoke sensor status?)

Motion sensor​

ChannelDescriptionValueExample requests
StatusStatus:
detected
not detected.
Status:
detected
not_detected.
"Алиса, что с датчиком движения." (meaning: Alice, what is the motion sensor status?)

Button press sensor​

ChannelDescriptionValueExample requests
StatusStatus:
single press
double press
long press.
Status:
click
double_click
long_press.
"Алиса, что с датчиком нажатия кнопки." (meaning: Alice, what is the button press sensor status?)

Zentec ventilation​

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, включи вентиляцию." (meaning: Alice, turn on the ventilation.)
"Алиса, выключи вентиляцию." (meaning: Alice, turn off the ventilation.)
FanSpeedOperating speed:
low
medium
high.
Fan speed:
low
medium
high.
"Алиса, включи низкую скорость вентиляции." (meaning: Alice, enable low ventilation speed.)
"Алиса, уменьши скорость вентиляции." (meaning: Alice, decrease the ventilation speed.)
ModeOperating mode:
heating
ventilation.
Mode thermostat:
heat
fan_only.
"Алиса, поставь режим обогрева на вентиляции." (meaning: Alice, select heating mode on the ventilation unit.)
"Алиса, включи режим вентиляции на вентиляции Зентек." (meaning: Alice, enable ventilation mode on the Zentec ventilation unit.)
TargetTemperatureChange the supply air temperature setpoint to the required value.5 ~ 35"Алиса, теплее на четыре градуса." (meaning: Alice, make it four degrees warmer.)
"Алиса, прибавь температуру на вентиляции." (meaning: Alice, increase the ventilation temperature.)

Use a rule or script to convert values between Zentec ventilation on the bus77 gateway and the Alice ventilation device:

var Alice = IR.GetDevice("Yandex Alice Platform");
var ModBus = IR.GetDevice("Bus77");

IR.AddListener(IR.EVENT_TAG_CHANGE, Alice, function(name, value)
{
IR.Log("От Alice Name: " + name + " значение:" + value);

var NameChannelSet = "";
var ResultForModBus = 0;
if(name == "Вентиляция Зентек:Mode")
{
NameChannelSet = "I-CAN-Modbus:TempControlMode (Minibox (Zentec) 1)";
switch (value)
{
case "fan_only": ResultForModBus = 1; ModBus.Set(NameChannelSet, ResultForModBus); break;
case "heat": ResultForModBus = 2; ModBus.Set(NameChannelSet, ResultForModBus); break;
default: IR.Log("Команда не запрограммирована!");
}
}

if(name == "Вентиляция Зентек:FanSpeed")
{
NameChannelSet = "I-CAN-Modbus:FanSpeed (Minibox (Zentec) 1)";
switch (value)
{
case "low": ResultForModBus = 1; ModBus.Set(NameChannelSet, ResultForModBus); break;
case "medium": ResultForModBus = 3; ModBus.Set(NameChannelSet, ResultForModBus); break;
case "high": ResultForModBus = 7; ModBus.Set(NameChannelSet, ResultForModBus); break;
default: IR.Log("Команда не запрограммирована!");
}
}
IR.Log("От Alice - Name: " + NameChannelSet + " значение:" + ResultForModBus);
});

IR.AddListener(IR.EVENT_TAG_CHANGE, ModBus, function(name, value)
{
var NameChannelSet = "";
var ResultForAlice = 0;
IR.Log("От ModBus Name: " + name + " значение:" + value);
if(name == "I-CAN-Modbus:TempControlMode (Minibox (Zentec) 1)")
{
NameChannelSet = "Вентиляция Зентек:Mode";
switch (value)
{
case 1: ResultForAlice = "fan_only"; Alice.Set(NameChannelSet, ResultForAlice); break;
case 2: ResultForAlice = "heat"; Alice.Set(NameChannelSet, ResultForAlice); break;
default: IR.Log("Команда не запрограммирована!");
}
}

if(name == "I-CAN-Modbus:FanSpeed (Minibox (Zentec) 1)")
{
NameChannelSet = "Вентиляция Зентек:FanSpeed";
switch (value)
{
case 1: ResultForAlice = "low"; Alice.Set(NameChannelSet, ResultForAlice); break;
case 3: ResultForAlice = "medium"; Alice.Set(NameChannelSet, ResultForAlice); break;
case 7: ResultForAlice = "high"; Alice.Set(NameChannelSet, ResultForAlice); break;
default: IR.Log("Команда не запрограммирована!");
}
}
IR.Log("От ModBus - Name: " + NameChannelSet + " значение:" + ResultForAlice);
});

Royal Clima ventilation​

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, включи вентиляцию." (meaning: Alice, turn on the ventilation.)
"Алиса, выключи вентиляцию." (meaning: Alice, turn off the ventilation.)
FanSpeedOperating speed:
quiet
low
medium
high
turbo.
Fan speed:
quiet
low
medium
high
turbo.
"Алиса, включи низкую скорость вентиляции." (meaning: Alice, enable low ventilation speed.)
"Алиса, уменьши скорость вентиляции." (meaning: Alice, decrease the ventilation speed.)
CurrentTemperatureExhaust air temperature reading from the sensorany value"Алиса, какая температура приточного воздуха." (meaning: Alice, what is the supply air temperature?)

Use a rule or script to convert the supply and exhaust fan speed values between Royal Clima ventilation on the bus77 gateway and the Alice ventilation device.

Tip

Example project that converts supply and exhaust fan speed values using a script:

Alice_Script.sirpz

Script used in the example project:

var Alice_Platform = IR.GetDevice("Yandex Alice Platform"); // имя драйвера Алисы
var ModBus = IR.GetDevice("Bus77"); // имя драйвера

IR.AddListener(IR.EVENT_START, 0, function ()
{
IR.AddListener(IR.EVENT_TAG_CHANGE, Alice_Platform, function(name, value)
{
IR.Log("От Alice Name: " + name + " значение:" + value);

var NameChannelSetSupply = "";
var NameChannelSetExhaustFanSpeed = "";
var ResultForModBus = 0; //значение для МодБас
if(name == "Вентиляция Роял Клима:FanSpeed")
{
NameChannelSetSupply = "I-CAN-Modbus_тест:SupplyFanSpeed (Вентиляция Royal Clima 1)";
NameChannelSetExhaustFanSpeed = "I-CAN-Modbus_тест:ExhaustFanSpeed (Вентиляция Royal Clima 1)";
switch(value)
{
case "quiet":
{
ResultForModBus = 1;
ModBus.Set(NameChannelSetSupply, ResultForModBus);
IR.SetTimeout(100, function()
{
ModBus.Set(NameChannelSetExhaustFanSpeed, ResultForModBus);
IR.Log("Выставлено значение " + value + " В SupplyFanSpeed");
});
break;
}
case "low":
{
ResultForModBus = 2;
ModBus.Set(NameChannelSetSupply, ResultForModBus);
IR.SetTimeout(100, function()
{
ModBus.Set(NameChannelSetExhaustFanSpeed, ResultForModBus);
IR.Log("Выставлено значение " + value + " В SupplyFanSpeed");
});
break;
}
case "medium":
{
ResultForModBus = 5;
ModBus.Set(NameChannelSetSupply, ResultForModBus);
IR.SetTimeout(100, function()
{
ModBus.Set(NameChannelSetExhaustFanSpeed, ResultForModBus);
IR.Log("Выставлено значение " + value + " В SupplyFanSpeed");
});
break;
}
case "high":
{
ResultForModBus = 8;
ModBus.Set(NameChannelSetSupply, ResultForModBus);
IR.SetTimeout(100, function()
{
ModBus.Set(NameChannelSetExhaustFanSpeed, ResultForModBus);
IR.Log("Выставлено значение " + value + " В SupplyFanSpeed");
});
break;
}
case "turbo":
{
ResultForModBus = 10;
ModBus.Set(NameChannelSetSupply, ResultForModBus);
IR.SetTimeout(100, function()
{
ModBus.Set(NameChannelSetExhaustFanSpeed, ResultForModBus);
IR.Log("Выставлено значение " + value + " В SupplyFanSpeed");
});
break;
}
default:
{
IR.Log("Команда не запрограммирована!");
break;
}
}
}
});

IR.AddListener(IR.EVENT_TAG_CHANGE, ModBus, function(name, value)
{
var NameChannelSet = "";
var ResultForAlice = 0; //значение для Алисы
IR.Log("От ModBus Name: " + name + " значение:" + value);
if(name == "I-CAN-Modbus_тест:SupplyFanSpeed (Вентиляция Royal Clima 1)" ||
name == "I-CAN-Modbus_тест:ExhaustFanSpeed (Вентиляция Royal Clima 1)")
{
NameChannelSet = "Вентиляция Роял Клима:FanSpeed";
switch(value)
{
case 1:
ResultForAlice = "quiet";
Alice_Platform.Set(NameChannelSet, ResultForAlice);
break;
case 2:
ResultForAlice = "low";
Alice_Platform.Set(NameChannelSet, ResultForAlice);
break;
case 3:
ResultForAlice = "medium";
Alice_Platform.Set(NameChannelSet, ResultForAlice);
break;
case 7:
ResultForAlice = "high";
Alice_Platform.Set(NameChannelSet, ResultForAlice);
break;
case 10:
ResultForAlice = "turbo";
Alice_Platform.Set(NameChannelSet, ResultForAlice);
break;
default:
IR.Log("Команда не запрограммирована!");
}
}
IR.Log("От ModBus - Name: " + NameChannelSet + " значение:" + ResultForAlice);
});
});
Tip

Voice control adjusts supply and exhaust fan speeds synchronously: the supply speed equals the exhaust speed. Values are sent to the SupplyFanSpeed and ExhaustFanSpeed channels with a delay of 100 ms.

Example project that converts supply and exhaust fan speed values using rules:

Alice_Routines.sirpz

VAKIO ventilation​

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, включи вентиляцию." (meaning: Alice, turn on the ventilation.)
"Алиса, выключи вентиляцию." (meaning: Alice, turn off the ventilation.)
FanSpeedOperating speed:
low
medium
high
turbo.
Fan speed:
low
medium
high
turbo.
"Алиса, включи низкую скорость вентиляции." (meaning: Alice, enable low ventilation speed.)
"Алиса, уменьши скорость вентиляции." (meaning: Alice, decrease the ventilation speed.)
ModeOperating mode:
Auto
Ventilation mode:
auto.
"Алиса, включи режим Авто." (meaning: Alice, enable Auto mode.)
TargetTemperatureChange the supply air temperature setpoint to the required value.10 ~ 25"Алиса, теплее на четыре градуса." (meaning: Alice, make it four degrees warmer.)
"Алиса, прибавь температуру на вентиляции." (meaning: Alice, increase the ventilation temperature.)

Use a rule or script to convert fan speed values between VAKIO ventilation on the bus77 gateway and the Alice ventilation device.

Tip

Example project that converts supply and exhaust fan speed values using a script:

Alice_Script.sirpz

Script used in the example project:


var Alice = IR.GetDevice("Yandex Alice Platform");
var Bus77 = IR.GetDevice("Bus77");
IR.AddListener(IR.EVENT_TAG_CHANGE, Alice, function(name, value){ //прослушиваем команду от драйвера Алисы.
switch (name) {
//Режимы работы Вентустановки
case "Вентиляция Вакио:Mode":
}
if (value == "auto") {
Bus77.Set("I-CAN-Modbus тест:Mode (вакио)", 1);
}
//Скорость работы Вентустановки
case "Вентиляция Вакио:FanSpeed":
if (value == "low") {
Bus77.Set("I-CAN-Modbus тест:FanSpeed (вакио)", 1);
}
if (value == "medium") {
Bus77.Set("I-CAN-Modbus тест:FanSpeed (вакио)", 2);
}
if (value == "high") {
Bus77.Set("I-CAN-Modbus тест:FanSpeed (вакио)", 3);
}
if (value == "turbo") {
Bus77.Set("I-CAN-Modbus тест:FanSpeed (вакио)", 4);
}
break;
//Работа температуры
case "Вентиляция Вакио:TargetTemperature":
Bus77.Set("I-CAN-Modbus тест:TargetTemperature (вакио)", value);
break;
}
});


IR.AddListener(IR.EVENT_TAG_CHANGE, Bus77, function(name, value){ //прослушиваем команду от драйвера Bus77. switch (name) {
//Режим работы
case "I-CAN-Modbus тест:Mode (вакио)":
if (value == 1) {
Alice.Set("Вентиляция Вакио:Mode", "auto");
}
break;
//Работа скоростей
case "I-CAN-Modbus тест:FanSpeed (вакио)":
if (value == 1) {
Alice.Set("Вентиляция Вакио:FanSpeed", "low");
}
if (value == 2) {
Alice.Set("Вентиляция Вакио:FanSpeed", "medium");
}
if (value == 3) {
Alice.Set("Вентиляция Вакио:FanSpeed", "high");
}
if (value == 4) {
Alice.Set("Вентиляция Вакио:FanSpeed", "turbo");
}
break;
//Работа температуры
case "I-CAN-Modbus тест:TargetTemperature (вакио)":
Alice.Set("Вентиляция Вакио:TargetTemperature", value);
break;
}
});
Tip

Example project that converts supply fan speed values using routines:

Alice_Routines.sirpz

Universal ventilation​

ChannelDescriptionValueExample voice commands
On/OffOn/off state.1 / 0"Алиса, включи вентиляцию." (meaning: Alice, turn on the ventilation.)
"Алиса, выключи вентиляцию." (meaning: Alice, turn off the ventilation.)
FanSpeedOperating speed:
low;
medium;
high;
turbo.
Fan speed:
low
medium
high
turbo.
"Алиса, включи низкую скорость вентиляции." (meaning: Alice, enable low ventilation speed.)
"Алиса, уменьши скорость вентиляции." (meaning: Alice, decrease the ventilation speed.)
ModeOperating mode:
Auto
Ventilation mode:
auto.
"Алиса, включи режим Авто." (meaning: Alice, enable Auto mode.)
TargetTemperatureChange the supply air temperature setpoint to the required value.

The supply air temperature range depends on the selected unit type.
15~30 (TURKOV Capsule/iVent/Zenit)
16~30 (GTC Syberia automation)
15~50 (ROYAL CLIMA Soffio Primo 3.0)
"Алиса, теплее на четыре градуса." (meaning: Alice, make it four degrees warmer.)
"Алиса, прибавь температуру на вентиляции." (meaning: Alice, increase the ventilation temperature.)

Use a rule or script to convert fan speed values between universal ventilation on the bus77 gateway and the Alice ventilation device.

Tip

Example project that converts supply and exhaust fan speed values using a script:

Alice_Script.sirpz

Script used in the example project:


var Voice_assistant = IR.GetDevice("Yandex Alice Platform"); // имя драйвера
var Bus77 = IR.GetDevice("Bus77"); // имя драйвер


IR.AddListener(IR.EVENT_START, 0, function ()
{
IR.AddListener(IR.EVENT_TAG_CHANGE, Voice_assistant, function(name, value)
{
IR.Log("От Alice Name: " + name + " значение:" + value);
switch(name)
{
case "Универсальная вентиляция:Mode":

{
if(value == "auto")
{
Bus77.Set("I-CAN-Modbus:Mode (Вентиляция 1)", 1);
}
break;
}
case "Универсальная вентиляция:FanSpeed":
{
if(value == "low")
{
Bus77.Set("I-CAN-Modbus:FanSpeed (Вентиляция 1)", 1);
}
if(value == "medium")
{
Bus77.Set("I-CAN-Modbus:FanSpeed (Вентиляция 1)", 2);
}
if(value == "high")
{
Bus77.Set("I-CAN-Modbus:FanSpeed (Вентиляция 1)", 3);
}
if(value == "turbo")
{
Bus77.Set("I-CAN-Modbus:FanSpeed (Вентиляция 1)", 4);
}
break;
}
}
});



IR.AddListener(IR.EVENT_TAG_CHANGE, Bus77, function(name, value)
{
switch(name)
{
case "I-CAN-Modbus:Mode (Вентиляция 1)":
{
IR.Log("От Bus77 Name: " + name + " значение:" + value);
if(value == 1)
{
Voice_assistant.Set("Универсальная вентиляция:Mode", "auto");
}
break;
}
case "I-CAN-Modbus:FanSpeed (Вентиляция 1)":
{
IR.Log("От Bus77 Name: " + name + " значение:" + value);
if(value == 1)
{
Voice_assistant.Set("Универсальная вентиляция:FanSpeed", "low");
}
if(value == 2)
{
Voice_assistant.Set("Универсальная вентиляция:FanSpeed", "medium");
}
if(value == 3)
{
Voice_assistant.Set("Универсальная вентиляция:FanSpeed", "high");
}
if(value == 4)
{
Voice_assistant.Set("Универсальная вентиляция:FanSpeed", "turbo");
}
break;
}
}
});
});


Tip

An example project that converts supply fan speed values using routines is similar to the implementation for VAKIO ventilation

Linking Alice to drivers​

Using Forward value to​

This method is suitable for controlling lights, brightness, and other parameters controlled by a numeric value, for example, a relay at 0/1 or brightness at 0/100

Without value conversion​

Example of linking a Bus77 dimmer and an Alice lamp:

  1. In Alice's On/Off feedback (0/1), you must select the target command in Forward value to: dimmer's State command (0/1); alternatively, drag and drop the command into the right column next to the feedback (see image).

  2. In Alice's Brightness feedback (0/100), you must select the dimmer command in Forward value to: Target Level (0/100); alternatively, drag and drop the command into the right column next to the feedback (see image).

Alice_forvard1.png

The resulting settings should look like this:

Alice_forvard2.png

  1. In the dimmer's State feedback (0/1), you must select the target command in Forward value to: Alice's On/Off command (0/1); alternatively, drag and drop the command into the right column next to the feedback (see image)

  2. In the dimmer's Target Level feedback (0/100), you must select the command in Forward value to: Alice's Brightness (0/100); alternatively, drag and drop the command into the right column next to the feedback (see image)

Alice_forvard3.png

The resulting settings should look like this:

Alice_forvard4.png

Linking is complete!

With value conversion​

If the device's control range differs from Alice's (for example, an HDL relay is controlled using 0/100 instead of 0/1):

  1. Copy the script into your project's script editor:

function from100to1 (in_Type, in_Name, in_Value)
{
   in_Value *= 1/100;
   return in_Value;
}

function from1to100 (in_Type, in_Name, in_Value)
{
   in_Value *=100/1;
   return in_Value;
}

  1. In the Yandex Platform driver properties, find the version setting and set it to 2.

  2. Link the relay command and Alice's On/Off channels as described under "Without value conversion".

  3. Then select the from100to1 script in Script Modifier for Alice's On/Off command. This converts a value of 100 received from the relay to a value of 1 sent to Alice:

Alice_forvard5.png

  1. Select the from1to100 script in Script Modifier for Alice's On/Off feedback. This converts a value of 1 received from Alice to a value of 100 sent to the relay command.

Alice_forvard6.png

Configuration is complete!

Using rules​

  1. Click Routine to open the routines menu.

Alice_routine.png

  1. Click "+" to add a routine.

Alice_routine2.png

  1. Enter the routine name in Name.

Alice_routine3.png

  1. Start with the WHEN condition by clicking "+" (see the image above).

  2. In Feedback, select the voice command of the "Yandex Alice Platform" driver. In Value, enter the number to send to the channel. It is listed in the Value column of the device table. For example, the color temperature Value is in the range 2000-9000, and the color value is in the range 0-6777215),

In this example, the lamp state values are 1 for on and 0 for off, so enter 1 to wait for the on state:

Alice_routine4.png

You can add several Feedback channels to one condition.

Alice_routine5.png

  1. Add the action to perform in the routine by clicking "+" in THEN.

Alice_routine6.png

Select the required option and specify the channel to which the value will be sent.

Alice_routine7.png

You can add several Feedback channels to one condition.

Alice_routine8.png

If necessary, you can add a BUT ONLY IF condition to the routine.

Alice_routine9.png

Using JS​

The script receives voice commands from Alice and forwards them to physical devices. In this example, these are devices on a Modbus TCP network.

  1. Open the script editor by clicking JS.

  2. Click +, then select New Script.

  3. Add your script.

Example:


var Alice = IR.GetDevice("Yandex Alice Platform");
var Modbus = IR.GetDevice("Modbus TCP")
var ModbusTerm = IR.GetDevice("Кондиционер")

//Пример установки температуры кондиционера по старту приложения:
IR.AddListener(IR.EVENT_START,0,function() {//включаем температуру на кондиционере 18 градусов

Alice.Set("Кондиционер:TemperatureCelsius", 18); //Отдаем значение с температурой в канал Алисы, чтобы видеть в приложении
ModbusTerm.Set("Temp", 18) //отдаем команду на устройство.


});

//Логирование команд, отправленных драйвером Алиса:
IR.AddListener(IR.EVENT_TAG_CHANGE, Alice, function(name, value){
IR.Log("Alice! Device tag: " + name + " , value: " + value);

});


//Пример управления лампой:

IR.AddListener(IR.EVENT_TAG_CHANGE, Modbus, function(name, value){ //прослушиваем устройство на изменение тега.
switch (name) {
case "Feedback1":
if (value == 1){ //устройство включено
Alice.Set("Лампа:On/Off", 1) // отсылаем в канал драйвера Алисы значение 1 - устройство включено.
}
if (value == 0){ //устройство выключено
Alice.Set("Лампа:On/Off", 0) // отсылаем в канал драйвера Алисы значение 0 - устройство выключено.
}
break;
case "Feedback2":
Alice.Set("Лампа:Brightness", value); // отсылаем в канал драйвера Алисы значение яркости лампы.
break;
}
});

IR.AddListener(IR.EVENT_TAG_CHANGE, Alice, function(name, value){ //прослушиваем команду от драйвера Алисы.
switch (name) {
case "Лампа:On/Off": //если изменение прошли в теге лампы, начинаем выполнять действия.
if (value == 1){ //при отправке команды от Алисы на включение, в теге появится 1. Modbus.Set("Command1", 1);//передаем команду от Алисы устройству 1 - включение.
}
if (value == 0) { //при отправке команды от Алисы на выключение, в теге появится 0. Modbus.Set("Commands1", 0);//передаем команду от Алисы устройству 0 - выключение.
}
break;
case "Лампа:Brightness":
Modbus.Set("Command2", value); // передаём в команду от Алисы устройству значение яркости лампы.
break;
}
});

Important

Check which value Alice sends when processing a command. Convert it to the value required by the controlled device.

Attention! Sending a notification to an Alice channel that a device is on does not update the device state in the menu listing all devices. The display changes only when the user opens the device menu. Only then does Alice query it and display the current state value.

Example of using sensors with Alice​

Because sensors need to send a text value, they can be used only through scripts/schemes. The following script shows an example with a Bus77 button, allowing its state to be requested through Alice:


IR.AddListener(IR.EVENT_TAG_CHANGE , IR.GetDevice("Bus77"), function(name,value)
{

if(name == "DM-606P 2:DoublePress (Button 1)"){
IR.GetDevice("Yandex Alice Platform").Set("Датчик нажатия кнопки:Status", "double_click");
};
if(name == "DM-606P 2:SinglePress (Button 1)"){
IR.GetDevice("Yandex Alice Platform").Set("Датчик нажатия кнопки:Status", "click");
};
if(name == "DM-606P 2:LongPressStart (Button 1)"){
IR.GetDevice("Yandex Alice Platform").Set("Датчик нажатия кнопки:Status", "long_press");
};
})

Creating a new site in iRidi Cloud​

Alice works only through iRidi Cloud, so create a site in our cloud if you have not already done so.

A site represents a physical smart home or building in iRidi Cloud. How to create a site in iRidi Cloud.

  1. Sign in on the website of iRidi.

  2. Upload the .sirpz project file to iRidi Cloud.

Alice_project1.png

  1. Start .

  2. Open the server web interface by entering the server IP address followed by :8888 in the browser address bar (if it runs on the same computer on which it is configured, enter 127.0.0.1:8888)

  3. Enter your access password. Click "LOGIN".

Alice_project2.png

  1. Find Projects under Cloud.

Alice_project3.png

  1. Download the project from the cloud to the server by clicking "CLOUD SYNC", then "Download" next to the required project.

Alice_project4.png

Adding devices to Alice​

  1. Start iRidi Server with the project downloaded from the cloud containing the Alice driver.

  2. Create your account with Yandex and download the Умный дом с Алисой (Smart Home with Alice) app. Sign in.

Note

iOS 10.0 and later are supported. Alice18.png

Note

For the PC version. Only after registering and signing in at www.yandex.ru follow the link, where you can fully control your home through the browser.

  1. This step is required only for an Alice speaker. If you do not plan to use one, go to the next step.

Follow the link to the iRidi mobile website. (Sign in if necessary.) Select the site to be controlled by the Alice speaker. Click "Add Yandex Alice device".

Yandex_Alice04(2).png

Click "Сгенерировать автоматически" (generate automatically), or enter your own activation phrase and click "Применить" (apply).

Yandex_Alice05(2).png

Check the activation phrase. A 300-second countdown will start.

Yandex_Alice06(1).png

Launch the "Иридий" skill (Iridium) in Alice. You can say "Запусти навык Иридий" (meaning: launch the Iridium skill) or type this text in the chat. Then type the activation phrase in the chat. It must start with a lowercase letter and exactly match the text in your iRidi Pro account.

Alice_client2.png

  1. After signing in to the app, open "Устройства" (Devices)

Alice19.jpg

  1. Connect the iRidium assistant skill to Alice.

5.1. Find the skill using search and select it.

Alice20.jpg

5.2. On the page that opens, select the action to link to Yandex .

Alice21.jpg

5.3. On the page that opens, select the product.

Alice22.jpg

5.4. Click "Войти" (Sign in) and enter the credentials for the account containing the Alice project, then click "Войти" (Sign in) .

Alice26.png

5.5. Select the site, then click "Связать" (Link) .

Alice23.png

5.6. In the window that opens, select the driver name and click the site linking button … (Smart Home) .

Alice24.png

  1. After linking the site, you must click the action to refresh the device list .

Then you must finish configuring the devices: assign them to rooms, edit their names if necessary, and specify their purpose (for example, a switch). A device ready for use has no additional labels. If you forgot to fill in Room in the server project driver, you can specify the room in the device menu.

Alice25.png

  1. Select the required device and tap it to turn it on. When it is on, the device indicator changes to the on state, and control becomes available.

Alice17.jpeg

Creating scenarios in the Yandex app​

Alice scenarios are used for these cases:

  1. Controlling devices visible only to Alice from automation system switches and sensors
  2. Making Alice speak a custom phrase when a sensor is triggered or whenever you need it
Tip

If you configured Alice before release v1.54 dated 03.04.23, you must modify the project to use sensors in scenarios: Using sensors in projects created before v.1.54.

Controlling devices visible only to Alice​

To connect the automation system to devices visible only to Alice, for example, so that a Yandex light bulb also turns on when a scene switch is pressed or motion is detected:

  1. To configure a scenario, open "Сценарии" (Scenarios) .

Alice_Scenarios1.jpg

  1. Specify the name, the scenario activation condition, and the action to perform when the scenario is activated.

Alice_Scenarios2.jpg

  1. The scenario activation condition can be a specified phrase, a time, or the value of a selected device.

Alice_Scenarios3.jpg

  1. If you selected a device as the condition, select the required sensor in the window that opens.

Alice_Scenarios7.jpg

  1. Configure the event activation condition. Depending on the selected sensor type, the event can be triggered by:
  • a sensor event
  • a high or low sensor value
  • a button press (see Button press sensor)
  • an event in a virtual feedback (you can link any Alice sensor type to a virtual feedback and send a specific value to it)

Alice_Scenarios8.jpg Alice_Scenarios4.jpg

  1. To configure the action, select the device to activate when the condition is met and the value to set on it.

Alice_Scenarios5.jpg Alice_Scenarios6.jpg

Making Alice speak a custom phrase​

To make Alice speak a specific phrase when motion or any other event occurs:

  1. Define the event:
  • feedback from a driver

  • any custom action: in this case, create a virtual feedback to which you will send a value to activate the event. For instructions on creating virtual feedbacks, see VirtualFeedbacks. Once created, link the feedback to any Alice sensor subdevice (for example, Button press sensor). Sending specific values to this feedback asks Alice to speak a particular phrase.

  1. Create a scenario in Alice by opening the scenarios tab in the Alice app:

  2. To configure a scenario, open "Сценарии" (Scenarios) .

Alice_Scenarios1.jpg

  1. Specify the name, the scenario activation condition, and the action to perform when the scenario is activated.

Alice_Scenarios2.jpg

  1. The scenario activation condition can be a specified phrase, a time, or the value of a selected device.

Alice_Scenarios3.jpg

  1. If you selected a device as the condition, select the required sensor in the window that opens.

Alice_Scenarios7.jpg

  1. Configure the event activation condition: select a smart home sensor or the virtual sensor you linked to a virtual feedback:
  • a sensor event
  • a high or low sensor value
  • a button press (see Button press sensor)
  • an event in a virtual feedback (you can link any Alice sensor type to a virtual feedback and send a specific value to it)

Alice_Scenarios8.jpg Alice_Scenarios4.jpg

  1. Under "Тогда" (Then), select "Добавить действие" (Add action) and choose the speaker that will say the phrase

AlisaTalk.jpg

  1. In the speaker settings, select the action for reading text aloud and enter the required phrase

AlisaTalk2.jpg

Configuring Alice for hotels​

Version 3 of the Yandex Alice Platform driver adds hotel support. This setting lets you add several Yandex Alice Platform drivers to a server project and use a separate driver to control each hotel room (1 driver = 1 room).

To configure Alice:

  1. Add the required number of Yandex Alice Platform drivers to the server project and rename each driver to match the room name (1 driver = 1 room).

  2. Configure the Yandex Alice Platform drivers according to the instructions .

  3. In the driver settings, set Driver Version = 3 .

  4. Upload the project to the cloud ;

  5. Configure Alice according to the instructions. In step 5.6, specify the driver (room) name and click the site linking button … (Smart Home) to link it to the account.

Alice39.png

Handing over the project to the end user​

For the end user to use the project, you must unlink the integrator's account in the Yandex Alice app and sign in with the user's account (follow the Alice configuration instructions starting at step 3). First, unlink your integrator account as follows:

1.Open the devices tab and select + (add). Select "Устройство" (Device) .

Yandex_alice_acc1.PNG

  1. Find iRidi Mobile in the device list and select it.

Yandex_alice_acc2.PNG

  1. Select "Отвязать аккаунт" (Unlink account) and confirm. Then repeat the device addition and user sign-in steps (starting at step 3 of the Alice configuration section).

IMG_0724.PNG

Operating considerations​

Note

If you removed a device from the project, you must manually remove it from the user's app. Otherwise, it remains visible to the user even after the list is refreshed.

If you removed a device, do not worry! It will be added the next time the device list is refreshed.

Alice_client8.png

Note

Alice addresses only the device named in the command. For example, there are two devices named "Телевизор" (TV) and "Телевизор 1" (TV one). The command "Алиса, включи телевизор" (meaning: Alice, turn on the TV) activates only the device named "Телевизор"; the other devices do not receive an on command.

When adding or removing devices in an iRidi Studio project, remember to upload the project to the server and refresh the device list in the Yandex app (see above .

Using sensors in projects created before v.1.54​

If your sensors were added before version 1.3.54, you must:

  1. Open the server project containing the Yandex Alice Platform driver in iRidi Studio version 1.3.54 or later.

  2. Remove all sensors from the Yandex Alice Platform driver.

  3. Add the sensors again and configure all connections.

  4. Update the project in the cloud through your account on iridi.com .

Alice31.png

  1. Open the server web interface > Cloud and click CLOUD SYNC .

  2. Download the updated project.

Alice32.png

  1. Remove all sensors from the Умный дом с Алисой (Smart Home with Alice) app and add them again using one of 2 methods:

Method 1​

  1. Tap "+" in the upper-right corner of the app.

Alice33.png

  1. Select the smart home devices option.

  2. Tap the trash icon next to iRidi Assistant .

Alice34.png

  1. Select the checkbox to remove iRidi Assistant devices .

  2. Click unlink from Yandex .

  3. Link the skill again.

Note

This method clears all iRidi devices, removes their room assignments, and deletes their scenarios configured in the Умный дом с Алисой (Smart Home with Alice) app

Method 2​

  1. Open any sensor's page.

  2. Tap the gear icon in the upper-right corner.

Alice35.png

  1. Tap the trash icon in the upper-right corner.

Alice36.png

  1. Click "Подтвердить" (Confirm) .

  2. Repeat steps 1-4 for all sensors.

  3. Tap "+" in the upper-right corner of the app.

Alice33.png

  1. Select the smart home devices option .

  2. Tap the sync button next to iRidi Assistant .

Alice37.png

  1. Configure the added devices if necessary.