diff --git a/CHANGELOG_OLD.md b/CHANGELOG_OLD.md new file mode 100644 index 00000000..43e56227 --- /dev/null +++ b/CHANGELOG_OLD.md @@ -0,0 +1,246 @@ +# Older changes +## 2.7.2 (2021-04-30) +* Avoid warning about `undefined` states in JS-Controller 3.3+ + +## 2.7.1 (2021-03-12) +* Dependency updates +* Fixed issues in `io-package.json` and README found by the adapter checker + +## 2.7.0 (2021-02-24) +* Compatibility with gateway firmware v1.13.21 +* Added `whenPowerRestored` setting to configure what bulbs do after a power loss + +## 2.6.5 (2020-11-29) +* Bugfix: Loading all scenes no longer stalls when a group has no scenes + +## 2.6.4 (2020-11-29) +* Fix: Updated `node-tradfri-client` to suppress warnings about unknown property `9109` + +## 2.6.3 (2020-06-01) +* Bugfix: Changed the role of RGB states to `level.color.rgb` + +## 2.6.2 (2020-04-29) +* Bugfix: The unhandled error handler should now correctly log the error even if `adapter` is not defined + +## 2.6.1 (2020-04-17) +* Bugfix: Blinds would not always be stopped + +## 2.6.0 (2020-03-17) +* Support stopping blinds at their current position + +## 2.5.2 (2020-01-26) +* Fix: Suppress log warnings for Symfonisk remotes + +## 2.5.1 (2019-12-23) +* Made it possible to operate plugs using virtual groups + +## 2.5.0 (2019-12-22) +* Allow more device types in virtual groups + +## 2.4.7 (2019-11-18) +* Fixed small display issues with 3rd party bulbs + +## 2.4.6 (2019-11-15) +* Group states for blinds are now synchronized correctly + +## 2.4.5 (2019-11-07) +* Fix: Suppress log warnings for motion sensors + +## 2.4.4 (2019-10-11) +* Fix: Suppress log warnings for slave remotes and signal repeaters + +## 2.4.3 (2019-09-22) +* Fix: Operate blinds when states are changed + +## 2.4.2 (2019-09-22) +* Fix: Also create objects for blinds + +## 2.4.0 (2019-08-18) +* Add support for blinds + +## 2.3.0 (2019-04-05) +* The gateway can now be discovered automatically + +## 2.2.0 (2019-02-25) +* Expose the battery percentage for devices with a battery + +## 2.1.0 (2019-01-08) +* When `node-aead-crypto` is not installed, display instructions on how to fix it +* Optimizations and fixes under the hood +* Support for compact mode + +## 2.0.0 (2018-05-14) +* Support for Admin v3 and material design +* **BREAKING:** Dropped support for Admin v2 + +## 1.5.4 (2018-11-11) +* Fix handling of decimal digits in the adapter settings. This fixes rounding of group states. + +## 1.5.2 (2018-11-06) +* Reworked installation procedure to fix problems with `node-aead-crypto` + +## 1.5.1 (2018-10-29) +* Added experimental support for smart plugs + +## 1.4.0 (2018-05-14) +* The names of state objects no longer get overwritten + +## 1.3.0 (2018-05-06) +* Reduce logging of "updated scenes for group..." +* Made rounding of numeric values configurable +* Stability improvements + +## 1.2.1 (2018-05-01) +* Use the native encryption methods of NodeJS 10 instead of `node-aead-crypto` + +## 1.1.11 (2018-04-27) +* Add support for NodeJS 10 + +## 1.1.10 (2018-03-18) +* Improved automatic reconnection + +## 1.1.9 (2018-03-15) +* Fixed group states not always updating the lightbulbs when changed + +## 1.1.8 (2018-03-09) +* Ignore minimum brightness reports when lights are turned off + +## 1.1.7 (2018-02-23) +* Fixed activation of scenes when the scene is already selected + +## 1.1.6 (2018-02-22) +* Fixes for RGB support +* Support for floating point values + +## 1.1.3 (2018-02-15) +* Update `node-tradfri-client` version for better RGB support and floating point values + +## 1.1.1 (2018-02-07) +* Attempt to fix `TypeError: generator already running` + +## 1.1.0 (2018-02-07) +* Added an option to preserve the transition duration for single lightbulbs + +## 1.0.7 (2018-02-05) +* Fixed an error loading virtual groups + +## 1.0.6 (2018-01-13) +* Update `node-tradfri-client` version + +## 1.0.5 (2018-01-13) +* Removed error in log on adapter startup +* Change brightness role for better compatibility with the cloud adapter + +## 1.0.4 (2018-01-10) +* Removed warning caused by Gateway v1.3.14 + +## 1.0.3 (2018-01-07) +* Updated `node-tradfri-client` version +* Load objects on adapter start so they don't get overwritten (#35) + +## 1.0.2 (2017-12-28) +* New attempt at automatically restarting the adapter on connection loss + +## 1.0.1 (2017-12-25) +* Update `node-tradfri-client` dependency to support receiving blockwise messages + +## 1.0.0 (2017-11-19) +* This is stable enough for a 1.x version +* Improved browser compatiblity of the admin UI + +## 0.6.0 (2017-11-07) +* Moved tradfri-related code into its own library +* Changed authentication procedure to comply with IKEA's request + +## 0.5.5 (2017-10-31) +* Restored compatibility to Gateway version 1.2.42 + +## 0.5.4 (2017-10-29) +* Brightness is now expressed in 0..100% +* Fixed parsing RGB colors + +## 0.5.3 (2017-10-28) +* Fixed transition duration for groups + +## 0.5.2 (2017-10-28) +* Added icons for devices + +## 0.5.1 (2017-10-28) +* Support virtual groups +* Validate hex colors on input + +## 0.4.5 (2017-10-20) +* RGB and connection fixes. + +## 0.4.3 (2017-10-17) +* Experimental support for RGB and lightbulbs with fixed color + +## 0.3.4 (2017-10-17) +* Disabled automatic restart on connection loss. + +## 0.3.3 (2017-10-07) +* Eliminated potential sources of infinite loops + +## 0.3.2 (2017-10-04) +* Fixed an error resulting from the upgrade to ES2015 output + +## 0.3.1 (2017-10-02) +* Update CoAP library to fix a bug + +## 0.3.0 (2017-09-25) +* official release of the previous changes +* added transition duration and brightness change for groups +* monitor connection state and update info.connection +* fix connection attempts to unavailable endpoints + +## 0.2.9 (2017-09-25) +* Support changing the transition duration + +## 0.2.8 (2017-09-24) +* Fixed group and scene deletion + +## 0.2.7 (2017-09-23) +* Update CoAP and DTLS library for the next features +* Offloaded concurrency handling to CoAP lib + +## 0.2.5 (2017-09-12) +* Selection of scenes from the admin UI is now possible + +## 0.2.4 (2017-09-11) +* Add support for groups (renaming, switching) +* Partial support for scenes (switching when id is known) + +## 0.2.3 (2017-09-11) +* Send custom CoAP packets by using sendTo + +## 0.2.2 (2017-09-10) +* Changed internal handling of objects to prepare the next updates + +## 0.2.1 (2017-08-26) +* Sync io-package and package version + +## 0.2.0 (2017-08-14) +* Remove git dependency, publish on npm + +## 0.1.5 (2017-08-14) +* Ensure only whole numbers are sent (fixes #6) +* Fix connection to the gateway using the hostname + +## 0.1.4 (2017-08-12) +* Switched to TypeScript + +## 0.1.3 (2017-07-21) +* Reboot of the adapter without 3rd party libraries. + +## 0.1.2 (2017-05-06) +* Color temperature of lightbulbs is now expressed in terms of 0 (cold) - 100% (warm). + +## 0.1.1 (2017-05-04) +* Added support for NodeJS 4.X and building the dependencies on Windows systems + +## 0.1.0 (2017-05-02) +* initial release. +* Functionality limited to controlling lightbulbs. + +## 0.0.0 +* not ready yet! diff --git a/README.md b/README.md index 3531ece0..248d44eb 100644 --- a/README.md +++ b/README.md @@ -66,10 +66,14 @@ The result object `ret` looks as follows: ``` ## Changelog +[Older changes](CHANGELOG_OLD.md) +### 3.1.0 (2021-12-19) +* Add support for STARKVIND Air Purifier + ### 3.0.2 (2021-12-03) * Improve support for older browsers * Update dependencies @@ -83,252 +87,6 @@ The result object `ret` looks as follows: ### 2.7.3 (2021-05-14) * Fix remaining JS-Controller 3.3 warnings -### 2.7.2 (2021-04-30) -* Avoid warning about `undefined` states in JS-Controller 3.3+ - -### 2.7.1 (2021-03-12) -* Dependency updates -* Fixed issues in `io-package.json` and README found by the adapter checker - -### 2.7.0 (2021-02-24) -* Compatibility with gateway firmware v1.13.21 -* Added `whenPowerRestored` setting to configure what bulbs do after a power loss - -### 2.6.5 (2020-11-29) -* Bugfix: Loading all scenes no longer stalls when a group has no scenes - -### 2.6.4 (2020-11-29) -* Fix: Updated `node-tradfri-client` to suppress warnings about unknown property `9109` - -### 2.6.3 (2020-06-01) -* Bugfix: Changed the role of RGB states to `level.color.rgb` - -### 2.6.2 (2020-04-29) -* Bugfix: The unhandled error handler should now correctly log the error even if `adapter` is not defined - -### 2.6.1 (2020-04-17) -* Bugfix: Blinds would not always be stopped - -### 2.6.0 (2020-03-17) -* Support stopping blinds at their current position - -### 2.5.2 (2020-01-26) -* Fix: Suppress log warnings for Symfonisk remotes - -### 2.5.1 (2019-12-23) -* Made it possible to operate plugs using virtual groups - -### 2.5.0 (2019-12-22) -* Allow more device types in virtual groups - -### 2.4.7 (2019-11-18) -* Fixed small display issues with 3rd party bulbs - -### 2.4.6 (2019-11-15) -* Group states for blinds are now synchronized correctly - -### 2.4.5 (2019-11-07) -* Fix: Suppress log warnings for motion sensors - -### 2.4.4 (2019-10-11) -* Fix: Suppress log warnings for slave remotes and signal repeaters - -### 2.4.3 (2019-09-22) -* Fix: Operate blinds when states are changed - -### 2.4.2 (2019-09-22) -* Fix: Also create objects for blinds - -### 2.4.0 (2019-08-18) -* Add support for blinds - -### 2.3.0 (2019-04-05) -* The gateway can now be discovered automatically - -### 2.2.0 (2019-02-25) -* Expose the battery percentage for devices with a battery - -### 2.1.0 (2019-01-08) -* When `node-aead-crypto` is not installed, display instructions on how to fix it -* Optimizations and fixes under the hood -* Support for compact mode - -### 2.0.0 (2018-05-14) -* Support for Admin v3 and material design -* **BREAKING:** Dropped support for Admin v2 - -### 1.5.4 (2018-11-11) -* Fix handling of decimal digits in the adapter settings. This fixes rounding of group states. - -### 1.5.2 (2018-11-06) -* Reworked installation procedure to fix problems with `node-aead-crypto` - -### 1.5.1 (2018-10-29) -* Added experimental support for smart plugs - -### 1.4.0 (2018-05-14) -* The names of state objects no longer get overwritten - -### 1.3.0 (2018-05-06) -* Reduce logging of "updated scenes for group..." -* Made rounding of numeric values configurable -* Stability improvements - -### 1.2.1 (2018-05-01) -* Use the native encryption methods of NodeJS 10 instead of `node-aead-crypto` - -### 1.1.11 (2018-04-27) -* Add support for NodeJS 10 - -### 1.1.10 (2018-03-18) -* Improved automatic reconnection - -### 1.1.9 (2018-03-15) -* Fixed group states not always updating the lightbulbs when changed - -### 1.1.8 (2018-03-09) -* Ignore minimum brightness reports when lights are turned off - -### 1.1.7 (2018-02-23) -* Fixed activation of scenes when the scene is already selected - -### 1.1.6 (2018-02-22) -* Fixes for RGB support -* Support for floating point values - -### 1.1.3 (2018-02-15) -* Update `node-tradfri-client` version for better RGB support and floating point values - -### 1.1.1 (2018-02-07) -* Attempt to fix `TypeError: generator already running` - -### 1.1.0 (2018-02-07) -* Added an option to preserve the transition duration for single lightbulbs - -### 1.0.7 (2018-02-05) -* Fixed an error loading virtual groups - -### 1.0.6 (2018-01-13) -* Update `node-tradfri-client` version - -### 1.0.5 (2018-01-13) -* Removed error in log on adapter startup -* Change brightness role for better compatibility with the cloud adapter - -### 1.0.4 (2018-01-10) -* Removed warning caused by Gateway v1.3.14 - -### 1.0.3 (2018-01-07) -* Updated `node-tradfri-client` version -* Load objects on adapter start so they don't get overwritten (#35) - -### 1.0.2 (2017-12-28) -* New attempt at automatically restarting the adapter on connection loss - -### 1.0.1 (2017-12-25) -* Update `node-tradfri-client` dependency to support receiving blockwise messages - -### 1.0.0 (2017-11-19) -* This is stable enough for a 1.x version -* Improved browser compatiblity of the admin UI - -### 0.6.0 (2017-11-07) -* Moved tradfri-related code into its own library -* Changed authentication procedure to comply with IKEA's request - -### 0.5.5 (2017-10-31) -* Restored compatibility to Gateway version 1.2.42 - -### 0.5.4 (2017-10-29) -* Brightness is now expressed in 0..100% -* Fixed parsing RGB colors - -### 0.5.3 (2017-10-28) -* Fixed transition duration for groups - -### 0.5.2 (2017-10-28) -* Added icons for devices - -### 0.5.1 (2017-10-28) -* Support virtual groups -* Validate hex colors on input - -### 0.4.5 (2017-10-20) -* RGB and connection fixes. - -### 0.4.3 (2017-10-17) -* Experimental support for RGB and lightbulbs with fixed color - -### 0.3.4 (2017-10-17) -* Disabled automatic restart on connection loss. - -### 0.3.3 (2017-10-07) -* Eliminated potential sources of infinite loops - -### 0.3.2 (2017-10-04) -* Fixed an error resulting from the upgrade to ES2015 output - -### 0.3.1 (2017-10-02) -* Update CoAP library to fix a bug - -### 0.3.0 (2017-09-25) -* official release of the previous changes -* added transition duration and brightness change for groups -* monitor connection state and update info.connection -* fix connection attempts to unavailable endpoints - -### 0.2.9 (2017-09-25) -* Support changing the transition duration - -### 0.2.8 (2017-09-24) -* Fixed group and scene deletion - -### 0.2.7 (2017-09-23) -* Update CoAP and DTLS library for the next features -* Offloaded concurrency handling to CoAP lib - -### 0.2.5 (2017-09-12) -* Selection of scenes from the admin UI is now possible - -### 0.2.4 (2017-09-11) -* Add support for groups (renaming, switching) -* Partial support for scenes (switching when id is known) - -### 0.2.3 (2017-09-11) -* Send custom CoAP packets by using sendTo - -### 0.2.2 (2017-09-10) -* Changed internal handling of objects to prepare the next updates - -### 0.2.1 (2017-08-26) -* Sync io-package and package version - -### 0.2.0 (2017-08-14) -* Remove git dependency, publish on npm - -### 0.1.5 (2017-08-14) -* Ensure only whole numbers are sent (fixes #6) -* Fix connection to the gateway using the hostname - -### 0.1.4 (2017-08-12) -* Switched to TypeScript - -### 0.1.3 (2017-07-21) -* Reboot of the adapter without 3rd party libraries. - -### 0.1.2 (2017-05-06) -* Color temperature of lightbulbs is now expressed in terms of 0 (cold) - 100% (warm). - -### 0.1.1 (2017-05-04) -* Added support for NodeJS 4.X and building the dependencies on Windows systems - -### 0.1.0 (2017-05-02) -* initial release. -* Functionality limited to controlling lightbulbs. - -### 0.0.0 -* not ready yet! - ## License The MIT License (MIT) diff --git a/io-package.json b/io-package.json index 8fe098aa..344818ca 100644 --- a/io-package.json +++ b/io-package.json @@ -1,8 +1,20 @@ { "common": { "name": "tradfri", - "version": "3.0.2", + "version": "3.1.0", "news": { + "3.1.0": { + "en": "Add support for STARKVIND Air Purifier", + "de": "Unterstützung für STARKVIND Luftreiniger hinzugefügt", + "ru": "Добавить поддержку очистителя воздуха СТАРКВИНД", + "pt": "Adicionar suporte para purificador de ar STARKVIND", + "nl": "Ondersteuning toevoegen voor STARKVIND luchtreiniger", + "fr": "Ajout de la prise en charge du purificateur d'air STARKVIND", + "it": "Aggiungi il supporto per il purificatore d'aria STARKVIND", + "es": "Agregue soporte para el purificador de aire STARKVIND", + "pl": "Dodaj obsługę oczyszczacza powietrza STARKVIND", + "zh-cn": "添加对 STARKVIND 空气净化器的支持" + }, "3.0.2": { "en": "Improve support for older browsers\nUpdate dependencies", "de": "Unterstützung für ältere Browser verbessert\nAbhängigkeiten aktualisiert", @@ -74,18 +86,6 @@ "es": "Actualizaciones de dependencia\nProblemas resueltos en `io-package.json` y README encontrados por el verificador del adaptador", "pl": "Aktualizacje zależności\nNaprawiono problemy w plikach `io-package.json` i plik README znalezione przez narzędzie do sprawdzania adapterów", "zh-cn": "依赖关系更新\n修复了适配器检查器在io-package.json和自述文件中的问题" - }, - "2.7.0": { - "en": "Compatibility with gateway firmware v1.13.21\nAdded `whenPowerRestored` setting to configure what bulbs do after a power loss", - "de": "Kompatibilität mit der Gateway-Firmware v1.13.21\nDie Einstellung \"whenPowerRestored\" wurde hinzugefügt, um zu konfigurieren, was Lampen nach einem Stromausfall tun", - "ru": "Совместимость с прошивкой шлюза v1.13.21\nДобавлен параметр whenPowerRestored для настройки действий лампочек после отключения питания.", - "pt": "Compatibilidade com firmware de gateway v1.13.21\nAdicionada a configuração `whenPowerRestored` para definir o que as lâmpadas fazem após uma perda de energia", - "nl": "Compatibiliteit met gateway-firmware v1.13.21\nInstelling `whenPowerRestored` toegevoegd om te configureren wat lampen doen na stroomuitval", - "fr": "Compatibilité avec le firmware de la passerelle v1.13.21\nAjout du paramètre `whenPowerRestored` pour configurer ce que font les ampoules après une coupure de courant", - "it": "Compatibilità con il firmware del gateway v1.13.21\nAggiunta l'impostazione `whenPowerRestored` per configurare cosa fanno le lampadine dopo una perdita di alimentazione", - "es": "Compatibilidad con el firmware de la puerta de enlace v1.13.21\nSe agregó la configuración `whenPowerRestored` para configurar lo que hacen las bombillas después de una pérdida de energía", - "pl": "Zgodność z oprogramowaniem sprzętowym bramy w wersji 1.13.21\nDodano ustawienie WhenPowerRestored, aby skonfigurować działanie żarówek po utracie zasilania", - "zh-cn": "与网关固件v1.13.21的兼容性\n添加了“ whenPowerRestored”设置,以配置掉电后灯泡的功能" } }, "title": "IKEA Trådfri", @@ -113,7 +113,9 @@ "pl": "Komunikuje się z IKEA brama Trådfri do zarządzania urządzeniami", "zh-cn": "与IKEA Trådfri网关,以控制设备" }, - "authors": ["AlCalzone "], + "authors": [ + "AlCalzone " + ], "license": "MIT", "platform": "Javascript/Node.js", "main": "build/main.js", @@ -121,7 +123,10 @@ "icon": "tradfri.png", "enabled": false, "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.tradfri/master/admin/tradfri.png", - "keywords": ["ikea", "tradfri"], + "keywords": [ + "ikea", + "tradfri" + ], "readme": "https://github.com/AlCalzone/ioBroker.tradfri/blob/master/README.md", "loglevel": "info", "type": "lighting", @@ -145,7 +150,11 @@ "preserveTransitionTime": false, "roundToDigits": 2 }, - "protectedNative": ["securityCode", "identity", "psk"], + "protectedNative": [ + "securityCode", + "identity", + "psk" + ], "objects": [], "instanceObjects": [ { diff --git a/package-lock.json b/package-lock.json index 61f36990..8802d28e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "iobroker.tradfri", - "version": "3.0.2", + "version": "3.1.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 143908cc..3c6571f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.tradfri", - "version": "3.0.2", + "version": "3.1.0", "description": "ioBroker tradfri Adapter", "author": { "name": "AlCalzone",