We now have a Niagara driver (SeventyFiveF) that provides two-way integration between Niagara stations and our API. That means:
- We can pull points from a 75F site into a Niagara station.
- The station can write to 75F setpoints and tuners.
- Non-75F points can be modeled in Facilisight by creating them in Site Manager and writing to them from the station.
An integrator looking to use the SeventyFiveF driver needs to complete a few steps with 75F before they integrate their first station:
- Get authorized as an API user (with a username, password, and subscription key).
- Get added as a Facilisight user on the site(s) they would like to access.
From there, setting up communications with a site requires only a few steps in the station.
Add a SeventyFiveFNetwork
In our driver, a SeventyFiveFNetwork represents a single API user. This user can connect to multiple sites in one station if they have access to them.
When a SeventyFiveFNetwork is added to a station, its initial status will be {down} because it is missing required API user info. The user needs to set the following slots:
- Credentials: API Username and Password
- Api Subscription Key: subscription key matching the Credentials
Once all these slots are set, the SeventyFiveFNetwork will attempt a ping to test connectivity.
If the user info is correct and the station is connected to the internet, the ping will succeed and the status will change to {ok} or {unackedAlarm}:
Find Your Site's Site ID
To discover a 75F site using the driver, you first need to find the site's ID. Here's one way to do this in Facilisight:
- Login to Facilisight and open up the site you want to integrate.
- Navigate to Site Explorer (click the icon on the top-left corner to open up the menu).
- Click on the Tags column for any point on your site.
- This will open a pop-up that shows the point's tags. Every point will have a siteRef tag. Copy it, either by the familiar CTRL-C, or by clicking the orange icon on the right:
Add SeventyFiveFSites
SeventyFiveFSite is the component at the device layer of the driver. It does, in fact, model a site.
Once you have your Site ID copied, add a SeventyFiveFSite from the palette and place it under the SeventyFiveFNetwork. Here are the rules for adding sites:
- They must be added directly underneath the parent SeventyFiveFNetwork.
- Multiple sites can be added under one SeventyFiveFNetwork, as long as the API User has access to all of them.
Once a SeventyFiveFSite is added, only one slot needs to be changed: the Site Id. Paste your site ID there.
Once the Site Id is set, the SeventyFiveFSite will attempt a ping. If the Site Id matches a site the user has Facilisight access to, the status will change to {ok} or {unackedAlarm}:
Once these components are set up and displaying as {ok} or {unackedAlarm}, you're all set to begin discovering points.
Comments
0 comments
Please sign in to leave a comment.