From 374dd9c2b12064524ef2e3558d78547a52bbffd9 Mon Sep 17 00:00:00 2001 From: Joe Shaw Date: Sun, 3 Jan 2021 11:51:40 -0500 Subject: [PATCH] kasa-homecontrol -> kasa-homekit --- Dockerfile | 6 +++--- README.md | 10 +++++----- go.mod | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6eac826..93e1a71 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,13 +10,13 @@ COPY go.mod go.sum ./ RUN go mod download COPY . . -RUN CGO_ENABLED=0 go build -installsuffix 'static' -o /usr/local/bin/kasa-homecontrol . +RUN CGO_ENABLED=0 go build -installsuffix 'static' -o /usr/local/bin/kasa-homekit . FROM scratch COPY --from=builder /etc/passwd /etc/group /etc/ COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ -COPY --from=builder /usr/local/bin/kasa-homecontrol /usr/local/bin/ +COPY --from=builder /usr/local/bin/kasa-homekit /usr/local/bin/ USER nobody:nobody -ENTRYPOINT ["/usr/local/bin/kasa-homecontrol"] +ENTRYPOINT ["/usr/local/bin/kasa-homekit"] diff --git a/README.md b/README.md index 0a46409..ab3697f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# kasa-homecontrol +# kasa-homekit Apple HomeKit support for TP-Link Kasa smart home devices using -[HomeControl](https://github.com/brutella/hc). +[hc](https://github.com/brutella/hc). Devices are detected and communicated with via the local network APIs. This module does not use the cloud APIs and does not require you to log @@ -19,11 +19,11 @@ an Apple TV or iPad, you can control the device remotely. The tool can be installed with: - go get -u github.com/joeshaw/kasa-homecontrol + go get -u github.com/joeshaw/kasa-homekit Then you can run the service: - kasa-homecontrol + kasa-homekit The service will search for Kasa devices on your local network at startup, and every 5 seconds afterward. @@ -46,7 +46,7 @@ sure the code has been run through `gofmt`. Copyright 2020 Joe Shaw -`kasa-homecontrol` is licensed under the MIT License. See the LICENSE +`kasa-homekit` is licensed under the MIT License. See the LICENSE file for details. diff --git a/go.mod b/go.mod index da382bc..879ee05 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/joeshaw/kasa-homecontrol +module github.com/joeshaw/kasa-homekit go 1.14