Portfolio
100% Local · Privacy-first · Self-hosted

MIA — Intelligent
Assistant

Plataforma conversacional com IA local, integração com casa inteligente e automações avançadas. Controla o teu ambiente, fala com a IA e gere tudo — sem dados na nuvem.

Ollama LLM Home Assistant ASP.NET Core 9 Docker MariaDB Edge-TTS WebRTC
MIA Login 🔒 Secure Login · BCrypt + 30-day Cookie

Everything you need, in one place

MIA combina um assistente IA conversacional com controlo total da casa inteligente, automações, diagnósticos de sistema e gestão de utilizadores — tudo a correr localmente.

12+
Ollama Models
Qwen3, Llama3, Mistral…
50+
Controlled Devices
Lights, sensors, plugs…
24/7
Active Automations
Scenes and time-based triggers
100%
Local & Private
Zero data to the cloud
🤖
AI Chat
Converse in natural language with local LLM models via Ollama. Supports multi-model, context memory and file uploads.
🏠
Smart Home
Native integration with Home Assistant. Discover and control lights, sensors, plugs and other devices directly through MIA.
Automations and Scenes
Create automation scenes with conditions and actions. Combine multiple devices in intelligent flows triggered by schedule or event.
🔊
Voice and TTS
Voice commands via WebRTC and speech synthesis with Edge-TTS. MIA responds in natural voice in configured languages.
🔐
Total Privacy
All AI processing is done locally with Ollama. No conversation or smart home data leaves your server. Passwords hashed with BCrypt.
👥
Multi-User
Complete user management with Super Admin, individual profiles, per-user Home Assistant credentials and 30-day sessions.
MIA Dashboard 📊 Main Dashboard

Your control centre

Ao entrares na MIA, és recebido pelo dashboard — um painel centralizado que resume o estado do sistema, dispositivos ativos, conversas recentes e métricas do servidor.

Primeira impressão: Com uma vista limpa e intuitiva, o dashboard mostra de imediato quais os dispositivos ligados, o modelo IA ativo e as últimas interações — tudo atualizado em tempo real.
32%
CPU
4.2GB
RAM in use
3
Loaded Models
18
Connected Devices
Ollama Online Home Assistant OK MariaDB Active TTS Available
Main Dashboard 📈 Real-Time System Status
AI Chat 🤖 AI Chat · Local Ollama

Intelligent conversation, 100% local

A interface de chat da MIA liga-se diretamente ao Ollama a correr no teu servidor. Nenhuma mensagem sai da tua rede — a IA é completamente privada e offline-capable.

Como funciona: Escolhes o modelo (Qwen3, Llama3, Mistral…), escreves ou falas com a MIA, e ela responde com contexto da conversa anterior, pode ler ficheiros enviados e inclusive controlar dispositivos da casa por texto.
  • Multi-model support — switch model in real time
  • Context memory per conversation session
  • File upload for analysis (PDF, images, text)
  • Voice input via WebRTC + Edge TTS response
  • Token-by-token response streaming
  • No telemetry · Zero cloud data

Total control over your home

A MIA integra com o Home Assistant para descobrir automaticamente todos os dispositivos da tua rede — luzes, sensores, tomadas inteligentes, câmeras e mais. Controla-os pela interface ou por comandos de voz.

  • Automatic Home Assistant device discovery
  • Light control — on, off, brightness, colour
  • Sensor readings — temperature, humidity, motion
  • Smart plugs and switches
  • Per-user HA credentials (multi-home)
  • Grouping by room or device type
HA Connected 18 Devices 6 Rooms
Smart Devices 🏠 Smart Devices · Home Assistant
Scenes and Automations ⚡ Scenes and Automations

Intelligent flows without effort

Com o motor de cenas da MIA, podes combinar múltiplos dispositivos numa sequência de ações acionada por horário, evento ou comando de voz. Define o ambiente certo para cada momento do dia.

  • Visual scene editor with multiple actions
  • Triggers by schedule (cron) or device event
  • Activate scenes by voice: "MIA, activate cinema mode"
  • Pre-defined scenes: Morning, Work, Relaxation, Night
  • Execution history with logs
  • Manual or automatic activation
🌞
Morning Mode
Gradual lights + news + temperature
🎬
Cinema Mode
Dimmed lights + blinds + silence

Personalise your experience

Cada utilizador tem o seu perfil completo com avatar, preferências de IA, idioma e configurações de integração com Home Assistant.

User Profile 👤 User Profile
  • Name, avatar and personal data
  • Preferred AI model per user
  • Individual Home Assistant credentials
  • Language and voice preferences (TTS)
  • Personal conversation history
Settings ⚙ System Settings
  • Ollama model selection and management
  • HA server URL configuration
  • TTS parameters (voice, speed, language)
  • System notifications and alerts
  • Session management (30-day cookie)

System health always visible

O painel de diagnósticos dá ao administrador uma vista completa do estado de todos os serviços — Ollama, MariaDB, Home Assistant, TTS — com tempos de resposta e alertas em tempo real.

Para o Super Admin: Verifica rapidamente se algum serviço está em falha, consulta logs do sistema, faz reset de sessões ou força re-sincronização com Home Assistant sem necessitar de acesso ao servidor via SSH.
  • Status of all services with ping
  • CPU, RAM and disk metrics in real time
  • Error logs and system alerts
  • User and permission management
  • Ollama and Home Assistant connection test
  • Force device re-discovery
99.8%
Uptime
42ms
AI Latency
5
Services OK
System Diagnostics 🔧 Diagnostics · Super Admin

Modern and robust stack

Construída sobre tecnologias maduras e open-source, a MIA corre inteiramente no teu hardware — sem dependências de nuvem externas.

User
Browser / Mobile
ASP.NET Core 9
Razor Pages · API
MariaDB
Users · Sessions · Logs

integrates with
Ollama LLM
Qwen3 · Llama3 · Mistral
Home Assistant
REST API · WebSocket
Edge-TTS
Speech Synthesis
💻
ASP.NET Core 9
Web framework · Razor Pages · REST API · Middleware
📈
MariaDB
Relational database · Users · Sessions · Devices
🤖
Ollama
Local LLM · Qwen3, Llama3, Mistral · Streaming · Multi-model
🏠
Home Assistant
Smart home hub · REST + WebSocket · Automatic discovery
🐤
Docker
Containerisation · docker-compose · One-command deploy
🔒
BCrypt
Secure password hashing · 30-day cookie sessions
🔊
Edge-TTS
Speech synthesis · Multiple languages · WebRTC integration
🎧
WebRTC
Voice capture in browser · VAD · Local transcription

Your intelligent assistant,
always available

Sem subscrições. Sem dados na nuvem. Sem compromissos de privacidade. MIA corre no teu hardware, fala com a tua IA, controla a tua casa — completamente teu.

🏠
Smart Home Integrated Home Assistant, automatic discovery
🤖
Conversational AI Local Ollama, multi-model, persistent context
🔊
Voice & TTS WebRTC + Edge-TTS, voice commands and responses
🔐
Total Privacy 100% local, BCrypt, sem telemetria
Automations Intelligent scenes by schedule or event
🐤
Self-hosted Docker · ASP.NET Core 9 · MariaDB