{"id":16271498,"url":"https://github.com/shreyaskarnik/esphome-components","last_synced_at":"2025-09-12T20:33:17.752Z","repository":{"id":63655424,"uuid":"569523843","full_name":"shreyaskarnik/esphome-components","owner":"shreyaskarnik","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-17T03:50:13.000Z","size":204,"stargazers_count":1,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-31T16:42:31.733Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shreyaskarnik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2022-11-23T02:39:50.000Z","updated_at":"2024-02-03T23:41:51.000Z","dependencies_parsed_at":"2024-11-05T02:02:31.859Z","dependency_job_id":"5760e523-d3a6-4fc8-85a3-eb9e4f0f7d1a","html_url":"https://github.com/shreyaskarnik/esphome-components","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shreyaskarnik%2Fesphome-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shreyaskarnik%2Fesphome-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shreyaskarnik%2Fesphome-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shreyaskarnik%2Fesphome-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shreyaskarnik","download_url":"https://codeload.github.com/shreyaskarnik/esphome-components/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233819584,"owners_count":18735302,"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","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":[],"created_at":"2024-10-10T18:13:42.228Z","updated_at":"2025-01-13T23:05:51.335Z","avatar_url":"https://github.com/shreyaskarnik.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# esphome-components\n\nThis repo contains a custom esphome component/sensor for the person sensor [SEN-21231](https://www.sparkfun.com/products/21231) from [Useful Sensors](https://usefulsensors.com/)\n\n## Motivation\n\nI wanted to use the person sensor for triggering automations in Home Assistant using ESPHome.\nThis is a work in progress and I am not very well versed in C++ or interfacing with hardware over I2C.\nHuge thank you to [Pete Warden](https://github.com/petewarden) and the Useful Sensors team for their work on the [Person Sensor](https://usefulsensors.com/) and providing example code which makes this custom component possible.\n\n## Testing\n\nI tested the custom component on a ESP32 dev board with the person sensor connected to the I2C bus. With `sda` connected to pin 21 and `scl` connected to pin 22.\n\n## Example\n\n![example](example_logs.png)\n\n## ESPHome Configuration\n\n```yaml\nesphome:\n  name: sense\n  platform: ESP32\n  board: esp32dev\nexternal_components:\n  - source:\n      type: git\n      url: https://github.com/shreyaskarnik/esphome-components\n    components: [sen21231]\nsensor:\n  - platform: sen21231\n    name: \"Person Sensor\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshreyaskarnik%2Fesphome-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshreyaskarnik%2Fesphome-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshreyaskarnik%2Fesphome-components/lists"}