Giter Site home page Giter Site logo

ha-laser-egg's Introduction

THE GENERAL KAITERRA INTEGRATION HAS BEEN OFFICALY ADDED TO HOME ASSISTANT

Home Assistant Laser Egg sensor component

Home Assistant custom component for the Kaiterra's LaserEgg

Installation

Getting the Kaiterra's API key

First you need to get the device id and api key from kaiterra site.

  1. Register on https://dashboard.kaiterra.cn
  2. Add device to dashbord using "+" sign on the bottom and write down device uuid
  3. Open Profile/Developer, generate new key and write it down

Manual installation

  1. Using the tool of choice open the directory (folder) for your HA configuration (where you find configuration.yaml).
  2. If you do not have a custom_components directory (folder) there, you need to create it.
  3. In the custom_components directory (folder) create a new folder called laser_egg.
  4. Download all the files from the custom_components/laser_egg/ directory (folder) in this repository.
  5. Place the files you downloaded in the new directory (folder) custom_components/laser_egg/ you created.
  6. Add the following to your configuration.yaml using your device id and api key from the Kaiterra's dashboard. You can adjust/remove optional parameters.
sensor:
  - platform: laser_egg
    device_id: xxxxx
    api_key: xxxxx
  1. Restart home-assistant

HACS installation

  1. Ensure that HACS is installed.
  2. Search for and install the "Laser Egg" integration.
  3. Configure the laser_egg sensor.
sensor:
  - platform: laser_egg
    device_id: xxxxx
    api_key: xxxxx
  1. Restart Home Assistant.

Configuration options

Key Type Required Description
device_id string True The device id from Kaiterra's dashboard
api_key string True The api key from Kaiterra's dashboard
name string False Name of the integration
aqi_standard string False The Air Quality Index standard, available options: ["CN", "IN", "US", "EU"], default: "US"
scan_interval string False The api communication interval

Contribution

PRs and help welcomed ;)

ha-laser-egg's People

Contributors

michsior14 avatar

Watchers

 avatar  avatar  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.