Tenant Billing Install / Configuration Guide v1.1: Technical Knowledge Document
Tenant Billing Install / Configuration Guide v1.1: Technical Knowledge Document
The ‘tbs-rt.jar’ file is a Niagara module and contains the Tenant Billing service itself. This will need to be
dropped into the ‘Modules’ folder of the Niagara supervisor installation.
The ‘tbs’ folder contains an index.html file that is used for pointing a NAV file. The whole ‘tbs’ folder will need
to be copied under the station Files directory.
First we will install the ‘tbs-rt.jar’ file into the Niagara supervisor modules directory. On a Windows system this
is typically located at ‘C:\Niagara\Niagara-4.x.x.x\Modules\’. Make sure you have extracted the files from
the ZIP file you downloaded and copy ‘tbs-rt.jar’ into the Niagara modules directory.
If you had Workbench open whilst copying the file, you will need to close it and reopen it in order for the new
module to be visible when we get to that step.
The next step is to copy the ‘tbs’ folder into your stations shared file directory. This is typically located at
‘C:\Niagara\Niagara-4.x.x.x\Daemon User Home\stations\yourStationName\shared\’. Copy the whole ‘tbs’
folder into this location. This can also be done within Workbench itself by locating the ‘tbs’ folder in the nav
pane and dragging it into your station files directory. Either method will work.
Once you have the Tenant Billing palette open, drag the ‘TenantBilling’ component onto the ‘Config’ node
under your station.
A complete installation should look like the above. The ‘TenantBilling’ component sitting under the Config
node and the ‘tbs’ folder sitting under the Files node. We can now move on the next step, licensing.
Provide us with the host ID and we will send back a key which you will need to paste into the ‘Key’ field, at
which point the software will be licensed for the resources you have purchased. The key will look something
like this:
5269hhac84938cab434b8jsg52f46d5d_e7b1a5c82772e0e05528jT08cb9883ef_25_1495928522172
Therefore, based on the above, I know that the URL to browse to my station in a web browser will be
http://myipaddress/
Yours may be https://myipaddress if using HTTPS which is the default on Niagara 4 systems. Or
https://myipaddress:1234 if you are using a non-standard port for the web service.
Either way, the web service property sheet in your station will be able to tell you what settings the web server is
configured with.
It is good practice to create a new, separate user that will be used to access the Tenant Billing UI, this is so that
we can set the default web profile & include a NAV file to ensure the correct page is loaded when the user logs
on.
Our demo user here has the admin role and the Default Web Profile set to ‘Default Wb Web Profile’. There is
also a nav file set that points this user to /tbs/index.html.
Please consult the Niagara 4 documentation for details on how to create users & nav files if you do not know
already. This is considered standard practice for all Niagara engineers.
You are now ready to access the Tenant Billing web interface for the first time. Browse to your station URL
using a web browser either on a PC with network access to the Niagara system, or on the Niagara system itself.
If you created a new user with a NAV file as shown in previous steps, then log in with those credentials. You
should now see the following:
If you did not set a NAV file on a user earlier, then you will need to manually specify the exact URL when
you log on.
To do this you will need to take the URL needed in order to access your station and prepend the following onto
the end of it since we are using custom HTML web pages:
file/tbs/index.html
So in the case of my test station here, the full URL will be as follows:
http://myipaddress/file/tbs/index.html
Put this URL into the address bar of a web browser of a PC on a network that can reach this Niagara system, or
do it from the Niagara system itself.
We have tested the User interface on all Major web browser including Google Chrome, Mozilla Firefox, Internet
Explorer and Apple Safari. Although we have worked to resolve any bugs present in certain versions of certain
web browsers, if you happen to notice something wrong, please contact us.
Now that the service is installed and running, we can proceed to configuring it for use as a Tenant Billing
system. We will assume that you have history present in your Niagara station already as this is a requirement.
The software has been designed in such a way as to be simple and intuitive. The main tabs along the top
work from left to right, the order in which you must configure the system. The idea behind this is to provide a
solution that is easy to configure and won’t require intensive training for both initial set up and ongoing
system growth.
The first step is to create top level buildings to which tenants/meters/contracts will be assigned, as well as
any additional user credentials should you wish individual tenants be able to view their own data, or building
managers be able to see all the Tenants associated with a building.
At this point you do not need to fill out anything in the User Access tab. If you already know who requires
access then feel free to add them now, or revisit this tab later on. Now move onto the Buildings tab.
Buildings must be set up on the system as they are used as ‘containers’ for Tenants that we will set up
shortly. Create a new building and give it a name & fill out the address. A building manager does not have to
be selected at this point but this ties in with the users you may have just created, or might create later on.
The building manager role allows a single person to view all Tenant meter data associated with that Building
and is ideal for a facilities manager type person.
2. Set Up Contracts
Move over to the Contracts tab and click the “+” button to add a new contract. Assign it to a specific building
or make it available to all buildings then give it a name. At this point you can then add any number of Fixed
Charges or Taxes before clicking on the “New Season” tab.
A contract may be split into multiple Seasons, each of which may have multiple rates set on individual
schedules. Whilst this allows for maximum flexibility, it is extremely easy to set up and the process to do so
has been designed to be intuitive as possible.
Give your first Season a name, in this example I am going to cover the whole year in a single season and
break that season down into two events, day and night. You may add many events, they do not have to
correspond with day or night as shown in my example.
Now we must set up the schedule on a per week basis that applies the events we have just created. Move
onto the Schedule tab.
Click & Drag over a period of time, one day at a time and you are able to apply any event you just created to
that time slot. Select your event and click Add. Do this for every day or the week.
After setting the rates we must save the new contract. In the bottom right there is an “Add” button.
Click this, you will be prompted to confirm, and then your new contract is added onto the system.
Ensure you enter the total utility bill into the variable charge field for this contract as follows:
You may now add/save the contract. Each tenant that has this Contract assigned to their individual meter in
the Tenants set up stage later will now be billed based on this apportionment contract.
Once the history has been linked to the meter, click the ‘add’ button and your meter will be added to the
system.
Now click on the small “Meter” tab next to General. This is where we assign contracts to meters, and then
said meters to our tenant.
On the right you see all available meters on the system. Use the dropdown next to the appropriate meter and
select the contract you wish to assign. Now you may tick the box next to that meter and this meter/contract
combination will be assigned to the tenant. Now click the “Add” button in the bottom right to save your
new tenant.
Bills will also be automatically emailed to Tenants in PDF format if the option was set. The raw PDF files may
be found under a folder within the Niagara station as well if required.
Should you make a change on the system that effects the bills and makes existing bills incorrect or
invalid, you may regenerate the bills from the Tenant area by clicking the regenerate bills button in
the bottom left of each tenants set up page.
Above you may specify SMTP server details that the system will use for sending out automatic bills. It is
important you correctly specify this information as otherwise the mail this system sends will fail most anti-
spam checks and reverse lookups, resulting in mail denied or landing in junk mail.
Note**
This software is under active development and as such new features will be implemented in
subsequent versions and this guide will be updated accordingly. Please periodically keep up to date
via our website to ensure you have the latest version of this document & accompanying software.