{"id":25411338,"url":"https://github.com/liamsnow/esphomebridge-rs","last_synced_at":"2026-05-17T03:39:46.021Z","repository":{"id":277742559,"uuid":"928477433","full_name":"LiamSnow/esphomebridge-rs","owner":"LiamSnow","description":"aioesphomeapi in Rust!","archived":false,"fork":false,"pushed_at":"2025-08-04T04:55:06.000Z","size":83,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-04T07:34:04.876Z","etag":null,"topics":["esp32","esphome","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/LiamSnow.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,"zenodo":null}},"created_at":"2025-02-06T17:51:03.000Z","updated_at":"2025-08-04T04:55:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"07e2f0c8-fade-43d9-88c2-009802b5d2dc","html_url":"https://github.com/LiamSnow/esphomebridge-rs","commit_stats":null,"previous_names":["liamsnow/esphomebridge-rs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LiamSnow/esphomebridge-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiamSnow%2Fesphomebridge-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiamSnow%2Fesphomebridge-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiamSnow%2Fesphomebridge-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiamSnow%2Fesphomebridge-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LiamSnow","download_url":"https://codeload.github.com/LiamSnow/esphomebridge-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiamSnow%2Fesphomebridge-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270098959,"owners_count":24527021,"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-08-12T02:00:09.011Z","response_time":80,"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":["esp32","esphome","rust"],"created_at":"2025-02-16T10:17:12.010Z","updated_at":"2025-10-27T10:16:26.493Z","avatar_url":"https://github.com/LiamSnow.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESPHome Bridge\n\nA client API to interact with ESPHome devices (in the same way Home Assistant does).\n\nThe following features are **not** implemented:\n - Bluetooth\n - Voice Assistants\n\n[aioesphomeapi](github.com/esphome/aioesphomeapi) was used a reference, but this\nis not a one-to-one copy.\n\n## Usage\n\nConnect:\n```rust\nlet dev = Device::new_noise(\"IP\", \"NOISE_PSK\")?;\ndev.connect().await?;\n```\n\nPrint all buttons:\n```rust\nfor e in \u0026dev.entities.button {\n    println!(\"Button: {:#?}\", e.1);\n}\n```\n\nTurn on all lights:\n```rust\nfor light in dev.entities.light {\n    let req = api::LightCommandRequest {\n        key: light.key,\n        has_state: true,\n        state: true\n        ..Default::default()\n    };\n\n    dev.light_command(req).await?;\n}\n```\n\nTurn on a light, given the entity name\n```rust\nlet req = api::LightCommandRequest {\n    key: dev.get_light_key_from_name(\"rgbct_bulb\")?,\n    has_state: true,\n    state: true\n    ..Default::default()\n};\n\ndev.light_command(req).await?;\n```\n\nSee [liamsnow.com](https://liamsnow.com/projects/esphomebridge-rs) for more.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliamsnow%2Fesphomebridge-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliamsnow%2Fesphomebridge-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliamsnow%2Fesphomebridge-rs/lists"}