{"slug": "laziness-is-the-engine-of-progress-how-i-built-an-ai-bot-for-electrical", "title": "«Laziness is the engine of progress»: How I built an AI bot for electrical inspection", "summary": "A veteran electrical engineer with 15 years of experience has built an AI-powered Telegram bot that detects common electrical installation violations from photos. Using YOLOv8 for image classification and FAISS for similarity search, the bot identifies issues like missing cable tags, improper earthing, and unsealed penetrations, generating reports with references to international standards. The developer trained the model on over 500 photos and deployed it on low-cost cloud hosting, making it freely available to construction professionals.", "body_md": "I've been in electrical construction for over 15 years. Started with installation, moved to commissioning, then became a chief project engineer. And you know what I realized over that time? The same mistakes happen over and over again. Missing tags, improper earthing, unsealed penetrations. Every single time. The same routine, eating up time and nerves.\n\n📋 How I used to do inspections\n\nFirst, I carried a notebook, a tape measure, and a camera. Later — a smartphone and Excel. Then came \"IT-based technical supervision\" — bulky, inconvenient systems that only work on a PC, require licenses, and are built for large corporations.\n\nEven with them, inspections took hours. And worst of all — you had to configure them, train people, carry a laptop to the site.\n\nI needed a tool that:\n\nworks in seconds,\n\nrequires no training,\n\nis available right on the construction site,\n\nand can be used by anyone — from a foreman to a technician.\n\n💡 The idea\n\nI'm not a programmer. But with the advancement of AI and neural networks, I realized I could make this happen.\n\nWhy not use a neural network to detect violations from photos?\n\nI used:\n\nYOLOv8 for image classification,\n\nFAISS for similarity search,\n\nTelegram as the interface — so I wouldn't need to build a separate app.\n\nI collected a dataset: 500+ photos of violations and reference examples — from work, colleagues, and open sources. I trained the model for 50 epochs, then fine-tuned it on real-world photos.\n\nThe hardest part wasn't the neural network. It was keeping the bot stable on the server without running out of memory. It wasn't completely free — but the costs are minimal: cloud hosting and Render (~$7–25/month).\n\n🤖 What the bot can do today\n\nThe bot now works in Telegram.\n\nSend a photo of a panel, cable tray, or cabinet — and it instantly detects:\n\nmissing cable tags,\n\nimproper earthing,\n\nunsealed penetrations,\n\nuntrimmed cable tray studs,\n\noxidation and rust,\n\nmissing single-line diagrams.\n\nIt generates a ready-to-use report with references to PUES, SP, GOST (for Russia) or IEC, NEC, BS 7671 (international). One photo — up to three defects. Free. No installation required.\n\nIt supports three languages: English, Russian, and Spanish.\n\n🔥 What's next\n\nI'm currently collecting feedback from engineers, foremen, and installers. I want to:\n\nadd more defect categories,\n\nretrain the model on real photos,\n\nexport reports to PDF,\n\nintegrate with project management systems.\n\n🎯 Try it yourself\n\nThe bot is free. Just send a photo — get a report.\n\n👉 @ElectricalInspectorBot\n\nI'd love your feedback, ideas, and — of course — your photos of violations 😉", "url": "https://wpnews.pro/news/laziness-is-the-engine-of-progress-how-i-built-an-ai-bot-for-electrical", "canonical_source": "https://dev.to/sergius_tech/-how-i-built-an-ai-bot-for-electrical-inspection-5eeg", "published_at": "2026-08-31 00:26:49+00:00", "updated_at": "2026-08-31 01:21:38.120260+00:00", "lang": "en", "topics": ["computer-vision", "artificial-intelligence", "machine-learning", "ai-products", "developer-tools"], "entities": ["YOLOv8", "FAISS", "Telegram", "Render", "ElectricalInspectorBot"], "alternates": {"html": "https://wpnews.pro/news/laziness-is-the-engine-of-progress-how-i-built-an-ai-bot-for-electrical", "markdown": "https://wpnews.pro/news/laziness-is-the-engine-of-progress-how-i-built-an-ai-bot-for-electrical.md", "text": "https://wpnews.pro/news/laziness-is-the-engine-of-progress-how-i-built-an-ai-bot-for-electrical.txt", "jsonld": "https://wpnews.pro/news/laziness-is-the-engine-of-progress-how-i-built-an-ai-bot-for-electrical.jsonld"}}