Repository navigation
Screen Sharing
nc-intezra edited this page Oct 19, 2026
·
1 revision
A screen module shows a live picture of an OT screen, such as an HMI or
an engineering workstation, in an IT-side web browser, through the diode.
(DYODE v1 only.)
flowchart LR
WS["OT workstation<br/>screenshot.ps1"] -->|"JPEG files"| FOLD["Input box<br/>'in' folder"]
FOLD --> NEW["Newest JPEG,<br/>at most max_fps per second"]
NEW -->|"DYO1-framed UDP"| D{{"Diode"}}
D --> FRAME["Output box<br/>latest complete frame"]
FRAME --> HTTP["HTTP server<br/>http_port 8080"]
HTTP --> B1["/ : page with live view"]
HTTP --> B2["/screen.mjpg : MJPEG stream"]
HTTP --> B3["/screen.jpg : still image"]
- Something on the OT side writes JPEG screenshots into a folder that the
input box can read.
screenshot.ps1is included for Windows. - The input module watches the folder and sends the newest image as
one framed message, at most
max_fpstimes per second (default 10). Older images that were superseded are simply skipped. - The output module keeps the latest complete frame. Each frame is CRC-checked, so a damaged frame is dropped and never shown.
- Browse to
http://<output-ip>:8080/for a live view./screen.jpggives a single still, handy for dashboards.
There is no keyboard or mouse path. The picture is strictly view-only, because nothing can travel back through the diode.
DYODE Python 3 edition · documents release 1.5.0 · source pages are kept in docs/wiki/ of the main repository · GPLv3
DYODE (Python 3)
Modules
Running it
Repository