File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ echo "$BRIDGE_IP $USERNAME"
122
122
123
123
```
124
124
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
126
126
```
127
127
128
128
## Examples
Original file line number Diff line number Diff line change @@ -88,10 +88,10 @@ func myUsage() {
88
88
func pairBridge (configpath string ) {
89
89
90
90
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 " )
92
92
}
93
93
94
- resp , err := http .Get ("https://www .meethue.com/api/nupnp " )
94
+ resp , err := http .Get ("https://discovery .meethue.com/" )
95
95
96
96
if err != nil {
97
97
panic (err )
@@ -106,7 +106,7 @@ func pairBridge(configpath string) {
106
106
}
107
107
108
108
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 )
110
110
}
111
111
112
112
var hueBridges = []hueBridgeResponse {}
You can’t perform that action at this time.
0 commit comments