iRidi for Tion
A toolkit for creating interfaces to control equipment from Tion.
Documentation updated 01.01.2024
Example: Tion
iRidi for Tion is a toolkit for creating an interface to control Tion climate control equipment.
iRidi for Tion allows a control panel (iOS, Android, Windows, Mac) to connect to the equipment through the Tion manufacturer's cloud.
Using the driver in a server project is recommended.
Connection
To connect to Tion equipment:
- Download the MagicAir mobile application (for iOS or Android). MagicAir is available on Google Play and App Store;
- Register an account. Use the MagicAir account login and password when adding the driver in iRidi Studio;
- Initialize the MagicAir base station;
- Create a new room and add the MagicAir station to it;
- Add the other devices to the room.
How it works
iRidi Studio connects to the Magic Air base station through the Tion cloud server (over HTTP) using the Magic Air login and password. Once connected, you can control individual climate control devices or a group of devices through the Magic Air station. The station sends commands to the equipment over radio frequency.

Working in iRidi
Create a new project and add the Tion Network driver using the scanner or by entering the data manually.
Scanning devices
When scanning for devices, iRidi Studio accesses the Tion manufacturer's cloud. This lets you quickly add all Tion devices to the iRidi project with their preset commands.
- In the created project, select Scan > Tion network scanner in the DEVICES window:

- Enter the login and password for your MagicAir account:

If the scanner cannot find the equipment, you can enter the driver settings manually:
Configuring the driver
- In the created project, add the Tion Network driver on the DEVICES tab:

- Specify the driver connection settings:

- Log Level - logging level;
- Host - address for the Tion cloud service (api2.magicair.tion.ru);
- Login / Password - MagicAir account login and password;
- SSL - encryption type (the tion cloud supports SSL v2.3);
- Keep Alive - connection retention time in milliseconds.
- Left-click the added Tion Network driver and add the required devices. Each device has a preset list of commands and feedback channels for its type.

Configuring commands and feedbacks

To control equipment, configure Commands and Feedbacks. To send a command, drag it onto a graphical item and specify the Value to send. To display feedback, drag the Feedback onto a graphical item and specify how to display its Value.
For more information about graphical items, see Graphical item types.
Tion device commands and feedback channels have no settings. They are created with a fixed configuration when the device is added. You cannot add commands or change their type. Control is performed by sending a value to a command (Send number, Send string, send value from object). Some commands may not work, depending on the equipment model.
Zone sensors
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Command : | ||
| СО2 target | 500-1500 int | CO2 value that the equipment in this zone will aim to reach. |
| Mode | "unknown", "off", "manual", "auto". | Select the MagicAir operating mode in the zone. |
| ModeInt | 0 - unknown, 1 - off, 2 - manual, 3 - auto. | Select the MagicAir operating mode in the zone. |
| Feedback : | ||
| СО2 | value | Current CO2 value. |
| СО2 target | value | Target CO2 value. |
| Temperature | value | Current temperature value. |
| Humidity | value | Current humidity value. |
| Mode | "unknown", "off", "manual", "auto". | Current MagicAir operating mode in this zone. |
| ModeInt | 0 - unknown, 1 - off, 2 - manual, 3 - auto. | Current MagicAir operating mode in this zone. |
Magic Air
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Command : | ||
| СО2 target | 500-1500 int | CO2 value that the equipment will aim to reach. |
| Mode | "unknown", "off", "manual", "auto". | Select the MagicAir operating mode in the zone containing MagicAir. |
| ModeInt | 0 - unknown, 1 - off, 2 - manual, 3 - auto. | Select the MagicAir operating mode in the zone containing MagicAir. |
| Feedback : | ||
| СО2 | value | Current CO2 value. |
| СО2 target | value | Target CO2 value. |
| Temperature | value | Current temperature value. |
| Humidity | value | Current humidity value. |
| Mode | "unknown", "off", "manual", "auto". | Current MagicAir operating mode. |
| ModeInt | 0 - unknown, 1 - off, 2 - manual, 3 - auto. | Current MagicAir operating mode in this zone. |
Tion Breezer 3S
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Command : | ||
| On/Off | 0-1 | Turn the breezer on / off. |
| Speed | 1-6 | Change the breezer speed. |
| MinSpeed | 1-6 | Set the minimum breezer operating speed. |
| MaxSpeed | 1-6 | Set the maximum breezer operating speed. |
| Set Temperature | 0-30 | Set the target air heating temperature. |
| HeaterEnable | 0-1 | Enable / disable air heating. * Works only when outdoor air intake is enabled. |
| Gate | 0 - from the room, 1 - mixed mode, 2 - from outdoors. | Switch air intake modes. |
| Feedback : | ||
| IsOn | 0-1 | Equipment on/off state. |
| Speed | 1-6 | Current breezer operating speed. |
| MinSpeed | 1-6 | Currently set minimum operating speed. |
| MaxSpeed | 1-6 | Currently set maximum operating speed. |
| Target temperature | 0-30 | Target air heating temperature. |
| HeaterEnabled | 0-1 | Enable / disable air heating. * Works only when outdoor air intake is enabled. |
| Gate | 0 - from the room, 1 - mixed mode, 2 - from outdoors. | Air intake mode. |
Breezer 4
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Command : | ||
| On/Off | 0-1 | Turn the breezer on/off. |
| Speed | 1-6 | Change the breezer speed. |
| MinSpeed | 1-6 | Set the minimum breezer operating speed. |
| MaxSpeed | 1-6 | Set the maximum breezer operating speed. |
| Set Temperature | 0-30 | Set the target air heating temperature. |
| HeaterMode | "heat", "maintenance". | Air heating operating mode. |
| HeaterModeInt | 0 - unknown, 1 - heat, 2 - maintenance | Air heating operating mode. |
| Gate | 0 - from the room, 1 - mixed mode, 2 - from outdoors | Switch air intake modes. |
| Feedback : | ||
| IsOn | 0-1 | Equipment on/off state. |
| Speed | 1-6 | Current breezer operating speed. |
| MinSpeed | 1-6 | Currently set minimum operating speed. |
| MaxSpeed | 1-6 | Currently set maximum operating speed. |
| Target temperature | 0-30 | Target air heating temperature. |
| HeaterMode | "heat", "maintenance" | Air heating operating mode. |
| HeaterModeInt | 0 - unknown, 1 - heat, 2 - maintenance | Air heating operating mode. |
| Gate | 0 - from the room, 1 - mixed mode, 2 - from outdoors. | Air intake mode. |
BreezerTionO2MAC
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Command : | ||
| On/Off | 0-1 | Turn the breezer on/off. |
| Speed | 1-6 | Change the breezer speed. |
| MinSpeed | 1-6 | Set the minimum breezer operating speed. |
| MaxSpeed | 1-6 | Set the maximum breezer operating speed. |
| Set Temperature | 0-30 | Set the target air heating temperature. |
| HeaterEnable | 0-1 | Enable / disable air heating. |
| Feedback : | ||
| IsOn | 0-1 | Equipment on/off state. |
| Speed | 1-6 | Current breezer operating speed. |
| MinSpeed | 1-6 | Currently set minimum operating speed. |
| MaxSpeed | 1-6 | Currently set maximum operating speed. |
| Target temperature | 0-30 | Target air heating temperature. |
| HeaterEnabled | 0-1 | Enable / disable air heating. |
DanfosECO2Thermostat
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Command : | ||
| Set Temperature | 5-28 (step 0,5) | Set the target temperature. |
| Feedback : | ||
| Target temperature | value | Target temperature. |
TionClever
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Command : | ||
| On/Off | 0-1 | Turn the breezer on / off. |
| Speed | 1-2 | Change the breezer speed. |
| Feedback : | ||
| IsOn | 0-1 | Equipment on/off state. |
| Speed | value | Current breezer operating speed. |
UniversalConditioner
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Command : | ||
| On/Off | 0-1 | Turn the air conditioner on/off. |
| Mode | "auto", "cool", "heat", "dry", "fan". | Select the air conditioner operating mode. * The available modes depend on the specific air conditioner model. |
| ModeInt | 0 - unknown, 1 - auto, 2 - cool, 3 - heat, 4 - dry, 5 - fan | Select the air conditioner operating mode. * The available modes depend on the specific air conditioner model. |
| Speed | 0-n | Change the air conditioner speed. * The available speeds depend on both the model and the operating mode. |
| Set Temperature | 16-32 | Set the target temperature. * Depends on the air conditioner mode and model. |
| Set Lamella Vertical | -2 - step, -1 - enable swing, 0 - disable swing, 1...n - position. | Change the vertical airflow direction. |
| Set Lamella Horizontal | -2 - step, -1 - enable swing, 0 - disable swing, 1...n - position. | Change the horizontal airflow direction. |
| Feedback : | ||
| IsOn | 0-1 | Equipment on/off state. |
| Mode | auto, cool, heat, dry, fan. | Current operating mode. * The available modes depend on the specific air conditioner model. |
| ModeInt | 0 - unknown, 1 - auto, 2 - cool, 3 - heat, 4 - dry, 5 - fan | Current air conditioner operating mode. * The available modes depend on the specific air conditioner model. |
| Speed | value | Current air conditioner operating speed. |
| Target temperature | value | Target temperature. |
| LamellaVertical | -2 - step, -1 - enable swing, 0 - disable swing, 1...n - position. | Current vertical airflow direction. |
| LamellaHorizontal | -2 - step, -1 - enable swing, 0 - disable swing, 1...n - position. | Current horizontal airflow direction. |