Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions scripts/sync-manifest.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const PAGES = [
{ product: 'iot', group: 'The base', slug: 'iot/entities', repo: 'hotloop', file: 'docs/ENTITIES.md', title: 'Entities', description: 'The entity registry every automation, helper, script and screen is built on: ids that never change, domains, services and the API that reads them.' },
{ product: 'iot', group: 'The base', slug: 'iot/equipment', repo: 'hotloop', file: 'docs/EQUIPMENT.md', title: 'Plant tree', description: 'One ISA-95 tree of enterprise, site, area, line, cell, unit and equipment, plus labels, so rules and agents talk about the pump and not register 40001.' },
{ product: 'iot', group: 'The base', slug: 'iot/helpers', repo: 'hotloop', file: 'docs/HELPERS.md', title: 'Helpers', description: "The values a plant's people own, like a batch target or which shift is on: toggles, numbers, selects, text, counters, timers and schedules." },
{ product: 'iot', group: 'The base', slug: 'iot/logbook', repo: 'hotloop', file: 'docs/LOGBOOK.md', title: 'Logbook', description: 'State changes, writes, alarms, rule runs and config changes on one timeline, for the plant, one area or one entity, so what happened right before is one list.' },
{ product: 'iot', group: 'The base', slug: 'iot/logbook', repo: 'hotloop', file: 'docs/LOGBOOK.md', title: 'Logbook', description: 'State changes, writes, alarms, rule runs and config changes on one timeline for the plant, an area, or an entity. What happened right before is one list.' },
{ product: 'iot', group: 'The base', slug: 'iot/sun', repo: 'hotloop', file: 'docs/SUN.md', title: 'The sun', description: 'Sunrise, sunset, dawn, dusk and the sun position worked out on the box from a latitude and longitude, with no weather service and no internet.' },
{ product: 'iot', group: 'The base', slug: 'iot/weather', repo: 'hotloop', file: 'docs/WEATHER.md', title: 'Weather', description: 'A roof weather station as one entity, with the dew point, heat index and wind chill worked out on the box, and no cloud service called.' },
{ product: 'iot', group: 'The base', slug: 'iot/energy', repo: 'hotloop', file: 'docs/ENERGY.md', title: 'Energy', description: 'Meters kept in 15 minute buckets, a tariff that prices each bucket when it is made, a demand charge, shifts, and the cost of a unit made.' },
Expand All @@ -87,16 +87,16 @@ export const PAGES = [

{ product: 'iot', group: 'Screens and alerts', slug: 'iot/dashboards', repo: 'hotloop', file: 'docs/DASHBOARDS.md', title: 'High Performance HMI and Web HMI', label: 'Glass', linkLabel: 'HotLoop Glass', description: 'High performance HMI and web HMI software in a browser. HotLoop Glass runs on a panel, a wall and a phone. Free, no license keys.' },
{ product: 'iot', group: 'Screens and alerts', slug: 'iot/screen-file', repo: 'hotloop', file: 'docs/SCREEN-FILE.md', title: 'Screen files', description: 'Export a Glass screen to a file and import it into another install, with every tag, device and script it names listed and a mapping for names that differ.' },
{ product: 'iot', group: 'Screens and alerts', slug: 'iot/codesys-screen-import', repo: 'hotloop', file: 'docs/CODESYS-SCREEN-IMPORT.md', title: 'CODESYS screen import', description: 'Export a CODESYS visualization from the IDE and import it as a HotLoop screen on the PLC\'s variables, with every element that could not be placed listed first.' },
{ product: 'iot', group: 'Screens and alerts', slug: 'iot/codesys-screen-import', repo: 'hotloop', file: 'docs/CODESYS-SCREEN-IMPORT.md', title: 'CODESYS screen import', description: 'Export a CODESYS visualization from the IDE. Import it as a HotLoop screen on the PLC\'s variables. Parts that cannot be placed are listed first.' },
{ product: 'iot', group: 'Screens and alerts', slug: 'iot/notifications', repo: 'hotloop', file: 'docs/NOTIFY.md', title: 'Alarm notifications', description: 'ntfy, Gotify, Discord, webhooks and email. Press Acknowledge on your phone and the alarm is acknowledged, signed and single use.' },
{ product: 'iot', group: 'Screens and alerts', slug: 'iot/mcp', repo: 'hotloop', file: 'docs/MCP.md', title: 'Agent access', description: 'Let an agent read the whole plant and touch only what you armed, through the write gate, with a stated reason logged next to every write.' },

{ product: 'iot', group: 'Devices and data', slug: 'iot/protocols', repo: 'hotloop', file: 'docs/PROTOCOLS.md', title: 'Native Drivers for a PLC Gateway', linkLabel: 'Native drivers', description: 'A PLC gateway with eighteen native drivers: OPC UA gateway, Modbus TCP gateway, MQTT Sparkplug B, EtherNet/IP gateway, S7comm, MTConnect and HTTP.' },
{ product: 'iot', group: 'Devices and data', slug: 'iot/broker', repo: 'hotloop', file: 'docs/BROKER.md', title: 'The embedded MQTT broker', description: 'A broker in the same process, so one small box can be the whole install, with its listeners, accounts and the settings that turn it on.' },
{ product: 'iot', group: 'Devices and data', slug: 'iot/mqtt-discovery', repo: 'hotloop', file: 'docs/DISCOVERY.md', title: 'MQTT discovery', description: 'Point ESPHome, Zigbee2MQTT, Tasmota or a Shelly at the broker and it shows up, read-only until an admin accepts it and arms each point.' },
{ product: 'iot', group: 'Devices and data', slug: 'iot/network-discovery', repo: 'hotloop', file: 'docs/NETWORK-DISCOVERY.md', title: 'Network discovery', description: 'HotLoop listens with mDNS, SSDP and DHCP and shows what is on the plant network, and sends nothing unless you list a network to probe.' },
{ product: 'iot', group: 'Devices and data', slug: 'iot/unifi', repo: 'hotloop', file: 'docs/UNIFI.md', title: 'UniFi Network', description: 'Switches, ports, PoE, WAN failover and clients read from a UniFi console as ordinary tags, with screens, events, and a few commands that stay off until armed.' },
{ product: 'iot', group: 'Devices and data', slug: 'iot/integrations', repo: 'hotloop', file: 'docs/INTEGRATIONS.md', title: 'Guided integrations', description: 'Point HotLoop at a device you know the address of, look at the real thing, and keep the points you want. SNMP, BACnet/IP, and OPC UA, read-only, nothing armed.' },
{ product: 'iot', group: 'Devices and data', slug: 'iot/unifi', repo: 'hotloop', file: 'docs/UNIFI.md', title: 'UniFi Network', description: 'Read switches, ports, PoE, WAN failover and clients from a UniFi console as ordinary tags. Get screens and events. Commands stay off until armed.' },
{ product: 'iot', group: 'Devices and data', slug: 'iot/integrations', repo: 'hotloop', file: 'docs/INTEGRATIONS.md', title: 'Guided integrations', description: 'Point HotLoop at a device by address, look at the real thing, and keep the points you want. SNMP, BACnet/IP, and OPC UA, read-only, nothing armed.' },
{ product: 'iot', group: 'Devices and data', slug: 'iot/historian-targets', repo: 'hotloop', file: 'docs/HISTORIAN-TARGETS.md', title: 'Historian targets', description: "Write every reading HotLoop keeps out to the plant's own PostgreSQL, TimescaleDB, SQL Server, InfluxDB or MySQL and MariaDB as well." },

{ product: 'iot', group: 'Operate', slug: 'iot/authentication', repo: 'hotloop', file: 'docs/AUTH.md', title: 'Authentication and users', description: 'Logins, roles, tokens and the users screen, and what a deployment behind a trusted proxy has to say out loud to skip them.' },
Expand Down Expand Up @@ -151,7 +151,7 @@ export const PAGES = [
{ product: 'flow', group: 'Run it', slug: 'flow/deploying', repo: 'flow', file: 'docs/deploying.md', title: 'Deploying Flow', description: 'Flow on Kubernetes with Helm, on a box with Podman and Quadlet, or with a plain podman run, plus backups and the one secret you must never lose.' },
{ product: 'flow', group: 'Run it', slug: 'flow/troubleshooting', repo: 'flow', file: 'README.md', sections: ['When it refuses to start'], title: 'When it refuses to start', description: 'The startup errors Flow gives, what each one means and the one-line fix.' },
{ product: 'flow', group: 'Project', slug: 'flow/where-it-stands', repo: 'flow', file: 'README.md', sections: ['Where it stands'], title: 'Where Flow stands', description: "What Flow runs against on real equipment, and where it came from before it was HotLoop Flow." },
{ product: 'flow', group: 'Project', slug: 'flow/benchmarks', repo: 'flow', file: 'docs/bench/README.md', title: 'Benchmarks', description: 'See Flow\'s measured start time, memory, throughput and latency on a desktop and a Raspberry Pi 5. Learn what the numbers mean, and rerun them.' },
{ product: 'flow', group: 'Project', slug: 'flow/benchmarks', repo: 'flow', file: 'docs/bench/README.md', title: 'Benchmarks', description: 'See Flow\'s measured start time, memory, throughput and latency on a desktop and a low-cost box. Learn what the numbers mean, and rerun them.' },
{ product: 'flow', group: 'Project', slug: 'flow/building', repo: 'flow', file: 'README.md', sections: ['Building'], title: 'Building Flow', description: 'Build the Flow binary from source: one static binary with the editor inside it, no C library underneath.' },
{ product: 'flow', group: 'Project', slug: 'flow/roadmap', repo: 'flow', file: 'docs/ROADMAP.md', title: 'Flow roadmap', description: "What Flow ships today, from history and rollback to warm standby and FlowLab, and what it does next." },

Expand Down Expand Up @@ -235,6 +235,10 @@ Object.assign(SLUG_RULES, {
'iot/mcp': [
[/mcp:pat@example\.com/g, 'mcp:support@example.com'],
],
'iot/api': [
[/ana@plant\.test/g, 'support@plant.test'],
[/shift-lead@example\.com/g, 'dispatch@example.com'],
],
// Core's source now carries the measured queue figures itself, so the old rewrites are gone. It still ends the paragraph on the estimate the 4.18.10 notes quoted, which is a past figure told for its own sake, so that sentence comes off.
'edge/edge-publish': [
[ws(" The 4.18.10 release notes quote about two and three quarter minutes and about 180 bytes a reading; those were an estimate, and these are measured."), ''],
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ar/edge-relay/install.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by scripts/sync-docs.mjs
title: "تثبيت Edge Relay بـ Helm أو Quadlet"
description: "شغّل HotLoop Edge Relay على عنقود بـHelm، أو على Pi أو حاسوب صناعي كخدمة systemd بـPodman Quadlet. ملفات الوحدة كاملة هنا."
description: "شغّل HotLoop Edge Relay على عنقود بـHelm، أو على صندوق منخفض التكلفة أو حاسوب صناعي كخدمة systemd بـPodman Quadlet. ملفات الوحدة كاملة هنا."
sidebar:
label: "التثبيت"
editUrl: false
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ar/flow/benchmarks.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "اختبارات الأداء"
description: "زمن بدء التشغيل والذاكرة ومعدل المعالجة والتأخر المقيسة لـ Flow على حاسوب مكتبي وRaspberry Pi 5، وما لا تعنيه الأرقام، وكيف تعيد الاختبار بنفسك."
description: "زمن بدء التشغيل والذاكرة ومعدل المعالجة والتأخر المقيسة لـ Flow على حاسوب مكتبي وصندوق منخفض التكلفة، وما لا تعنيه الأرقام، وكيف تعيد الاختبار بنفسك."
---

أرقام مطلقة فقط. الجدول المقارن جنبًا إلى جنب يتحرك كلما تغيّر الجهاز، وينتهي بوصف الشيء الآخر أكثر من وصف هذا.
Expand Down
8 changes: 4 additions & 4 deletions src/content/docs/ar/iot/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2016,7 +2016,7 @@ ISA-18.2: التفعيل والإقرار والعودة إلى الوضع ال
سياسة تصعيد الإنذارات، والقنوات التي يمكن لخطوة أن تسمّيها، والسلاسل المفتوحة الآن. `available` هو `false`، مع سياسة متوقفة وبلا قنوات، عندما لا يكون `HOTLOOP_NOTIFY_ENABLED` مضبوطاً؛ ويبقى الرد `200`. للمسؤولين فقط قراءةً وكتابةً: السياسة تحمل مواضيع ntfy الخاصة بالأشخاص، وهي على خادم يصل إليه أي أحد كلمات مرور.

```json
{"available":true,"policy":{"enabled":true,"minPriority":"high","contacts":[{"name":"Ana","ntfyTopic":"ana-phone-3f9c","emails":["ana@plant.test"]}],"steps":[{"afterMinutes":5,"contacts":["Ana"]},{"afterMinutes":10,"channels":["gotify"]}],"repeatEveryMinutes":15,"repeatTimes":2},"channels":["smtp","ntfy","gotify"],"active":[{"alarmId":"boiler-hi","name":"Boiler Trip","raisedAt":"2026-10-21T03:00:00Z","sent":1,"total":4,"nextAt":"2026-10-21T03:15:00Z"}],"limits":{"steps":10,"contacts":50,"repeats":20,"minutes":1440}}
{"available":true,"policy":{"enabled":true,"minPriority":"high","contacts":[{"name":"Ana","ntfyTopic":"ana-phone-3f9c","emails":["support@plant.test"]}],"steps":[{"afterMinutes":5,"contacts":["Ana"]},{"afterMinutes":10,"channels":["gotify"]}],"repeatEveryMinutes":15,"repeatTimes":2},"channels":["smtp","ntfy","gotify"],"active":[{"alarmId":"boiler-hi","name":"Boiler Trip","raisedAt":"2026-10-21T03:00:00Z","sent":1,"total":4,"nextAt":"2026-10-21T03:15:00Z"}],"limits":{"steps":10,"contacts":50,"repeats":20,"minutes":1440}}
```

`channels` هي التي ضبطها هذا HotLoop، وهذا كل ما يمكن لخطوة أن تسمّيه. `active` هو كل إنذار يُمرَّر على السلسلة: كم إرسالاً خرج من عدد ما في السياسة (الخطوات ثم التكرارات)، ومتى يحين التالي. ما لم يُحفظ شيء بعد فهو `{"policy":{"enabled":false},...}`: متوقفة، وبلا شيء فيها.
Expand All @@ -2027,7 +2027,7 @@ ISA-18.2: التفعيل والإقرار والعودة إلى الوضع ال

```json
{"enabled":true,"minPriority":"high",
"contacts":[{"name":"Ana","ntfyTopic":"ana-phone-3f9c","emails":["ana@plant.test"]}],
"contacts":[{"name":"Ana","ntfyTopic":"ana-phone-3f9c","emails":["support@plant.test"]}],
"steps":[{"afterMinutes":5,"contacts":["Ana"]},{"afterMinutes":10,"channels":["gotify"]}],
"repeatEveryMinutes":15,"repeatTimes":2}
```
Expand Down Expand Up @@ -2085,7 +2085,7 @@ ISA-18.2: التفعيل والإقرار والعودة إلى الوضع ال
### `GET /api/reports`

```json
{"configured":true,"reports":[{"id":"line1-hourly","name":"Line 1 hourly","enabled":true,"tags":[{"deviceId":"extruder-1","tagName":"Temperature"},{"deviceId":"extruder-1","tagName":"Pressure"}],"window":{"count":1,"unit":"hours","end":"run_time"},"bucket":"window","aggregations":["min","max","avg"],"schedule":{"kind":"daily","at":"06:00"},"format":"both","recipients":["shift-lead@example.com"],"retain":10,"createdAt":"2026-09-27T20:29:23.300978Z","updatedAt":"2026-09-27T20:29:23.300978Z","nextRunAt":"2026-09-28T06:00:00Z"}],"smtpConfigured":true,"timezone":"UTC"}
{"configured":true,"reports":[{"id":"line1-hourly","name":"Line 1 hourly","enabled":true,"tags":[{"deviceId":"extruder-1","tagName":"Temperature"},{"deviceId":"extruder-1","tagName":"Pressure"}],"window":{"count":1,"unit":"hours","end":"run_time"},"bucket":"window","aggregations":["min","max","avg"],"schedule":{"kind":"daily","at":"06:00"},"format":"both","recipients":["dispatch@example.com"],"retain":10,"createdAt":"2026-09-27T20:29:23.300978Z","updatedAt":"2026-09-27T20:29:23.300978Z","nextRunAt":"2026-09-28T06:00:00Z"}],"smtpConfigured":true,"timezone":"UTC"}
```

كل تعريف يحمل `nextRunAt` وأحدث تشغيل له كـ `lastRun`.
Expand All @@ -2111,7 +2111,7 @@ ISA-18.2: التفعيل والإقرار والعودة إلى الوضع ال
يشغّله الآن وينتظر. `?deliver=false` ينشئه ويخزّنه دون إرسال بريد لأحد، لتجربة تعريف. `200` تعني أن التشغيل حدث؛ و`status` الخاص به يقول هل نجح التقرير. التشغيل الذي يفشل نتيجة، وليس طلباً سيئاً، ويُسجَّل في الحالتين.

```json
{"id":1,"reportId":"line1-hourly","trigger":"manual","actor":"admin","status":"succeeded","startedAt":"2026-09-27T20:29:54.06926Z","finishedAt":"2026-09-27T20:29:54.092456655Z","windowStart":"2026-09-27T19:29:54.06926Z","windowEnd":"2026-09-27T20:29:54.06926Z","tags":2,"rows":2,"readings":984,"excluded":2,"files":[{"format":"csv","name":"20260927T202954Z-1.csv","bytes":338},{"format":"html","name":"20260927T202954Z-1.html","bytes":2430}],"emailStatus":"skipped","emailTo":["shift-lead@example.com"]}
{"id":1,"reportId":"line1-hourly","trigger":"manual","actor":"admin","status":"succeeded","startedAt":"2026-09-27T20:29:54.06926Z","finishedAt":"2026-09-27T20:29:54.092456655Z","windowStart":"2026-09-27T19:29:54.06926Z","windowEnd":"2026-09-27T20:29:54.06926Z","tags":2,"rows":2,"readings":984,"excluded":2,"files":[{"format":"csv","name":"20260927T202954Z-1.csv","bytes":338},{"format":"html","name":"20260927T202954Z-1.html","bytes":2430}],"emailStatus":"skipped","emailTo":["dispatch@example.com"]}
```

`400` لـ `deliver` ليس true أو false، `404` لتقرير غير معروف.
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ar/iot/install.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by scripts/sync-docs.mjs
title: "تثبيت HotLoop IoT 4.24.4"
description: "ثبّت HotLoop IoT 4.24.4 على k3s باستخدام Helm، أو على Pi أو حاسوب صغير كخدمات systemd باستخدام Podman Quadlet، مع PostgreSQL أو ملف SQLite."
description: "ثبّت HotLoop IoT على k3s باستخدام Helm، أو على حاسوب صغير كخدمات systemd باستخدام Podman Quadlet، مع PostgreSQL أو ملف SQLite."
sidebar:
label: "التثبيت"
editUrl: false
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/bg/404.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Тази страница не съществува"
description: "Тази страница я няма тук. Преместена е, никога не е съществувала или връзката има грешка. Потърсете я или започнете от началната страница на документацията."
description: "Тази страница я няма тук. Преместена е, никога не е съществувала или връзката има грешка. Потърсете я или започнете от началото на документацията."
template: splash
editUrl: false
head:
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/bg/cascade/observability.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Наблюдение"
description: "Състояние, готовност, метрики на Prometheus и проследявания за всяко изпълнение и стъпка, така че заседнала задача да се вижда на графика, а не в оплакване."
description: "Състояние, готовност, метрики на Prometheus и трейсове за всяко изпълнение и стъпка, така че заседнала задача да се вижда на графика, не в оплакване."
---

`/healthz` показва, че процесът работи. `/readyz` показва, че може да върши работата си: базата данни отговаря и има схемата, от която този двоичен файл се нуждае. `/metrics` е Prometheus: изпълнения по състояние и колко са траяли, времето във всеки тип стъпка, колко изпълнения са на опашка, в изпълнение или в изчакване и колко дълго чака най-старото, забавяне на webhook, грешки при подновяване на OAuth и кои задействания държат връзка. Те споделят основния адрес или имат собствен адрес чрез `HOTLOOP_CASCADE_OPS_LISTEN` (worker няма друг адрес и ползва `:8081`). `HOTLOOP_CASCADE_METRICS_TOKEN` кара `/metrics` да иска bearer токен.
Expand Down
Loading