Skip to content

Commit

Permalink
chore: release v3.1.0
Browse files Browse the repository at this point in the history
* (arteck) add new command takePicture, check new settings
  • Loading branch information
arteck committed Feb 16, 2025
1 parent 50221c5 commit cd3b874
Show file tree
Hide file tree
Showing 19 changed files with 178 additions and 74 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ Many thanks to @Acgua (https://github.com/Acgua) for [ioBroker.fully-mqtt](https
-->

## Changelog
### 3.1.0 (2025-02-16)
* (arteck) add new command takePicture, check new settings

### 3.0.13 (2025-01-05)
* (arteck) add setBooleanSetting

Expand Down
4 changes: 3 additions & 1 deletion admin/i18n/de/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@
"Welcome to Fully MQTT adapter": "Willkommen beim Fully-MQTT Adapter",
"in milliseconds (500-15000, default: 6000)": "in Millisekunden (500-15000, Default: 6000)",
"in seconds (2-120, default: 30)": "in Sekunden (2-120, Default: 30)",
"in seconds (min: 5, default: 60); ignored if MQTT is used": "in Sekunden (min: 5, Default: 60); ignoriert wenn MQTT verwendet wird"
"in seconds (min: 5, default: 60); ignored if MQTT is used": "in Sekunden (min: 5, Default: 60); ignoriert wenn MQTT verwendet wird",
"Picture path": "Bildpfad",
"picture path for camera pictures, create the folder manually if it does not exist ": "Bildpfad für Kamerabilder, Ordner muss manuell erstellt werden, wenn er nicht existiert empfehlung /opt/iobroker/pics/"
}
4 changes: 3 additions & 1 deletion admin/i18n/en/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@
"Welcome to Fully MQTT adapter": "Welcome to Fully MQTT adapter",
"in milliseconds (500-15000, default: 6000)": "in milliseconds (500-15000, default: 6000)",
"in seconds (2-120, default: 30)": "in seconds (2-120, default: 30)",
"in seconds (min: 5, default: 60); ignored if MQTT is used": "in seconds (min: 5, default: 60); ignored if MQTT is used"
"in seconds (min: 5, default: 60); ignored if MQTT is used": "in seconds (min: 5, default: 60); ignored if MQTT is used",
"Picture path": "Picture path",
"picture path for camera pictures, create the folder manually if it does not exist": "picture path for camera pictures (like /opt/iobroker/pics/), create the folder manually if it does not exist"
}
4 changes: 3 additions & 1 deletion admin/i18n/es/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@
"Welcome to Fully MQTT adapter": "Bienvenido al adaptador completamente MQTT",
"in milliseconds (500-15000, default: 6000)": "en milisegundos (500-15000, predeterminado: 6000)",
"in seconds (2-120, default: 30)": "en segundos (2-120, predeterminado: 30)",
"in seconds (min: 5, default: 60); ignored if MQTT is used": "en segundos (mín.: 5, predeterminado: 60); ignorado si se usa MQTT"
"in seconds (min: 5, default: 60); ignored if MQTT is used": "en segundos (mín.: 5, predeterminado: 60); ignorado si se usa MQTT",
"Picture path": "Ruta de la imagen",
"picture path for camera pictures, create the folder manually if it does not exist": "ruta de la imagen para las imágenes de la cámara, cree la carpeta manualmente si no existe recomendación /opt/iobroker/pics/"
}
4 changes: 3 additions & 1 deletion admin/i18n/fr/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@
"Welcome to Fully MQTT adapter": "Bienvenue dans l'adaptateur entièrement MQTT",
"in milliseconds (500-15000, default: 6000)": "en millisecondes (500-15000, par défaut : 6000)",
"in seconds (2-120, default: 30)": "en secondes (2-120, par défaut : 30)",
"in seconds (min: 5, default: 60); ignored if MQTT is used": "en secondes (min : 5, par défaut : 60) ; ignoré si MQTT est utilisé"
"in seconds (min: 5, default: 60); ignored if MQTT is used": "en secondes (min : 5, par défaut : 60) ; ignoré si MQTT est utilisé",
"Picture path":"Chemin d'accès à l'image",
"picture path for camera pictures, create the folder manually if it does not exist": "chemin d'accès à l'image pour les images de la caméra (comme /opt/iobroker/pics/), créez le dossier manuellement s'il n'existe pas"
}
4 changes: 3 additions & 1 deletion admin/i18n/it/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@
"Welcome to Fully MQTT adapter": "Benvenuto nell'adattatore Fully MQTT",
"in milliseconds (500-15000, default: 6000)": "in millisecondi (500-15000, predefinito: 6000)",
"in seconds (2-120, default: 30)": "in secondi (2-120, predefinito: 30)",
"in seconds (min: 5, default: 60); ignored if MQTT is used": "in secondi (min: 5, default: 60); ignorato se viene utilizzato MQTT"
"in seconds (min: 5, default: 60); ignored if MQTT is used": "in secondi (min: 5, default: 60); ignorato se viene utilizzato MQTT",
"Picture path": "Percorso dell'immagine",
"picture path for camera pictures, create the folder manually if it does not exist": "percorso dell'immagine per le immagini della fotocamera, crea la cartella manualmente se non esiste (come /opt/iobroker/pics/)"
}
4 changes: 3 additions & 1 deletion admin/i18n/nl/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@
"Welcome to Fully MQTT adapter": "Welkom bij de volledig MQTT-adapter",
"in milliseconds (500-15000, default: 6000)": "in milliseconden (500-15000, standaard: 6000)",
"in seconds (2-120, default: 30)": "in seconden (2-120, standaard: 30)",
"in seconds (min: 5, default: 60); ignored if MQTT is used": "in seconden (min: 5, standaard: 60); genegeerd als MQTT wordt gebruikt"
"in seconds (min: 5, default: 60); ignored if MQTT is used": "in seconden (min: 5, standaard: 60); genegeerd als MQTT wordt gebruikt",
"Picture path": "Afbeeldingspad",
"picture path for camera pictures, create the folder manually if it does not exist": "afbeeldingspad voor camerabeelden, maak de map handmatig aan als deze niet bestaat aanbeveling /opt/iobroker/pics/"
}
4 changes: 3 additions & 1 deletion admin/i18n/pl/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@
"Welcome to Fully MQTT adapter": "Witamy w adapterze Fully MQTT",
"in milliseconds (500-15000, default: 6000)": "w milisekundach (500-15000, domyślnie: 6000)",
"in seconds (2-120, default: 30)": "w sekundach (2-120, domyślnie: 30)",
"in seconds (min: 5, default: 60); ignored if MQTT is used": "w sekundach (min: 5, domyślnie: 60); ignorowane, jeśli używany jest MQTT"
"in seconds (min: 5, default: 60); ignored if MQTT is used": "w sekundach (min: 5, domyślnie: 60); ignorowane, jeśli używany jest MQTT",
"Picture path": "Ścieżka obrazu",
"picture path for camera pictures, create the folder manually if it does not exist": "ścieżka obrazu dla zdjęć z kamery, utwórz folder ręcznie, jeśli nie istnieje (np. /opt/iobroker/pics/)"
}
4 changes: 3 additions & 1 deletion admin/i18n/pt/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@
"Welcome to Fully MQTT adapter": "Bem-vindo ao adaptador totalmente MQTT",
"in milliseconds (500-15000, default: 6000)": "em milissegundos (500-15000, padrão: 6000)",
"in seconds (2-120, default: 30)": "em segundos (2-120, padrão: 30)",
"in seconds (min: 5, default: 60); ignored if MQTT is used": "em segundos (min: 5, padrão: 60); ignorado se o MQTT for usado"
"in seconds (min: 5, default: 60); ignored if MQTT is used": "em segundos (min: 5, padrão: 60); ignorado se o MQTT for usado",
"Picture path": "Caminho da imagem",
"picture path for camera pictures, create the folder manually if it does not exist": "caminho da imagem para fotos da câmera, crie a pasta manualmente se ela não existir (como /opt/iobroker/pics/)"
}
4 changes: 3 additions & 1 deletion admin/i18n/ru/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@
"Welcome to Fully MQTT adapter": "Добро пожаловать в адаптер Fully MQTT",
"in milliseconds (500-15000, default: 6000)": "в миллисекундах (500-15000, по умолчанию: 6000)",
"in seconds (2-120, default: 30)": "в секундах (2-120, по умолчанию: 30)",
"in seconds (min: 5, default: 60); ignored if MQTT is used": "в секундах (мин.: 5, по умолчанию: 60); игнорируется, если используется MQTT"
"in seconds (min: 5, default: 60); ignored if MQTT is used": "в секундах (мин.: 5, по умолчанию: 60); игнорируется, если используется MQTT",
"Picture path": "Путь к изображению",
"picture path for camera pictures, create the folder manually if it does not exist": "путь к изображениям камеры, создайте папку вручную, если ее нет (например, /opt/iobroker/pics/)"
}
4 changes: 3 additions & 1 deletion admin/i18n/uk/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@
"Welcome to Fully MQTT adapter": "Ласкаво просимо до адаптера Fully MQTT",
"in milliseconds (500-15000, default: 6000)": "у мілісекундах (500-15000, за замовчуванням: 6000)",
"in seconds (2-120, default: 30)": "за секунди (2-120, за замовчуванням: 30)",
"in seconds (min: 5, default: 60); ignored if MQTT is used": "у секундах (хв.: 5, за замовчуванням: 60); ігнорується, якщо використовується MQTT"
"in seconds (min: 5, default: 60); ignored if MQTT is used": "у секундах (хв.: 5, за замовчуванням: 60); ігнорується, якщо використовується MQTT",
"Picture path": "Шлях до зображення",
"picture path for camera pictures, create the folder manually if it does not exist": "шлях до зображень камери, створіть папку вручну, якщо її немає рекомендація /opt/iobroker/pics/"
}
4 changes: 3 additions & 1 deletion admin/i18n/zh-cn/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@
"Welcome to Fully MQTT adapter": "欢迎使用 Fully MQTT 适配器",
"in milliseconds (500-15000, default: 6000)": "以毫秒为单位(500-15000,默认值:6000)",
"in seconds (2-120, default: 30)": "以秒为单位(2-120,默认值:30)",
"in seconds (min: 5, default: 60); ignored if MQTT is used": "以秒为单位(最小值:5,默认值:60);如果使用 MQTT,则忽略"
"in seconds (min: 5, default: 60); ignored if MQTT is used": "以秒为单位(最小值:5,默认值:60);如果使用 MQTT,则忽略",
"Picture path": "图片路径",
"picture path for camera pictures, create the folder manually if it does not exist": "相机图片的图片路径,如果不存在,请手动创建文件夹 建议 /opt/iobroker/pics/"
}
49 changes: 41 additions & 8 deletions admin/jsonConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
{
"type": "checkbox",
"attr": "enabled",
"width": "30px",
"width": "20px",
"title": "Active",
"default": true
},
Expand All @@ -101,7 +101,6 @@
"default": "restapi",
"width": "6%",
"validator": "data.apiType.length > 3",
"validatorNoSaveOnError": true,
"options": [
{
"label": "MQTT",
Expand All @@ -119,7 +118,7 @@
"attr": "name",
"maxLength": 50,
"trim": false,
"width": "35%",
"width": "25%",
"filter": true,
"sort": true,
"validator": "data.name.length > 1",
Expand Down Expand Up @@ -161,15 +160,32 @@
"min": 1,
"max": 65535,
"default": 2323,
"width": "10%"
"width": "5%"
},
{
"type": "password",
"title": "Remote Admin Password",
"attr": "restPassword",
"width": "25%",
"width": "15%",
"validator": "data.restPassword.length > 0",
"validatorNoSaveOnError": true
},
{
"type": "instance",
"adapter": "telegram",
"title": "Telegram",
"allowDeactivate": true,
"attr": "telegramInstance",
"width": "5%"
},
{
"type": "text",
"hidden": "!data.telegramInstance",
"title": "Chatid",
"attr": "chatid",
"maxLength": 15,
"trim": true,
"width": "15%"
}
]
},
Expand Down Expand Up @@ -206,6 +222,7 @@
"xl": 4
},
"mqttDoNotVerifyUserPw": {
"newLine": true,
"type": "checkbox",
"label": "Do not verify user and password",
"help": "This disables the username and password verification",
Expand All @@ -217,6 +234,7 @@
"xl": 4
},
"mqttUser": {
"newLine": true,
"type": "text",
"label": "User name",
"help": "MQTT User name",
Expand All @@ -228,6 +246,7 @@
"xl": 4
},
"mqttPassword": {
"newLine": true,
"type": "password",
"label": "Password",
"help": "MQTT Password",
Expand Down Expand Up @@ -255,7 +274,7 @@
"md": 6,
"lg": 4,
"xl": 4
},
},
"mqttTimeout": {
"type": "number",
"min": 1,
Expand Down Expand Up @@ -296,7 +315,8 @@
"type": "header",
"text": "Log MQTT ",
"size": 2
},"mqttConnErrorsAsInfo": {
},
"mqttConnErrorsAsInfo": {
"type": "checkbox",
"label": "Client and Connection errors as info in log",
"help": "Logs client and connection errors as 'info' and not as 'error'",
Expand Down Expand Up @@ -367,7 +387,8 @@
"type": "header",
"text": "Other Settings",
"size": 2
},"zeroBattery": {
},
"zeroBattery": {
"type": "checkbox",
"label": "Set battery to zero if Tablet is offline",
"help": "",
Expand All @@ -377,6 +398,18 @@
"md": 6,
"lg": 4,
"xl": 4
},
"picPath": {
"newLine": true,
"type": "text",
"label": "Picture path",
"help": "picture path for camera pictures, create the folder manually if it does not exist",
"default": "",
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4
}
}
}
Expand Down
30 changes: 15 additions & 15 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
{
"common": {
"name": "fullybrowser",
"version": "3.0.13",
"version": "3.1.0",
"news": {
"3.1.0": {
"en": "add new command takePicture, check new settings",
"de": "neue Befehl TakePicture hinzufügen, neue Einstellungen überprüfen",
"ru": "добавить новую команду takePicture, проверить новые настройки",
"pt": "add new command takePicture, verifique novas configurações",
"nl": "nieuwe commando TakePicture toevoegen, nieuwe instellingen controleren",
"fr": "ajouter une nouvelle commande takePhoto, vérifier les nouveaux paramètres",
"it": "aggiungere nuovo comando takePicture, controllare nuove impostazioni",
"es": "añadir nuevo comando takePicture, comprobar nuevos ajustes",
"pl": "dodaj nowe polecenie Take Picture, sprawdź nowe ustawienia",
"uk": "додати нову команду TakePicture, перевірити нові налаштування",
"zh-cn": "添加新命令 takePicture, 检查新设置"
},
"3.0.13": {
"en": "add setBooleanSetting",
"de": "setBooleanSetting hinzufügen",
Expand Down Expand Up @@ -80,19 +93,6 @@
"pl": "toForeground (ang.)\n",
"uk": "toForeground кор\n",
"zh-cn": "地面政变\n"
},
"3.0.7": {
"en": "check credentials",
"de": "anmeldeinformationen überprüfen",
"ru": "проверить учетные данные",
"pt": "verificar as credenciais",
"nl": "controleer de referenties",
"fr": "vérification des pouvoirs",
"it": "controllare le credenziali",
"es": "verificación de credenciales",
"pl": "credential",
"uk": "перевірка облікових даних",
"zh-cn": "检查"
}
},
"titleLang": {
Expand Down Expand Up @@ -194,7 +194,7 @@
"zh-cn": "重要的提醒! zigbee2mqtt 2.0"
},
"text": {
"en": "This new version has been completely revised.\nIt uses the MQTT connection or restAPI(request). it's configurable in Adapter settings.\nThe name in the tree structure is no longer the IP address.\nPlease adapt your scripts. \nAll settings from the old Adapter are deleted, save yours FullyBrowser list from old Adapter settings (screenshot)",
"en": "This new version has been completely revised.\nIt uses the MQTT connection or restAPI(request). it's configurable in Adapter settings.\nThe name in the tree structure is no longer the IP address.\nPlease adapt your scripts. \nAll settings from the old Adapter are deleted, save yours FullyBrowser list from old Adapter settings (screenshot)",
"de": "Diese neue Version wurde komplett überarbeitet.\nEs verwendet die MQTT-Verbindung oder restAPI (Request.) es ist in Adapter-Einstellungen konfigurierbar.\nDer Name in der Baumstruktur ist nicht mehr die IP-Adresse.\nBitte passen Sie Ihre Skripte an.\nAlle Einstellungen aus dem alten Adapter werden gelöscht, speichern Sie Ihre FullyBrowser-Liste aus alten Adaptereinstellungen (screenshot)",
"ru": "Эта новая версия была полностью пересмотрена.\nОн использует соединение MQTT или restAPI (запрос.) он настраивается в настройках адаптера.\nНазвание в структуре дерева больше не является IP-адресом.\nПожалуйста, приспособьте свои скрипты.\nВсе настройки от старого адаптера удаляются, сохраните список FullyBrowser из старых настроек адаптера (скриншот)",
"pt": "Esta nova versão foi completamente revisada.\nEle usa a conexão MQTT ou restAPI (pedido.) é configurável em configurações do adaptador.\nO nome na estrutura da árvore não é mais o endereço IP.\nPor favor, adapte seus scripts.\nTodas as configurações do velho adaptador são excluídas, salve sua lista FullyBrowser de configurações antigas do adaptador (screenshot)",
Expand Down
3 changes: 2 additions & 1 deletion lib/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ const IConst = {
{ id: 'screenBrightness', name: 'Screen Brightness', type: 'number' },
{ id: 'setAudioVolume', name: 'Audio Volume', type: 'number' },
{ id: 'setRAW', name: 'Set RAW String', type: 'string' },
{ id: 'rebootDevice', name: 'reboot Device _ only for rooted Devices', type: 'boolean' }
{ id: 'rebootDevice', name: 'reboot Device _ only for rooted Devices', type: 'boolean' },
{ id: 'takePicture', name: 'take Picture', type: 'boolean' },
]
};

Expand Down
Loading

0 comments on commit cd3b874

Please sign in to comment.