Skip to content
This sensor uses official API to get air quality data from https://looko2.com.
Python
Branch: master
Clone or download
Latest commit a892268 Oct 31, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
custom_components/looko2 Updated project structure to support HACS integration Jul 14, 2019
LICENSE Added license Oct 9, 2019
README.md Updated README Oct 31, 2019
hacs.json Added hacs.json Aug 29, 2019
info.md Created info.md Jul 19, 2019

README.md

LookO2 sensor

hacs_badge buymeacoffee_badge

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

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'

Installation

Download sensor.py and manifest.json 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/raw/master/custom_components/looko2/sensor.py
wget https://github.com/PiotrMachowski/Home-Assistant-custom-components-Looko2/raw/master/custom_components/looko2/manifest.json

FAQ

Buy Me A Coffee

You can’t perform that action at this time.