# OEE made Easy with FlowFuse

🚀 Super excited to share my **latest tech adventure** 😎: An **OEE Dashboard** powered by **FlowFuse Blueprints**! 🌟 And guess what 😮? It took me **just 45 minutes** to set it up with real-time data! ⏱️

## Video example

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLd2M9UNfMTnw9DjDdZJz%2Fuploads%2Fp355dKid6kNTdtX5elFU%2FOee%20Made%20Easy%20With%20Flowfuse.mp4?alt=media&token=bd832458-7039-4b08-81ef-e5c4689ad954>" %}

This dashboard is created using **ready-to-use blueprints from FlowFuse** 😍. I just customized the blueprint a bit to read real-time values from my virtual factory 🏭👩🏼‍🏭.\
\
🤖 I integrated my **Revolution Pi**, which communicates with FlowFuse’s server via **MQTT** and connects to the virtual factory via **OPC UA**\
\
Here's what my virtual factory sends to Revolution Pi via OPC UA:

* **🥇 Good and bad parts**
* **⏳ Run time**
* **⏸️ Stop time**

And the best part? I plug these values into the blueprint, and voilà! The OEE formula works its magic to **calculate OEE 🚀, Availability ✅, Performance 📈, and Quality.** ✨\
\
Watch closely 🧐, and you'll see the OEE changes as it tracks the good and bad parts being created. 📈 But wait, how did I crunch those OEE numbers? Let me break it down for you:

1. **Quality Calculation**: I'm analyzing the production counts (Good and Bad parts) from my factory, which the S7-1500 PLC communicates via OPC UA.&#x20;
2. Availability Check: I'm evaluating the total available time, system stop time, and run time to determine the optimal metric.
3. **Performance:** It is based on ideal production time, total parts created, and system run time to gauge the performance.

**And here's the magic equation:**

{% hint style="success" %}

### OEE = Performance x Availability x Quality. <a href="#el_1701686734310_369" id="el_1701686734310_369"></a>

{% endhint %}

## Resources <a href="#el_1705864237898_369" id="el_1705864237898_369"></a>

**Node-RED Flow:** You can use my Node-RED flow for reading from the virtual factory via OPC UA. It can also be run on your computer if you don't have an Edge device.

{% file src="<https://1831238825-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLd2M9UNfMTnw9DjDdZJz%2Fuploads%2FJnbmMuoZ1s0Y5okspf4H%2Fflow.json?alt=media&token=ff2877f1-c8d2-438f-a755-95109e033647>" %}

## ♥️ Work With Me

I regularly test **industrial automation and IIoT devices**. If you’d like me to **review your product** or showcase it in my courses and YouTube channel:

📧 Email: <rajvir@codeandcompile.com> or drop me a message on [LinkedIn](https://www.linkedin.com/in/singhrajvir/)
