Commit 8f2c3ae16ed0609db9fbf85474c0cc5cb7e1b5e9
Committed by
GitHub
1 parent
86d60f05
Add port number to readme
Showing
1 changed file
with
2 additions
and
2 deletions
README.md
| ... | ... | @@ -50,11 +50,11 @@ finder.AddUsername(bridges[0].mac, "<username>"); |
| 50 | 50 | Hue bridge = finder.GetBridge(bridges[0]); |
| 51 | 51 | ``` |
| 52 | 52 | If you do not want to use the HueFinder or you already know the ip and username of your bridge you have the option to create your own Hue object. |
| 53 | -Here you will need to provide the ip address, a username and an HttpHandler | |
| 53 | +Here you will need to provide the ip address, the port number, a username and an HttpHandler | |
| 54 | 54 | ```C++ |
| 55 | 55 | // For windows use std::make_shared<WinHttpHandler>(); |
| 56 | 56 | handler = std::make_shared<LinHttpHandler>(); |
| 57 | -Hue bridge("192.168.2.102", "<username>", handler); | |
| 57 | +Hue bridge("192.168.2.102", 80, "<username>", handler); | |
| 58 | 58 | ``` |
| 59 | 59 | |
| 60 | 60 | ### Controlling lights | ... | ... |