Skip to content

Commit

Permalink
Merge pull request #9 from poblouin/1.0.1
Browse files Browse the repository at this point in the history
Improve readme instructions
  • Loading branch information
poblouin authored Feb 16, 2022
2 parents 577f27f + b4070f1 commit caf08c7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,11 @@ With the previous steps, you will provide the code grant and the plugin will do
- It will generate the access and refresh tokens
- It will store them in a file named `.homebridge-spotify-speaker` in the homebridge's persist directory. Thus, when your homebridge server restarts, it can fetch back the tokens.
- It will automatically refresh the access token when needed
## Finding a speaker device ID
Once the spotify authentication flow is done, the plugin will display the list of available devices in your Homebridge logs. In Homebridge UI, keep an eye on the logs when the plugin restarts and you will see a message looking like the following:
![Example Device Log](assets/example-device.png)
You can then take the `id` from the Spotify device that you want to control and this is what you put in the plugin's configuration as the `spotifyDeviceId`.
Binary file added assets/example-device.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"displayName": "Homebridge Spotify Speaker",
"name": "@poblouin/homebridge-spotify-speaker",
"version": "1.0.0",
"version": "1.0.1",
"description": "Homebridge plugin that creates a speaker that plays a specific Spotify playlist",
"license": "MIT",
"author": "Pierre-Olivier Blouin <[email protected]>",
Expand Down

0 comments on commit caf08c7

Please sign in to comment.