plugctl/README.md

15 lines
438 B
Markdown
Raw Normal View History

2023-01-06 16:05:31 +11:00
# plugctl
2023-05-19 17:10:35 +10:00
[![Build status](https://badge.buildkite.com/499cf60391b51f08f4050886b0cf04f47f1f2b4461caae16bc.svg)](https://buildkite.com/drjosh9000/plugctl)
2023-05-19 17:17:02 +10:00
Library for controlling Kasa switches, and a sample app.
## CLI usage & example
Assuming your `~/go/bin` is in `$PATH`:
1. `go get gitea.drjosh.dev/josh/plugctl/cmd/plugctl@latest`
2. `plugctl {on,off,state} --kasa-addr=(host:port)`
See `cmd/plugctl/main.go` for library usage.