Skip to content

Commit

Permalink
Merge pull request #143 from Grizzelbee/Development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
Grizzelbee authored Oct 6, 2021
2 parents e35bf61 + db8c186 commit 28be319
Show file tree
Hide file tree
Showing 6 changed files with 223 additions and 29 deletions.
5 changes: 4 additions & 1 deletion dysonConstants.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
{
"common": {
"name": "dysonairpurifier",
"version": "2.0.1",
"version": "2.1.0",
"news": {
"2.1.0": {
"en": "* (grizzelbee) New: Added some more data points, * (grizzelbee) New: Added switch for temperature unit of the fan display,* (grizzelbee) New: Improved logging of unknown data points,* (germanBluefox) Fix: Fixed icon links,* (grizzelbee) Fix: fixed dependencies badge,* (grizzelbee) Fix: added missing dependency plugin-sentry",
"de": "* (grizzelbee) Neu: Einige weitere Datenpunkte hinzugefügt, * (grizzelbee) Neu: Schalter für Temperatureinheit der Lüfteranzeige hinzugefügt,* (grizzelbee) Neu: Verbesserte Protokollierung unbekannter Datenpunkte,* (germanBluefox) Fix: Icon-Links korrigiert ",
"ru": "* (grizzelbee) Новое: добавлено несколько точек данных, * (grizzelbee) Новое: добавлен переключатель для единицы температуры дисплея вентилятора, * (grizzelbee) Новое: улучшена регистрация неизвестных точек данных, * (germanBluefox) Исправлено: исправлены ссылки на значки ",
"pt": "* (grizzelbee) Novo: Adicionados mais alguns pontos de dados, * (grizzelbee) Novo: Adicionado interruptor para a unidade de temperatura da tela do ventilador, * (grizzelbee) Novo: Registro aprimorado de pontos de dados desconhecidos, * (germanBluefox) Correção: links de ícones corrigidos ",
"nl": "* (grizzelbee) Nieuw: nog wat datapunten toegevoegd, * (grizzelbee) Nieuw: schakelaar toegevoegd voor temperatuureenheid van het ventilatordisplay,* (grizzelbee) Nieuw: verbeterde logging van onbekende datapunten,* (germanBluefox) Fix: vaste pictogramkoppelingen ",
"fr": "* (grizzelbee) Nouveau : ajout de quelques points de données supplémentaires, * (grizzelbee) Nouveau : ajout d'un commutateur pour l'unité de température de l'affichage du ventilateur,* (grizzelbee) Nouveau : enregistrement amélioré des points de données inconnus,* (allemandBluefox) Correction : liens d'icônes fixes ",
"it": "* (grizzelbee) Novità: Aggiunti altri punti dati, * (grizzelbee) Novità: Aggiunto interruttore per l'unità di temperatura del display della ventola,* (grizzelbee) Novità: Migliorata la registrazione dei punti dati sconosciuti,* (germanBluefox) Correzione: Corretti i collegamenti alle icone ",
"es": "* (grizzelbee) Nuevo: se agregaron algunos puntos de datos más, * (grizzelbee) Nuevo: se agregó un interruptor para la unidad de temperatura de la pantalla del ventilador, * (grizzelbee) Nuevo: registro mejorado de puntos de datos desconocidos, * (germanBluefox) Solución: enlaces de íconos fijos ",
"pl": "* (grizzelbee) Nowość: Dodano więcej punktów danych, * (grizzelbee) Nowość: Dodano przełącznik jednostki temperatury na wyświetlaczu wentylatora,* (grizzelbee) Nowość: Ulepszone rejestrowanie nieznanych punktów danych,* (germanBluefox) Poprawka: Naprawiono łącza ikon ",
"zh-cn": "* (grizzelbee) 新功能:添加了更多数据点,* (grizzelbee) 新功能:添加了风扇显示器温度单位的开关,* (grizzelbee) 新功能:改进了未知数据点的记录,* (germanBluefox) 修复:固定图标链接"
},
"2.0.1": {
"en": "* Fixed Sentry Error Cannot read property '3' of undefined, * Turning on HeatingMode should work now, * updated dependencies",
"de": "* Sentry Error behoben Kann die Eigenschaft '3' von undefined nicht lesen, * Das Einschalten des Heizmodus sollte jetzt funktionieren, * Abhängigkeiten aktualisiert.",
Expand Down Expand Up @@ -229,4 +241,4 @@
"native": {}
}
]
}
}
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ class dysonAirPurifier extends utils.Adapter {
this.log.debug('Processing Message: ' + ((typeof message === 'object')? JSON.stringify(message) : message) );
const deviceConfig = await this.getDatapoint(row);
if ( deviceConfig === undefined){
this.log.debug(`Skipped creating unknown data field for: [${row}], Device:[${device.Serial}], Value:[${((typeof( message[row] ) === 'object')? JSON.stringify(message[row]) : message[row])}]`);
this.log.debug(`Skipped creating unknown data field for Device:[${device.Serial}], Field: [${row}] Value:[${((typeof( message[row] ) === 'object')? JSON.stringify(message[row]) : message[row])}]`);
continue;
}
// strip leading zeros from numbers
Expand Down
184 changes: 177 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.dysonairpurifier",
"version": "2.0.1",
"version": "2.1.0",
"description": "dyson air purifiers and fans",
"author": {
"name": "grizzelbee",
Expand All @@ -24,13 +24,14 @@
},
"dependencies": {
"@iobroker/adapter-core": "^2.5.1",
"@iobroker/plugin-sentry": "^1.1.10",
"axios": "^0.22.0",
"flatted": "^3.2.2",
"https": "^1.0.0",
"lodash": "^4.17.21",
"mqtt": "^4.2.8",
"path": "^0.12.7",
"snyk": "^1.730.0",
"snyk": "^1.731.0",
"ssl-root-cas": "^1.3.1"
},
"devDependencies": {
Expand All @@ -39,7 +40,7 @@
"@types/chai-as-promised": "^7.1.4",
"@types/gulp": "^4.0.9",
"@types/mocha": "^9.0.0",
"@types/node": "^16.10.2",
"@types/node": "^16.10.3",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^10.0.4",
"@types/sinon-chai": "^3.2.5",
Expand Down
Loading

0 comments on commit 28be319

Please sign in to comment.