iRidi skill for Amazon Alexa
Voice control of equipment through Amazon Alexa and iRidi
Documentation updated on 19.03.2026
Alexa is Amazon's voice assistant, built into the Amazon Echo smart speaker and other devices such as:
- Echo Plus,
- Echo Dot,
- Amazon Tap,
- Echo Sub,
- Echo Show,
- Fabriq Chorus and other Alexa-enabled devices from third-party manufacturers.
The iRidi skill supports several languages:
- English (US),
- English (UK),
- English (India),
- Spanish (Spain),
- Spanish (Mexico),
- Spanish (US),
- Italian (Italy),
- German (Germany),
- Portuguese (Brazil),
- Hindi (India),
- French (France),
- Japanese (Japan).
With the "iRidium" skill, Alexa can control a smart home through iRidi cloud and an iRidi server. Say "Turn on the light" and the light turns on. Say "Turn off the light" and it turns off. It's simple!

Supported devices:
- dimmers and switches,
- door locks,
- entertainment devices, such as smart TVs,
- smart home cameras,
- thermostats and fans,
- microwave ovens,
- and much more.
Working in iRidi Studio
Adding the driver and devices
-
Create a server project.
-
Add the Amazon Alexa Network network driver to the project.

- Add smart devices to the project.

- Rename the devices using the names you want to say when speaking to Alexa.
Device feedback channels must not be renamed because their names have specific meanings.

Device and feedback channel descriptions
Amazon Alexa devices are not physical devices; they provide an interface between physical devices and Alexa. You must implement their functionality in iRidi Server or link them to the corresponding physical devices using an appropriate protocol. iRidi provides an interface with four device types:
- Switch
- Dock Station
- Dimmer
- HVAC
This does not limit your ability to work with other devices. For example, you can control a relay using a binary Switch device.
You do not need to use every device feedback channel; use only the ones you need.
Switch
Example applications:
- switch,
- light,
- relay.
| Feedback | Description | Actions | Example voice commands |
|---|---|---|---|
| Power | On/off status | turnOn turnOff | "Alexa, turn on switch" "Alexa, turn off switch" |
Dock Station
Example applications:
- charging dock,
- heating thermostat.
| Feedback | Description | Actions | Example voice commands |
|---|---|---|---|
| Level | Numeric value | setPercentage incrementPercentage decrementPercentage | "Alexa, set dock station to fifty percents" "Alexa, raise dock station by five degrees" "Alexa, lower dock station by two percents" |
Dimmer
Example applications:
- single-channel dimmer,
- electric underfloor heating.
| Feedback | Description | Actions | Example voice commands |
|---|---|---|---|
| Power | On/off status | turnOn turnOff | "Alexa, turn on dimmer" "Alexa, turn off dimmer" |
| Level | Percentage | setPercentage incrementPercentage decrementPercentage | "Alexa, set dimmer to hundred percents" "Alexa, raise dimmer by five percents" "Alexa, lower dimmer by two percents" |
HVAC
Example applications:
- thermostat,
- air conditioner,
- fan,
- electric underfloor heating.
| Feedback | Description | Actions | Example voice commands |
|---|---|---|---|
| Power | On/off status | turnOn turnOff | "Alexa, turn on HVAC" "Alexa, turn off HVAC" |
| Level | Percentage setpoint | setPercentage incrementPercentage decrementPercentage | "Alexa, set HVAC to fifty percent" "Alexa, increase HVAC by five percents" "Alexa, decrease HVAC by two percents" |
| Target Temperature | Temperature setpoint in degrees | setTargetTemperature incrementTargetTemperature decrementTargetTemperature getTargetTemperature | "Alexa, set HVAC to thirty degrees" "Alexa, increase HVAC by five degrees" "Alexa, reduce HVAC by two degrees" "Alexa, make it warmer in here" "Alexa, make it cooler in here" "Alexa, what is HVAC target temperature?" |
| Sensor Temperature | Temperature from the sensor | getTemperatureReading getTargetTemperature | "Alexa, what HVAC temperature?" |
| Cool Target Temperature | Upper temperature setpoint | getTemperatureReading getTargetTemperature | "Alexa, what temperature is my HVAC set to?" |
| Heat Target Temperature | Lower temperature setpoint | ||
| Temperature Mode | Operating mode | ThermostatMode | This function is not yet supported |
TemperatureMode can take the following values:
- IR.SUB_DEVICE_STATE_CLIMATE_TEMP_MODE_AUTO,
- IR.SUB_DEVICE_STATE_CLIMATE_TEMP_MODE_COOLING,
- IR.SUB_DEVICE_STATE_CLIMATE_TEMP_MODE_DRY,
- IR.SUB_DEVICE_STATE_CLIMATE_TEMP_MODE_FAN,
- IR.SUB_DEVICE_STATE_CLIMATE_TEMP_MODE_HEATING,
- IR.SUB_DEVICE_STATE_CLIMATE_TEMP_MODE_OFF.
Use these constants to set the thermostat operating mode in a script.
Creating a script
The script receives voice commands from Alexa and forwards them to physical devices.
To create a driver:
-
Create a server project .sirpz ;
-
Add a script by clicking JS > + > New script .
-
Paste the following template into the script:
//Let's create a driver, four subdevices and log the name of the device from which the feedback came and its value
// Device creation (IR.DEVICE_AMAZON_ALEXA - device type)
var l_pDevice = IR.CreateDevice(IR.DEVICE_AMAZON_ALEXA, "Amazon Alexa");
if(l_pDevice)
{
/* * * SubDevice creation
* Params:
* 1. Name of SubDevice
* 2. Type of SubDevice:
* IR.SUB_DEVICE_TYPE_THROUGH_DIMMER - Dimmer
* IR.SUB_DEVICE_TYPE_THROUGH_RELAY - Switch
* IR.SUB_DEVICE_TYPE_AIR_CONDITIONER - Thermostat (HVAC)
* IR.SUB_DEVICE_TYPE_DOCK_STATION - Dock Station
*/
l_pDevice.AddSubDevice("Dimmer", IR.SUB_DEVICE_TYPE_THROUGH_DIMMER);
l_pDevice.AddSubDevice("Switch", IR.SUB_DEVICE_TYPE_THROUGH_RELAY);
l_pDevice.AddSubDevice("Thermostat", IR.SUB_DEVICE_TYPE_AIR_CONDITIONER);
l_pDevice.AddSubDevice("DockStation", IR.SUB_DEVICE_TYPE_DOCK_STATION);
//Log the name of the device from which the feedback came and its value
IR.AddListener(IR.EVENT_TAG_CHANGE, l_pDevice, function(name, value){
IR.Log("Name: " + name + " Value: " + value);
switch(name)
{
case 'Dimmer:Level':
IR.GetDevice("Modbus TCP").Set("Dimmer Level", value);
break;
case 'Switch:Power':
IR.GetDevice("Modbus TCP").Set("Switch Power", value);
break;
case 'HVAC:Level':
IR.GetDevice("Modbus TCP").Set("HVAC Level", value);
break;
case 'HVAC:Sensor Temperature':
IR.GetDevice("Modbus TCP").Set("HVAC Sensor Temperature", value);
break;
case 'Dock Station:Level':
IR.GetDevice("Modbus TCP").Set("Dock Station Level", value);
break;
}
})
}
- Change the device names to the names you want to say when speaking to Alexa.
Device creation example:
Dimmer "Bathroom light":
l_pDevice.AddSubDevice("Bathroom light", IR.SUB_DEVICE_TYPE_THROUGH_DIMMER);
Dimmer "Garage light":
l_pDevice.AddSubDevice("Garage light", IR.SUB_DEVICE_TYPE_THROUGH_DIMMER);
Create the other devices in the same way as in the example.
- Configure the connections between Alexa subdevices and the equipment.
When using feedback channels in the Amazon Alexa Network driver, specify the subdevice name and feedback channel separated by a colon. The complete list of subdevices and feedback channels is provided in the table under "Device and feedback channel descriptions".
Example of handling Alexa responses and sending commands to the Modbus driver:
IR.AddListener(IR.EVENT_TAG_CHANGE, l_pDevice, function(name, value){
switch(name)
{
case 'Dimmer:Level':
IR.GetDevice("Modbus TCP").Set("Dimmer Level", value);
break;
case 'Switch:Power':
IR.GetDevice("Modbus TCP").Set("Switch Power", value);
break;
case 'HVAC:Level':
IR.GetDevice("Modbus TCP").Set("HVAC Level", value);
break;
case 'HVAC:Sensor Temperature':
IR.GetDevice("Modbus TCP").Set("HVAC Sensor Temperature", value);
break;
case 'Dock Station:Level':
IR.GetDevice("Modbus TCP").Set("Dock Station Level", value);
break;
}
})
-
Upload the project to the server through the cloud;
-
Synchronize the project with Alexa.
Important:
- Device names in the driver must be unique;
- Use only English for subdevice names;
- Feedback channels must not be created or edited. Each Alexa device already has a standard set of feedback channels that it uses;
- For device discovery in Alexa App, the project must be running on the server;
- Stable operation of the native and script-based drivers in the same project is not guaranteed.
Download the demo project:
Uploading the project to iRidi cloud and the server
-
Sign in on the iRidi website.
-
Upload the server project and Panel Project to iRidi cloud.

- On the Users and Panels tab, add an end user to the project.

-
Start iRidi Server.
-
Open the server web interface by entering the following in the browser address bar:
<server IP address>:8888
(If iRidi Server is running on the same computer on which you are configuring it, enter:
127.0.0.1:8888)
- Enter the default access password
2007. Click "LOGIN".

- Open Cloud / Projects .

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

Alexa works only through iRidi cloud, so it cannot work if the project is uploaded to the server through iRidi transfer.
Configuring Alexa
Registering the smart speaker
Alexa is configured using Alexa App on mobile devices or Amazon's web service on a laptop or desktop computer.
In either case, the device needs Wi-Fi to connect directly to the smart speaker.
-
Sign up on the Amazon website if you do not already have an account.
-
On mobile devices, you will be prompted to download Alexa App. On a laptop or desktop computer, you can continue setup on the Amazon website.
-e07b993a5715cf8d66c489889c298685.png)
Alexa App can run on the following operating systems:
- Fire OS 3.0 or later,
- iOS 9.0 or later,
- Android 5.0 or later,
- Windows 10 version 17134.0 or later.
Make sure Alexa App is available for download from Google Play and the App Store in your region.
- Complete the smart speaker registration steps by following the on-screen instructions.
Enabling the skill
The skill is installed only in the Alexa App .
- Start the application. Open the menu in the upper-left corner.
-42381f48d0ce4cdf4ec05aa493590caf.png)
- Open Smart Home .
-f37d1c2e8e3651ee373e711c4c84e906.png)
- Click YOUR SMART HOME SKILLS to view all installed smart home skills.
-4def55423d8919a9cc750f2c0461e58c.png)
- Click ENABLE SMART HOME SKILLS to add a new skill.
-8efd355524c37de1490d4fdf834988f6.png)
- In the search field, enter iRidi to find the iRidium skill, then select it.
-399c4bcdc77f404a7726f99a2cccecfe.png)
- Read about the skill, then click ENABLE .
-2a0d7a6c82f9f9f9f21a687d9bfc1e53.png)
- The sign-up form on the iRidium mobile website opens. Enter the end user's account credentials and click Login .

- From the drop-down list, select the object Alexa will work with. Click Grant access .

- Alexa has successfully connected to the iRidi object.

Importing devices from iRidi cloud
- Select DISCOVER DEVICES .

- The process takes no more than 20 seconds.

- Devices from the iRidi server project are automatically imported into Alexa App .
Devices are imported only if iRidi Server is running and the Alexa project has been loaded onto it.

- After changing the project, upload it to iRidi cloud and update it on iRidi Server. Then click Add Device on the Smart Home tab in Alexa App .
Testing the project
You can run the server project on the same computer used for iRidi Studio. However, upload the project only through iRidi cloud.
Say voice commands to the Amazon Echo speaker. Alexa forwards them to iRidi Server, which executes them according to the script.
You can use any Modbus TCP server emulator to test the project, such as the free Modbus PLC Simulator.
Alexa tips
You can register one Amazon Echo speaker with several iRidi objects. Voice commands are sent to all available (running) iRidi servers, which can cause control conflicts. Remember to remove inactive or test Alexa projects from iRidi cloud.
- You can change the temperature units (Celsius or Fahrenheit) in the regional settings in Alexa App.