{"id":39382999,"url":"https://github.com/rxwen/homeassistant-terncy-component","last_synced_at":"2026-01-18T03:01:11.214Z","repository":{"id":37817123,"uuid":"344643103","full_name":"rxwen/homeassistant-terncy-component","owner":"rxwen","description":"Terncy custom component for homeassistant","archived":false,"fork":false,"pushed_at":"2025-06-16T13:01:20.000Z","size":205,"stargazers_count":87,"open_issues_count":1,"forks_count":15,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-16T13:57:29.157Z","etag":null,"topics":["hacs-integration","home-assistant","homeassistant","iot"],"latest_commit_sha":null,"homepage":"https://www.terncy.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rxwen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-03-05T00:02:46.000Z","updated_at":"2025-06-16T13:01:09.000Z","dependencies_parsed_at":"2023-01-21T13:19:52.381Z","dependency_job_id":"4cb5a7cb-7f0a-49c2-8567-0430a1631bec","html_url":"https://github.com/rxwen/homeassistant-terncy-component","commit_stats":null,"previous_names":[],"tags_count":60,"template":false,"template_full_name":null,"purl":"pkg:github/rxwen/homeassistant-terncy-component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxwen%2Fhomeassistant-terncy-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxwen%2Fhomeassistant-terncy-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxwen%2Fhomeassistant-terncy-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxwen%2Fhomeassistant-terncy-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rxwen","download_url":"https://codeload.github.com/rxwen/homeassistant-terncy-component/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxwen%2Fhomeassistant-terncy-component/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28528026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacs-integration","home-assistant","homeassistant","iot"],"created_at":"2026-01-18T03:00:39.739Z","updated_at":"2026-01-18T03:01:11.101Z","avatar_url":"https://github.com/rxwen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# homeassistant-terncy-component\nterncy custome component for homeassistant\n\n[查看中文帮助](README.zh-cn.md)\n\n\n[![hacs_badge](https://img.shields.io/badge/HACS-Custom-41BDF5.svg)](https://github.com/hacs/integration)\n\n\n## Component Information\n\n- ha_iot_class: Local Push\n- ha_release: '2022.12.0'\n- ha_config_flow: true\n- ha_domain: terncy\n\nThe Terncy integration allows you to control your Terncy devices connected to the Terncy Home Center (a Zigbee gateway) with Home Assistant.\n\nThere is support for the following device type within Home Assistant:\n\n- Light\n- Switch\n- Curtain Motor\n- Wireless Switch\n- Smart Plug\n- Smart Dial (Button press event only)\n- Motion Sensor\n- Door Sensor\n- Temperature Sensor\n- Humidity Sensor\n- Illuminance Sensor\n- Presence Sensor\n- Air Conditioner\n\n## Manul Installation\n\n1. Download component from [Releases](https://github.com/rxwen/homeassistant-terncy-component/releases)\n1. Extract the release to home assistant custom_components folder. Once installed, the file structure is like:\n```\nhomeassistant_configuration_root\n├── automations.yaml\n├── blueprints\n├── configuration.yaml\n├── custom_components\n│   └── terncy\n│       ├── translations\n│       ├── __init__.py\n│       ├── binary_sensor.py\n│       ├── config_flow.py\n│       ├── const.py\n│       ├── cover.py\n│       ├── ...\n```\n3. Restart home assistant\n\n## Installation via [HACS](https://hacs.xyz/)\n\n- [Install hacs](https://hacs.xyz/docs/setup/download) for the HA.\n- Go to HACS page in your HA.\n- Click the triple dot icon in the top right corner, then select Custom repositories.\n- Input `https://github.com/rxwen/homeassistant-terncy-component` in the Repository, and select Integration in the Category. Then click Add.\n- Go to Integration page in HACS, click the Add button in the bottom right corner.\n- Input \"terncy\" to search for Terncy component and click the search result to view detail.\n- Click the Download button in the bottom right corner to view download details.\n- Select the most recent verion and Download the component.\n- Restart HA.\n\n## Installation with git and docker/podman\n\n- Git clone current project to a local direcoty\n- `docker pull homeassistant/home-assistant:stable`\n- `docker run -it --rm --name ha --network=host -v PATH_TO_LOCAL_CLONED_GIT_REPOSITORY:/config/ homeassistant/home-assistant:stable`\n\n## Configuration\n\nThe Terncy integration is automatically discovered. Or add it via the add integration menu.\n\nBefore trying to control Terncy devices through Home Assistant, you have to set up the system using the [Terncy app](https://www.terncy.com/app/).\n\n- To set up this integration, click Configuration in the sidebar and then click Integrations. You should see \"Terncy\" in the discovered section (if you do not, click the + icon in the lower right and find Terncy). \n- Click configure and you will be presented with the initiation dialog. This will prompt you to select the Terncy Home Center to connect.\n- After you click submit, you will get an access request in Terncy app. Within Terncy app, You'll find the pending access request in Home Center configuraiton page, under Local Access menu entry.\n- After you approved the access, click submit to finish adding Terncy.\n\nOnce registration is complete you should see the Terncy lights listed as light entities.\n\n## Debugging\n\n### Enable log of Terncy component via config file\n\nEdit configuration.yaml file in home assistant config directory, add below contents:\n\n```\ndefault_config:\n\nlogger:\n  default: warning\n  logs:\n    custom_components.terncy: debug\n\n```\n\n### Enable log of Terncy component via HomeAssistant UI\n\nGo to http://{ip_of_home_assistant}:8123/config/Integrations/integration/terncy\nClick the `Enable debug logging` button\n\n\n### View log of Terncy component\n\nView 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.\n\n## Note\n\n- When running ha in docker, the docker should be in [host network mode](https://docs.docker.com/network/host/), by appending `--netwrok host` argument to docker start command.\n- You can download the Android version app from [this link](https://pan.baidu.com/s/1jC0TJkLjjSbLpb-16RpQQQ?pwd=epbr), which has improved local access support.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frxwen%2Fhomeassistant-terncy-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frxwen%2Fhomeassistant-terncy-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frxwen%2Fhomeassistant-terncy-component/lists"}