This section consists of the following:
You can use the SmartServer to integrate devices that support the BACnet protocol. The SmartServer can be a client that interacts with BACnet devices, or a server that maps datapoints on LON and Modbus devices for representation as BACnet objects. You can also use the SmartServer as a BACnet router to enable external BACnet clients on an IP LAN or WAN to monitor and control BACnet FT devices.
You can interface with BACnet MSTP devices using an external BACnet IP to BACnet MSTP router. The Starter Kit uses a Contemporary Controls BASRT-B, MSTP BACnet Router. This setup requires power for the Ethernet switch (5 VDC universal power supply provided with the Starter Kit) as well as an Ethernet connection for your computer configured with a fixed address on the 192.168.92.x subnet.
|Note: IP addresses 192.168.92.3 and 192.168.92.68 are used for the SmartServer and the BASRT devices in the Starter Kit. Do not use these addresses when configuring your computer.|
For a description of the SmartServer WAN/LAN network port settings required to support the Starter Kit and access through the BASRT-B router, see Configuring the Network.
Refer to the figure below for an overview of the network connections required to support access to the BASRT-B router on the 192.168.92.x subnet and to complete the necessary steps to setup the BACnet channel as described in this section.
Get started setting up the BACnet channel following the steps in the section below: Getting Started with BACnet Channel Setup.
The Viconics Thermostat, located on the lower right corner of the Starter Kit, is a BACnet MSTP device that is connected to the Contemporary Controls BASRT-B router. The following setup is necessary to add this device to the BACnet MSTP network segment:
Complete information on how to configure this device can be found in the Starter Kit archive → BACnet Channel → Viconics folder → VT7200 Series User Interface Guide (PDF). The quick-start steps are as follows:
Press and hold the Program menu select button for 8 seconds.
|Note: The steps that follow must be done without pause because the programming mode times out if no button action is detected for 10 seconds.|
The password set (PswrdSet) menu appears on the LCD display.
At this point, the Status LED will begin a pattern of two short, one long flashing lights indicating that the module is connected to the BACnet MSTP segment of the Contemporary Controls BASRT-B router. If you do not see this LED pattern, verify the network connections and the BASRT-B, and the thermostat (Yellow - , Blue , Black (C)), and the power to the BASRT-B device.
Continue setting up the BACnet channel following the steps in the section below: Verifying the BACnet MSTP Communication Path.
Your computer must be connected with the Ethernet port configured to a 192.168.92.x address.
To configure the Ethernet port on your computer, follow these steps:
Define a static address for your adapter as shown in the figure below.
|Note: Do not use the IP address 192.168.92.68 because this address is occupied by the Contemporary Controls BASRT-B router.|
Continue following the steps in the section below: Configuring the Contemporary Controls BASRT-B Router from a Browser.
At this point, the infrastructure to the BACnet MSTP device is working and ready for use with the SmartServer.
Continue setting up the BACnet channel following the steps in the next section.
You have setup the network configuration shown in this diagram. The wired connection from the computer to the 192.168.92.x subnet is no longer needed since you have established the thermostat is communicating on the MSTP segment using the BASRT-B Web configuration interface.
The steps performed in this section set up the BACnet channel on your SmartServer IoT.
The network addressing details are shown in the table below. The IP address listed for the computer is an example DHCP-assigned address — yours may be different. Review the information in the table below and confirm that your LAN network is not using the 192.168.92.x subnet. Doing so will cause problems with the static IP address configuration used for the LAN/eth0 connection.
WiFi connection to a home or corporate network. This is a DHCP-assigned IP address.
This is a wired Ethernet, statically managed IP address that uses the default subnet of the Contemporary Controls BASRT-B BACnet MSTP router.
Contemporary Controls BASRT-B
This is the factory default static IP address configured for the BASRT-B device.
The BACnet device address is set (to 8) as described in Preparing the Viconics Thermostat section.
To work with the BACnet client and server services of the SmartServer IoT, you need to enable the feature in the BACnet Configuration page. Doing so configures the BACnet communication ports and network IDs to allow BACnet communication. The steps to enable this feature are described below. With the Contemporary Controls BASRT-B configuration, it is important to note the network number (112) and the IP UDP port 1 (BAC0).
The steps that follow in this section show how the Contemporary Controls BASRT-B configuration is related to the SmartServer IoT BACnet configuration. To monitor and control devices on the MSTP-side of the Contemporary Controls BASRT-B router, your SmartServer must be on the same IP subnet (192.168.92.x) which is how we have setup the SmartServer LAN (eth0) port. This interface uses UDP port BAC0 and network 112.
|Note: In some cases, you may need to isolate the interfaces to limit discovery by other BACnet client devices; these cases are where the Isolate option comes into play.|
Configure your BACnet settings to match those shown in the figure below as they relate to the Contemporary Controls BASRT-B Configuration settings, making sure to enable the BACnet options (checkboxes) on the SmartServer BACnet Configuration page.
Continue setting up the BACnet channel following the steps in the section below: Creating BACnet Devices.
The Viconics Thermostat communicates using BACnet MSTP and depends on the Contemporary Controls BASRT-B device being connected and configured as described in the previous sections.
Before creating BACnet devices in the SmartServer IoT CMS, confirm the following:
Perform the following steps to add the Viconics thermostat to your SmartServer IoT:
Device type: VT7200-1H1C-3
|Note: The UID is determined as described in Preparing the Viconics Thermostat section. The thermostat was configured with the com address of 8. See the following documentation from the Starter Kit archive → BACnet Channel → Viconics folder → Viconics VT7200 Tstat BACnet (PDF) shown below:|
Select the Provisioning and Deprovisioning a Device action.
Within a few seconds, the Tstat-01 device fill changes from blue to green indicating that the device has be successfully provisioned.
Note: With SmartServer 2.8, the Devices widget Test feature is not supported for BACnet devices.
Continue following the steps in the section below to verify and interact with the Tsat-01 device: Interacting with the BACnet Device.
In the steps that follow, you will use the SmartServer IoT Datapoint Browser widget to verify and interact with the Tstat-01 device.
To learn about exposing additional datapoints, review the section below: Defining Additional Datapoints.
The 140_VT7200C5x00B.bac file used with the Starter Kit setup defines the driver-level interface that only exposes two datapoints. This BACnet XIF file is contained in the Viconics7200-V20.dtp archive that was imported in the process of Creating BACnet Devices.
You can use the provided Viconics integrators documentation to add more datapoints. This documentation can be found in the Starter Kit archive → BACnet Channel → Viconics folder → VT7200 Series User Interface Guide (PDF).
Before taking these next steps, verify the following: