{"id":16792776,"url":"https://github.com/postlund/dlink_hnap","last_synced_at":"2025-10-06T13:52:45.634Z","repository":{"id":39665146,"uuid":"281956859","full_name":"postlund/dlink_hnap","owner":"postlund","description":"Experimental integration to Home Assistant supporting D-Link devices","archived":false,"fork":false,"pushed_at":"2025-02-09T10:33:42.000Z","size":10,"stargazers_count":41,"open_issues_count":7,"forks_count":7,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-06-03T15:14:57.155Z","etag":null,"topics":["custom-integration","dlink","home-assistant"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/postlund.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["postlund"]}},"created_at":"2020-07-23T13:19:22.000Z","updated_at":"2025-05-19T17:05:23.000Z","dependencies_parsed_at":"2025-05-27T04:15:26.437Z","dependency_job_id":"921bdb7a-e057-4325-8790-061800abbc3b","html_url":"https://github.com/postlund/dlink_hnap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/postlund/dlink_hnap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postlund%2Fdlink_hnap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postlund%2Fdlink_hnap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postlund%2Fdlink_hnap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postlund%2Fdlink_hnap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/postlund","download_url":"https://codeload.github.com/postlund/dlink_hnap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postlund%2Fdlink_hnap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278621836,"owners_count":26017253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"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":["custom-integration","dlink","home-assistant"],"created_at":"2024-10-13T08:47:04.595Z","updated_at":"2025-10-06T13:52:45.615Z","avatar_url":"https://github.com/postlund.png","language":"Python","funding_links":["https://github.com/sponsors/postlund"],"categories":[],"sub_categories":[],"readme":"![Validate with hassfest](https://github.com/postlund/dlink_hnap/workflows/Validate%20with%20hassfest/badge.svg)\n![HACS Validation](https://github.com/postlund/dlink_hnap/workflows/HACS%20Validation/badge.svg)\n[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg)](https://github.com/custom-components/hacs)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n\n# D-Link HNAP\n\nThis is an experimental integration to Home Assistant supporting D-Link devices. It communicates\nlocally with the devices, i.e. no cloud needed, but only supports polling.\n\nThe following devices are supported:\n\n* Motion Sensor (DCH-S150)\n* Water Leakage Sensor (DCH-S160 and DCH-S161)\n\n*DISCLAIMER: Currently I don't use any of these devices. So I cannot test the integration. It is\nprovided as reference and for the community to maintain. Please send PRs!*\n\n## Installation\n\n### HACS _(preferred method)_\n\nThis integration is available in the default repository list, just search for it!\n\n### Manual install\n\nPlace the `custom_components` folder in your configuration directory\n(or add its contents to an existing `custom_components` folder).\n\n## Configuration\n\nThis integration does not support config flows yet, so you need to add\nit in `configuration.yaml`:\n\n```yaml\nbinary_sensor:\n  - platform: dlink_hnap\n    name: Kitchen Motion\n    host: 10.0.0.10\n    type: motion\n    username: Admin\n    password: 123456\n    timeout: 35\n  - platform: dlink_hnap\n    name: Kitchen Leakage\n    host: 10.0.0.11\n    type: water\n    username: Admin\n    password: 123456\n```\n\nHere are the configuration options:\n\nkey | optional | type | default | description\n-- | -- | -- | -- | --\n`name` | True | string | D-Link Motion Sensor | Name for the sensor\n`type` | False | string | | Sensor type: motion or water\n`host` | False | string | | IP address to sensor\n`username` | True | string | Admin | Username for authentication (always Admin)\n`password` | False | int | | PIN code written on the device\n`timeout` | True | int | 35 | Amount of seconds before sensor going to `off` after *last* motion (only used when `type` is `motion`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostlund%2Fdlink_hnap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpostlund%2Fdlink_hnap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostlund%2Fdlink_hnap/lists"}