a set of tools for creating visualization interfaces
The driver is meant to control ELKO EP iNels Bus System equipment. To understand the driver, use the project example:
iRidium for ELKO EP iNels is a set of tools to create an interface to control Smart home or office on the basis of ELKO EP iNels equipement. It realizes commands of ELKO EP iNels protocol.
Control panels (iOS, Android, Windows, Mac) can control ELKO EP iNels equipment only via a controller.
Adding ELKO EP iNels V3 driver
Indicate the controller address in iRidium project otherwise it will not work.
When the driver is added to the project, specify the connection settings.
You need the possibility to change connection properties when you disconnect from the Wi-Fi network of the automation object and start using 3G or another Wi-Fi network. To maintain control of the object you need to switch from the local to public IP-address of the Internet router.
The switch is not automatic. You have to select the connection mode. For remote acces you have to make ports for controlling the automation system public. In order to do that you have o set up the Port Forwarding service on your Internet router. VPN can provide protected connection.
1 Download the template (*.js) (right-click button: "Save object as ..."), add the template in the script editor with the button (+) Add Script from file
2 Set up script properties as it is shown in the example:
Copy the driver name from Projeсt Device Panel - the list of properties has to be copied from the example.
3 Select the button which will be responsible for the switch of Internal and External properties. Open Macros Editor for the Press event (Object Properties > Programming), select the Script Call command and add it by double-clicking on it. Select the name of the function which will be activated by the button:
Now each pressing on the button will apply the corresponding connection properties.
Commands and feedback channels have to be assigned to graphic items to control equipment:
To assign commands or channels to graphic items use the drag&drop method.
To send a command, drag it on a graphic item. To display feedback, drag the channel on the graphic item and indicate where to output the value (Value):
To set commands and feedback channels set value in the following fields:
At the moment the following types of variables are supported: