Skip to content

Setup Installation

GiZano edited this page Jan 22, 2026 · 1 revision

Setup & Installation Guide

✅ Prerequisites

Ensure you have the following installed on your machine:

  • Java JDK 23
  • Ollama (for running the LLM)
  • Mistral:7b Model (run ollama pull mistral in your terminal)
  • ThingsBoard (Community Edition recommended)

🚀 Step-by-Step Installation

1. ThingsBoard Setup

  1. Install ThingsBoard following the official guide linked above.
  2. Start the service and ensure it is accessible at http://localhost:8080.
  3. Configure your MQTT devices within the ThingsBoard dashboard.

2. Arduino Setup

  1. Open the Arduino sketch provided in this repo.
  2. Update the MQTT_SERVER and credentials to match your ThingsBoard config.
  3. Flash the code to your Arduino board.

3. AI Environment

  1. Launch Ollama:
    ollama serve
  2. Ensure you have the model:
    ollama run mistral
    (Type /bye to exit the chat, the model is now ready for API calls).

4. Running the App

  1. Compile the Java project.
  2. Run the main class. The GUI should appear and load the ThingsBoard login page.

Clone this wiki locally