Published

- 1 min read

- 563

Build a IoT Dashboard with Next js

img of Build a IoT Dashboard with Next js

πŸ’» IoT Dashboard Weather Station

πŸ€– Introduction

This project aims to develop a versatile IoT dashboard capable of handling sensor data in real-time. Using technologies like Next.js, TypeScript, Tailwind CSS, Shadcn, Supabase, and Thingsboard, we’re building a robust platform for monitoring and managing IoT devices.

βš™οΈ Tech Stack

  • πŸ’Ž Next.js
  • πŸ’Ž Supabase
  • πŸ’Ž Typescript
  • πŸ’Ž Tailwind
  • πŸ’Ž Shadcn
  • πŸ’Ž Thingsboard.
  • πŸ’Ž Spline

πŸ”‹ Features

  • πŸ‘‰ User authentication using Supabase for secure access control.
  • πŸ‘‰ Real-time display of sensor values on the homepage.
  • πŸ‘‰ 3D visualization of device operations for enhanced user experience.
  • πŸ‘‰ Configuration section for managing device connections.
  • πŸ‘‰ Fully responsive design for seamless access across devices.
  • πŸ‘‰ Integration of Wokwi for simulating IoT ESP32 sensors.
  • πŸ‘‰ Deployment on Vercel for easy accessibility.

πŸ’» Youtube tutorial

See tutorial video:

🀸 Quick Start

Follow these steps to set up the project locally on your machine.

Prerequisites

Make sure you have the following installed on your machine:

Cloning the Repository

   git clone https://github.com/rch-goldsnaker/weather-app
cd weather - app

Installation

Install the project dependencies using npm:

   npm install

Set Up Environment Variables

Create a new file named .env.local in the root of your project and add the following content:

   # THINGSBOARD
TB_API_URL =
  TB_USERNAME =
  TB_PASSWORD =
  NEXT_PUBLIC_TB_WS_URL =

# SUPABASE
NEXT_PUBLIC_SUPABASE_URL =
  NEXT_PUBLIC_SUPABASE_ANON_KEY =

Running the Project

   npm run dev

OpenΒ http://localhost:3000Β in your browser to view the project.

πŸš€ Deploy

See OnlineΒ here

⌨️ Repository

See repository