a set of tools for creating visualization interfaces
The driver is meant to control Lutron equipment. To understand the driver, use the project example:
iRidium for Lutron is a set of tools to create an interface to control Smart home or office on the basis of Lutron equipement. It realizes commands of Lutron protocol.
Control panels (iOS, Android, Windows, Mac) can control Lutron equipment only via Homeworks QS processor.
If you can't import a device, add Lutron driver to the project from iRidium database:
Adding Lutron driver
Indicate the controller address in iRidium project otherwise it will not work.
When a driver is added to a project with the help of import or manually, indicate 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 feedbacks, set values in channel or tag fields. The list of fields is changed depending on the value of Command field. At the moment the driver supports the following types of commands and tags: DEVICE, OUTPUT, SHADEGRP, HVAC, AREA.
enables control of the device inputs such as buttons and dry contacts
Enables control of outputs, such as dimmer outputs and dry contacts.
Enables control of shades
enables control of HVAC equipment
enables control of zones