Skip to content

PiotrMachowski/Home-Assistant-custom-components-Looko2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HACS Default GitHub Latest Release GitHub All Releases Ko-Fi buycoffee.to PayPal.Me Revolut.Me

LookO2 sensor

This sensor uses official API to get air quality data from LookO2.

Configuration options

Key Type Required Default Description
name string False LookO2 Name of sensor
api_key string True - API key for Look02
station_id string True - ID of monitored station
monitored_conditions list True - List of conditions to monitor
scan_interval time period False 00:20:00 Interval between sensor updates

Possible monitored conditions

Key Description
AverageHCHO Average value of HCHO
AveragePM1 Average value of PM1
AveragePM10 Average value of PM10
AveragePM25 Average value of PM2.5
Color Color of sensor, indicating quality of air
HCHO Current value of HCHO
Humidity Current value of humidity
IJP Current value of air quality index
IJPDescription Description of current air quality
IJPDescriptionEN English description of current air quality
IJPString Name of current air quality value
IJPStringEN English name of current air quality value
Indoor Indicates that sensor is mounted indoor
PM1 Current value of PM1
PM10 Current value of PM10
PM25 Current value of PM2.5
PreviousIJP Previous value of air quality index
Temperature Current value of temperature

Example usage

sensor:
  - platform: looko2
    api_key: !secret looko2.api_key
    name: LookO2
    station_id: '5CCF7F0C2E8B'
    monitored_conditions:
      - 'AverageHCHO'
      - 'AveragePM1'
      - 'AveragePM10'
      - 'AveragePM25'
      - 'Color'
      - 'HCHO'
      - 'Humidity'
      - 'IJP'
      - 'IJPDescription'
      - 'IJPDescriptionEN'
      - 'IJPString'
      - 'IJPStringEN'
      - 'Indoor'
      - 'PM1'
      - 'PM10'
      - 'PM25'
      - 'PreviousIJP'
      - 'Temperature'
    scan_interval:
      hours: 1
      minutes: 2
      seconds: 3

Installation

Using HACS (recommended)

This integration can be installed using HACS. To do it search for LookO2 in Integrations section.

Manual

To install this integration manually you have to download looko2.zip and extract its contents to config/custom_components/looko2 directory:

mkdir -p custom_components/looko2
cd custom_components/looko2
wget https://github.com/PiotrMachowski/Home-Assistant-custom-components-Looko2/releases/latest/download/looko2.zip
unzip looko2.zip
rm looko2.zip

FAQ

Support

If you want to support my work with a donation you can use one of the following platforms:

Platform Payment methods Link Comment
Ko-fi
  • PayPal
  • Credit card
  • Buy Me a Coffee at ko-fi.com
  • No fees
  • Single or monthly payment
  • buycoffee.to
  • BLIK
  • Bank transfer
  • Postaw mi kawę na buycoffee.to
    PayPal
  • PayPal
  • PayPal Logo
  • No fees
  • Revolut
  • Revolut
  • Credit Card
  • Revolut
  • No fees