Git Product home page Git Product logo

home-assistant-purpleair's Introduction

Local Purple Air Integration

This is an integration for home assistant that works integrates with local polling on your PurpleAir devices on your local network.

Code adapted from https://github.com/johnboiles/home-assistant-purpleair

It creates one device per Purple Air device registered and several sensors for each several readings.

Installation

Simply copy the /purpleair directory in to your config's custom_components directory (you may need to create it), restart Home Assistant, and add the integration via the UI (it's simple!).

To register a new purple air device:

  1. Add "Purple Air" Integration.
  2. Enter the IP address of your local purple air device
  3. Give it a name.

Current Sensors

This will create 12 or 13 entities per device:

  • Particulate Matter 0.1
  • Particulate Matter 2.5
  • Particulate Matter 10
  • Air Quality Index (EPA)
  • Air Quality Index (LRAPA)
  • Humidity (Adjusted sensor: +4%)
  • Temperature (Adjusted sensor: -8F)
  • Dewpoint (Adjusted sensor: re-calculated to take temp & humidity adjustments)
  • Pressure
  • RSSI
  • Particulate Matter 2.5 Aqi Raw value (sensor A)
  • Particulate Matter 2.5 Aqi Raw value (sensor B -- only for devices that have two)
  • PM 2.5 Confidence Level (Good, Questionable or Severe).

Sensor data on PurpleAir is updated every 60 seconds.

Adjusted Sensors

In a similar manner to the actual purple air website, some sensors are adjusted manually to take into account the fact that the housing itself increases the temperature and has reduced humidity. Calculated sensors are marked above.

This component is licensed under the MIT license, so feel free to copy, enhance, and redistribute as you see fit.

Releases

2.0.3

Added support for dual sensor devices that have a physical issue with one sensor. If a device has dual sensors and one of them is > 300 difference, it will set the confidence to "Severe" and instead of averaging the values, will use the lower value exclusively.

2.0.1

Replace public purple air device support (via purpleair.com) and replace with purpleair devices that are on your local network only.

1.1.0

Adds support for private hidden sensors and indoor sensors. Fixes #3 and #4.

1.0.0

Initial release (after versioning)

home-assistant-purpleair's People

Contributors

catchdave avatar gibwar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.