ESPHome.rs
ESPHome API client for Rust.
Usage
use Connection;
use TcpStream;
let mut stream = connect?;
let mut write_stream = stream.try_clone?;
let connection = new;
let device = connection.connect?;
println!;
if let Some = opt.password
Running an example
License
MIT except for the following:
- src/api.proto and src/api_options.proto: copied from the aioesphomeapi repository under the MIT license.