Preface


The Honeywell Optimizer Suite is a next-generation range of controllers and software for Building Management Systems (BMS) designed to offer convenient, compatible, and highly cybersecure solutions for modern and legacy buildings. It enables easy, cost-effective upgrades to IP-based control without requiring a complete system overhaul.


Based on Niagara Framework®, it provides an open, flesible and cybersecure solution for modernizing building automation. and also integrate protocols such as BACnet and Modbus, as well as IoT and cloud services.


Milesight offers multi-potential sensing products to capture the most meaningful data and makes it accessible across diverse applications. Milesight product are widely used in facility management, energy management, people comfort and occupancy&people counting in smart buildings.


In this guide, Milesight develop the driver to integrate Milesight LoRaWAN gateways and sensors to Honeywell optimizer suite(Niagara Framework) in an efficient way. it's This is also a sign of our in-depth cooperation with TOP BMS palyers.


Prerequisites

  • Honeywell:

    • Honeywell Optimizer Supervisor or Optimizer Unatary controller.
    • version is from N4.10 and above.
  • Milesight:

    • Milesight LoRaWAN Gateway UG65/UG67, firmware version: 60.0.0.46-r2 or above.
    • If You gateway is Milesight UG56,firmware version: 56.0.0.46-r2 or above.
    • Milesight LoRaWAN sensors, in this example, EM400-MUD will be used.
    • Milesight BACnet driver package: v1.0.1.9


Milesight BACnet driver is license free, it's a value-added tool of Milesight LoRaWAN gateways and sensors to integrate to Honeywell Optimizer. Since it's BACnet based, the datapoints saved in local database will count against the global capacity point count in the honeywell Optimizer's license.


Milesight Driver installation

Download the driver from Milesight website->resources->"Software&Firmware"page, unzip it, then copy "milesightBacnet-rt.jar" and "milesightBacnet-wb.jar" to Honeywell WEBStation N4's "modules" folder:




Open Honeywell WEBStation N4 to load the driver,then the driver is installed successfully:


Manage Milesight gateway in Honeywell WEBStation N4

In this part, we will guide you how to create the station, load the driver network, add milesight gateway in different ways, and how to manage it.

Create new station(ignore if not needed)

Navigate to Tools -> New Station, to open the Wizard to create it step by step:

Input the station's name, click next:


set the Password for the station to login later.

You will need enable the option "copy it to secure platform for "localhost" with Station Copier", then click Finish, after the station is started well, let's login the station


load Milesight BACnet driver and create Milesight Network

Search Milesight driver in "Palatte", input Milesight in the Filter field.

Choose MilesightBacnet and click OK

You will find Milesight Driver in the Palette, drag the driver to the right place, and rename it if needed.

Change the object id to your own, press Save button to see the status become {OK}

Open config->drivers->demo-milesightnetwork->Bacnet Comm->network

Change the adapter to ethernet and the ip you set, then routing enable to st to be True, then save it.

Then milesight bancet network is ready.


Note: Since Milesight BACnet driver is based on BACnet progocol, and the Honeywell WEBStation N4 just allow one BACnet protocols running here,

So you can choose to add Milesight Gateway and sensors to the existing BACnet network, or just choose to use Milesight Network directly.

And make sure the gateway is power on with network access.


Add Milesight Gateway by Discovery

If Milesight Gateway and the Niagara controller or Supervisor are in the same LAN, we can click Discover to add it.

The Driver will search the BACnet devices and list them here after several seconds.

Drag the right gateway device to local Database, a pop window will appear to input the gateway's name and API information.

  • Name: Input the name of the gateway as your wish.
  • Type: Keep the default value "Milesight Gateway Device"
  • Device ID: The BACnet device ID, just keep the value.

the other BACnet settings can be kept as well.

  • URL: The gateway's http access, in this example
  • Username: the Username to login web interface, it's the same as account admin, if you prefer a saperate account to manage the API connection, you can create the account in Gateway's web -> System -> User Management -> HTTP API Account page.
  • Password: The password of Account admin.

Click OK to save it. The gateway's status will be OK shortly.

The driver will login gateway's API and finish the sync of decoder and gateway settings information automatically.


Manage Milesight end devices in Honeywell WEBStation N4

Create Milesight end devices manually

Navigate to Sub Devices, we can create the LoRaWAN sensors and Controllers here.

A pop-up window will appear for you to input the basic information

  • Name: Input the name as your wish, in this exmaple: EM400-MUD is used
  • DevEUI: The device EUI of the sensor, You can find it in the back label of the device
  • Payload Codec: The payload codec for this device, it will match the DevEUI automatically. You can choose the best option.
  • Description: input any description as your wish.
  • Application Key: Input the application key, the default one is:
    5572404c696e6b4c6f52613230313823
  • Timeout: The time out value to define the online/offline status of the sensor when no uplink data after this period.

Ps: If Application key is empty, it means to load the default one.

Hit Ok to save it, it will be downloaded to the gateway through API automatically.

You can also click 'Upload' button to refresh the sensor's join status.


Add data points of Milesight end devices

Milesight LoRaWAN sensors and controllers support multipie data points, they are mapped to BACnet object automatically inside the gateway already.

in this step, we will discover them and load it.

Click Discover in the Sub Devices EM400-MUD we created just now.

The Data points will be listed immediately with the full details.

Pickup the needed data object, drag it to local database, Hit Ok to save it.

Power on the sensor, and wait for several miutes. then the new data will be updated correctly.

Then you can build your own application or dashboard using the object values here.


Note: The new data points added will count against the global capacity point count in the license


FAQ

Q1: Is there any license fee for Milesight BACnet driver?

A1: Milesight BACnet driver is license free, since it's a value-added tool of Milesight LoRaWAN gateways and sensors to integrate to Niagara Framework BMS. But since it's BACnet based, the datapoints saved in local database will count against the global capacity point count in the Niagara's license.

Q2: Do you have the develop team to maintant the driver?

A2: Yes, Milesight R&D team has passed the Tridium's develop program, we can handle it.

Q3: Does Milesight BACnet driver supports 3rd party sensor?

A3: Our goal is to integrate Milesight's products in a better way, for 3rd sensors, it's possible technically. You will need to prepare the decoder archive. More details please contact Milesight support team.

Q4: If Milesight launch a new LoRaWAN sensor do I need to upgrade the driver?

A4: No need, you will just need to click Upgrade Online in Payload codec, it will trigger the gateway to update the decoder and upload it to the driver automatically.

Q5: Are there any full guides about how to manage the gateway and sensors?

A5: Yes, you can refer to this complete guide regard to Niagara-Milesight Integration Guide.

-END-