Entity | Type | Description |
---|---|---|
open_sessions |
sensor |
Show number of open audio sessions |
libraries |
sensor |
Number of libraries on the server |
users |
sensor |
Number of users on the server |
Entity | Type | Description |
---|---|---|
items |
sensor |
Number of items in the library |
duration |
sensor |
Total time in hours of playable content in library |
size |
sensor |
Total disk space used by library in GB |
- Make sure you have HACS fully set up (if you don't you can do so here)
- Open up HACS in you Home Assistant instance and search for "Audiobookshelf" and add it
- Restart Home Assistant once it is installed
- In the Home Assistant UI go to "Configuration" -> "Integrations" click "+" and search for "Audiobookshelf"
- Click on "Audiobookshelf" and proceed to Configuration
- Using the tool of choice open the directory (folder) for your Home Assistant configuration (where you find
configuration.yaml
) - If you do not have a
custom_components
directory (folder) there, you need to create it - Download the
Audiobookshelf_vX.X.X.zip
file from the latest release - Unzip the folder and place it into
custom_components
- Restart Home Assistant
- In the Home Assistant UI go to "Configuration" -> "Integrations" click "+" and search for "Audiobookshelf"
- Click on "Audiobookshelf" and proceed to Configuration
- Log in as the admin user
- Go to Settings > Users
- Click on the account
- Copy the API Token from beneath the user's name
For more info on what the token can be used for see: https://api.audiobookshelf.org/#introduction
Variable | Description |
---|---|
URL |
The URL and port of your Audiobookshelf instance (must start with the protocol, http:// or https://) |
API key |
The API key that you got in the previous step |
Scan interval |
How regularly the data should be fetched from your Audiobookshelf instance (in seconds), defaults to 300s |
This project was generated from @oncleben31's Home Assistant Custom Component Cookiecutter template.
Code template was mainly taken from @Ludeeus's integration_blueprint template