Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tradfri] Add Support for Air Purifier #14816

Closed
vivienbo opened this issue Apr 15, 2023 · 1 comment · Fixed by vivienbo/openhab-addons#3 or #14836
Closed

[tradfri] Add Support for Air Purifier #14816

vivienbo opened this issue Apr 15, 2023 · 1 comment · Fixed by vivienbo/openhab-addons#3 or #14836
Labels
enhancement An enhancement or new feature for an existing add-on

Comments

@vivienbo
Copy link
Contributor

Further details

Ikea released their Air Purifier series, which can be managed with the IKEA Tradfri gateway v1.x.
Pre-development investigations is quite available on other projects such as pytradfri.

Your Environment

  • Version used: OpenHAB 3.4.3, org.openhab.binding.tradfri 3.4.3
  • Environment: Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.17+10-LTS-269, mixed mode)
  • Operating System and version Debian GNU/Linux 11 (bullseye)
@vivienbo vivienbo added the enhancement An enhancement or new feature for an existing add-on label Apr 15, 2023
@vivienbo
Copy link
Contributor Author

vivienbo commented Apr 16, 2023

Adding Documentation from research.

Example payload

{
   "9001":"Purificateur Salon",
   "9003":65613,
   "9002":1651241886,
   "9020":1681509767,
   "9054":0,
   "9019":1,
   "3":{
      "0":"IKEA of Sweden",
      "1":"STARKVIND Air purifier",
      "2":"",
      "3":"1.1.001",
      "6":1,
      "7":4364,
      "8":0
   },
   "5750":10,
   "15025":[
      {
         "5900":20,
         "5902":236735,
         "5903":0,
         "5904":259200,
         "5905":0,
         "5906":0,
         "5907":161,
         "5908":20,
         "5909":496750,
         "5910":22465,
         "9003":0
      }
   ]
}

For the values in the 15025 table:

  • 5900 represents the fan desired operating mode with:
    • 0 means OFF
    • 1 means AUTO
    • 10..50 represent level 1 to 5
  • 5905: lock physical button. Also switches on a lock LED if LED's are not disabled (see 5906).
    • 0 = OFF/unlocked,
    • 1 = ON/locked
  • 5906: disables the mode and physical lock LED's.
    • 0 = OFF/leds are switched on
    • 1 = ON/leds are switched off
  • 5907: value seems to be measured in ppm. Tradfri apps guidelines are:
    • n >= 86: Bad
    • 85 >= n >= 36: OK
    • n < 36 : Good
  • 5908: actual fan speed from 0 (off) to 50 (max)
  • 5910: Number of minutes remaining before the next filter check operation.
  • 5902 and 5904 seem to be respectively the current used duration of the filter (in min) and the next check lifetime (in min).
    • 5904 - 5902 = 5910
  • 5903, 5909: unknown meaning

vivienbo added a commit to vivienbo/openhab-addons that referenced this issue Apr 16, 2023
* Added Tradfri Air Purifier fanMode and fanSpeed
* Added disambiguation Tradfri vs Dirigera
* Workable Tradfri Air Purifier basic implementation
* Tradfri: modified fanMode type and definition
* Tradfri Air Purifier: Added disableLed
* Tradfri Air Purifier: Added lockPhysicalButton
* Tradfri Air Purifier: Added airQuality data
* Tradfri Air Purifier: Added filterCheck data
* Tradfri Air Purifier: Added translations
* Tradfri Air Purifier: Added filter_uptime
* Tradfri Air Purifier: code optimization
* Documentation for supported Air Purifier channels
Fixes openhab#14816
vivienbo added a commit to vivienbo/openhab-addons that referenced this issue Apr 16, 2023
Added Support for Tradfri Air Purifier:
* Added documentation disambiguation Tradfri vs Dirigera
* Added Tradfri Air Purifier - fanMode and fanSpeed
* Workable Tradfri Air Purifier basic implementation
* Tradfri: modified fanMode type and definition
* Tradfri Air Purifier: Added disableLed
* Tradfri Air Purifier: Added lockPhysicalButton
* Tradfri Air Purifier: Added airQuality data
* Tradfri Air Purifier: Added filterCheck data
* Tradfri Air Purifier: Added translations
* Tradfri Air Purifier: Added filter_uptime
* Tradfri Air Purifier: code optimization
* Documentation for supported Air Purifier channels
Fixes openhab#14816

Signed-off-by: Vivien Boistuaud <github@boistuaud.net>
vivienbo added a commit to vivienbo/openhab-addons that referenced this issue Apr 17, 2023
Added Support for Tradfri Air Purifier:
* Added documentation disambiguation Tradfri vs Dirigera
* Added Tradfri Air Purifier - fanMode and fanSpeed
* Workable Tradfri Air Purifier basic implementation
* Tradfri: modified fanMode type and definition
* Tradfri Air Purifier: Added disableLed
* Tradfri Air Purifier: Added lockPhysicalButton
* Tradfri Air Purifier: Added airQuality data
* Tradfri Air Purifier: Added filterCheck data
* Tradfri Air Purifier: Added translations
* Tradfri Air Purifier: Added filter_uptime
* Tradfri Air Purifier: code optimization
* Documentation for supported Air Purifier channels
Fixes openhab#14816

Signed-off-by: Vivien Boistuaud <github@boistuaud.net>
vivienbo added a commit to vivienbo/openhab-addons that referenced this issue Apr 17, 2023
Added Support for Tradfri Air Purifier:
* Added documentation disambiguation Tradfri vs Dirigera
* Added Tradfri Air Purifier - fanMode and fanSpeed
* Workable Tradfri Air Purifier basic implementation
* Tradfri: modified fanMode type and definition
* Tradfri Air Purifier: Added disableLed
* Tradfri Air Purifier: Added lockPhysicalButton
* Tradfri Air Purifier: Added airQuality data
* Tradfri Air Purifier: Added filterCheck data
* Tradfri Air Purifier: Added translations
* Tradfri Air Purifier: Added filter_uptime
* Tradfri Air Purifier: code optimization
* Documentation for supported Air Purifier channels
Fixes openhab#14816

Signed-off-by: Vivien Boistuaud <github@boistuaud.net>
vivienbo added a commit to vivienbo/openhab-addons that referenced this issue Apr 17, 2023
Added Support for Tradfri Air Purifier:
* Added documentation disambiguation Tradfri vs Dirigera
* Added Tradfri Air Purifier - fanMode and fanSpeed
* Workable Tradfri Air Purifier basic implementation
* Tradfri: modified fanMode type and definition
* Tradfri Air Purifier: Added disableLed
* Tradfri Air Purifier: Added lockPhysicalButton
* Tradfri Air Purifier: Added airQuality data
* Tradfri Air Purifier: Added filterCheck data
* Tradfri Air Purifier: Added translations
* Tradfri Air Purifier: Added filter_uptime
* Tradfri Air Purifier: code optimization
* Documentation for supported Air Purifier channels
Fixes openhab#14816

Signed-off-by: Vivien Boistuaud <github@boistuaud.net>
@vivienbo vivienbo linked a pull request Apr 20, 2023 that will close this issue
kaikreuzer pushed a commit that referenced this issue Jun 17, 2023
* [tradfri] Added Support for Air Purifier (#7)

Added Support for Tradfri Air Purifier:
* Added documentation disambiguation Tradfri vs Dirigera
* Added Tradfri Air Purifier - fanMode and fanSpeed
* Workable Tradfri Air Purifier basic implementation
* Tradfri: modified fanMode type and definition
* Tradfri Air Purifier: Added disableLed
* Tradfri Air Purifier: Added lockPhysicalButton
* Tradfri Air Purifier: Added airQuality data
* Tradfri Air Purifier: Added filterCheck data
* Tradfri Air Purifier: Added translations
* Tradfri Air Purifier: Added filter_uptime
* Tradfri Air Purifier: code optimization
* Documentation for supported Air Purifier channels
Fixes #14816

Signed-off-by: Vivien Boistuaud <github@boistuaud.net>
tb4jc pushed a commit to tb4jc/openhab-addons that referenced this issue Jun 19, 2023
* [tradfri] Added Support for Air Purifier (openhab#7)

Added Support for Tradfri Air Purifier:
* Added documentation disambiguation Tradfri vs Dirigera
* Added Tradfri Air Purifier - fanMode and fanSpeed
* Workable Tradfri Air Purifier basic implementation
* Tradfri: modified fanMode type and definition
* Tradfri Air Purifier: Added disableLed
* Tradfri Air Purifier: Added lockPhysicalButton
* Tradfri Air Purifier: Added airQuality data
* Tradfri Air Purifier: Added filterCheck data
* Tradfri Air Purifier: Added translations
* Tradfri Air Purifier: Added filter_uptime
* Tradfri Air Purifier: code optimization
* Documentation for supported Air Purifier channels
Fixes openhab#14816

Signed-off-by: Vivien Boistuaud <github@boistuaud.net>
Signed-off-by: Thomas Burri <thomas.burri@alstomgroup.com>
matchews pushed a commit to matchews/openhab-addons that referenced this issue Aug 9, 2023
* [tradfri] Added Support for Air Purifier (openhab#7)

Added Support for Tradfri Air Purifier:
* Added documentation disambiguation Tradfri vs Dirigera
* Added Tradfri Air Purifier - fanMode and fanSpeed
* Workable Tradfri Air Purifier basic implementation
* Tradfri: modified fanMode type and definition
* Tradfri Air Purifier: Added disableLed
* Tradfri Air Purifier: Added lockPhysicalButton
* Tradfri Air Purifier: Added airQuality data
* Tradfri Air Purifier: Added filterCheck data
* Tradfri Air Purifier: Added translations
* Tradfri Air Purifier: Added filter_uptime
* Tradfri Air Purifier: code optimization
* Documentation for supported Air Purifier channels
Fixes openhab#14816

Signed-off-by: Vivien Boistuaud <github@boistuaud.net>
Signed-off-by: Matt Myers <mmyers75@icloud.com>
austvik pushed a commit to austvik/openhab-addons that referenced this issue Mar 27, 2024
* [tradfri] Added Support for Air Purifier (openhab#7)

Added Support for Tradfri Air Purifier:
* Added documentation disambiguation Tradfri vs Dirigera
* Added Tradfri Air Purifier - fanMode and fanSpeed
* Workable Tradfri Air Purifier basic implementation
* Tradfri: modified fanMode type and definition
* Tradfri Air Purifier: Added disableLed
* Tradfri Air Purifier: Added lockPhysicalButton
* Tradfri Air Purifier: Added airQuality data
* Tradfri Air Purifier: Added filterCheck data
* Tradfri Air Purifier: Added translations
* Tradfri Air Purifier: Added filter_uptime
* Tradfri Air Purifier: code optimization
* Documentation for supported Air Purifier channels
Fixes openhab#14816

Signed-off-by: Vivien Boistuaud <github@boistuaud.net>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
1 participant