From 76fcc53e9cbcc02b76ac5ac0d3dd0d12e3393d20 Mon Sep 17 00:00:00 2001 From: Garfonso Date: Mon, 24 Jun 2024 14:45:10 +0200 Subject: [PATCH] chore: release v2.0.0 * (Garfonso) reworked GPIO input and output to work with Bookworm. * (Garfonso) BREAKING CHANGE: removed support for GPIO-Buttons. * (Garfonso) BREAKING CHANGE: remove unsupported button states and create input state. * (Garfonso) add support for Raspberry 5. * (Garfonso) on startup set GPIO outputs from ioBroker states. * (Garfonso) switch to opengpio library. * (Grothesk242) fixed: reading network and filesystem statistics. * (Garfonso) move parsers from io-package.json to separate file. * (Garfonso) get rid of old sync-exec. * (Garfonso) Get development stuff up to date... --- CHANGELOG_OLD.md | 44 +++++++++++++++++++++++ README.md | 47 +------------------------ io-package.json | 89 ++++++++--------------------------------------- package-lock.json | 4 +-- package.json | 2 +- 5 files changed, 63 insertions(+), 123 deletions(-) diff --git a/CHANGELOG_OLD.md b/CHANGELOG_OLD.md index de962a6..4a19cef 100644 --- a/CHANGELOG_OLD.md +++ b/CHANGELOG_OLD.md @@ -1 +1,45 @@ # Older Changes +## 1.1.1 +- (Apollon77) Error messages for not existing values are logged only once + +## 1.1.0 + - (Apollon77) Nodejs 10 support + +## 1.0.0 (2018-08-20) + - (bluefox) Admin3 support + +## 0.3.2 (2017-11-29) + - (Homoran) fixed Mem available readings on Stretch + +## 0.3.1 (2017-01-11) + - (olifre) Fixup swap_used calculation. + +## 0.2.2 (2016-12-01) + - (bluefox) Add GPIO direction indication + +## 0.2.2 (2016-11-22) + - (bluefox) Use BCM enumeration + +## 0.2.1 (2016-10-29) + - (bluefox) fix start of adapter + +## 0.2.0 (2016-10-23) + - (bluefox) just version change + +## 0.1.1 (2016-10-13) + - (bluefox) implement GPIOs control + +## 0.0.4 (2016-03-25) + - (bluefox) Try catch by eval + (bluefox) do not process if exec fails + +## 0.0.3 (2015-12-28) + - (husky-koglhof) Fixed value calc. + Set Value to 2 digits + +## 0.0.2 (2015-12-26) + - (husky-koglhof) Workaround for node 0.10.x + - (bluefox) Some Fixes + +## 0.0.1 (2015-12-23) + - Initial commit. Alpha Version. diff --git a/README.md b/README.md index 9e9b9cd..012bd9a 100755 --- a/README.md +++ b/README.md @@ -152,7 +152,7 @@ Connect such a sensor to a GPIO pin as described on the [node-dht-sensor](https: PLACEHOLDER for the next version: ### **WORK IN PROGRESS** --> -### **WORK IN PROGRESS** +### 2.0.0 (2024-06-24) * (Garfonso) reworked GPIO input and output to work with Bookworm. * (Garfonso) BREAKING CHANGE: removed support for GPIO-Buttons. * (Garfonso) BREAKING CHANGE: remove unsupported button states and create input state. @@ -182,51 +182,6 @@ Connect such a sensor to a GPIO pin as described on the [node-dht-sensor](https: - (foxriver76) No longer use adapter.objects - (Apollon77) Adjust gpio errors -### 1.1.1 -- (Apollon77) Error messages for not existing values are logged only once - -### 1.1.0 - - (Apollon77) Nodejs 10 support - -### 1.0.0 (2018-08-20) - - (bluefox) Admin3 support - -### 0.3.2 (2017-11-29) - - (Homoran) fixed Mem available readings on Stretch - -### 0.3.1 (2017-01-11) - - (olifre) Fixup swap_used calculation. - -### 0.2.2 (2016-12-01) - - (bluefox) Add GPIO direction indication - -### 0.2.2 (2016-11-22) - - (bluefox) Use BCM enumeration - -### 0.2.1 (2016-10-29) - - (bluefox) fix start of adapter - -### 0.2.0 (2016-10-23) - - (bluefox) just version change - -### 0.1.1 (2016-10-13) - - (bluefox) implement GPIOs control - -### 0.0.4 (2016-03-25) - - (bluefox) Try catch by eval - (bluefox) do not process if exec fails - -### 0.0.3 (2015-12-28) - - (husky-koglhof) Fixed value calc. - Set Value to 2 digits - -### 0.0.2 (2015-12-26) - - (husky-koglhof) Workaround for node 0.10.x - - (bluefox) Some Fixes - -### 0.0.1 (2015-12-23) - - Initial commit. Alpha Version. - ## License MIT License diff --git a/io-package.json b/io-package.json index 93181b4..a140fdd 100755 --- a/io-package.json +++ b/io-package.json @@ -1,8 +1,21 @@ { "common": { "name": "rpi2", - "version": "2.0.0-alpha.13", + "version": "2.0.0", "news": { + "2.0.0": { + "en": "reworked GPIO input and output to work with Bookworm.\nBREAKING CHANGE: removed support for GPIO-Buttons. \nBREAKING CHANGE: remove unsupported button states and create input state.\nadd support for Raspberry 5.\non startup set GPIO outputs from ioBroker states.\nswitch to opengpio library.\nfixed: reading network and filesystem statistics.\nmove parsers from io-package.json to separate file.\nget rid of old sync-exec.\nGet development stuff up to date...", + "de": "überarbeitete GPIO Eingabe und Ausgabe, um mit Bookworm zu funktionieren.\nBREAKING CHANGE: entfernte Unterstützung für GPIO-Buttons.\nBREAKING CHANGE: Entfernt die nicht mehr unterstützten states für Buttons und erstellt einen Eingabe-State.\nunterstützung für Raspberry 5.\nsetzt beim start GPIO-Ausgänge auf den Wert, der in ioBroker states steht.\nauf opengpio bibliothek umgestiegen.\nfixed: netzwerk- und dateisystemstatistik lesen.\nparsers-Code von io-package.json in eigene JSON verschoben, um die datei zu trennen.\nalte sync-exec loswerden.\nAktualisierter Code und drumherum für einfacherer Weiterentwicklung", + "ru": "переработал ввод и вывод GPIO для работы с Bookworm.\nУдаление поддержки для GPIO-буттонов.\nИзменение: удалить неподдерживаемые состояния кнопок и создать состояние ввода.\nдобавьте поддержку Raspberry 5.\nна стартовый набор GPIO выходов из государств ioBroker.\nпереключиться на библиотеку opengpio.\nфиксированная: чтение сети и статистики файловой системы.\nпереместить парсеры из io-package.json в отдельный файл.\nизбавьтесь от старой синхронизации.\nУзнать что-нибудь о развитии...", + "pt": "entrada GPIO retrabalhado e saída para trabalhar com Bookworm.\nBREAKING CHANGE: suporte removido para GPIO-Buttons.\nCHANGE DE BREAKING: remover estados de botão não suportados e criar estado de entrada.\nadicionar suporte para framboesa 5.\nna inicialização conjunto GPIO saídas de estados ioBroker.\nmudar para biblioteca opengpio.\ncorrigido: ler estatísticas de rede e sistema de arquivos.\nmover parsers de io-package.json para arquivo separado.\nse livrar da velha sync-exec.\nObter material de desenvolvimento atualizado...", + "nl": "herwerkte GPIO input en output om te werken met Boekworm.\nBREAKING VERANDERING: verwijderde ondersteuning voor GPIO-Buttons.\nBREAKING VERANDERING: verwijder niet-ondersteunde knoptoestanden en creëer invoerstatus.\nvoeg steun voor Raspberry 5.\nop opstarten set GPIO uitgangen uit ioBroker staten.\nschakel over naar de opengpio bibliotheek.\nvaste: het lezen van netwerk- en bestandssysteemstatistieken.\nverplaats parsers van io-package.json naar aparte bestanden.\nverwijder oude sync-exec.\nOntwikkelen up-to-date...", + "fr": "l'entrée et la sortie GPIO retravaillées pour travailler avec Bookworm.\nCHANGEMENT DE BREAKING: retrait du support pour les boutons GPIO.\nCHANGEMENT DE BREAKING : supprimez les états des boutons non pris en charge et créez l'état d'entrée.\najouter le support pour la framboise 5.\nsur startup set GPIO sorties des états ioBroker.\npasser à la bibliothèque opengpio.\nfixe: lecture des statistiques du réseau et du système de fichiers.\ndéplacer les analyseurs de io-package.json vers un fichier séparé.\ndébarrassez-vous de l'ancien synchro-exec.\nMettez à jour le développement...", + "it": "rielaborato GPIO input e output per lavorare con Bookworm.\nBREAKING CHANGE: supporto rimosso per GPIO-Buttons.\nBREAKING CHANGE: rimuovere gli stati del pulsante non supportati e creare stato di ingresso.\naggiungere supporto per lampone 5.\nsul set di avvio uscite GPIO da stati ioBroker.\npassare alla libreria opengpio.\nfisso: lettura della rete e statistica del filesystem.\nspostare i parsers da io-package.json a file separati.\nsbarazzarsi di vecchio sync-exec.\nOttenere materiale di sviluppo fino ad oggi...", + "es": "nuevo GPIO entrada y salida para trabajar con Bookworm.\nCAMBIO DE BREAKING: apoyo eliminado para GPIO-Buttons.\nCAMBIO DE BREAKING: eliminar estados de botón sin soporte y crear estado de entrada.\nañadir soporte para Raspberry 5.\non startup set GPIO outputs from ioBroker states.\ncambiar a la biblioteca de opengpio.\nfijo: lectura de redes y estadísticas del sistema de archivos.\nmover parsers de io-package.json a archivo separado.\nget rid of old sync-exec.\nConsigue cosas de desarrollo hasta la fecha...", + "pl": "przerobione wejście i wyjście GPIO do pracy z robakiem książkowym.\nZMIANA ZBIORCZA: usunięte wsparcie dla przycisków GPIO.\nZMIANA BREAKING: usunąć nieobsługiwane stany przycisków i utworzyć stan wprowadzania.\ndodaj wsparcie dla Malina 5.\nna startup set GPIO wyjść ze stanów joBroker.\nprzełącz na bibliotekę opengpio.\nstałe: czytanie statystyk sieci i systemu plików.\nprzenieś parsery z jo- package.json do oddzielnego pliku.\npozbądź się starego sync- exec.\nAktualizuj sprawy rozwoju...", + "uk": "перероблений вхід GPIO і вихід для роботи з Книжковим черв'яком.\nBREAKING CHANGE: видалена підтримка GPIO-Buttons.\nBREAKING CHANGE: видалення непідтримуваних кнопок станів і створення вхідного стану.\nдодати підтримку для Raspberry 5.\nна автозапускі GPIO виходи з ioBroker штатів.\nперейти до бібліотеки opengpio.\nвиправлено: статистика читання мережі та файлової системи.\nперемістити парсери від io-package.json до окремого файлу.\nпозбутися від старої синхронізації-ексека.\nОтримати розвиток фари до дати ...", + "zh-cn": "重新制作GPIO输入和输出,与Booktrom合作.\n断裂变换:取消GPIO按钮支持.\nBreaking Change:删除不支持的按钮状态并创建输入状态.\n添加支持 Raspberry 5.\n从ioBroker状态的GPIO输出.\n切换到 opengpio 库.\n固定:读取网络和文件系统统计.\n从 io- package.json 移动解析器到分离文件.\n摆脱旧的同步执行.\n更新开发内容..." + }, "1.3.2": { "en": "Requires js-controller 3.3 or higher! Allo js.controller to do a rebuild when GPIO is configured but fails", "de": "Benötigt js-controller 3.3 oder höher! Allo js.controller, um eine Neuerstellung durchzuführen, wenn GPIO konfiguriert ist, aber fehlschlägt", @@ -74,78 +87,6 @@ "es": "Soporte para Nodejs 10", "pl": "Wsparcie dla Nodejs 10", "zh-cn": "支持Nodejs 10" - }, - "1.0.0": { - "en": "Admin3 support", - "de": "Admin3-Unterstützung", - "ru": "Поддержка Admin3", - "pt": "Suporte Admin3", - "nl": "Admin3-ondersteuning", - "fr": "Support Admin3", - "it": "Supporto per Admin3", - "es": "Soporte de Admin3", - "pl": "Obsługa Admin3", - "zh-cn": "Admin3的支持" - }, - "0.3.2": { - "en": "fixed Mem available readings on Stretch", - "de": "mem available bei strech gefixt", - "ru": "fixed Mem available readings on Stretch", - "pt": "fixo Mem disponível leituras no Trecho", - "nl": "vaste Mem beschikbare metingen op Rek", - "fr": "fixe Mem disponible lectures sur le Tronçon", - "it": "fisso Mem disponibile letture Tratto", - "es": "fijo Mem disponible lecturas en el Tramo", - "pl": "stałej pamięci są dostępne czytania na odcinku", - "zh-cn": "固定Mem提供的读数在拉伸" - }, - "0.3.1": { - "en": "Fixup swap_used calculation.", - "de": "Korrigiere swap_used Kalkulation", - "ru": "Исправлено вычисление swap_used", - "pt": "Ajuste swap_used de cálculo.", - "nl": "Correctie swap_used berekening.", - "fr": "Correction swap_used de calcul.", - "it": "Correzione swap_used di calcolo.", - "es": "Corrección swap_used de cálculo.", - "pl": "Obliczanie poprawki swap_used.", - "zh-cn": "链接地址swap_used计算。" - }, - "0.3.0": { - "en": "Add GPIO direction indication", - "de": "GPIO Richtung States hinzugefügt", - "ru": "Добавлены состояния для индикации направления GPIO", - "pt": "Adicionar GPIO direção indicação", - "nl": "Toevoegen GPIO richting aangeven", - "fr": "Ajouter GPIO indication de la direction", - "it": "Aggiungere GPIO indicazione di direzione", - "es": "Agregar GPIO indicación de la dirección", - "pl": "Dodaj wskazaniem kierunku linii GPIO ", - "zh-cn": "添加端口方向的指示" - }, - "0.2.2": { - "en": "Use BCM enumeration", - "de": "Benutze BCM Numerierung", - "ru": "Используется BCM нумерация", - "pt": "Usar o BCM enumeração", - "nl": "Gebruik BCM opsomming", - "fr": "Utiliser BCM énumération", - "it": "Uso miliardi di metri CUBI di enumerazione", - "es": "El uso de BCM enumeración", - "pl": "Używać wyliczenie mld m sześc. ", - "zh-cn": "使用BCM枚举" - }, - "0.2.1": { - "en": "fix start of adapter", - "de": "Korrigiert Adapterstart", - "ru": "Исправлен старт драйвера", - "pt": "correcção início do adaptador", - "nl": "fix start van adapter", - "fr": "fix début de l'adaptateur", - "it": "fix inizio dell'adattatore", - "es": "revisión inicio de adaptador", - "pl": "naprawiono zasilacza", - "zh-cn": "修复启动的适配器" } }, "title": "RPI-Monitor", @@ -250,7 +191,7 @@ "uk": "ГРУП Зміна несправностей", "zh-cn": "科普罗 中断更改" }, - "text": { + "text": { "en": "GPIO needed massive changes for support of newer Raspian versions (Bookworm and following). Please check your GPIO configuration and if everything still works. GPIO Button support is removed. If you need it, please discuss in Github, see link.", "de": "GPIO brauchte massive Änderungen für die Unterstützung neuerer Raspian Versionen (Bookworm und nachfolgend). Bitte überprüfen Sie Ihre GPIO-Konfiguration und wenn alles noch funktioniert. GPIO Button-Unterstützung wird entfernt. Wenn Sie es brauchen, diskutieren Sie bitte in Github, siehe Link.", "ru": "GPIO нуждались в массовых изменениях для поддержки более новых версий Raspian (Bookworm и следующий). Пожалуйста, проверьте конфигурацию GPIO и все ли еще работает. Поддержка GPIO Button удалена. Если вам это нужно, пожалуйста, обсудите в Гитубе, см. ссылку.", diff --git a/package-lock.json b/package-lock.json index 87b4243..af4e903 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "iobroker.rpi2", - "version": "2.0.0-alpha.13", + "version": "2.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "iobroker.rpi2", - "version": "2.0.0-alpha.13", + "version": "2.0.0", "license": "MIT", "os": [ "linux" diff --git a/package.json b/package.json index b2a9fd1..dc1eef2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.rpi2", - "version": "2.0.0-alpha.13", + "version": "2.0.0", "description": "RPI-Monitor for ioBroker Installations", "author": { "name": "husky-koglhof",