Skip to content

Commit

Permalink
Updates hue bridge pairing uri
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias Perlet committed Sep 19, 2020
1 parent 83fe0da commit 70ebe24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ echo "$BRIDGE_IP $USERNAME"

```
git clone https://github.com/mperlet/huevent.git && cd huevent
docker run --rm -v "$PWD":/huevent:Z -w /huevent -e GOOS=linux -e GOARCH=amd64 golang:1.12.4-stretch go build huevent.go
docker run --rm -v "$PWD":/huevent:Z -w /huevent -e GOOS=linux -e GOARCH=amd64 golang:1.15.2-buster go build huevent.go
```

## Examples
Expand Down
6 changes: 3 additions & 3 deletions huevent.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ func myUsage() {
func pairBridge(configpath string) {

if DEBUG {
fmt.Printf("pair bridge, ask https://www.meethue.com/api/nupnp\n")
fmt.Printf("pair bridge, ask https://discovery.meethue.com/\n")
}

resp, err := http.Get("https://www.meethue.com/api/nupnp")
resp, err := http.Get("https://discovery.meethue.com/")

if err != nil {
panic(err)
Expand All @@ -106,7 +106,7 @@ func pairBridge(configpath string) {
}

if DEBUG {
fmt.Printf("response from https://www.meethue.com/api/nupnp %s\n", body)
fmt.Printf("response from https://discovery.meethue.com/ %s\n", body)
}

var hueBridges = []hueBridgeResponse{}
Expand Down

0 comments on commit 70ebe24

Please sign in to comment.