3.3.1 • Published 1 year ago

esphome-ts v3.3.1

Weekly downloads
43
License
GPL-3.0
Repository
github
Last release
1 year ago

esphome-ts

This is a client library for use with esphome.

Example use

import { EspDevice, SwitchComponent } from 'esphome-ts/dist';
import { filter, tap } from 'rxjs/operators';

const device = new EspDevice('my_esp.local');
device.discovery$
    .pipe(
        filter((value) => value),
        tap(() => {
            const sw = device.components['test_switch'] as SwitchComponent;
            sw.state$.subscribe((value) => {
                console.log(sw.status);
            });
        }),
    )
    .subscribe();

Please see more here

Contribution

Please, feel free to make a PR and contribute to this project. Esphome is a good project, and this expands their ecosystem.

License

While this project in general and my contributions (Luca Becker) are licensed under the GPLv3, the .proto files are licensed under different licenses. Please see those files for their respective licenses. Copies of their licenses have been saved in the licenses folder.

3.3.1

1 year ago

3.4.0-beta.0

3 years ago

3.3.0

3 years ago

3.2.0

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.0.5

3 years ago

2.2.0

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.1.5

4 years ago

2.1.4

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

2.0.0-beta.2

4 years ago

2.0.0-beta.1

4 years ago

2.0.0-beta.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago