Skip to content

Commit b40ae9e

Browse files
committed
update default port typo
1 parent 54217b9 commit b40ae9e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This ConnectorBridgeCLI integration allows you to control the following brands:
4040
The default communication is via Multicast, but it might not work on your network. You can override with the Bridge IP address.
4141

4242
1. Find your bridge IP address. You might need to look at your router
43-
2. The bridge port is set to 31200. Unlikely the default value needs to be changed
43+
2. The bridge port is set to 32100. Unlikely the default value needs to be changed
4444
3. Retrieve the API key from the mobile app. Settings -> About -> Tap 5 times anywhere on the screen
4545
4. Devices IDs are usually the same as set on the remote control.
4646
5. Download the executable from [Releases](https://github.com/alexbacchin/ConnectorBridgeCLI/releases) page
@@ -49,11 +49,11 @@ The default communication is via Multicast, but it might not work on your networ
4949
Flag | Environment Variable | Description |
5050
|--|--|--|
5151
| --host |CONNECTOR_BRIDGE_HOST | The hostname of IP address of the Connector Bridge -0 |
52-
| --port |CONNECTOR_BRIDGE_PORT | The port for the Connector Bridge connection. Default 31200 |
52+
| --port |CONNECTOR_BRIDGE_PORT | The port for the Connector Bridge connection. Default 32100 |
5353
| --apikey | CONNECTOR_BRIDGE_APIKEY | The ApiKey to authenticate with Connector Bridge |
5454

5555
```bash
56-
sconnector-cli <command> <device_id> --host=192.168.0.189 --apikey=<Bridge API key> --port=31200
56+
sconnector-cli <command> <device_id> --host=192.168.0.189 --apikey=<Bridge API key> --port=32100
5757
```
5858
```bash
5959
export CONNECTOR_BRIDGE_HOST=192.168.0.189

cmd/root.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ var rootCmd = &cobra.Command{
2020

2121
func init() {
2222
rootCmd.PersistentFlags().StringVar(&host, "host", os.Getenv("CONNECTOR_BRIDGE_HOST"), "The hostname of IP address of the Connector Bridge. Default 238.0.0.18")
23-
rootCmd.PersistentFlags().StringVar(&port, "port", os.Getenv("CONNECTOR_BRIDGE_PORT"), "The port for the Connector Bridge connection. Default 31200")
23+
rootCmd.PersistentFlags().StringVar(&port, "port", os.Getenv("CONNECTOR_BRIDGE_PORT"), "The port for the Connector Bridge connection. Default 32100")
2424
rootCmd.PersistentFlags().StringVar(&apiKey, "apikey", os.Getenv("CONNECTOR_BRIDGE_APIKEY"), "The ApiKey from Connector Bridge. On the mobile app: Go to Settings (gear), About. Tap 5 times on the screen")
2525
}
2626

2727
func Execute() {
2828
if port == "" {
29-
port = "31200"
29+
port = "32100"
3030
}
3131
if host == "" {
3232
host = "238.0.0.18"

0 commit comments

Comments
 (0)