> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/workflows/hi/tutorials/integrate-with-ignition/embed-the-device-hmi.md).

# Device HMI एम्बेड करें

Roboflow Device HMI को उसके लाइव वीडियो और हाल के डिटेक्शन के साथ Ignition Perspective या Vision स्क्रीन पर दिखाएँ।

Deployment Manager में प्रबंधित हर एज डिवाइस पर Device HMI चलता है—यह एक ऑपरेटर स्क्रीन है, जिसमें लाइव कैमरा फ़ीड, पास रेट और हाल की पहचानें दिखाई जाती हैं। इसे Ignition में एम्बेड करना आपके ऑपरेटरों की स्क्रीन पर Roboflow दिखाने का सबसे तेज़ तरीका है: एक कंपोनेंट, बिना किसी स्क्रिप्टिंग के।

<figure><img src="https://4229620234-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoO0Ceoy9R0lHDZATcPyh%2Fuploads%2Fgit-blob-52102ca0b3bc7f010f5f77ca8c62f0e14b161241%2Fignition-device-hmi-embed.png?alt=media" alt="An Ignition Perspective view named Bottle Line 1 with the Roboflow Device HMI embedded in an Inline Frame, showing a live annotated feed, a 78.7 percent pass rate, and recent pass and fail detections"><figcaption><p>Perspective Inline Frame में Device HMI।</p></figcaption></figure>

HMI आपके Ignition व्यू के भीतर Roboflow की एक स्क्रीन है। Ignition इससे मान नहीं पढ़ सकता और न ही इसे टैग मान भेज सकता है। Ignition के अपने टैग, अलार्म और स्क्रीन में Roboflow के नतीजे इस्तेमाल करने के लिए देखें [लाइव डेटा](https://docs.roboflow.com/workflows/hi/tutorials/integrate-with-ignition/live-data.md), [लाइव वीडियो](https://docs.roboflow.com/workflows/hi/tutorials/integrate-with-ignition/live-video.md)और [ऐतिहासिक डेटा](https://docs.roboflow.com/workflows/hi/tutorials/integrate-with-ignition/historical-data.md).

{% hint style="info" %}
ये चरण और स्क्रीनशॉट Ignition 8.1 (Designer 8.1.55) के हैं। अन्य संस्करणों में, जिनमें 8.3 भी शामिल है, मेनू के नाम, डायलॉग और प्रॉपर्टी के नाम अलग हो सकते हैं।
{% endhint %}

## ज़रूरी शर्तें

* में प्रबंधित एक एज डिवाइस [Deployment Manager](https://docs.roboflow.com/deployment/self-hosted/enterprise/deployment-manager)जिस पर कम-से-कम एक स्ट्रीम चल रही हो।
* व्यू दिखाने वाले हर कंप्यूटर को पोर्ट `3000`पर डिवाइस तक पहुँचने में सक्षम होना चाहिए। HMI Ignition गेटवे पर नहीं, बल्कि ऑपरेटर के ब्राउज़र में लोड होता है। यह डिवाइस की अन्य सेवाओं से वीडियो और इवेंट खुद पढ़ता है, इसलिए क्लाइंट को किसी दूसरे पोर्ट की ज़रूरत नहीं होती।

## HMI का पता ढूँढें

HMI यहाँ चलता है: `http://<device-ip>:3000`Deployment Manager में डिवाइस का कार्ड इससे लिंक करता है। एम्बेड करने के लिए इनमें से चुनें:

<table data-search="false"><thead><tr><th>पता</th><th>क्या दिखाता है</th></tr></thead><tbody><tr><td><code>http://&#x3C;device-ip>:3000/</code></td><td>पूरा HMI: लाइव फ़ीड, पास रेट और हाल की पहचानें</td></tr><tr><td><code>http://&#x3C;device-ip>:3000/stream/&#x3C;stream></code></td><td>एक स्ट्रीम का वीडियो, पूरी स्क्रीन पर और उसके आसपास कुछ भी नहीं</td></tr></tbody></table>

`<stream>` स्ट्रीम का नाम है। HMI में, स्ट्रीम के टैब पर मौजूद नई टैब में खोलें आइकन उसका पता खोलता है।

Ignition में जोड़ने से पहले ऑपरेटर के कंप्यूटर पर ब्राउज़र में यह पता खोलकर देखें। डिवाइस को स्थिर IP पता या DNS नाम दें, क्योंकि Ignition इस पते को संग्रहीत करता है।

## Perspective

1. Designer में Perspective व्यू खोलें और उस पर "Inline Frame" कंपोनेंट खींचकर रखें।
2. props.src `को HMI के पते पर सेट करें।` कंपोनेंट का आकार तय करें। एक स्ट्रीम के लिए, इसका आकार कैमरे के अनुपात के करीब रखें (उदा.: 16:9)।
3. Inline Frame में Device HMI। यह Designer में भी लोड होता है।

<figure><img src="https://4229620234-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoO0Ceoy9R0lHDZATcPyh%2Fuploads%2Fgit-blob-45436383c06d632d963e3e0074804b6d195682d3%2Fignition-designer-hmi-inline-frame.png?alt=media" alt="Ignition Designer with a Perspective view showing the Roboflow Device HMI in an Inline Frame, and the Property Editor with src set to http://192.168.10.57:3000/"><figcaption><p>हर लाइन के लिए एक ही व्यू इस्तेमाल करने हेतु, एक</p></figcaption></figure>

deviceHost `व्यू पैरामीटर जोड़ें और` props.src `को किसी एक्सप्रेशन से बाइंड करें:` "http\://" + {view\.params.deviceHost} + ":3000/"

```
HTTPS पर Perspective
```

### HMI HTTP के ज़रिए उपलब्ध कराया जाता है। ब्राउज़र,

http\:// `पेज को` के ज़रिए लोड किए गए पेज के भीतर `https://`एम्बेड करने से रोकते हैं, इसलिए अगर आपके Perspective सेशन HTTPS इस्तेमाल करते हैं, तो फ़्रेम खाली रहता है। HMI के सामने HTTPS रिवर्स प्रॉक्सी रखें और उसका `https://` पता इस्तेमाल करें, या प्लांट नेटवर्क पर सेशन HTTP के ज़रिए खोलें।

## Vision

1. Designer में Vision विंडो खोलें और उस पर "Web Browser" कंपोनेंट खींचकर रखें। यह Component Palette के "Web Browser" समूह में है।
2. Vision Property Editor में, "Data" के अंतर्गत "Mode" को "URL" पर ही रखें और "Starting URL" को HMI के पते पर सेट करें।
3. ब्राउज़र का पता बार छिपाने के लिए, "Behavior" के अंतर्गत "Show Navigation Buttons" बंद करें।

<figure><img src="https://4229620234-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoO0Ceoy9R0lHDZATcPyh%2Fuploads%2Fgit-blob-13d2380d602dab774927f20a105303210d277156%2Fignition-vision-hmi-web-browser.png?alt=media" alt="Ignition Designer with a Vision window showing the Roboflow Device HMI in a Web Browser component, and the Vision Property Editor with Mode set to URL and Starting URL set to http://192.168.10.57:3000/"><figcaption><p>Vision Web Browser कंपोनेंट में Device HMI।</p></figcaption></figure>

Ignition 8.1 में Web Browser कंपोनेंट, Web Browser मॉड्यूल से आता है, जिसे अलग से इंस्टॉल और लाइसेंस किया जाता है। 8.3 में यह Vision का हिस्सा है। यह कंपोनेंट HMI को अपने पेज के रूप में दिखाता है, इसलिए ऊपर बताई गई HTTPS सीमा Vision पर लागू नहीं होती। इसके बारे में और जानें: [Web Browser कंपोनेंट](https://docs.inductiveautomation.com/docs/8.3/appendix/components/vision-components/misc/web-browser).

## समस्या निवारण

<table data-search="false"><thead><tr><th>समस्या</th><th>समाधान</th></tr></thead><tbody><tr><td>HTTPS पर चल रहे सेशन में फ़्रेम खाली है</td><td>ब्राउज़र मिश्रित सामग्री को ब्लॉक करता है। Perspective Over HTTPS देखें।</td></tr><tr><td>फ़्रेम में "इस साइट तक नहीं पहुँचा जा सकता" दिखता है</td><td>उसी कंप्यूटर पर ब्राउज़र में HMI का पता खोलें। अगर वहाँ भी यह नहीं खुलता, तो कंप्यूटर पोर्ट पर डिवाइस तक नहीं पहुँच सकता <code>3000</code>.</td></tr><tr><td>HMI लोड हो जाता है, लेकिन वीडियो क्षेत्र खाली है</td><td>पते में दिया गया स्ट्रीम नाम किसी चल रही स्ट्रीम से मेल नहीं खाता। Deployment Manager में स्ट्रीम देखें।</td></tr><tr><td>Ignition के अंदर "डिवाइस सेटिंग्स" अनलॉक नहीं होंगी</td><td>डिवाइस सेटिंग बदलने के लिए HMI का पता ब्राउज़र के अपने टैब में खोलें।</td></tr></tbody></table>

## सुरक्षा

HMI के लाइव व्यू में साइन-इन की सुविधा नहीं है। डिवाइस तक पोर्ट पर पहुँच रखने वाला कोई भी व्यक्ति `3000` वीडियो देख सकता है। डिवाइस को किसी विश्वसनीय नेटवर्क पर रखें और डिफ़ॉल्ट "डिवाइस सेटिंग्स" पासवर्ड बदलें।
