- iRidi Studio 2019
- Important interface and server settings
Panel Project and server project settings in iRidi Studio
Parameters affecting the state of a Panel Project and server project at startup and during operation.
A Panel Project is a graphic interface supported by logic tools for smart-home control.
A server project has no graphic part: it contains scripts, logic tools, or a list of equipment to work with.
Panel Project settings
Panel Project settings include the main parameters for displaying, starting, and controlling the project.
Opening the settings window
To open settings, use any of the following methods:
- Right-click the project name tab in iRidi Studio and select Settings.
- Open the sidebar for managing project pages and popup windows (Project) and click the gear icon at the upper right.
- Click the gear icon on the iRidi Studio control toolbar.
Settings categories
In the Panel Project settings window, you can specify:
- general project parameters (for example, screen resolution),
- functions to perform at application startup (opening windows, pages, and so on),
- settings for the screensaver,
- protect the project with passwords,
- configure project debugging or specify information about the customer and project.
General

-
Project page resolution. Changing the resolution lets you scale the visualization interface . If you plan to scale for different devices, start development at the largest resolution to preserve raster image quality. When starting scaling, choose whether items and windows retain their original size or resize proportionally to the page.
-
Scaling method. Determines how the interface is stretched when run on a phone or tablet whose resolution differs from the interface resolution. For example, different aspect ratios produce black bands at the screen edges with "No" or "Proportionally", while "Stretch" can distort the interface's proportions as it fills the screen.
-
Unused area color. Sets the color, transparency, and saturation of bands caused by differences between screen and project interface resolutions (with "No" or "Proportionally" scaling). This lets you match the bands to the interface color.
Start

- Start page and popups. Select the page and set of popups to open when the interface starts. Popups open in the order added to the list; the result is shown in the preview.
- Application behavior :
- Sound on - controls playback of all sounds in the project.
- Remember the state of project tokens - stores data needed at the next application launch in project tokens (passwords and user routines); select this checkbox. Otherwise, project tokens return to their initial state at every startup.
- Multiscreen - display the i3 Pro window on 2 or more monitors. Specify the combined screen resolution (for example, Custom 3840x1080 for 2 Full HD screens).
- (Android) Navigation buttons - show the Android device's software keys above the visualization. Important for tablets and phones without physical OS navigation buttons.
- (iOS) Hide Home indicator - hide the "Home" button on the iOS device screen.
- (Windows and OS X) Show cursor - show or hide the cursor within the window.
- (Windows and OS X) Show status bar - open the window in full-screen mode without hiding the taskbar (does not work with "Show frame of the app window").
- (Windows and OS X) Fullscreen mode - open in full-screen mode.
- (Windows and OS X) Always on top - display above all windows.
- (Windows and OS X) Show frame of the app window - display with or without a window frame.
- (Windows and OS X) Location of the app window - open at a specific screen position (by coordinates).
Screensaver

If the phone or tablet screen is not touched for some time, a screensaver page can appear or a script can run. A screensaver is always a Page. Use "Show previous page" to return to the previously open page; place a button with this command on the screensaver page. The script is a JS function with no input parameters that can run when i3 pro detects the specified idle period.
Settings:
- Show screensaver - enable the screensaver;
- Delay - the time in seconds after which the screensaver activates if the project is left untouched;
- Show page - the screensaver opens the specified page;
- Landscape screensaver - select a landscape page for the screensaver;
- Portrait screensaver - select a portrait page for the screensaver;
- Start script - run a script function when the screensaver activates.
Passwords

-
Set of system passwords.
Each of the 4 system passwords can be used on Buttons in the visualization interface. A button will not execute its assigned commands (PROGRAMMING) until the password is entered. Select which password to request in the button settings. This implements multilevel access to project functions. -
Access to project editing.
Create a password to request when someone attempts to edit the project. This protects the project from editing by unauthorized users who do not have the password. -
Create executable file.
An iRidi project (.irpz, .sirpz) can be saved in a protected format that prevents third parties from modifying the project or accessing its settings and resources (icons, sounds, images, and equipment channels). A protected project (.pirpz, '.psirpz) cannot be opened in Studio, but can be uploaded to a control panel, where the application automatically unpacks and runs the interface.
- Encoding a project is irreversible. A file saved as *.pirpz cannot be converted back to *.irpz or edited. It can only be uploaded to a control panel. The encoded project is saved alongside the original; only the original project can be edited.
Debug

- When i3 pro runs on a phone or tablet, its log cannot be viewed as on a PC (in the F4 window). A mobile device log can, however, be sent to your PC using SMTP. Install a suitable SMTP server on the PC and specify its address in the interface settings.
- Set the required logging level to obtain the log. It determines how much information and which information is logged, from EMERGENCY (emergency conditions) to DEBUG (detailed information). For more information on debugging projects, see here.
Information

In the interface information, enter the customer's address and phone number, order number, and interface description. They may be useful later!
Server project settings
Opening the settings window
To open settings, use any of the following methods:
- Right-click the project name tab in iRidi Studio and select Settings.
- Click the gear icon on the iRidi Studio control toolbar.
Settings categories
In the iRidi Server project settings window, you can specify:
- settings and the server connection method, coordinates (for the astronomical timer),
- configure project log verbosity
- specify information about the customer and project.
Settings

-
Settings - how i3 pro connects to iRidi Server: by IP address, or through an intermediate server (Cloud Gate) when remote server access is required:
- Type: Direct connection - i3 pro connects directly to the server by its IP address. In the server settings, specify the server's OWN IP address, connection port (30464), and, if required, the connection username and password that must be entered in i3 pro to connect to the server. Debug level determines log detail; "Debug" provides the most detailed information.
- Type: Remote cloud control - i3 pro connects to iRidi Server through the intermediate Cloud Gate server, which provides Internet connectivity without configuring the automation site's router. How do I configure Cloud Gate?
-
Location - latitude and longitude of the server location, for configuring the schedule astronomical timer.
Debug

-
When the server runs on a hardware platform, its log cannot be viewed as in the PC console. You can forward it to a PC over SMTP. Install a suitable SMTP server on the PC and specify its address in the interface settings.
-
Set the required log verbosity. It determines the amount and type of information logged, from EMERGENCY (emergencies) to DEBUG (detailed information). Further information on project debugging is described here.
-
You can also set different log verbosity levels for individual server project components (core, database, script and web server). If a component's level exceeds the general level (step 2), the general level takes the highest individual component level.
Information

Enter the customer's address and phone number, order number and content description in the project information. They may be useful later!