config description

- Added descriptions in configuration
- Added Persian support in configuration
This commit is contained in:
2026-10-11 10:34:15 +03:30
parent d592dc6db0
commit 1d33b8d3f3
4 changed files with 130 additions and 1 deletions
+5
View File
@@ -45,3 +45,8 @@
## 0.3.3
- Minor bug fix
## 0.4.0
- Added descriptions in configuration
- Added Persian support in configuration
+1 -1
View File
@@ -1,5 +1,5 @@
name: Visquitto
version: "0.3.3"
version: "0.4.0"
slug: visquitto
description: Second private Mosquitto broker for bitopa nodes
arch:
+61
View File
@@ -0,0 +1,61 @@
configuration:
users:
name: MQTT users
description: >-
Configure the username and password for each client allowed to
authenticate with this broker.
fields:
username:
name: Username
description: Username the MQTT client uses to authenticate.
password:
name: Password
description: Password associated with this username.
log_dest:
name: Log destinations
description: >-
Select where Mosquitto sends its log messages. stdout sends logs
to the add-on output captured by Home Assistant. stderr sends logs
to the standard error stream. topic publishes log messages to an
MQTT topic. none disables logging to the selected destination.
log_type:
name: Log event types
description: >-
Select which events Mosquitto logs. Use error and warning for
problems, notice and information for routine events, subscribe
and unsubscribe for client subscription activity, debug for
detailed diagnostics, and all to enable all supported log types.
require_certificate:
name: Require client certificates
description: >-
Require MQTT clients connecting over TLS to present a client
certificate signed by the configured certificate authority.
This setting applies to TLS connections, not plain MQTT.
cafile:
name: CA certificate file
description: >-
Name of the certificate authority (CA) certificate file used to
verify client certificates. The file must be available in the
add-on's mapped certificate directory.
certfile:
name: Server certificate file
description: >-
Name of the TLS certificate presented by the broker to connecting
clients. The file must be available in the add-on's mapped
certificate directory.
keyfile:
name: Server private key file
description: >-
Name of the private key corresponding to the broker's TLS
certificate. Keep this file private and protect it from
unauthorized access.
network:
1883/TCP: Plain MQTT port exposed by this add-on.
8883/TCP: MQTT over TLS port exposed by this add-on.
+63
View File
@@ -0,0 +1,63 @@
configuration:
users:
name: کاربران MQTT
description: >-
نام کاربری و رمز عبور هر کلاینتی را که مجاز به اتصال و احراز هویت
در این بروکر است، تنظیم کنید.
fields:
username:
name: نام کاربری
description: نام کاربری مورد استفاده کلاینت MQTT برای احراز هویت.
password:
name: رمز عبور
description: رمز عبور مربوط به این نام کاربری.
log_dest:
name: مقصد ثبت گزارش‌ها
description: >-
مشخص کنید گزارش‌های Mosquitto کجا ارسال شوند.
stdout گزارش‌ها را در خروجی‌ای قرار می‌دهد که Home Assistant
می‌تواند در بخش گزارش‌های افزونه نمایش دهد.
stderr از جریان جداگانه خطا استفاده می‌کند.
topic گزارش‌ها را در یک تاپیک MQTT منتشر می‌کند.
none ثبت گزارش در مقصد انتخاب‌شده را غیرفعال می‌کند.
log_type:
name: انواع رویدادهای قابل ثبت
description: >-
مشخص کنید چه رویدادهایی ثبت شوند.
error و warning برای خطاها و هشدارها هستند.
notice و information رویدادهای اطلاع‌رسانی را ثبت می‌کنند.
subscribe و unsubscribe تغییرات اشتراک کلاینت‌ها را ثبت می‌کنند.
debug اطلاعات تشخیصی بیشتری ارائه می‌دهد و all همه انواع
پشتیبانی‌شده را فعال می‌کند.
require_certificate:
name: الزام ارائه گواهی کلاینت
description: >-
کلاینت‌هایی که از طریق TLS متصل می‌شوند باید گواهی کلاینتی
ارائه کنند که توسط مرجع گواهی (CA) تنظیم‌شده تأیید شود.
این گزینه بر اتصال‌های TLS تأثیر می‌گذارد، نه MQTT بدون رمزنگاری.
cafile:
name: فایل گواهی مرجع (CA)
description: >-
نام فایل گواهی مرجع صدور گواهی (CA) که برای بررسی اعتبار
گواهی کلاینت‌ها استفاده می‌شود. فایل باید در پوشه گواهی‌های
در دسترس افزونه قرار داشته باشد.
certfile:
name: فایل گواهی سرور
description: >-
نام گواهی TLS که بروکر هنگام اتصال کلاینت‌ها ارائه می‌کند.
فایل باید در پوشه گواهی‌های در دسترس افزونه قرار داشته باشد.
keyfile:
name: فایل کلید خصوصی سرور
description: >-
نام کلید خصوصی متناظر با گواهی TLS بروکر.
این فایل باید محرمانه بماند و از دسترسی غیرمجاز به آن جلوگیری شود.
network:
1883/TCP: درگاه MQTT بدون رمزنگاری
8883/TCP: درگاه MQTT با رمزنگاری TLS