IoT PaaS Demo
We recommend to use Thingsboard Live Demo for the seamless experience and the newest features from the latest source code!
Save time on the installation and configuration with several pre-provisioned devices, dashboards available in the cloud and pre-integrated email server to create new customer accounts and users.
This guide describes how to install Thingsboard on a Windows machine. Instructions below are provided for Windows 10/8.1/8/7 32-bit/64-bit.
To run Thingsboard and third-party components on a single machine you will need at least 2Gb of RAM (4Gb recommended).
Thingsboard service is running on Java 8. If you don’t have Java installed, please download and install Java 8 using this link.
Thingsboard service requires Cassandra database. Instructions listed below will help you to install Cassandra.
Unzip installation archive to the working directory. The working directory should look like this after installation:
Run install.bat script to install Thingsboard as a Windows service. This means it will be automatically started on system startup. Similar, uninstall.bat will remove Thingsboard from Windows services.
NOTE Scripts listed above should be executed using Administrator Role.
C:\thingsboard>install.bat Detecting if it is 32 bit machine CurrentVersion 1.8 Java 1.8 found! Installing thingsboard ... 2017-01-31 02:26:50,704 INFO - Starting ServiceWrapper in the CLI mode 2017-01-31 02:26:50,907 INFO - Completed. Exit code is 0 DONE.
Congratulations! Thingsboard application is now installed on your Windows machine as a service.
Once Cassandra and Thingsboard services are installed, open “Cassandra CQL Shell” and execute following scripts:
cqlsh> source 'c:\thingsboard\data\schema.cql'; cqlsh> source 'c:\thingsboard\data\system-data.cql'; cqlsh> source 'c:\thingsboard\data\demo-data.cql';
Now let’s start the Thingsboard service! Open command prompt as an Administrator and execute following command:
net start thingsboard
The Thingsboard Server Application service is starting. The Thingsboard Server Application service was started successfully.
In order to restart the Thingsboard service you can execute following commands:
net stop thingsboard net start thingsboard
Once started, you will be able to open Web UI using following link:
NOTE: Please allow up to 90 seconds for the Web UI to start
The log files are located in logs folder (“C:\thingsboard\logs” in our case).
The thingsboard.log file should contain following line:
YYYY-MM-DD HH:mm:ss,sss [main] INFO o.t.s.ThingsboardServerApplication - Started ThingsboardServerApplication in x.xxx seconds (JVM running for x.xxx)
In order to have external access to Thingsboard Web UI and device connectivity (HTTP, MQTT, CoAP) you need to create a new inbound rule with Windows Firewall with Advanced Security.