Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ logs
*.log
*_device_*.json
*_onboardingInfo*.json
.vscode/
.vscode/
.idea/
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ npm install opent2t-translator-com-wink-thermostat
```
2. First step is to do the onboarding. Wink communicates via the hub so you need to set that up first
```bash
node_modules\.bin\opent2t-cli -o opent2t-translator-com-wink-hub -h WinkHub
node_modules/.bin/opent2t-cli -o opent2t-translator-com-wink-hub -h WinkHub
```

Or, if installed globally
Expand All @@ -65,7 +65,7 @@ After this, your access token info has been saved so you should not have to do t

3. Enumerate devices on the hub and find the device id you want to use (in this case the thermostat)
```bash
node_modules\.bin\opent2t-cli -h WinkHub
node_modules/.bin/opent2t-cli -h WinkHub
```

Or, if installed globally
Expand All @@ -83,7 +83,7 @@ This will print out the devices that the hub sees and also creates json files so

4. Get the thermostat info
```bash
node_modules\.bin\opent2t-cli -h WinkHub -t opent2t-translator-com-wink-thermostat -i 152846 -g ThermostatResURI
node_modules/.bin/opent2t-cli -h WinkHub -t opent2t-translator-com-wink-thermostat -i 152846 -g ThermostatResURI
```

Or, if installed globally
Expand All @@ -101,7 +101,7 @@ Let's break this call down:
## Run the CLI in interactive mode

```bash
node_modules\.bin\opent2t-cli -m
node_modules/.bin/opent2t-cli -m
```

Or, if installed globally
Expand All @@ -121,7 +121,7 @@ You can run the CLI in interactive mode for a more guided experience. In intera
Launch the reference application

```bash
node_modules\.bin\opent2t-ui
node_modules/.bin/opent2t-ui
```

Or, if installed globally
Expand Down