Skip to content

Commit

Permalink
Update README to reflect new behavior (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdlambert authored Mar 26, 2020
1 parent 56df231 commit 6b59286
Showing 1 changed file with 29 additions and 7 deletions.
36 changes: 29 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ for use by:

## Installation

Install with `pip install bond-cli`
Install with

```bash
pip install bond-cli
```

## Getting Started

Expand All @@ -24,20 +28,38 @@ Find Bonds on local network:
bond discover
```

Check their firmware versions:

Select a Bond and set the token so we can go deeper:

```bash
bond version
bond select <your Bond's ID or a prefix>
```
Select a Bond and set the token so we can go deeper:
If your Bond's token is unlocked, `select` will retrieve and store it. Otherwise, you have
a couple options. You can unlock the token yourself (a power cycle is the easiest way, it'll
be unlocked for a period after a reboot), and run the following to automatically retrieve
and store it:
```bash
bond select KX12345
bond token a938b2010cb203
bond token
```
Or, you can manually set the token, which you could find in the Bond Home app
in the Bond's settings screen.

```bash
bond token <your Bond's token>
```
Now that you've selected a Bond and stored its token, you're ready to interact with it.
Check its firmware version:
```bash
bond version
```
List devices:
List its devices:
```bash
bond devices
Expand Down

0 comments on commit 6b59286

Please sign in to comment.