suppliers:hvac.io:vigilia:installation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
suppliers:hvac.io:vigilia:installation [2020/09/23 18:50] – old revision restored (2020/09/13 13:04) 92.220.10.100 | suppliers:hvac.io:vigilia:installation [2020/10/04 01:52] – old revision restored (2020/10/02 09:00) 173.249.2.13 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Installation ====== | + | ====== |
- | For self-hosted version only. To use the HVAC.IO servers instead, [[https:// | + | //**For self-hosted version only.** To use the HVAC.IO servers instead, [[https:// |
The installation is separated in 3 main components: | The installation is separated in 3 main components: | ||
Line 14: | Line 14: | ||
Once this is done, you might want to take a look at [[#Adding Vigilia as a Service]] | Once this is done, you might want to take a look at [[#Adding Vigilia as a Service]] | ||
===== Database ===== | ===== Database ===== | ||
- | For the time being, Vigilia only supports [[http://www.tokutek.com/tokumx-for-mongodb/|TokuMX]]. | + | For the time being, Vigilia only supports [[https://www.percona.com/software/ |
It is a fork of MongoDB, which features mind boggling increase in performance and reduction in the database size. | It is a fork of MongoDB, which features mind boggling increase in performance and reduction in the database size. | ||
(The choice was not made lightly; we tried many databases before settling with this one.) | (The choice was not made lightly; we tried many databases before settling with this one.) | ||
Line 26: | Line 26: | ||
Download and install by following the instructions on this [[https:// | Download and install by following the instructions on this [[https:// | ||
+ | |||
+ | Once the database is installed, make sure everything works as intended by running the command | ||
+ | **mongo** in the shell. | ||
+ | |||
+ | The command should be recognized AND it should connect successfully. | ||
+ | |||
+ | {{: | ||
===== Vigilia Server ===== | ===== Vigilia Server ===== | ||
Line 55: | Line 62: | ||
< | < | ||
- | (where <port number> is the port you want to use.) | + | (where <port number> is the port you want to use. If you don't know which one to take, use 47900.) |
After a few seconds, the server should be up and running. | After a few seconds, the server should be up and running. | ||
Line 62: | Line 69: | ||
- | Obviously, if you want the application to start automatically when your server boot up, you should make sure to [[#Adding Vigilia as a Service|create a service]], or configure your web server (like Tomcat) to use vigilia-server.jar. | + | If you want the application to start automatically when your server boot up, you should make sure to [[#Adding Vigilia as a Service|create a service]], or configure your web server (like Tomcat) to use vigilia-server.jar. |
===== Loggers ===== | ===== Loggers ===== | ||
- | Wacnet... | + | Loggers are software able to scan a BACnet network and send the data back to a Vigilia server. |
+ | |||
+ | The only publicly available logger is Wacnet | ||
+ | |||
+ | To start logging a network, **begin by running Wacnet**. | ||
+ | Then go and configure a few things in the **[[http:// | ||
+ | |||
+ | ==== Step 1: Connect to a Vigilia server ==== | ||
+ | |||
+ | The first thing to configure is a Vigilia API URL. This will tell Wacnet where it should send its data. | ||
+ | |||
+ | It should have the following form: | ||
+ | |||
+ | < | ||
+ | http://< | ||
+ | </ | ||
+ | |||
+ | |||
+ | Make sure Wacnet can see the provided URL! | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {{: | ||
+ | |||
+ | ==== Step 2: Project credentials ==== | ||
+ | |||
+ | You have to provide a **project ID** and a **logging key/ | ||
+ | Both are available through the project configurations on the Vigilia server. | ||
+ | |||
+ | Here's an example : | ||
+ | * Project-id : 5371147be4b0222b740851a2 | ||
+ | * Logging key: asdi34h5ha | ||
+ | |||
+ | Make sure Wacnet has access to the project : | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | ==== Start Logging ==== | ||
+ | |||
+ | When Wacnet starts, it searches for Vigilia configurations. If it finds some, **it will start logging automatically**. | ||
+ | |||
+ | To start the logging without restarting Wacnet, expand the details part of the page and click on " | ||
+ | {{: | ||
===== Adding Vigilia as a Service ===== | ===== Adding Vigilia as a Service ===== |
suppliers/hvac.io/vigilia/installation.txt · Last modified: 2020/10/04 01:53 by 173.249.2.13