diff --git a/internal/api/ui/iot-console.html b/internal/api/ui/iot-console.html
index 75f69a4..6f91e35 100644
--- a/internal/api/ui/iot-console.html
+++ b/internal/api/ui/iot-console.html
@@ -903,6 +903,7 @@ function credsTab(d) {
Password
••••••••••••••••
+
@@ -913,7 +914,8 @@ function credsTab(d) {
Broker URL
-
${h(S.mqttBase)}
+
${h(S.mqttBase)} (порт 443)
+
@@ -925,8 +927,9 @@ function credsTab(d) {
1. Запишите параметры в прошивку устройства:
broker ${h(S.mqttBase)}
+port 443
username ${h(d.mqtt_username)}
-password (см. выше)
+password (кнопка «Копировать» у поля Password выше)
topic ${h(topic)}
2. Устройство должно публиковать JSON в топик.
@@ -941,6 +944,12 @@ topic ${h(topic)}
`;
}
+// copyPw — копировать пароль из S.deviceDetail без показа на экране
+function copyPw(btn) {
+ if (!S.deviceDetail) return;
+ copyVal(S.deviceDetail.mqtt_password, btn);
+}
+
// togglePw — показать/скрыть пароль (читаем из S.deviceDetail, не из атрибутов)
function togglePw() {
const el = document.getElementById('pw-display');