{"id":21040556,"url":"https://github.com/pixelspark/esphome-rs","last_synced_at":"2025-05-15T16:33:22.034Z","repository":{"id":57647360,"uuid":"398789753","full_name":"pixelspark/esphome-rs","owner":"pixelspark","description":"ESPHome API client for Rust","archived":false,"fork":false,"pushed_at":"2022-10-07T09:02:02.000Z","size":166,"stargazers_count":9,"open_issues_count":2,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-23T00:05:40.707Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/pixelspark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-22T12:06:05.000Z","updated_at":"2025-04-13T06:27:10.000Z","dependencies_parsed_at":"2022-09-07T20:22:59.138Z","dependency_job_id":null,"html_url":"https://github.com/pixelspark/esphome-rs","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/pixelspark%2Fesphome-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelspark%2Fesphome-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelspark%2Fesphome-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelspark%2Fesphome-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixelspark","download_url":"https://codeload.github.com/pixelspark/esphome-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254377449,"owners_count":22061140,"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-11-19T13:47:09.131Z","updated_at":"2025-05-15T16:33:21.670Z","avatar_url":"https://github.com/pixelspark.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESPHome.rs\n\nESPHome API client for Rust.\n\n## Usage\n\n````rust\nuse esphome::Connection;\nuse std::net::TcpStream;\n\nlet mut stream = TcpStream::connect(opt.address)?;\nlet mut write_stream = stream.try_clone()?;\nlet connection = Connection::new(\u0026mut stream, \u0026mut write_stream);\nlet device = connection.connect()?;\nprintln!(\"Connected to {}\", device.server_info());\n\nif let Some(password) = opt.password {\n\tlet ad = device.authenticate(\u0026password)?;\n\t// ...\n}\n````\n\n## Running an example\n\n````sh\ncargo run --example connect -- -a some.device:6053 -p some_password\n````\n\n## License\n\n[MIT](./LICENSE.txt) except for the following:\n\n* [src/api.proto](./src/api.proto) and [src/api_options.proto](./src/api_options.proto): copied from\n [the aioesphomeapi repository](https://github.com/esphome/aioesphomeapi/tree/main/aioesphomeapi) under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelspark%2Fesphome-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixelspark%2Fesphome-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelspark%2Fesphome-rs/lists"}