Inspiration: Homeowners face electrical problems every day — a breaker that keeps tripping, lights that flicker, a burning smell from an outlet — and most people cannot tell a simple fix from a dangerous fault. Electricians get called out for problems that could be diagnosed in minutes. VoltAI bridges that gap.

What it does: Describe an electrical problem in plain language. One AI call returns a full structured analysis: (1) Diagnosis — ranked likely causes (High/Medium/Low) with plain explanations. (2) Fix steps — per cause, with difficulty level and tools needed. (3) Cost estimate — parts plus labour in Indonesian Rupiah, with a breakdown. (4) Safety checklist — problem-specific precautions, shown in a prominent amber card. (5) When to call a pro — specific stop-conditions in a prominent red card. That last card is the responsible-AI core: VoltAI never pretends a dangerous job is DIY.

How we built it: Vite + React + TypeScript, with Firebase AI Logic (Google Gemini). Hybrid inference with InferenceMode.PREFER_ON_DEVICE — Gemini Nano 4 on-device first, Gemini Flash in the cloud as fallback. The cloud model is pinned to gemini-3.8-flash. One AI call per analysis, returning a typed structured result (causes, steps, costs, safety, pro-conditions) via a JSON schema. Every response shows an ON_DEVICE / IN_CLOUD badge from response.inferenceSource, so users see where the answer came from. Retry with exponential backoff on 503/429/500. Bilingual English/Indonesian UI with 6 sample problems, and the last 10 analyses saved in localStorage. Deployed on GitHub Pages.

Responsible use: The "When to call a pro" card is the safety core. VoltAI explicitly tells users to stop and call a licensed electrician for dangerous conditions (burning smell, sparking, repeated tripping, water near wiring). It explains, it never replaces a professional.

What's next: more sample problems, photo-based diagnosis (upload a photo of the breaker panel), and a directory of licensed electricians.

Built with: React, TypeScript, Vite, Firebase AI Logic, Google Gemini, GitHub Pages.

Share this project:

Updates

Submission history