Skip to content

Commit

Permalink
version message
Browse files Browse the repository at this point in the history
  • Loading branch information
git-kick committed May 27, 2024
1 parent 3403860 commit d27fd79
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 2 deletions.
59 changes: 59 additions & 0 deletions io-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"common": {
"name": "e3dc-rscp",
"version": "1.3.0",
"blockedVersions": [
"1.2.0"
],
"news": {
"1.3.0": {
"en": "Added PM (power meter) namespace",
Expand Down Expand Up @@ -299,6 +302,62 @@
"energy",
"RSCP"
],
"messages": [
{
"condition": {
"operand": "and",
"rules": [
"oldVersion<1.3.0",
"newVersion>=1.3.0"
]
},
"title": {
"en": "Important notice!",
"de": "Wichtiger Hinweis!",
"ru": "Важное замечание!",
"pt": "Notícia importante!",
"nl": "Belangrijke mededeling!",
"fr": "Avis important!",
"it": "Avviso IMPORTANTE!",
"es": "¡Noticia importante!",
"pl": "Ważna uwaga!",
"uk": "Важливе повідомлення!",
"zh-cn": "重要的提醒!"
},
"text": {
"en": "Version 1.3 introduces new configuration settings - do not re-use settings stored in a json-file which was created from an older version!",
"de": "Version 1.3 bringt neue Konfigurationsparameter - Konfiguration nicht aus einem json-file laden, das mit einer früheren Version erzeugt wurde!",
"ru": "В версии 1.3 представлены новые настройки конфигурации — не используйте повторно настройки, хранящиеся в json-файле, созданном из более старой версии!",
"pt": "A versão 1.3 introduz novas definições de configuração - não reutilize as configurações armazenadas em um arquivo json que foi criado a partir de uma versão mais antiga!",
"nl": "Versie 1.3 introduceert nieuwe configuratie-instellingen - gebruik de instellingen die zijn opgeslagen in een json-bestand dat is gemaakt op basis van een oudere versie niet opnieuw!",
"fr": "La version 1.3 introduit de nouveaux paramètres de configuration : ne réutilisez pas les paramètres stockés dans un fichier json créé à partir d'une ancienne version !",
"it": "La versione 1.3 introduce nuove impostazioni di configurazione: non riutilizzare le impostazioni memorizzate in un file json creato da una versione precedente!",
"es": "La versión 1.3 introduce nuevos ajustes de configuración: ¡no reutilice los ajustes almacenados en un archivo json creado a partir de una versión anterior!",
"pl": "Wersja 1.3 wprowadza nowe ustawienia konfiguracyjne - nie używaj ponownie ustawień zapisanych w pliku json, który został utworzony ze starszej wersji!",
"uk": "Версія 1.3 представляє нові параметри конфігурації - не використовуйте повторно параметри, збережені у файлі json, створеному зі старішої версії!",
"zh-cn": "版本 1.3 引入了新的配置设置 - 不要重复使用存储在从旧版本创建的 json 文件中的设置!"
},
"link": "https://github.com/git-kick/ioBroker.e3dc-rscp?tab=readme-ov-file#reuse-of-adapter-configuration",
"linkText": {
"en": "Reuse of adapter configuration",
"de": "Wiederverwendung der Adapter-Konfiguration",
"ru": "Повторное использование конфигурации адаптера",
"pt": "Reutilização da configuração do adaptador",
"nl": "Hergebruik van adapterconfiguratie",
"fr": "Réutilisation de la configuration de l'adaptateur",
"it": "Riutilizzo della configurazione dell'adattatore",
"es": "Reutilización de la configuración del adaptador",
"pl": "Ponowne wykorzystanie konfiguracji adaptera",
"uk": "Повторне використання конфігурації адаптера",
"zh-cn": "重用适配器配置"
},
"level": "warn",
"buttons": [
"ok",
"cancel"
]
}
],
"license": "GPL-3.0-only",
"licenseInformation": {
"license": "GPL-3.0-only",
Expand Down
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ class E3dcRscp extends utils.Adapter {
queuePmRequestData( sml ) {
this.clearFrame();
for( let i = 0; i <= this.maxIndex["PM"]; i++ ) {
const pos = this.startContainer( "TAG_PM_REQ_DATA");
const pos = this.startContainer( "TAG_PM_REQ_DATA" );
this.addTagtoFrame( "TAG_PM_INDEX", "", i );
this.addTagtoFrame( "TAG_PM_REQ_DEVICE_STATE", sml );
this.addTagtoFrame( "TAG_PM_REQ_POWER_L1", sml );
Expand All @@ -1002,7 +1002,7 @@ class E3dcRscp extends utils.Adapter {
this.addTagtoFrame( "TAG_PM_REQ_VOLTAGE_L3", sml );
this.addTagtoFrame( "TAG_PM_REQ_TYPE", sml );
this.addTagtoFrame( "TAG_PM_REQ_GET_PHASE_ELIMINATION", sml );
this.endContainer( pos );
this.endContainer( pos );
}
this.pushFrame();
}
Expand Down

0 comments on commit d27fd79

Please sign in to comment.