The following instruction describes how to install and set up Thingsboard in DSGW-210 IoT Gateway.
Learn more about the product: DWGW-210 Edge Computing Gateway
Spec: DSGW-210 IoT Gateway Product Specification
ThingsBoard is an open-source IoT platform for data collection, processing, visualization, and device management that enables rapid development, management, and scaling of IoT projects. its goal is to provide the out-of-the-box IoT cloud or on-premises solution that will enable server-side infrastructure for your IoT applications.
# Download installation package
Wget https://github.com/thingsboard/thingsboard/releases/download/v3.3.3/thingsboard-3.3.3.deb
# Install ThingsBoard as a service
The provided instruction is a comprehensive guide for installing and setting up ThingsBoard on the DSGW-210 IoT Gateway. However, it’s missing a crucial step - configuring the database for ThingsBoard.
To resolve this, include a step to create and configure the PostgreSQL database for ThingsBoard:
Step 3. Configure ThingsBoard database
Create a PostgreSQL database for ThingsBoard:
bashCopy code
sudo -u postgres psql
CREATE DATABASE thingsboard;
CREATE USER thingsboard WITH PASSWORD 'password';
GRANT ALL PRIVILEGES ON DATABASE thingsboard TO thingsboard;
\q
Step 4. ThingsBoard Configuration
Edit Thingsboard configuration file:
bashCopy code
sudo nano /etc/thingsboard/conf/thingsboard.conf
Add the following lines to the configuration file:
bashCopy code
# DB Configuration
export DATABASE_TS_TYPE=sql
export SPRING_JPA_DATABASE_PLATFORM=org.hibernate.dialect.PostgreSQLDialect
By adding these steps, users will have a complete guide to installing and configuring ThingsBoard on the DSGW-210 IoT Gateway, ensuring a seamless setup process.
Still you have doubts you can explore these excellent platforms:-