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
A subleq VM/interpreter created by me for no reason

What is Dumbleq? Dumbleq is a dumb Subleq VM/interpreter implementation created by me for absolutely no reason at all. What is Subleq? If you haven't

Phu Minh 2 Nov 13, 2022
API Rate Limit Decorator

ratelimit APIs are a very common way to interact with web services. As the need to consume data grows, so does the number of API calls necessary to re

Tomas Basham 574 Dec 26, 2022
List of all D&D 5e monsters: WotC + popular third-party sourcebooks

Xio's Guide to Monsters If you're a DM like me, and you have multiple sources of D&D 5e monsters that include WotC as well as third-party suppliers, y

20 Jan 06, 2023
Automatización del proceso Inmofianza

Selenium Inmofianza Proyecto de pruebas automatizadas con selenium webdriver para el aplicativo Omnicanalidad Pre-requisitos 📋 Componentes que deben

Natalia Narváez 1 Jan 07, 2022
A Python wrapper for Matrix Synapse admin API

Synapse-admin-api-python A Python wrapper for Matrix Synapse admin API. Versioning This library now supports up to Synapse 1.45.0, any Admin API intro

Knugi 9 Sep 28, 2022
Basic code and description for GoBigger challenge 2021.

GoBigger Challenge 2021 en / 中文 Challenge Description 2021.11.13 We are holding a competition —— Go-Bigger: Multi-Agent Decision Intelligence Challeng

OpenDILab 183 Dec 29, 2022
take home quiz

guess the correlation data inspection a pretty normal distribution train/val/test split splitting amount .dataset: 150000 instances ├─8

HR Wu 1 Nov 04, 2021
A tool that bootstraps your dotfiles ⚡️

Dotbot Dotbot makes installing your dotfiles as easy as git clone $url && cd dotfiles && ./install, even on a freshly installed system! Rationale Gett

Anish Athalye 5.9k Jan 07, 2023
switching computer? changing your setup? You need to automate the download of your current setup? This is the right tool for you :incoming_envelope:

🔮 setup_shift(SS.py) switching computer? changing your setup? You need to automate the download of your current setup? This is the right tool for you

Mohamed Elfaleh 15 Aug 26, 2022
Python programming language Test

Exercise You are tasked with creating a data-processing app that pre-processes and enriches the data coming from crawlers, with the following requirem

Monirul Islam Khan 1 Dec 13, 2021
OpenSea NFT API App using Python and Streamlit

opensea-nft-api-tutorial OpenSea NFT API App using Python and Streamlit Tutorial Video Walkthrough https://www.youtube.com/watch?v=49SupvcFC1M Instruc

64 Oct 28, 2022
Ked interpreter built with Lex, Yacc and Python

Ked Ked is the first programming language known to hail from The People's Republic of Cork. It was first discovered and partially described by Adam Ly

Eoin O'Brien 1 Feb 08, 2022
The worst and slowest programming language you have ever seen

VenumLang this is a complete joke EXAMPLE: fizzbuzz in venumlang x = 0

Venum 7 Mar 12, 2022
A feed generator. Currently supports generating RSS feeds from Google, Bing, and Yahoo news.

A feed generator. Currently supports generating RSS feeds from Google, Bing, and Yahoo news.

Josh Cardenzana 0 Dec 13, 2021
A python package that adds "docs" command to disnake

About This extension's purpose is of adding a "docs" command, its purpose is to help documenting in chat. How To Load It from disnake.ext import comma

7 Jan 03, 2023
These are After Effects and Python files that were made in the process of creating the video for the contest.

spirograph These are After Effects and Python files that were made in the process of creating the video for the contest. In the python file you can qu

91 Dec 07, 2022
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
An implementation of Ray Tracing in One Weekend using Taichi

又一个Taichi语言的Ray Tracer 背景简介 这个Ray Tracer基本上是照搬了Peter Shirley的第一本小书Ray Tracing in One Weekend,在我写的时候参考的是Version 3.2.3这个版本。应该比其他中文博客删改了不少内容。果然Peter Shir

张皓 30 Nov 21, 2022
Unified Distributed Execution

Unified Distributed Execution The framework supports multiple execution backends: Ray, Dask, MPI and MultiProcessing. To run tests you need to install

17 Dec 25, 2022
A python trivium implemention

A python trivium implemention

tnt2402 1 Nov 12, 2021