How to Install Thingsboard on Windows 10

Thingsboard is a powerful open-source IoT platform for devices, data collection, processing, and visualization. In this tutorial, we will guide you through the process of installing Thingsboard on a Windows 10 operating system.

Prerequisites

To install Thingsboard on Windows 10, you need to have the following:

Step 1: Download Thingsboard Package

The first step is to download the Thingsboard package from the official website. To do this, follow these steps:

  1. Go to the Thingsboard website at https://thingsboard.io/.
  2. Click the "Download" button on the top right corner of the screen.
  3. Under the "Community Edition" section, select the package that suits your operating system. In this case, choose the "Windows (ZIP)" package.
  4. Once downloaded, extract the package to your preferred location.

Step 2: Install PostgreSQL

Before installing Thingsboard, you need to have PostgreSQL installed on your system. Here are the steps to install PostgreSQL:

  1. Go to the PostgreSQL download page: https://www.postgresql.org/download/windows/
  2. Download the installation package for the version of PostgreSQL that you require.
  3. Run the installation file and follow the prompts to install the PostgreSQL database.

Step 3: Configure PostgreSQL

After installing PostgreSQL, you need to configure it to work with Thingsboard. Here are the steps to configure PostgreSQL:

  1. Open pgAdmin, the graphical client for PostgreSQL.
  2. Create a new database by right-clicking on the "Databases" node and selecting "New Database".
  3. In the "New Database" window, give your database a name and set the owner to the "postgres" user.
  4. Click "Save" to create the new database.
  5. Right-click on the new database and select "Properties".
  6. In the "Properties" window, select the "Security" tab and set the "Password" field to your desired password.

Step 4: Configure Thingsboard

Now that PostgreSQL is properly configured, you need to configure Thingsboard to use it. Here are the steps to configure Thingsboard:

  1. Open the Thingsboard directory that you extracted in step 1.
  2. Navigate to the "conf" directory and open the "thingsboard.yml" file in a text editor.
  3. Find the "datasource" section and uncomment the following lines:
datasource:
  url: jdbc:postgresql://localhost:5432/thingsboard
  username: postgres
  password: YOUR_PASSWORD_HERE
  ...
  1. Replace "YOUR_PASSWORD_HERE" with the password you set for the "postgres" user in step 3.
  2. Save the changes to the "thingsboard.yml" file.

Step 5: Start Thingsboard

After configuring Thingsboard, you are ready to start it. Here are the steps to start Thingsboard:

  1. Open a command prompt and navigate to the Thingsboard directory.
  2. Run the following command to start Thingsboard:
.\bin\thingsboard.bat start
  1. Thingsboard should now be running, and you can access it by navigating to http://localhost:8080 in your web browser.

Congratulations! You have successfully installed Thingsboard on your Windows 10 operating system.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!