For my Philips Airpurifier AC3259/10

Overview

Philips-Airpurifier

For my Philips Airpurifier AC3259/10 - Original from https://github.com/Kraineff/philips-airpurifier

I will try to keep this code Up-To-Date and fix whatever warnings and errors that I get from HA.

Installation:

Take the folder "philips_airpurifier" and place it in folder "custom_components". Restart. Then copy the yaml down below and place it in configuration.yaml, save and restart. (Remember to change the ip-address to your Philips IP address). Restart. Finished.

If you like to have som extra sensors, for example like me to get an notification when its time to change filters. Check sensors-section down below.

Usage:

fan:
  platform: philips_airpurifier
  host: 192.168.0.17

Configuration variables:

Field Value Necessity Description
platform philips_airpurifier Required The platform name.
host 192.168.0.17 Required IP address of your Purifier.
name Philips Air Purifier Optional Name of the Fan.

Services

The philips_airpurifier integration provides the following custom services:

philips_airpurifier.set_mode

Set the device mode (if supported)

Field Value Necessity Description
entity_id "fan.living_room" Required Name(s) of the entities to set mode
mode "Auto Mode" Required One of "Auto Mode", "Allergen Mode", "Sleep Mode", "Bacteria", "Night".

philips_airpurifier.set_function

Set the device function (if supported)

Field Value Necessity Description
entity_id "fan.living_room" Required Name(s) of the entities to set function
function "Purification & Humidification" Required One of "Purification" or "Purification & Humidification".

philips_airpurifier.set_target_humidity

Set the device target humidity (if supported)

Field Value Necessity Description
entity_id "fan.living_room" Required Name(s) of the entities to set target humidity
humidity 40 Required One of 40, 50, 60

philips_airpurifier.set_light_brightness

Set the device light brightness

Field Value Necessity Description
entity_id "fan.living_room" Required Name(s) of the entities to set light brightness
level 50 Required One of 0, 25, 50, 75, 100. Turns off the display light if level is 0.

philips_airpurifier.set_child_lock

Set the device child lock on or off

Field Value Necessity Description
entity_id "fan.living_room" Required Name(s) of the entities to set child lock
lock true Required true or false

philips_airpurifier.set_timer

Set the device off time

Field Value Necessity Description
entity_id "fan.living_room" Required Name(s) of the entities to set off timer
hours 5 Required Hours between 0 and 12

philips_airpurifier.set_display_light

Set the device display light on or off

Field Value Necessity Description
entity_id "fan.living_room" Required Name(s) of the entities to set display light
light true Required true or false

Create sensors from fan.philips_airpurifier: (copy and paste to sensors.yaml in config folder)

  - platform: template
    sensors:
      purifier_air_quality:
        friendly_name: "Air quality"
        value_template: "{{ state_attr('fan.philips_airpurifier', 'pm25') }}"
      purifier_speed:
        friendly_name: "Speed"
        value_template: "{{ state_attr('fan.philips_airpurifier', 'speed') }}"
      purifier_allergens:
        friendly_name: "Allergen index"
        value_template: "{{ state_attr('fan.philips_airpurifier', 'allergen_index') }}"
      purifier_pre_filter:
        friendly_name: "Pre-filter"
        unit_of_measurement: 'Hrs'
        value_template: "{{ state_attr('fan.philips_airpurifier', 'pre_filter') }}"
      purifier_carbon_filter:
        friendly_name: "Carbon-filter"
        unit_of_measurement: 'Hrs'
        value_template: "{{ state_attr('fan.philips_airpurifier', 'carbon_filter') }}"
      purifier_hepa_filter:
        friendly_name: "HEPA-filter"
        unit_of_measurement: 'Hrs'
        value_template: "{{ state_attr('fan.philips_airpurifier', 'hepa_filter') }}"
      purifier_brightness:
        friendly_name: "Brightness"
        unit_of_measurement: '%'
        value_template: "{{ state_attr('fan.philips_airpurifier', 'light_brightness') }}"
      purifier_child_lock:
        friendly_name: "Child lock"
        value_template: "{{ state_attr('fan.philips_airpurifier', 'child_lock') }}"
You might also like...
Comments
  • Would it be possible to make this an official HA integration?

    Would it be possible to make this an official HA integration?

    Hi! Thanks for writing this. Would it be possible to make this an official HA integration or atleast an HACS integration. So more people can enjoy this? https://developers.home-assistant.io/ (Just bought an Philips AC3829 because i'm so damn allergic to dust) Would be great!

    opened by HAuser2019 3
  • Can you make this an official integration?

    Can you make this an official integration?

    Hi! Thanks for writing this. Would it be possible to make this an official HA integration or atleast an HACS integration. So more people can enjoy this? https://developers.home-assistant.io/ Would be great!

    opened by HAuser2019 1
Releases(latest)
  • latest(Jan 23, 2022)

    Breaking changes: Custom service philips_airpurifier.set_mode is replaced by fan.set_preset_mode service fan.set_speed and fan.set_percentage no longer supported Presets Night removed

    Source code(tar.gz)
    Source code(zip)
Owner
AcidSleeper
AcidSleeper
Cobalt Strike Sleep Python Bridge

This project is 'bridge' between the sleep and python language. It allows the control of a Cobalt Strike teamserver through python without the need for for the standard GUI client. NOTE: This project

Cobalt Strike 140 Jan 04, 2023
pyreports is a python library that allows you to create complex report from various sources

pyreports pyreports is a python library that allows you to create complex reports from various sources such as databases, text files, ldap, etc. and p

Matteo Guadrini aka GU 78 Dec 13, 2022
A scuffed remake of Kahoot... Made by Y9 and Y10 SHSB

A scuffed remake of Kahoot... Made by Y9 and Y10 SHSB

Tobiloba Kujore 3 Oct 28, 2022
A clock widget for linux ez to use no need for cmd line ;)

A clock widget in LINUX A clock widget for linux ez to use no need for cmd line ;) How to install? oh its ez just go to realese! what are the paltform

1 Feb 15, 2022
This repo will have a small amount of Chrome tools that can be used for DFIR, Hacking, Deception, whatever your heart desires.

Chrome-Tools Overview Welcome to the repo. This repo will have a small amount of Chrome tools that can be used for DFIR, Hacking, Deception, whatever

5 Jun 08, 2022
通过简单的卷积神经网络直接预测出验证码图片中滑块的位置

使用说明 1. 在本地测试 运行python3 prdict_one.py即可,默认需要预测的图片路径位于testImg文件夹下的test1.png 运行python3 predict_folder.py预测testImg下的所有图片 2. 部署到服务器 运行python3 run_a_server

12 Mar 08, 2022
Earth-to-orbit ballistic trajectories with atmospheric resistance

Earth-to-orbit ballistic trajectories with atmospheric resistance Overview Space guns are a theoretical technology that reduces the cost of getting bu

1 Dec 03, 2021
Python library for datamining glitch information from Gen 1 Pokémon GameBoy ROMs

g1utils This is a Python library for datamining information about various glitches (glitch Pokémon, glitch maps, etc.) from Gen 1 Pokémon ROMs. TODO A

1 Jan 13, 2022
Transpiles some Python into human-readable Golang.

pytago Transpiles some Python into human-readable Golang. Try out the web demo Installation and usage There are two "officially" supported ways to use

Michael Phelps 318 Jan 03, 2023
Test pour savoir si je suis capable de paratger une lib avec le monde entier !!

Data analysis Document here the project: MLproject Description: Project Description Data Source: Type of analysis: Please document the project the bet

Lucas_Penarrubia 0 Jan 18, 2022
Cup Noodle Vending Maching Ordering Queue

Noodle-API Cup Noodle Vending Machine Ordering Queue Install dependencies in virtual environment python3 -m venv

Jonas Kazlauskas 1 Dec 09, 2021
Streamlit — The fastest way to build data apps in Python

Welcome to Streamlit 👋 The fastest way to build and share data apps. Streamlit lets you turn data scripts into sharable web apps in minutes, not week

Streamlit 22k Jan 06, 2023
A simple python script where the user inputs the current ingredients they have in their kitchen into ingredients.txt

A simple python script where the user inputs the current ingredients they have in their kitchen into ingredients.txt and then runs the main.py script, and it will output what recipes can be created b

Jordan Leich 3 Nov 02, 2022
A package with multiple bias correction methods for climatic variables, including the QM, DQM, QDM, UQM, and SDM methods

A package with multiple bias correction methods for climatic variables, including the QM, DQM, QDM, UQM, and SDM methods

Sebastián A. Aedo Quililongo 9 Nov 18, 2022
Um sistema de llogin feito em uma interface grafica.

Interface-para-login Um sistema de login feito com JSON. Utilizando a biblioteca Tkinter, eu criei um sistema de login, onde guarda a informações de l

Mobben 1 Nov 28, 2021
Hacking and Learning consistently for 100 days straight af.

#100DaysOfHacking Hacking and Learning consistently for 100 days straight af. [yes, no breaks except mental-break ones, Obviously.] This Repo is one s

FENIL SHAH 17 Sep 09, 2022
TeamFleming is a multicultural group of 20 young bioinformatics enthusiasts participating in the 2021 HackBio Virtual Summer Internship

💻 Welcome to Team Fleming's Repo! #TeamFleming is a multicultural group of 20 young bioinformatics enthusiasts participating in the 2021 HackBio Virt

3 Aug 08, 2021
Python wrapper to different clients to determine how a particular term is used.

Python wrapper to different clients to determine how a particular term is used.

Chris Mungall 3 Oct 24, 2022
Hashcrack: Hash Bruteforse tool using python

HashCrack Hash Bruteforse tool Usage hashcrack.py -n 6 -c lower -l 5 -a md5 -t 3

Lev 1 May 04, 2022
3x+1 recreated in Python

3x-1 3x+1 recreated in Python If a number is odd it is multiplied by 3 and 1 is added to the product. If a number is even it is divided by 2. These ru

4 Aug 19, 2022