Skip to content

Commit 70ebe24

Browse files
author
Mathias Perlet
committed
Updates hue bridge pairing uri
1 parent 83fe0da commit 70ebe24

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ echo "$BRIDGE_IP $USERNAME"
122122

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

128128
## Examples

huevent.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ func myUsage() {
8888
func pairBridge(configpath string) {
8989

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

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

9696
if err != nil {
9797
panic(err)
@@ -106,7 +106,7 @@ func pairBridge(configpath string) {
106106
}
107107

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

112112
var hueBridges = []hueBridgeResponse{}

0 commit comments

Comments
 (0)