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
Wordle-solve - Attempting to solve wordle

Wordle Solver Run with python wordle_beater.py. This hardmode wordle solver take

Tom Lockwood 42 Oct 11, 2022
Bu repoda python ile CAN-Bus çalışmalarını nasıl gerçekleyeceğiniz anlatılmaktadır.

CAN-Bus-with-Python "CAN Bus 1980'li yıllarda Robert BOSCH tarafından geliştirilmiş bir iletişim protokoldür. Hızlı ve hata oranının çok düşük olması

Yunus Emre Coşkun 16 Aug 29, 2022
Python implementation for Active Directory certificate abuse

Certipy is a Python tool to enumerate and abuse misconfigurations in Active Directory Certificate Services (AD CS). Based on the C# variant Ce

Oliver Lyak 1.3k Jan 09, 2023
A web application which you can search, buy or sell shares with current prices which provided by IEX.

CS50 - Stock Exchange A web application which you can search, buy or sell shares with current prices which provided by IEX. Table of Contents Setup St

1 May 28, 2022
Radiosonde Telemetry Decoders

Radiosonde Telemetry Frame Decoders This repository is an attempt to collate the various sources of information on how to decode radiosonde telemetry

Project Horus 3 Jan 04, 2022
When should you berserk in lichess arena tournament games?

When should you berserk in a lichess arena tournament game? 1+0 arena tournament 3+0 arena tournament Explanation For details on how I arrived at the

18 Aug 03, 2022
HSPyLib is a Python library that will elevate your experience to another level.

HomeSetup Python Library - HSPyLib Your mature python application HSPyLib is a Python library that will elevate your experience to another level. It r

Hugo Saporetti Junior 4 Dec 14, 2022
Timetable scripts for python

Timetable Scripts timetable_to_json: https://beta.elektronplus.pl/timetable classes_taught_by_teacher: a.adam (aa) ['1Tc', '1Td', '3Te', '3Ti', '4Tf',

Elektron++ 2 Jan 02, 2022
A community based economy bot with python works only with python 3.7.8 as web3 requires cytoolz

A community based economy bot with python works only with python 3.7.8 as web3 requires cytoolz has some issues building with python 3.10

4 Jan 01, 2022
MODSKIN-LOLPRO-updater: The mod is fkn 10y old and has'nt a self-updater

The mod is fkn 10y old and has'nt a self-updater. To use it just run the exec, wait some seconds, and it will run the new modsk

Shiro Amurha 3 Apr 23, 2022
A python script to make leaderboards using a CSV with the runners name, IDs and Flag Emojis

SrcLbMaker A python script to make speedrun.com global leaderboards. Installation You need python 3.6 or higher. First, go to the folder where you wan

2 Jul 25, 2022
Mata kuliah Bahasa Pemrograman

praktikum2 MENGHITUNG LUAS DAN KELILING LINGKARAN FLOWCHART : OUTPUT PROGRAM : PENJELASAN : Tetapkan nilai pada variabel sesuai inputan dari user :

2 Nov 09, 2021
Solutions for the Advent of Code 2021 event.

About 📋 This repository holds all of the solution code for the Advent of Code 2021 event. All solutions are done in Python 3.9.9 and done in non-real

robert yin 0 Mar 21, 2022
Repository for DNN training, theory to practice, part of the Large Scale Machine Learning class at Mines Paritech

DNN Training, from theory to practice This repository is complementary to the deep learning training lesson given to les Mines ParisTech on the 11th o

Alexandre Défossez 6 Nov 14, 2022
Find Transposon Element insertions using long reads (nanopore), by alignment directly. (minimap2)

find_te_ins find_te_ins is designed to find Transposon Element (TE) insertions using long reads (nanopore), by alignment directly. (minimap2) Install

Ming Wang 1 Feb 09, 2022
Checkers Project Built Using Python

Checkers Project Built Using Python

Meekness Anyaeche 1 Nov 08, 2021
Covid-ml-predictors - COVID predictions using AI.

COVID Predictions This repo contains ML models to be trained on COVID-19 data from the UK, sourced off of Kaggle here. This uses many different ML mod

1 Jan 09, 2022
lets learn Python language with basic examples. highly recommended for beginners who just start coding.

Lets Learn Python 🐍 Learn python from basic programs. learn python from scratch. 1.Online python compiler: https://www.onlinegdb.com/online_python_co

Subhranshu Choudhury 1 Jan 18, 2022
Pyfetch - Simple Fetch written in Python

pyfetch Simple Fetch written in Python Screenshots Install Clone this repository

2 Sep 02, 2022
Just a simple python script to generate graphs of salt state requisites.

saltstatevis Just a simple python script to generate graphs of salt state requisites. Installation Requirements You will need to install graphviz to r

Dwayn Matthies 3 May 04, 2022