a set of tools for creating visualization interfaces
The driver is meant to control BACnet equipment. Use a project example to have a look at it:
iRidium for BACnet is a set of tools to create an interface to control Smart home or office on the basis of BACnet equipement. It realizes commands of BACnet protocol.
Control panels (iOS, Android, Windows, Mac) can control BACnet equipment only via BACnet controller.
You can save the configuration file in xml format and import to iRIdium
1 Open StruxureWare Building Operation Workstation and authorize there.
2 Click by the right mouse button to Enterprise server in StruxureWare Building Operation. Select "Import" from the list of options
3 Create a new project in iRidium Studio. Open PROJECT DEVICE PANEL and select Import > BACnet Project(*.xml). The driver with commands and feedback will be created from your xml file.
Import > BACnet Project(*.xml)
If you can't import data from xml, add the BACnet driver to the project from iRidium database:
Adding BACnet 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.
Devices in BACnet has several important 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 a command or a feedback channel, set the following fields:
At the moment the following types of variables are supported: