<?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: Vipparthi Sriram</title>
    <description>The latest articles on DEV Community by Vipparthi Sriram (@vipparthi_sriram_8a4748b8).</description>
    <link>https://dev.to/vipparthi_sriram_8a4748b8</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%2F4179637%2Ff81e2388-c5a9-46b2-b2c5-73e178f3945c.jpg</url>
      <title>DEV Community: Vipparthi Sriram</title>
      <link>https://dev.to/vipparthi_sriram_8a4748b8</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vipparthi_sriram_8a4748b8"/>
    <language>en</language>
    <item>
      <title>Factory Ghost: A Local AI Assistant for Industrial Motor Monitoring</title>
      <dc:creator>Vipparthi Sriram</dc:creator>
      <pubDate>Thu, 29 Oct 2026 11:56:31 +0000</pubDate>
      <link>https://dev.to/vipparthi_sriram_8a4748b8/factory-ghost-a-local-ai-assistant-for-industrial-motor-monitoring-nne</link>
      <guid>https://dev.to/vipparthi_sriram_8a4748b8/factory-ghost-a-local-ai-assistant-for-industrial-motor-monitoring-nne</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week4-2026-10-26"&gt;Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  👻
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2s2umn2l4ekplocrqbo9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2s2umn2l4ekplocrqbo9.png" alt=" " width="770" height="497"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;What if a machine could report unusual operating&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffimm5t0pel00q04dxvae.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffimm5t0pel00q04dxvae.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;a href="https://github.com/vipparthisriram5986-prog/factoryGhost.git" rel="noopener noreferrer"&gt;&lt;/a&gt; conditions and an AI assistant could explain what the readings might mean?&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;Factory Ghost&lt;/strong&gt;, an educational industrial motor monitoring demo combining simulated sensor readings, rule-based warnings, an interactive dashboard, and a locally running AI model.&lt;/p&gt;

&lt;p&gt;The project simulates three motor parameters:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🌡️ Temperature&lt;/li&gt;
&lt;li&gt;📳 Vibration&lt;/li&gt;
&lt;li&gt;⚡ Electrical current&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The dashboard displays the latest readings, warning status, and history charts. Users can click a button to ask a local AI model to explain the simulated readings in simple English.&lt;/p&gt;

&lt;p&gt;I interpreted &lt;em&gt;Ghost in the Machine&lt;/em&gt; as giving a machine a voice: the system produces data, and AI turns it into a human-readable explanation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The readings are simulated, and the example thresholds are for learning only. This project does not diagnose real motor faults or predict real-world failures.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Factory Ghost currently runs locally on my Windows laptop.&lt;/p&gt;

&lt;p&gt;To run the demo:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Install Python and &lt;a href="https://ollama.com/" rel="noopener noreferrer"&gt;Ollama&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Download the model:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   ollama run gemma2:2b
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;In the project folder, install dependencies:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   py &lt;span class="nt"&gt;-m&lt;/span&gt; pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; requirements.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Generate simulated motor readings:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   py motor_simulator.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Start the dashboard:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   py &lt;span class="nt"&gt;-m&lt;/span&gt; streamlit run dashboard.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Open &lt;code&gt;http://localhost:8501&lt;/code&gt; in your browser.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Demo video or screenshot:&lt;/strong&gt; Add a screenshot of the working dashboard or a public video link here if available.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;strong&gt;GitHub repository:&lt;/strong&gt; &lt;a href="https://github.com/vipparthisriram5986-prog/factoryGhost" rel="noopener noreferrer"&gt;Factory Ghost&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The repository includes the Python simulator, Streamlit dashboard, sample CSV data, dependency list, and README instructions.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Python&lt;/strong&gt; for the motor simulator.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pandas&lt;/strong&gt; for reading and handling the CSV data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Streamlit&lt;/strong&gt; for the interactive dashboard.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ollama&lt;/strong&gt; to run the model locally.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemma 2 2B&lt;/strong&gt; to generate explanations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Git and GitHub&lt;/strong&gt; for version control and sharing the source code.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The application combines two approaches:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Rule-based monitoring:&lt;/strong&gt; Example thresholds classify simulated readings as normal or warning.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local AI explanation:&lt;/strong&gt; When the user clicks the explanation button, Gemma receives the latest simulated readings and explains the condition, possible causes, and safe next steps.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The AI explains the readings; it does not independently validate a fault or predict a motor failure.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open innovation allowed me to experiment with tools I could inspect, run locally, and connect together.&lt;/p&gt;

&lt;p&gt;Using Ollama with an open-weight Gemma model let me explore AI inference without relying on a hosted AI inference API. With local configuration, the readings sent to the model can remain on my computer.&lt;/p&gt;

&lt;p&gt;Open-source tools also make it easier for students and developers to learn, modify the code, and extend the project with real sensors in the future.&lt;/p&gt;

&lt;p&gt;As a Robotics and Automation student, I wanted to explore how local AI could complement traditional industrial monitoring. Factory Ghost is my first step toward that goal.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;This project currently uses a locally running Ollama model through a Python application. I have not included a DevRelay agent session.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Spirit of It
&lt;/h2&gt;

&lt;p&gt;The moment that made this project exciting was seeing unusual simulated motor readings on the dashboard and then asking the local AI assistant to explain them.&lt;/p&gt;

&lt;p&gt;Instead of looking at numbers alone, I could ask the machine's digital assistant what the readings might mean.&lt;/p&gt;

&lt;p&gt;It was a small experiment, but it made the idea of a machine communicating its condition feel more tangible—and motivated me to explore the intersection of AI, robotics, and industrial automation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;Check the official challenge rules and list only the partner categories this project actually qualifies for. Remove this section if you are not entering any partner categories.&lt;/p&gt;




&lt;p&gt;Thanks for checking out Factory Ghost! I'd love to hear suggestions for improving it.&lt;/p&gt;

&lt;h1&gt;
  
  
  AI #Python #Robotics #OpenSource #Hacktoberfest
&lt;/h1&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>hacktoberfest</category>
      <category>devchallenge</category>
    </item>
  </channel>
</rss>
