Skip to main content

iRidi for EIDE

Tools for creating a visualization interface based on equipment using the EIDE protocol.

Documentation updated 01.01.2024

Use the sample project to explore the driver's capabilities:

Tip

download example:

Description​

iRidi for EIDE is a set of tools for creating a home or office control interface based on equipment using the EIDE protocol. It implements commands from the EIDE protocol.

Supported equipment:

  • Energy metter EM01;
  • Relay with 4 outputs R0405;
  • C02 curtain control;
  • MAC01 air conditioner;
  • RCU01 gateway (IR not supported);
  • Relay/dimmer with 6 outputs D0610-DA;
  • Relay with adjustable output current and 8 outputs R0801C;
  • 5-in-1 sensor (5ch_sensor);
  • GW01 gateway;
  • DMX512 gateway supporting the DMX512 protocol.

Connection​

To connect the driver to the equipment, you need to know the gateway's IP address or use the broadcast address (Broadcast) 224.0.0.100. You can find and configure the gateway's IP address in the native Background Editor .

EIDE13.png

Working in iRidi​

Create a new project and add the EIDE driver using the scanner or by entering data manually.

Scanning devices​

During device scanning, iRidi Studio scans the EIDE bus and adds all EIDE devices to the iRidi project with preconfigured commands and feedback channels.

In the project, select Scanner / Import > Eide network scanner in the Devices window:

EIDE9.png

Specify the IP address, port, and bus scan time (in ms):

EIDE10.png

Add the required discovered devices to the project:

EIDE15.png

Important
  • Do not use Background Editor at the same time as the scanner; they use the same port to communicate with the equipment!

  • If the scanner cannot find the equipment, you can enter the driver settings manually:

Adding the driver manually​

Add the EIDE driver to the project from the iRidi database:

  1. In the project, open the Devices side panel and use Add driver to add the EIDE driver:

EIDE4.png

  1. Left-click the added EIDE driver and add the required devices (Add subdevice). All devices are organized into folders by type.

EIDE11.png

  1. Enter additional subdevice parameters according to the settings configured using Background Editor (on Win).

Configuring connection parameters​

After adding the driver to the project, configure the connection settings:

EIDE5.png

  • Log Level is the driver logging level;
  • Host is the equipment IP address;
  • Port - connection port (default: 8642);
  • MAC - MAC address that i3Pro accepts for working with EIDE (default: 01:02:03:04:05:06:07:08);
  • Delay between initial reqests - time after which i3Pro requests values from the equipment if it could not obtain them when the application started (3 attempts are made before activating Request timeout delay);
  • Request timeout delay - interval after which i3 Pro resumes equipment polling;
  • Version - version (this parameter is always 1);
  • Local Port - local connection port (default: 8642).

Configuring subdevices​

Specify the scanned device parameters (from Background Editor) in the driver's subdevice settings:

EIDE1.png EIDE2.png

EIDE6.png

  • Name - subdevice group name;
  • MAC - subdevice group MAC address (found using the scanner in Background Editor).

EIDE7.png

  • Name - the subdevice name;
  • Driver Type is the driver type;
  • Device id - subdevice identification number within the device;
  • Device type - device type (found using Background Editor).

Command/feedback parameters:

EIDE8.png EIDE3.png

  • Name - command/feedback name;
  • Function id - function number (found using Background Editor);
  • Function type - function type (found using Background Editor);
  • Command type - command type (get forces retrieval of the function state in feedback; set sends a value).

If set is selected:

  • Value type - set automatically or found in Background Editor;
  • Min / Max - appear for certain function type settings and define the maximum and minimum values of the function (set automatically);
  • Use value channel - sends the value specified in the subitem that opens, ignoring the Value sent to the channel when it is dragged onto an item;
  • Unit - unit of measurement (set automatically).

Devices​

Each device has a predefined command and feedback list based on its type. You can add or remove the required commands and feedback channels and change their parameters.

Note
  • If your device is not listed but has the same command type (Function type), you can add it yourself using the listed devices as examples.
Sensor (5 in 1)​

Commands

SubdeviceCommandValuesDescription
Sensor_PIRGet state Someone/nobodynoneForce an update of the proximity sensor state
Sensor_TempGet state Current temperaturenoneForce an update of the temperature sensor
Sensor_LuxGet state Current illuminationnoneForce an update of the illuminance sensor
Sensor_ButGet state SwitchnoneForce an update of the dry contact state
Sensor_VolSet state Output voltage0 - 10Set the output voltage level
Sensor_VolGet state Output voltagenoneGet the output voltage level

Feedbacks

SubdeviceFeedbackValuesDescription
Sensor_PIRState Someone/nobody1 / 0Proximity sensor (1 - motion, 0 - no motion)
Sensor_TempState Current temperature-40 - 125Temperature (°C)
Sensor_LuxState Current illumination0 - 5000Illuminance (Lux)
Sensor_ButState Switch1 / 0Dry contact state (1 - pressed, 0 - not pressed)
Sensor_VolState Output voltage0 - 10Output voltage level
C02 (Curtain 2ch)​

Commands

SubdeviceCommandValuesDescription
C02_Curtain (1-2)Set state Open/Close/Stop0.Stop
1.Open
2.Close
Send a command to open/close/stop the curtains
C02_Curtain (1-2)Get state Open/Close/StopnoneForce an update of the curtain state
C02_Curtain (1-2)Set state Percentage (horizontal)0 - 100Send a command to open the curtains (in %)
C02_Curtain (1-2)Get state Percentage (horizontal)noneForce an update of the curtain opening state (in %)
C02_Curtain group 1Set state Open/Close/Sto0.Stop
1.Open
2.Close
Send a command to open/close/stop a curtain group.
C02_Curtain group 1Get state Open/Close/StopnoneForce an update of the curtain state.
C02_Curtain group 1Set state Percentage (horizontal)0 - 100Send a command to open the curtain group to the specified value (in %).
C02_Curtain group 1Get state Percentage (horizontal)noneForce an update of the curtain opening state (in %).

Feedbacks

SubdeviceFeedbackValuesDescription
C02_Curtain (1-2)State Open/Close/Stop0.Stop
1.Open
2.Close
Curtain state
C02_Curtain (1-2)State Percentage (horizontal)1 - 100Curtain opening state (%)
C02_Curtain group 1State Open/Close/Stop0.Stop
1.Open
2.Close
Curtain group state
C02_Curtain group 1State Percentage (horizontal)0 - 100Curtain group opening state
MAC01 (Air conditioning)​

Commands

SubdeviceCommandValuesDescription
MAC01_Air_ControllerSet state Switch1 / 0Turn the air conditioner on/off
MAC01_Air_ControllerGet state SwitchnoneForce retrieval of the air conditioner state (on/off)
MAC01_Air_ControllerSet state Mode1.Cooling
2.Heating
3.Auto
4.Ventilation
5.Dehumidification
Change the air conditioner mode
MAC01_Air_ControllerGet state ModenoneForce retrieval of the operating mode
MAC01_Air_ControllerSet state Wind speed1.Auto
2.High
3.Middle
4.Low
Change the fan speed
MAC01_Air_ControllerGet state Wind speednoneForce retrieval of the fan speed
MAC01_Air_ControllerSet state Target temperature16 - 30Set the room temperature (in °C)
MAC01_Air_ControllerGet state Target temperaturenoneForce retrieval of the room temperature setpoint
MAC01_Air_ControllerGet state Current temperaturenoneForce retrieval of the actual room temperature
MAC01_TemperatureGet state Current temperaturenoneForce retrieval of the current sensor temperature

Feedbacks

SubdeviceFeedbackValuesDescription
MAC01_Air_ControllerState Switch1 / 0Air conditioner state (1 - on, 0 - off)
MAC01_Air_ControllerState Mode1.Cooling
2.Heating
3.Auto
4.Ventilation
5.Dehumidification
Selected operating mode
MAC01_Air_ControllerState Wind speed1.Auto
2.High
3.Middle
4.Low
Selected fan speed
MAC01_Air_ControllerState Target temperature16 - 30Temperature setpoint
MAC01_Air_ControllerState Current temperature-55 - 125Actual temperature
MAC01_TemperatureState Current temperature-55 - 125Current sensor temperature
R0810C (Relay with current amperage 8ch)​

Commands

SubdeviceCommandValuesDescription
R0810C_Relay (1-8)Set state Switch1 / 0Turn the relay on/off
R0810C_Relay (1-8)Get state SwitchnoneForce retrieval of the relay state
R0810C_Relay (1-8)Get state Current currentnoneForce retrieval of the relay output current
R0810C_Group 1Set state Switch1 / 0Turn the relay group on/off
R0810C_Group 1Get state SwitchnoneForce retrieval of the relay group state
R0810C_Group 1Get state Current currentnoneForce retrieval of the group's output current

Feedbacks

SubdeviceFeedbackValuesDescription
R0810C_Relay (1-8)State Switch1 / 0Relay state
R0810C_Relay (1-8)State Current current0 - 25500Relay output current
R0810C_Group 1State Switch1 / 0Relay group state (1 - all on, 0 - all off)
R0810C_Group 1State Current current0 - 25500Relay group current (0 if there is no load)
R0405 (Relay 4ch)​

Commands

SubdeviceCommandValuesDescription
R0405_Relay (1-4)Set state Switch1 / 0Turn the relay on/off
R0405_Relay (1-4)Get state SwitchnoneForce retrieval of the relay state
R0405_Group 1Set state Switch1 / 0Turn the relay group on/off
R0405_Group 1Get state SwitchnoneForce retrieval of the relay group state

Feedbacks

SubdeviceFeedbackValuesDescription
R0405_Relay (1-4)State Switch1 / 0Relay state
R0405_Group 1State Switch1 / 0Relay group state
EC01/EM01 (Energy meter)​

Commands

SubdeviceCommandValuesDescription
EC01/EM01_Energy meterGet state Current currentnoneGet the current
EC01/EM01_Energy meterGet state Current voltagenoneGet the voltage
EC01/EM01_Energy meterGet state Voltage frequencynoneGet the frequency
EC01/EM01_Energy meterGet state Active powernoneGet the active power
EC01/EM01_Energy meterGet state Power usagenoneGet the power consumption

Feedbacks

SubdeviceFeedbackValuesDescription
EC01/EM01_Energy meterState Current current0 - 30000Current
EC01/EM01_Energy meterState Current voltage0 - 300Voltage
EC01/EM01_Energy meterState Voltage frequency0 - 100Frequency
EC01/EM01_Energy meterState Active powerValueActive power
EC01/EM01_Energy meterState Power usageValueEnergy consumption
RCU01 (Gateway/Relay/Dry contact/IR)​

Commands

SubdeviceCommandValuesDescription
RCU01_GateWay——Not supported
RCU01_Relay (1-18)Set state Switch1 / 0Turn the relay on/off
RCU01_Relay (1-18)Get state SwitchnoneGet the relay state
RCU_DryContact_(1-18)Get state SwitchnoneUpdate the dry contact state
RCU01_Voltage (1-12)Set state Output voltage0 - 10Set the voltage
RCU01_Voltage (1-12)Get state Output voltagenoneGet the voltage
RCU_Temperature_1Get state Current temperaturenoneUpdate the temperature
RCU_IRout_(1-2)——Not supported
AirCondition_IR(1-2)Set state Switch1 / 0Turn the air conditioner on/off
AirCondition_IR(1-2)Set state Mode1.Cooling
2.Heating
3.Auto
4.Ventilation
5.Dehumidification
Work mode
AirCondition_IR(1-2)Set state Wind speed1.Auto
2.High
3.Middle
4.Low
Fan speed
AirCondition_IR(1-2)Set state Target temperature19 - 30Temperature

Feedbacks

SubdeviceFeedbackValuesDescription
RCU01_Relay (1-18)State Switch1 / 0Relay state
RCU_DryContact_(1-18)State Switch1 / 0Dry contact state
RCU01_Voltage (1-12)State Output voltage1 - 10Voltage
RCU_Temperature_1State Current temperature-40 - 125Temperature
AirCondition_IR(1-2)State Switch1 / 0Air conditioner state
AirCondition_IR(1-2)State Mode1.Cooling
2.Heating
3.Auto
4.Ventilation
5.Dehumidification
Mode
AirCondition_IR(1-2)State Wind speed1.Auto
2.High
3.Middle
4.Low
Speed
AirCondition_IR(1-2)State Target temperature19 - 30Temperature
D0610-DA (Dimming Relay 6ch)​

Commands

SubdeviceCommandValuesDescription
D0610-DA_Dimmer (1-6)Set state Switch1 / 0Turn the relay on/off
D0610-DA_Dimmer (1-6)Set state Brightness0 - 100Brightness level
D0610-DA_Dimmer (1-6)Set state Dimming1.Start
2.Forward
3.Reverse
4.Finish
Dimming mode
D0610-DA_Group 1Set state Switch1 / 0Turn the group on/off
D0610-DA_Group 1Set state Brightness0 - 100Group brightness
D0610-DA_Group 1Set state Dimming1.Start
2.Forward
3.Reverse
4.Finish
Group dimming mode

Feedbacks

SubdeviceFeedbackValuesDescription
D0610-DA_Dimmer (1-6)State Switch1 / 0Relay state
D0610-DA_Dimmer (1-6)State Brightness0 - 100Brightness
D0610-DA_Dimmer (1-6)State Dimming1.Start
2.Forward
3.Reverse
4.Finish
Dimming type
D0610-DA_Group 1State Switch1 / 0Group state
D0610-DA_Group 1State Brightness0 - 100Group brightness
D0610-DA_Group 1State Dimming1.Start
2.Forward
3.Reverse
4.Finish
Group dimming type

Configuring commands and feedbacks​

SendRecieve.png

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.