rxwen / homeassistant-terncy-component

Terncy custom component for homeassistant
https://www.terncy.com
72 stars 11 forks source link
hacs-integration home-assistant homeassistant iot

homeassistant-terncy-component

terncy custome component for homeassistant

查看中文帮助

hacs_badge

Component Information

The Terncy integration allows you to control your Terncy devices connected to the Terncy Home Center (a Zigbee gateway) with Home Assistant.

There is support for the following device type within Home Assistant:

Manul Installation

  1. Download component from Releases
  2. Extract the release to home assistant custom_components folder. Once installed, the file structure is like:
    homeassistant_configuration_root
    ├── automations.yaml
    ├── blueprints
    ├── configuration.yaml
    ├── custom_components
    │   └── terncy
    │       ├── translations
    │       ├── __init__.py
    │       ├── binary_sensor.py
    │       ├── config_flow.py
    │       ├── const.py
    │       ├── cover.py
    │       ├── ...
  3. Restart home assistant

Installation via HACS

Installation with git and docker/podman

Configuration

The Terncy integration is automatically discovered. Or add it via the add integration menu.

Before trying to control Terncy devices through Home Assistant, you have to set up the system using the Terncy app.

Once registration is complete you should see the Terncy lights listed as light entities.

Debugging

Enable and view log of Terncy component

Edit configuration.yaml file in home assistant config directory, add below contents:

default_config:

logger:
  default: warning
  logs:
    custom_components.terncy: debug

View log at http://{ip_of_home_assistant}:8123/config/logs, or with docker logs -f --tail 0 {docker_instantce_name} if running home assistant in docker.

Note