<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sergius</title>
    <description>The latest articles on DEV Community by Sergius (@sergius_tech).</description>
    <link>https://dev.to/sergius_tech</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4101924%2F2930fd5e-9ad0-4e90-a3b7-3adb47d146b5.jpg</url>
      <title>DEV Community: Sergius</title>
      <link>https://dev.to/sergius_tech</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sergius_tech"/>
    <language>en</language>
    <item>
      <title>«Laziness is the engine of progress»: How I built an AI bot for electrical inspection</title>
      <dc:creator>Sergius</dc:creator>
      <pubDate>Mon, 31 Aug 2026 00:26:49 +0000</pubDate>
      <link>https://dev.to/sergius_tech/-how-i-built-an-ai-bot-for-electrical-inspection-5eeg</link>
      <guid>https://dev.to/sergius_tech/-how-i-built-an-ai-bot-for-electrical-inspection-5eeg</guid>
      <description>&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;📋 How I used to do inspections&lt;br&gt;
First, 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.&lt;/p&gt;

&lt;p&gt;Even with them, inspections took hours. And worst of all — you had to configure them, train people, carry a laptop to the site.&lt;/p&gt;

&lt;p&gt;I needed a tool that:&lt;/p&gt;

&lt;p&gt;works in seconds,&lt;/p&gt;

&lt;p&gt;requires no training,&lt;/p&gt;

&lt;p&gt;is available right on the construction site,&lt;/p&gt;

&lt;p&gt;and can be used by anyone — from a foreman to a technician.&lt;/p&gt;

&lt;p&gt;💡 The idea&lt;br&gt;
I'm not a programmer. But with the advancement of AI and neural networks, I realized I could make this happen.&lt;/p&gt;

&lt;p&gt;Why not use a neural network to detect violations from photos?&lt;/p&gt;

&lt;p&gt;I used:&lt;/p&gt;

&lt;p&gt;YOLOv8 for image classification,&lt;/p&gt;

&lt;p&gt;FAISS for similarity search,&lt;/p&gt;

&lt;p&gt;Telegram as the interface — so I wouldn't need to build a separate app.&lt;/p&gt;

&lt;p&gt;I 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.&lt;/p&gt;

&lt;p&gt;The 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).&lt;/p&gt;

&lt;p&gt;🤖 What the bot can do today&lt;br&gt;
The bot now works in Telegram.&lt;/p&gt;

&lt;p&gt;Send a photo of a panel, cable tray, or cabinet — and it instantly detects:&lt;/p&gt;

&lt;p&gt;missing cable tags,&lt;/p&gt;

&lt;p&gt;improper earthing,&lt;/p&gt;

&lt;p&gt;unsealed penetrations,&lt;/p&gt;

&lt;p&gt;untrimmed cable tray studs,&lt;/p&gt;

&lt;p&gt;oxidation and rust,&lt;/p&gt;

&lt;p&gt;missing single-line diagrams.&lt;/p&gt;

&lt;p&gt;It 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.&lt;/p&gt;

&lt;p&gt;It supports three languages: English, Russian, and Spanish.&lt;/p&gt;

&lt;p&gt;🔥 What's next&lt;br&gt;
I'm currently collecting feedback from engineers, foremen, and installers. I want to:&lt;/p&gt;

&lt;p&gt;add more defect categories,&lt;/p&gt;

&lt;p&gt;retrain the model on real photos,&lt;/p&gt;

&lt;p&gt;export reports to PDF,&lt;/p&gt;

&lt;p&gt;integrate with project management systems.&lt;/p&gt;

&lt;p&gt;🎯 Try it yourself&lt;br&gt;
The bot is free. Just send a photo — get a report.&lt;/p&gt;

&lt;p&gt;👉 @ElectricalInspectorBot&lt;/p&gt;

&lt;p&gt;I'd love your feedback, ideas, and — of course — your photos of violations 😉&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>telegrambot</category>
      <category>electricalengineering</category>
    </item>
  </channel>
</rss>
