-
Notifications
You must be signed in to change notification settings - Fork 44
Getting started
Julien Eberle edited this page Oct 12, 2016
·
12 revisions
#1. Installing GSN You first need to install GSN. You can either install the binary distribution or the universal package or build from the source code. All methods are explained here: Download the Software
#2. How to start GSN Once GSN is installed, you can start it like this:
- If you have installed the binary package (Linux Debian), gsn automatically starts as a systemd service.
- If you have installed the universal package, use the batch file (Windows) or shell script (Linux).
- If you have downloaded the source code, use the [SBT](http://www.scala-sbt.org/ SBT) command.
#3. Loading your first virtual sensor To load a virtual sensor into GSN, you need to move its description file (.xml) into the virtual-sensors directory. This directory contains a set of samples that can be used.
You can start by loading the MultiFormatTemperatureHandler virtual sensor (virtual-sensors/samples/multiFormatSample.xml). This virtual sensor generates random values without the need of an actual physical sensor.