HOME ASSISTANT
THE GENERAL KAITERRA INTEGRATION HAS BEEN OFFICALY ADDED TOHome 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.
- Register on https://dashboard.kaiterra.cn
- Add device to dashbord using "+" sign on the bottom and write down device uuid
- Open Profile/Developer, generate new key and write it down
Manual installation
- Using the tool of choice open the directory (folder) for your HA configuration (where you find configuration.yaml).
- If you do not have a
custom_components
directory (folder) there, you need to create it. - In the custom_components directory (folder) create a new folder called
laser_egg
. - Download all the files from the
custom_components/laser_egg/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder)
custom_components/laser_egg/
you created. - 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
- Restart home-assistant
HACS installation
- Ensure that HACS is installed.
- Search for and install the "Laser Egg" integration.
- Configure the
laser_egg
sensor.
sensor:
- platform: laser_egg
device_id: xxxxx
api_key: xxxxx
- 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 ;)