Case studiesFactory ownersPredictive maintenance

Your machines write the morning brief

An auto-component plant in Pune had PLC alarm logs and a handwritten shift register, but no sensors and no time to read either. So I built it a small predictive maintenance AI workflow that reads both and sends the maintenance head a two-minute WhatsApp brief every morning.

11 min readPLC export · Claude · n8n · WhatsAppScreens show sample data
lineroom.kestrova.in/overview
Predictive maintenance AI dashboard for a small factory: fourteen machines with fourteen-day alarm sparklines, three on an amber watch list, a raw PLC alarm stream, and a watch list waiting for the maintenance head's decision.
The plant's line room. Every machine's alarms per day for two weeks, the raw PLC alarm log, and a short watch list. There are no risk scores, only counts and evidence, and every item waits for the maintenance head's call.
In short
  • Unplanned stops are expensive, but the famous downtime numbers come from vendors and large companies. Small plants need their own figure, and the evidence for predictive maintenance is weaker than the sales pages suggest.
  • The workflow uses data the plant already has: the PLC alarm log (the machine controller's record of every warning) and the supervisors' handwritten handover notes. No new sensors.
  • Each morning it compares every alarm against its own normal rate, links it to what supervisors wrote, and sends at most three items on WhatsApp, in Hindi or English, each with a link to the evidence.
  • It never stops a machine or books a job. The maintenance head decides, and their reasons shape the next day's brief.

01 — The problemThe warning was in the log. Nobody read the log.

The client is an auto-component plant near Pune, in Maharashtra. It runs three lines: hydraulic and mechanical presses, CNC machining centres, and a heat-treatment section, with about fourteen machines in all and three shifts a day. Like most plants its size, it has no condition-monitoring sensors and no data team: one maintenance head, a few technicians, and a phone that rings when something stops.

Yet the plant is not short of data. Every press and CNC machine is run by a PLC (programmable logic controller, the industrial computer that controls the machine). The PLC logs each alarm with a time and a code, and the HMI (the operator's touch screen) can export that log as a spreadsheet: over a thousand rows on a normal day. Each shift supervisor also writes a few lines in the handover register: "pump making noise", "insert broke, tool changed three times". Those notes are in Hindi, Marathi and English, often in the same sentence.

The problem is that nobody has time to read either. A breakdown is often announced days ahead by a slow rise in one alarm and a comment in the register, and both get noticed only afterwards, when someone goes looking for the cause.

02 — The researchWhat does downtime cost, and does predicting it pay?

Two claims sell predictive maintenance: downtime is ruinously expensive, and predicting failures fixes it. I traced the most quoted numbers to their origin. Here is what I could open and check:

$1.4T

a year lost to unplanned downtime by the world's 500 largest companies, about 11% of their revenue.

Siemens, 2024 · vendor estimate1
52.7%

less unplanned downtime at plants that relied less on reactive, run-to-failure maintenance.

NIST, 2021 · 71 US plants2
~93%

of handwritten Devanagari words read correctly by the best system in a 2023 competition. About 1 word in 15 still wrong.

ICDAR 2023 · cropped words6
SourceClaimWhat's behind itHow much to trust it
Siemens, "The True Cost of Downtime 2024"1$1.4 trillion a year for the Fortune Global 500; 27 hours lost per large plant per month; $2.3 million an hour in car plants181 online interviews at large firms, 2019–2023, scaled up using plant and employee countsVendor report from a company that sells predictive maintenance software. Useful for scale and trends, not a number for a 14-machine plant.
Thomas & Weiss, NIST, 20212Plants leaning on preventive and predictive maintenance had 52.7% less unplanned downtime and 78.5% fewer defectsA survey of 71 US machinery, electronics and transport-equipment plants, with groups comparedThe best independent evidence I found. Small sample, and it shows correlation: better-run plants may simply do both.
US DOE O&M Best Practices Guide, 2004410× return on investment, 70–75% of breakdowns eliminated, 35–45% less downtimeThe guide credits unnamed "independent surveys"Repeated everywhere, but untraceable and over twenty years old. The same page warns that starting out "is not inexpensive". Not used as evidence here.
McKinsey, 20215Lower-maturity predictive maintenance gives "10 percent or less" of a full system's benefitConsultants' experience with large operatorsOpinion, not a study. A useful caution against expecting big savings from a small setup.
"Predictive maintenance cuts downtime 30–50%" (often credited to McKinsey)As statedI couldn't find the original McKinsey documentNot used.

Two honest conclusions. First, the giant downtime figures describe car plants and refineries, not a press shop in Pune. Even Siemens says its data comes mainly from large manufacturers, and the one figure it gives for smaller firms comes with no source1. A small plant should work out its own cost of an hour stopped: lost output, idle wages, rush spare parts and late-delivery penalties. Second, the best independent evidence links moving away from pure run-to-failure maintenance to much less downtime2. It doesn't say you need sensors and machine learning to start, and NIST's earlier review found the costs and benefits are poorly understood even at national level3.

That second point shaped the build. McKinsey suggests that where full predictive maintenance isn't yet economic, simpler methods such as anomaly detection "can be successful as a first step"5. Anomaly detection just means spotting when something is behaving unusually for itself. That is exactly what you can do with an alarm log.

The alarm log has its own problem: too much noise. The ISA-18.2 alarm management standard treats more than 10 alarms in 10 minutes for one operator as an "alarm flood"7. One published assessment by alarm-management consultants found the ten most frequent alarms made up 69.8% of a system's total alarm load, against a target of a few percent8. That's one system, but the pattern is familiar: a few nuisance alarms bury the meaningful ones. So the job isn't to read more alarms. It's to notice when one changes.

The point was never to predict the future. It was to make sure the maintenance head sees, before the shift starts, what the machines and the supervisors already said.

03 — How it worksPLC alarm analysis plus handwritten notes, every morning

Six steps run every day. Five are automatic, and the last one belongs to a person:

Six steps: collect the PLC logs, photograph the shift notes, read the handwriting, find the patterns, write the brief, and the maintenance head decides. Plus five guardrails.
The pipeline. An n8n workflow (an open-source automation tool) runs it at 06:00 every day. Each step can be swapped without rebuilding the rest.

Collecting the logs. At 06:00 the HMIs export the last 24 hours of alarms as CSV files to a shared folder. Nothing writes back to the machines, and the raw files are kept unchanged, so any line in the brief traces to a row.

Photographing the notes. At the end of each shift, the supervisor sends a photo of the register page to the plant's WhatsApp number. It takes a minute and changes nothing about how they write.

Reading the handwriting. Claude, a large language model that can also read images, turns the photo into text. It matches machine names to the plant's machine list ("P3", "press 3" and "P-3" are the same machine) and marks every word it isn't sure of.

Finding the patterns. This step is deliberately plain. Simple rules count each alarm code per machine per day and compare it with that alarm's own 30-day normal. A machine goes on the watch list when an alarm runs well above its normal for several days, a new alarm appears, or the notes mention the same machine. Past work orders with similar patterns are attached. The language model only writes the summary; it doesn't decide what counts as unusual.

Writing the brief. At 06:30, the brief goes out on WhatsApp in the maintenance head's language. If you have asked ChatGPT to summarise a long document, this part will feel familiar. The difference is that every sentence must point back to an alarm row or a note.

04 — Inside a morningAn AI shift report on WhatsApp, and the evidence behind it

Here is a typical morning from the sample data. The maintenance head reads the brief on the way in. It names two machines, says why, and ends with "this is only a hint, the decision is yours":

WhatsApp morning brief in Hindi with English translations: yesterday's stops, press P-3's rising oil-temperature alarm and pump noise in shift notes, and a compressor pressure dip, followed by the maintenance head's reply and the logged decision.
06:30, the brief. Two items, an English line under each Hindi line, and a link to the evidence. The reply is saved as a decision.

His reply matters as much as the brief. He'll check P-3 this afternoon, and he says C-2 is fine: the compressor always struggles at 05:30, when two lines start together. That reason is saved. Tomorrow, a pressure dip on C-2 near 05:30 won't make the brief unless it gets worse.

Tapping the link opens the evidence for P-3:

lineroom.kestrova.in/watch/p-3
Alarm-pattern view for a hydraulic press: a 30-day bar chart of the oil-temperature alarm rising to four times its normal rate, a heatmap of all the press's alarm codes, the two shift notes that mention the pump, and buttons to plan a check, watch, or dismiss.
Why P-3 is on the list. Three plain signals, the two shift notes word for word, the last time this pattern appeared, and what the system can't see.

The oil-temperature alarm on the hydraulic press normally fires about once a day. Since 8 November it has fired 41 times. A return-filter alarm that hadn't appeared in a month started on Thursday. Two different supervisors wrote about the pump, two days apart. In March, a similar rise came just before a pump seal failure and a six-hour stop.

Look at the heatmap too. The guard-door alarm fires more than anything else on the machine, but it isn't flagged, because it's steady: operators open the guard all the time. Comparing each alarm with itself, not counting totals, is how the noise from section 02 is handled.

Here is the shift note behind it:

lineroom.kestrova.in/notes/2026-11-15-B
A photographed handwritten shift handover note in Hindi and English, with three uncertain words boxed in amber, beside a table of the extracted text, English translations, matched machines, and questions for the supervisor to confirm.
Reading the register. Five entries, four machines matched, three words it wasn't sure of. Each one becomes a one-tap question to the supervisor, and the PLC log is used as a cross-check where it can be.

The note is a real-looking mix: Hindi with English machine words, a crossed-out entry, a number that could be 5.8 or 5.3. The system doesn't pick one quietly. For the compressor pressure, it checks the PLC log, which shows 5.9 bar a minute later, and still asks. For "टूटा" (broke) versus "छूटा" (came loose), there is no log to check, and the difference matters. A broken insert is a tooling problem. A loose one might be the machine.

05 — Design decisionsWhat makes AI for manufacturing trustworthy on the shop floor

A maintenance head has heard "the system says" before, usually just before a false alarm. McKinsey notes that bad predictions lead to unnecessary work and can "reduce workforce confidence in the recommendations"5. Most of the design is about earning that trust slowly.

A

The brief is a hint, and the maintenance head decides

Nothing is scheduled, ordered or stopped by the system; its only link to the machines is an exported file. Every item ends with three choices: plan a check, watch it, or "not a problem", each with a short reason. The person who will be on the floor at 2 a.m. when the press fails makes the call.

B

It shows the evidence, not just the conclusion

Every line in the brief links to the alarm rows and the note photos behind it. "Oil temperature up 4×" opens the 41 alarm rows. "Pump noise in two notes" opens the two notes. If the evidence doesn't convince the maintenance head, the brief shouldn't either.

C

No hidden "AI score"

Many tools show a health score of 73 or a failure risk of 0.82. I left that out on purpose. A score built from a few weeks of alarms in one plant would look precise without being so, and nobody could argue with it. The screen shows counts in words instead: "41 times since 8 November; normal is about once a day." Anyone can check that.

D

It asks about handwriting instead of guessing

Indian handwriting is hard for machines. Devanagari joins letters into conjuncts and has well over a hundred basic characters. In the ICDAR 2023 competition, the best system read about 93% of handwritten Devanagari words correctly, and that was on neat, pre-cropped words6. A smudged register on a shop-floor desk will do worse. So every uncertain word, number and time is boxed on the photo and sent back to the supervisor as a one-tap question. Until it's confirmed, the brief marks it as unsure.

E

Hindi or English, with the translation shown

The brief goes out in the language the maintenance head reads fastest. India has over 500 million WhatsApp users9, and for most supervisors it's simply where work messages already go. Notes come in whatever mix the supervisor writes. Wherever the system translates, the original stays next to the translation, so a mistranslated word can be spotted by anyone who reads both.

F

Three items at most, and it learns what to leave out

A brief with twelve items is just another alarm flood. The brief carries at most three items a day. When the maintenance head marks something "not a problem" with a reason, like "morning load" or "operator habit", similar patterns are held back next time. It doesn't learn to predict failures from a handful of examples. It learns what this plant considers normal.

06 — The maintenance head's viewFive minutes before the shift, not an hour after the breakdown

The maintenance head doesn't want a dashboard. He wants to walk in knowing which machine to look at first, and the brief gives him that before he reaches the gate. The line room screen is for digging in, or for when the owner asks what happened last week.

The part I expect owners to value most is the decisions log. Most small plants have no record of why a machine was or wasn't checked. Over months, the log becomes a plain history of each machine: which warnings were real, which were habits, and how long the gap was between the first sign and the stop. A fuller predictive maintenance setup would need exactly that history later.

The same pattern, an AI agent that drafts and a person who decides, runs through my other factory build: AI quotation software for a CNC job shop, where the agent prices the job and the owner approves the quote. If you want to see WhatsApp used with customers rather than staff, there is an AI sales agent for Instagram and WhatsApp DMs.

07 — ResultsWhat changed

Real numbers coming soon

The screens above use sample data. This section will show the plant's actual figures:

Unplanned stops per monthbefore → after
Hours lost to unplanned stopsbefore → after
Watch-list items checked and found to be real issuesshare of all items
Breakdowns that gave a warning the brief missedcount, with what was missed
Handwritten words flagged for confirmationshare of all words
Maintenance head's verdictquote

08 — What's nextWhere this goes from here

FAQQuestions people ask

What is predictive maintenance AI?

It is software that looks at data from machines, such as alarms, temperatures or vibration, and points out the patterns that tend to come before a breakdown, so maintenance can be planned instead of rushed. A careful setup shows the evidence behind each warning and leaves the decision to the maintenance team.

Can a small factory do predictive maintenance without IoT sensors?

Yes, as a first step. Most PLC-controlled machines already log alarms, and most plants keep a shift register. Counting alarms against their own normal rate and reading the notes catches some early warnings without new hardware, though it will miss failures that give no alarm or note.

How much does unplanned downtime cost a manufacturer?

There is no reliable figure for small plants. The most quoted number, $1.4 trillion a year for the world's 500 largest companies, is a vendor estimate built from 181 interviews at large firms1. Work out your own cost per hour from lost output, idle wages, rush parts and delivery penalties.

Can AI read handwritten shift notes in Hindi?

It reads most of a clear note, but not all of it. The best system in a 2023 competition read about 93% of handwritten Devanagari words correctly, on neatly cropped words6. Unclear words should be flagged and confirmed by the person who wrote them.

Related: Drawing in, priced quote out (AI quoting for a CNC job shop) · A phone that never rings out (an AI agent that works in Hindi and English)

SourcesWhere the numbers come from

  1. Siemens AG (2024). The True Cost of Downtime 2024 (PDF). Based on 181 online interviews at large automotive, FMCG, heavy-industry and oil & gas firms, April 2019 to March 2023, extrapolated to the Fortune Global 500. Vendor report; Siemens sells the Senseye predictive maintenance software. Its figure for smaller firms ("$150,000 an hour at the top end") has no stated source and isn't used here.
  2. Thomas, D. and Weiss, B. (2021). Maintenance costs and advanced maintenance techniques in manufacturing machinery: survey and analysis. International Journal of Prognostics and Health Management 12(1). NIST. 71 usable responses from US manufacturers. Small sample; differences between groups are associations, not proof of cause.
  3. Thomas, D. (2018). The costs and benefits of advanced maintenance in manufacturing. NIST Advanced Manufacturing Series 100-18. A literature review noting limited understanding of maintenance costs and losses at the national level.
  4. Sullivan, G. P. et al. (2004). O&M Best Practices: A Guide to Achieving Operational Efficiency, Release 2.0 (PNNL-14788), for the US Department of Energy. Section 5, predictive maintenance. The 10× ROI and 70–75% figures are credited only to unnamed "independent surveys". Old and untraceable.
  5. Decaix, G. et al. (2021). A smarter way to digitize maintenance and reliability. McKinsey & Company. Consultants' article, not a study.
  6. Mondal, A. and Jawahar, C. V. (2023). ICDAR 2023 Competition on Indic Handwriting Text Recognition (PDF). IIIT Hyderabad. Best Devanagari result: 98.02% of characters and 93.16% of words correct. Pre-cropped word images, not full pages of shop-floor notes.
  7. Cahill, J. and Olsen, T. (2025). Best practices with alarm management. Emerson Automation Experts blog, describing the ANSI/ISA-18.2 alarm flood definition. Vendor blog; I couldn't read the paywalled standard itself.
  8. exida, Alarm management assessment. Example "as found" results: top 10 alarms = 69.8% of total load, against a target of about 1–5%. One unnamed system; consultancy marketing page.
  9. Storyboard18 (20 February 2024). Meta doubles down on WhatsApp Business in India. "Over 500 million WhatsApp users in India". Reported figure, not an official Meta filing.

Keep readingMore case studies

All case studies → Work with an AI automation consultant →

Are your machines already telling you something?

If your plant has PLC alarm logs and a shift register, anywhere in the world, I can set this up on your own machines, languages and routines.