Эта страница является
переводом страницы
Using modules. Перевод выполнен на 100%.
Using i3 lite Modules
The rich library of i3 lite modules can be used in iRidium studio starting with 1.2.11 version. This function is realized with the help of a tool to install modules in iRidium studio.
i3 lite module is a set of typical subdevices that include several widgets, tags and actions. In fact, each subdevice is a set of functions realizing control of a physical device via a protocol (KNX, HDL, TCP, HTTP, Modbus RTU, etc.)ю
Here is an example of a widget for HDL dimmer:
Using i3 lite Module Install Tool
You can select any i3 lite module and integrate it in i3 pro panel project.
1 Create a panel project.
We do not recommend experimenting with your working projects, please, make a copy of your project.
2 Click Add Module button.
3 A warning message appears. Click Yes to continue.
4 i3 lite module install tool starts where you can add devices. Go to the Devices tab.
5 Click «+». A scanner can be used to search and set some devices automatically (for example, HDL or KNX). Select Use Scanner (Devices must be connected to the PC via a gateway).
Manual adding and setting can be used in all cases (Manually from store).
6 Find a required module in iRidium store and add it to a proect with the help of Add button.
7 Read the module description and continue adding (Add button).
8 Set the module according to your task (each module has a unique set of settings, use the module manual to configure it correctly). Click the Add button.
9 The added module appears in the list. Click Back to go to the main menu.
10 Click Save & Close project.
11 The modules must appear in the project tree of iRidium studio (in Projects Overview).
Working with Modules
Each subdevice consists of:
Widgets
Widget is a graphic item that can be displayed on a control panel as a popup.
Widgets can be displayed with the help of Show Popup and Toggle Popup macros and can be hidden with the help of Hide Popup. Add a button or other items to assign macros to them.
It is convenient to display widgets on the Static list. Add a list and select widgets as popups.
You can also replace i3 lite widgets with i3 pro graphic items, if you use tags and actions.
Tags
Tags are variables that store the current state of a subdevice.
Use Drag&Drop to assign tags to graphic items.
Actions
Actions are device funstionc that are set beorehand that can be launched.
Drag&Drop an action on a graphic item and a setting window appears.
- Module – module name
- Subdevice – subdevice name
- Action - an action
- Param – parameter value that is sent to an action (for example, light brightness for SetBrightness action). Leave an empty field for actions without parameters.
Limitations in Using Modules
- i3 lite modules can't be added to a server project.
- After modules are added to i3 pro project, their contents, order and names can't be changed. It can only be changed in the tool to install modules. To do to, click Add Module button and edit modules in i3 lite environment, then click Save & Close project button and Reload. After it modules are updated in iRidium studio.
- There is no widget preview function in iRidium studio. Widgets can be seen only after launching i3 pro app.
- There is no capability to control widget display, addressing tags or calling actions with the help of JavaScript. You can't work with these objects like with tokens either.