iobroker.bambulab
Advanced tools
Comparing version 0.3.0-beta.3 to 0.3.0
@@ -31,2 +31,6 @@ { | ||
{ | ||
"label": "A1-Series", | ||
"value": "A1-Series" | ||
}, | ||
{ | ||
"label": "P1-Series", | ||
@@ -33,0 +37,0 @@ "value": "P1-Series" |
{ | ||
"common": { | ||
"name": "bambulab", | ||
"version": "0.3.0-beta.3", | ||
"version": "0.3.0", | ||
"news": { | ||
"0.3.0": { | ||
"en": "Update dependencies for state handling, resolves #50\nAdjust log level for Unknown Message from error to debug, resolves #39\nAdd missing definitions to ensure correct creation of states, resolves #39\nReduce selection dropdown in admin config to printer series instead of a specific printer type\nUpdate adapter code to support new firmware versions released by bambulab, please ensure your printer is up-to-date! resolves #46, resolves #38, resolves #26,", | ||
"de": "Aktualisieren Sie Abhängigkeiten für die Staatsführung, löst #50\nPassen Sie die Protokollebene für unbekannte Nachricht von Fehler zu Debug an, löst #39\nHinzufügen fehlender Definitionen, um die korrekte Erstellung von Zuständen zu gewährleisten, löst #39\nReduzieren Sie die Auswahl Dropdown in Admin config auf Druckerserie anstelle eines bestimmten Druckertyps\nUpdate-Adaptercode, um neue Firmware-Versionen von bambulab zu unterstützen, stellen Sie bitte sicher, dass Ihr Drucker aktuell ist! löst #46, löst #38, löst #26,", | ||
"ru": "Обновить зависимости для государственной обработки, решает #50\nОтрегулируйте уровень лога для неизвестного сообщения от ошибки до отладки, решает #39\nДобавьте недостающие определения, чтобы обеспечить правильное создание государств, решает #39\nУменьшить отбор в админ конфиг к серии принтера вместо конкретного типа принтера\nОбновите код адаптера для поддержки новых версий прошивки, выпущенных bambulab, пожалуйста, убедитесь, что ваш принтер является современным! решает #46, решает #38, решает #26,", | ||
"pt": "Atualizar dependências para o manuseio do estado, resolve #50\nAjuste o nível de log para Mensagem Desconhecida de erro para depuração, resolve #39\nAdicionar definições em falta para garantir a criação correta de estados, resolve #39\nReduza a queda de seleção na configuração de admin para a série de impressora em vez de um tipo específico de impressora\nAtualize o código do adaptador para suportar novas versões de firmware liberadas pelo bambulab, por favor, certifique-se de que sua impressora está atualizada! resolve #46, resolve #38, resolve #26,", | ||
"nl": "Update afhankelijkheid voor staatshandel, vaststellen\nVerbindingsniveau voor Onbekende Message van fout tot ontploffing 39:\nVermiste definities om de juiste creatie van staten te verzekeren\nVerminder de selectie in administratie in plaats van een specifieke printer type\nUpdate adaptercode om nieuwe firmaware versies te ondersteunen, vrijgegeven door Bambulab, zorg ervoor dat je printer op-to-date is! 46, oplossingen 38, oplossingen #26,", | ||
"fr": "Mettre à jour les dépendances pour la manipulation de l'état, résout #50\nAjuster le niveau de log pour Message Inconnu d'erreur à debug, résout #39\nAjouter les définitions manquantes pour assurer la création correcte des états, résout #39\nRéduire la liste de sélection dans la configuration d'administration à la série d'imprimantes au lieu d'un type d'imprimante spécifique\nMettre à jour le code de l'adaptateur pour soutenir les nouvelles versions du firmware publiées par bambulab, veuillez vous assurer que votre imprimante est à jour! résolution #46, résolution #38, résolution #26,", | ||
"it": "Aggiornare le dipendenze per la gestione dello stato, risolve #50\nRegolare il livello di registro per messaggio sconosciuto da errore a debug, risolve #39\nAggiungi definizioni mancanti per garantire la corretta creazione di stati, risolve #39\nRidurre il menu a tendina di selezione nella configurazione di admin alla serie di stampanti invece di un tipo specifico di stampante\nAggiornare il codice adattatore per supportare le nuove versioni del firmware rilasciate da bambulab, assicurarsi che la stampante sia aggiornata! risolve #46, risolve #38, risolve #26,", | ||
"es": "Actualizar las dependencias para el manejo del estado, resuelve #50\nAjuste el nivel de registro para Mensaje Desconocido del error al depurar, resuelve #39\nAñadir definiciones desaparecidas para asegurar la correcta creación de estados, resuelve #39\nReducir el desplegamiento de la selección en el config admin a la serie de impresoras en lugar de un tipo de impresora específico\nActualizar código de adaptador para soportar nuevas versiones de firmware publicadas por bambulab, por favor, asegúrese de que su impresora está actualizada! resuelve #46, resuelve #38, resuelve #26,", | ||
"pl": "W zależności od obsługi państwowej decyduje się na #50\nAdjust log level for Unknown Message from error to debug (ang.)\nNiezapomniane definicje mające na celu zapewnienie odpowiedniego stworzenia stanów, rozwiązały się #39\nReduce selection dropdown in admin config to print series zamiast konkretnego drukarza\nUpdate adapter Code to support new firmware version, wydany przez bambulab, please your printer is up-to-date! Rozwiązał #46, rozwiązał #38, rozwiązał #26,", | ||
"uk": "Оновлення залежностей для державного управління, вирішує #50\nРегулювання рівня входу для невідомого повідомлення від помилки до видалення, вирішує #39\nДодати відсутні визначення для забезпечення коректного створення держав, вирішень #39\nЗнижувати виділення випадання в конфігурації адміністратора замість певного типу принтера\nОновлення коду адаптера для підтримки нових версій прошивки, випущених bambulababab, будь ласка, переконайтеся, що ваш принтер є актуальним! вирішує #46, вирішує #38, вирішує #26,", | ||
"zh-cn": "最新国家处理的依赖,第50号行动\n第39号行动\n添加关于确保正确建立国家的定义,第39号行动\n减少对打印机系列的排减量,而不是特定的打印机类型\n最新调整守则,支持巴萨姆勒布发行的新警觉版本,请确保你的打印机最新! 第46号决议,第38号决议,第26号决议," | ||
}, | ||
"0.3.0-beta.3": { | ||
@@ -83,15 +96,2 @@ "en": "Add missing definitions to ensure correct creation of states, resolves #39\nAdjust log level for Unknown Message from error to debug, resolves #39\nReduce selection dropdown in admin config to printer series instead of a specific printer type\nUpdate adapter code to support new firmware versions released by bambulab, please ensure your printer is up-to-date! resolves #46, resolves #38, resolves #26,", | ||
"zh-cn": "允许控制和微小的改进" | ||
}, | ||
"0.1.0": { | ||
"en": "initial release", | ||
"de": "Erstveröffentlichung", | ||
"ru": "Начальная версия", | ||
"pt": "lançamento inicial", | ||
"nl": "Eerste uitgave", | ||
"fr": "Première version", | ||
"it": "Versione iniziale", | ||
"es": "Versión inicial", | ||
"pl": "Pierwsze wydanie", | ||
"uk": "Початкова версія", | ||
"zh-cn": "首次出版" | ||
} | ||
@@ -98,0 +98,0 @@ }, |
@@ -108,3 +108,3 @@ const state_attrb = { | ||
'name': 'Printjob line number', | ||
'type': 'number', | ||
'type': 'mixed', | ||
'write': false, | ||
@@ -297,2 +297,7 @@ 'modify': ['tonumber'] | ||
}, | ||
'attr': { | ||
'name': 'Attribute', | ||
'type': 'number', | ||
'role': 'state' | ||
}, | ||
'aux_part_fan': { | ||
@@ -308,2 +313,7 @@ 'name': 'AUX part fan active', | ||
}, | ||
'code': { | ||
'name': 'Code', | ||
'type': 'number', | ||
'role': 'state' | ||
}, | ||
'command': { | ||
@@ -310,0 +320,0 @@ 'name': 'Last MQTT command sent to printer', |
16
main.js
@@ -54,3 +54,3 @@ 'use strict'; | ||
// Download / Update HMS error Codes | ||
await this.loadHMSerrorCodeTranslations(); | ||
await this.loadHMSErrorCodeTranslations(); | ||
@@ -122,6 +122,2 @@ // Handle MQTT messages | ||
client.on('reconnecting', (topic, message) =>{ | ||
this.log.info(`Reconnecting ${message.toString()}`); | ||
}); | ||
client.on('end', () =>{ | ||
@@ -318,3 +314,7 @@ this.log.warn(`Connection to Printer closed`); | ||
// Request data for P1p printer series | ||
if (this.config.printerModel !== 'X1' && this.config.printerModel !== 'X1-Carbon' && this.config.printerModel !== 'X1-Series'){ | ||
if (this.config.printerModel !== 'X1' | ||
&& this.config.printerModel !== 'X1-Carbon' | ||
&& this.config.printerModel !== 'X1-Series' | ||
&& this.config.printerModel !== 'A1-Series' | ||
){ | ||
this.requestData(); | ||
@@ -433,3 +433,3 @@ } | ||
async loadHMSerrorCodeTranslations(){ | ||
async loadHMSErrorCodeTranslations(){ | ||
try { | ||
@@ -607,3 +607,3 @@ this.log.info('Try to get current HMS code translations'); | ||
case ('updateHMSErrorCodeTranslation'): | ||
await this.loadHMSerrorCodeTranslations(); | ||
await this.loadHMSErrorCodeTranslations(); | ||
break; | ||
@@ -610,0 +610,0 @@ case ('stop'): |
{ | ||
"name": "iobroker.bambulab", | ||
"version": "0.3.0-beta.3", | ||
"version": "0.3.0", | ||
"description": "Connects to Bambulab 3d printers to retrieve data of current print and control main aspects", | ||
@@ -25,3 +25,3 @@ "author": { | ||
"axios": "^1.4.0", | ||
"iobroker-jsonexplorer": "git+https://git@github.com/DutchmanNL/ioBroker-jsonExplorer#main", | ||
"iobroker-jsonexplorer": "0.1.14", | ||
"mqtt": "^5.0.1" | ||
@@ -53,3 +53,3 @@ }, | ||
"proxyquire": "^2.1.3", | ||
"sinon": "^16.1.0", | ||
"sinon": "^17.0.1", | ||
"sinon-chai": "^3.7.0", | ||
@@ -56,0 +56,0 @@ "typescript": "5.2.2" |
@@ -21,3 +21,4 @@ <img src="admin/bambulab.png" alt="Logo" width="200"/> | ||
Please provide your Printer IP-Address, API token and serial number in adapter settings, these are required for a local connection (no cloud involved) to your printer. | ||
Please provide your Printer IP-Address, API token and serial number in adapter settings; | ||
these are required for a local connection (no cloud involved) to your printer. | ||
These credentials are stored locally and not shared to third parties. | ||
@@ -36,17 +37,17 @@ | ||
## Supported commands | ||
| Command | X1C | X1 | P1P | P1S | | ||
|--------------------|---------------------|---------------------|--------------------------|--------------------------| | ||
| Custom g-code | :white_check_mark: | :white_check_mark: | :white_check_mark: | :question: needs testing | | ||
| Pause | :white_check_mark: | :white_check_mark: | :white_check_mark: | :question: needs testing | | ||
| Resume | :white_check_mark: | :white_check_mark: | :white_check_mark: | :question: needs testing | | ||
| Stop | :white_check_mark: | :white_check_mark: | :white_check_mark: | :question: needs testing | | ||
| Fan-Aux | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | | ||
| Fan-Chamber | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | | ||
| Fan-ToolHead | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | | ||
| Light-Chamber | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | | ||
| Light-Nozzle | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | | ||
| Light-Logo | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | | ||
| Temperature-Bed | :white_check_mark: | :white_check_mark: | :white_check_mark: | :question: needs testing | | ||
| Temperature-Nozzle | :white_check_mark: | :white_check_mark: | :white_check_mark: | :question: needs testing | | ||
| Speed Level | :white_check_mark: | :white_check_mark: | :white_check_mark: | :question: needs testing | | ||
| Command | X1C | X1 | P1P | P1S | A1 | | ||
|--------------------|---------------------|---------------------|--------------------------|--------------------------|--------------------------| | ||
| Custom g-code | :white_check_mark: | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | | ||
| Pause | :white_check_mark: | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | | ||
| Resume | :white_check_mark: | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | | ||
| Stop | :white_check_mark: | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | | ||
| Fan-Aux | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | :question: needs testing | | ||
| Fan-Chamber | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | :question: needs testing | | ||
| Fan-ToolHead | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | :question: needs testing | | ||
| Light-Chamber | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | :question: needs testing | | ||
| Light-Nozzle | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | :question: needs testing | | ||
| Light-Logo | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | :question: needs testing | | ||
| Temperature-Bed | :white_check_mark: | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | | ||
| Temperature-Nozzle | :white_check_mark: | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | | ||
| Speed Level | :white_check_mark: | :white_check_mark: | :white_check_mark: | :question: needs testing | :question: needs testing | | ||
@@ -66,3 +67,8 @@ ## To-Do | ||
When the adapter crashes or any other Code error happens, this error message that also appears in the ioBroker log is submitted to Sentry. When you allowed iobroker GmbH to collect diagnostic data then also your installation ID (this is just a unique ID **without** any additional infos about you, email, name or such) is included. This allows Sentry to group errors and show how many unique users are affected by such an error. All of this helps me to provide error free adapters that basically never crashs. | ||
When the adapter crashes or any other Code error happens, | ||
this error message that also appears in the ioBroker log is submitted to Sentry. | ||
When you allow iobroker GmbH to collect diagnostic data, then also your installation ID | ||
(this is just a unique ID **without** any additional infos about you, email, name or such) is included. | ||
This allows Sentry to group errors and show how many unique users are affected by such an error. | ||
All of this helps me to provide error-free adapters that basically never crash. | ||
@@ -75,5 +81,6 @@ | ||
--> | ||
### 0.3.0-beta.3 (2023-11-16) - Stable release candidate | ||
### 0.3.0 (2023-11-19) - Release candidate | ||
* (DutchmanNL) Update dependencies for state handling, resolves #50 | ||
* (DutchmanNL) Adjust log level for Unknown Message from error to debug, resolves #39 | ||
* (DutchmanNL) Add missing definitions to ensure correct creation of states, resolves #39 | ||
* (DutchmanNL) Adjust log level for Unknown Message from error to debug, resolves #39 | ||
* (DutchmanNL) Reduce selection dropdown in admin config to printer series instead of a specific printer type | ||
@@ -96,3 +103,3 @@ * (DutchmanNL) Update adapter code to support new firmware versions released by bambulab, please ensure your printer is up-to-date! resolves #46, resolves #38, resolves #26, | ||
* (DutchmanNL) Translations of HMS error codes implemented solves #9 | ||
* (DutchmanNL) Correct definitions for all temperature related states | ||
* (DutchmanNL) Correct definitions for all temperature-related states | ||
* (DutchmanNL) Control LED for tooling head Logo and calibration unit | ||
@@ -99,0 +106,0 @@ |
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable and can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
130144
1717
144
0
0
+ Addediobroker-jsonexplorer@0.1.14(transitive)
Updatediobroker-jsonexplorer@0.1.14