Skip to content

Commit

Permalink
Merge pull request #249 from Grizzelbee/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
Grizzelbee authored Feb 1, 2024
2 parents 4dae439 + 35a6292 commit fe48f64
Show file tree
Hide file tree
Showing 20 changed files with 462 additions and 357 deletions.
6 changes: 6 additions & 0 deletions .ncurc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"upgrade": true,
"reject": [
"chai"
]
}
3 changes: 0 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ appveyor.yaml
iobroker.*.tgz
package-lock.json

# i18n intermediate files
admin/i18n

# maintenance scripts
maintenance/**

Expand Down
24 changes: 16 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,13 @@ All states report whether there is a failure or not. `True` means a failure, `fa
## Changelog
### **WORK IN PROGRESS**

### 3.1.1 (2024-02-01) (Marching on)
* (grizzelbee) Upd: dependencies got updated
* (grizzelbee) Fix: [#244](https://github.com/Grizzelbee/ioBroker.dysonairpurifier/issues/244) Fixed PM2.5, PM10, VOC Values to be compliant to the dyson App
* (grizzelbee) Fix: [#113](https://github.com/Grizzelbee/ioBroker.dysonairpurifier/issues/113) Fixed NO2 Values to be compliant to the dyson App
* (grizzelbee) Fix: [#244](https://github.com/Grizzelbee/ioBroker.dysonairpurifier/issues/244) Fixed PM2.5, PM10, VOC Indexes
* (grizzelbee) New: Changed admin user interface to jsonConfig
* (grizzelbee) Upd: Code cleanup

### 3.0.0 (2024-01-11) (Marching on)
* (grizzelbee) Upd: dependencies got updated
Expand Down Expand Up @@ -493,7 +500,7 @@ Information copied and extended from <https://github.com/shadowwa/Dyson-MQTT2RRD
| cflt | Carbonfilter | CARF, NONE | |
| hflr | Status HEPA-Filter | 0000 - 0100 | Percent |
| hflt | HEPA-Filter | GHEP, GCOM | |
| sltm | Sleeptimer | ON, OFF || |
| sltm | Sleeptimer | ON, OFF | | |
| hmod | Heater Mode [ON/OFF] | HEAT | |
| hmax | Target temperature for heating | 0 .. 5000 | K |
| hume | HumidificationMode | ON, OFF, | |
Expand Down Expand Up @@ -540,13 +547,14 @@ Information copied and extended from <https://github.com/shadowwa/Dyson-MQTT2RRD
| sltm | Sleep timer | OFF... 9999 | Minutes |
| tact | Temperature in Kelvin | 0000 - 5000 | K |
| vact | volatile organic compounds | 0001 - 0009 | |
| hcho | Formaldehyde ||
| pm25 | PM2.5 | 0018 ||
| pm10 | PM10 | 0011 ||
| va10 | volatile organic compounds | 0004 ||
| noxl | NO2 | 0000 - 0014 ||
| p25r | | 0019 ||
| p10r | | 0018 ||
| hcho | Formaldehyde (not used) | | |
| hchr | Formaldehyde | | |
| pm25 | PM2.5 (not used) | 0018 | |
| pm10 | PM10 (not used) | 0011 | |
| va10 | volatile organic compounds | 0004 | |
| noxl | NO2 | 0000 - 0014 | |
| p25r | PM2.5 particulate matter | 0019 | µg/m³ |
| p10r | PM10 particulate matter | 0018 | µg/m³ |

### ENVIRONMENTAL-AND-USAGE-DATA

Expand Down
10 changes: 7 additions & 3 deletions admin/i18n/de/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"Great Britain": "Großbritannien",
"Ireland": "Irland",
"Kelvin": "Kelvin",
"Lbl_2FA": "2-Faktor-Authentifizierung",
"Lbl_Password": "Passwort",
"Lbl_challengeId": "dyson ChallengeId",
"Lbl_ChallengeId": "dyson Challenge-Id",
"Lbl_country": "Ländercode",
"Lbl_dyson_code": "dyson Einmalpasswort",
"Lbl_email": "Email",
"Lbl_temperatureUnit": "Temperatureinheit",
"Lbl_token": "Ihr Zugriffstoken",
"Netherland": "Niederlande",
"Netherlands": "Niederlande",
"Poland": "Polen",
"Poll_Interval": "Pollinterval",
Expand All @@ -40,6 +40,10 @@
"password_desc": "Passwort Ihres Dyson-Kontos.",
"switzerland": "Schweiz",
"temperatureUnit_desc": "Einheit zur Anzeige der Temperatur.",
"token_received": "Ein Token wurde empfangen und gespeichert.",
"token_received_desc": "Zeigt an, ob von den Dyson-Servern ein Authentifizierungstoken empfangen wurde, das für die Anmeldung erforderlich ist – der Adapter funktioniert nicht, wenn dieses Kontrollkästchen nicht aktiviert ist.",
"desc_2FA": "Sie müssen zunächst einen einmaligen 2FA-Prozess ähnlich der Dyson-App durchführen, um diesen Adapter zu aktivieren.",
"token_inside": "Ein Token wurde empfangen und gespeichert.",
"token_inside_desc": "Zeigt an, ob von den Dyson-Servern ein Authentifizierungstoken empfangen wurde, das für die Anmeldung erforderlich ist – der Adapter funktioniert nicht, wenn dieses Kontrollkästchen nicht aktiviert ist."
"token_inside_desc": "Zeigt an, ob ein Authentifizierungstoken von den Dyson-Servern empfangen wurde, der für die Anmeldung erforderlich ist – der Adapter funktioniert nicht, wenn dieses Kontrollkästchen nicht aktiviert ist.",
"Lbl_UpAndRunning": "Diese Adapterinstanz muss vor der Konfiguration betriebsbereit sein."
}
6 changes: 4 additions & 2 deletions admin/i18n/en/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@
"Great Britain": "Great Britain",
"Ireland": "Ireland",
"Kelvin": "Kelvin",
"Lbl_2FA": "2 factor authentication",
"Lbl_Password": "Password",
"Lbl_challengeId": "dyson ChallengeId",
"Lbl_ChallengeId": "dyson Challenge-Id",
"Lbl_country": "Country code",
"Lbl_dyson_code": "dyson One-time-password",
"Lbl_email": "eMail",
"Lbl_UpAndRunning": "This adapter instance needs to be up and running prior to configuration.",
"Lbl_temperatureUnit": "Temperature unit",
"Lbl_token": "Your access token",
"Netherland": "",
"Netherlands": "Netherlands",
"Poland": "Poland",
"Poll_Interval": "Poll interval",
Expand All @@ -27,6 +28,7 @@
"btn_2fa_desc": "Click this button to request your 2 factor authentication email.",
"challengeId_desc": "Will be retrieved from dyson API automatically. No need to enter.",
"country_desc": "ISO-Code of the country you created your dyson Account in.",
"desc_2FA": "You need to perform an initial one time 2FA process similar to the dyson App to activate this adapter.",
"disableReconnectLogging": "Disable reconnect logging",
"disableReconnectLogging_desc": "Disables logging of any reconnect events.",
"donation": "If you like this adapter and consider supporting me:",
Expand Down
6 changes: 5 additions & 1 deletion admin/i18n/es/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,9 @@
"switzerland": "Suiza",
"temperatureUnit_desc": "Unidad para mostrar la temperatura.",
"token_inside": "Se ha recibido y almacenado un token.",
"token_inside_desc": "Indica si se ha recibido un token de autenticación de los servidores de Dyson que se necesita para iniciar sesión; el adaptador no funcionará sin marcar esta casilla de verificación."
"token_inside_desc": "Indica si se ha recibido un token de autenticación de los servidores de Dyson que se necesita para iniciar sesión; el adaptador no funcionará sin marcar esta casilla de verificación.",
"Lbl_2FA": "Autenticación de 2 factores",
"Lbl_ChallengeId": "ID del desafío Dyson",
"desc_2FA": "Debe realizar un proceso 2FA inicial único similar al de la aplicación Dyson para activar este adaptador.",
"Lbl_UpAndRunning": "Esta instancia de adaptador debe estar en funcionamiento antes de la configuración."
}
6 changes: 5 additions & 1 deletion admin/i18n/fr/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,9 @@
"switzerland": "Suisse",
"temperatureUnit_desc": "Unité pour afficher la température.",
"token_inside": "Un jeton a été reçu et stocké.",
"token_inside_desc": "Indique si un jeton d'authentification a été reçu des serveurs Dyson qui est nécessaire pour se connecter - l'adaptateur ne fonctionnera pas si cette case n'est pas cochée."
"token_inside_desc": "Indique si un jeton d'authentification a été reçu des serveurs Dyson qui est nécessaire pour se connecter - l'adaptateur ne fonctionnera pas si cette case n'est pas cochée.",
"Lbl_2FA": "Authentification à 2 facteurs",
"Lbl_ChallengeId": "ID de défi Dyson",
"desc_2FA": "Vous devez effectuer un premier processus 2FA unique similaire à l'application Dyson pour activer cet adaptateur.",
"Lbl_UpAndRunning": "Cette instance d'adaptateur doit être opérationnelle avant la configuration."
}
6 changes: 5 additions & 1 deletion admin/i18n/it/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,9 @@
"switzerland": "Svizzera",
"temperatureUnit_desc": "Unità per visualizzare la temperatura.",
"token_inside": "Un token è stato ricevuto e archiviato.",
"token_inside_desc": "Indica se è stato ricevuto un token di autenticazione dai server dyson che è necessario per accedere: l'adattatore non funzionerà senza aver selezionato questa casella di controllo."
"token_inside_desc": "Indica se è stato ricevuto un token di autenticazione dai server dyson che è necessario per accedere: l'adattatore non funzionerà senza aver selezionato questa casella di controllo.",
"Lbl_2FA": "Autenticazione a 2 fattori",
"Lbl_ChallengeId": "Dyson Challenge-Id",
"desc_2FA": "È necessario eseguire un processo 2FA iniziale una tantum simile all'app Dyson per attivare questo adattatore.",
"Lbl_UpAndRunning": "Questa istanza dell'adattatore deve essere attiva e in esecuzione prima della configurazione."
}
6 changes: 5 additions & 1 deletion admin/i18n/nl/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,9 @@
"switzerland": "Zwitserland",
"temperatureUnit_desc": "Eenheid om de temperatuur weer te geven.",
"token_inside": "Er is een token ontvangen en opgeslagen.",
"token_inside_desc": "Geeft aan of er een auth-token is ontvangen van de dyson-servers die nodig is om in te loggen - de adapter zal niet werken zonder dat dit selectievakje is aangevinkt."
"token_inside_desc": "Geeft aan of er een auth-token is ontvangen van de dyson-servers die nodig is om in te loggen - de adapter zal niet werken zonder dat dit selectievakje is aangevinkt.",
"Lbl_2FA": "2-factor authenticatie",
"Lbl_ChallengeId": "dyson Challenge-ID",
"desc_2FA": "U moet een eerste eenmalig 2FA-proces uitvoeren, vergelijkbaar met de Dyson-app, om deze adapter te activeren.",
"Lbl_UpAndRunning": "Deze adapterinstantie moet actief zijn vóór de configuratie."
}
6 changes: 5 additions & 1 deletion admin/i18n/pl/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,9 @@
"switzerland": "Szwajcaria",
"temperatureUnit_desc": "Jednostka do wyświetlania temperatury.",
"token_inside": "Token został odebrany i zapisany.",
"token_inside_desc": "Wskazuje, czy z serwerów dyson został odebrany token uwierzytelniania, który jest potrzebny do zalogowania — adapter nie będzie działał bez zaznaczenia tego pola wyboru."
"token_inside_desc": "Wskazuje, czy z serwerów dyson został odebrany token uwierzytelniania, który jest potrzebny do zalogowania — adapter nie będzie działał bez zaznaczenia tego pola wyboru.",
"Lbl_2FA": "Uwierzytelnianie dwuskładnikowe",
"Lbl_ChallengeId": "dyson Challenge-Id",
"desc_2FA": "Aby aktywować ten adapter, musisz wykonać początkowy jednorazowy proces 2FA podobny do aplikacji dyson.",
"Lbl_UpAndRunning": "Przed konfiguracją ta instancja adaptera musi zostać uruchomiona i uruchomiona."
}
6 changes: 5 additions & 1 deletion admin/i18n/pt/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,9 @@
"switzerland": "Suíça",
"temperatureUnit_desc": "Unidade para exibir a temperatura.",
"token_inside": "Um token foi recebido e armazenado.",
"token_inside_desc": "Indica se um token de autenticação foi recebido dos servidores dison que é necessário para efetuar login - o adaptador não funcionará sem que esta caixa de seleção esteja marcada."
"token_inside_desc": "Indica se um token de autenticação foi recebido dos servidores dison que é necessário para efetuar login - o adaptador não funcionará sem que esta caixa de seleção esteja marcada.",
"Lbl_2FA": "Autenticação de 2 fatores",
"Lbl_ChallengeId": "ID do desafio dison",
"desc_2FA": "Você precisa realizar um processo 2FA inicial semelhante ao aplicativo dyson para ativar este adaptador.",
"Lbl_UpAndRunning": "Esta instância do adaptador precisa estar instalada e em execução antes da configuração."
}
6 changes: 5 additions & 1 deletion admin/i18n/ru/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,9 @@
"switzerland": "Швейцария",
"temperatureUnit_desc": "Единица для отображения температуры.",
"token_inside": "Токен получен и сохранен.",
"token_inside_desc": "Указывает, был ли получен токен авторизации от серверов Dyson, необходимый для входа в систему — адаптер не будет работать, если этот флажок не установлен."
"token_inside_desc": "Указывает, был ли получен токен авторизации от серверов Dyson, необходимый для входа в систему — адаптер не будет работать, если этот флажок не установлен.",
"Lbl_2FA": "двухфакторная аутентификация",
"Lbl_ChallengeId": "Идентификатор вызова Dyson",
"desc_2FA": "Чтобы активировать этот адаптер, вам необходимо выполнить первоначальный однократный процесс 2FA, аналогичный тому, который используется в приложении Dyson.",
"Lbl_UpAndRunning": "Перед настройкой этот экземпляр адаптера должен быть запущен и запущен."
}
6 changes: 5 additions & 1 deletion admin/i18n/uk/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,9 @@
"switzerland": "Швейцарія",
"temperatureUnit_desc": "Одиниця відображення температури.",
"token_inside": "Отримано та збережено маркер.",
"token_inside_desc": "Вказує, чи було отримано маркер автентифікації від серверів dyson, який потрібен для входу - адаптер не працюватиме, якщо цей прапорець не встановлено."
"token_inside_desc": "Вказує, чи було отримано маркер автентифікації від серверів dyson, який потрібен для входу - адаптер не працюватиме, якщо цей прапорець не встановлено.",
"Lbl_2FA": "2-факторна аутентифікація",
"Lbl_ChallengeId": "dyson Challenge-Id",
"desc_2FA": "Щоб активувати цей адаптер, потрібно виконати початковий одноразовий процес 2FA, подібний до програми dyson.",
"Lbl_UpAndRunning": "Цей екземпляр адаптера має бути запущений і запущений до налаштування."
}
6 changes: 5 additions & 1 deletion admin/i18n/zh-cn/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,9 @@
"switzerland": "瑞士",
"temperatureUnit_desc": "显示温度的单位。",
"token_inside": "已接收并存储令牌。",
"token_inside_desc": "指示是否已从需要登录的戴森服务器接收到身份验证令牌 - 如果不选中此复选框,适配器将无法工作。"
"token_inside_desc": "指示是否已从需要登录的戴森服务器接收到身份验证令牌 - 如果不选中此复选框,适配器将无法工作。",
"Lbl_2FA": "2因素身份验证",
"Lbl_ChallengeId": "戴森挑战-ID",
"desc_2FA": "您需要执行类似于戴森应用程序的初始一次性 2FA 流程来激活此适配器。",
"Lbl_UpAndRunning": "该适配器实例需要在配置之前启动并运行。"
}
Loading

0 comments on commit fe48f64

Please sign in to comment.