Hello to all,
I’m sharing a new custom integration based on the official (legacy) discogs integration: Discogs Enhanced Integration.
This integration builds upon the solid foundation of the existing official Home Assistant Discogs integration, providing some additional features for avid music collectors such as me.
What’s New & Why Use It?
While the core Discogs integration is excellent for tracking your collection and wantlist counts, I, like many of you, wanted deeper insights into the monetary value of my collection. This enhanced version addresses that by adding:
- Collection Value (Minimum): A sensor displaying the estimated minimum market value of your Discogs collection.
- Collection Value (Median): A sensor displaying the estimated median market value of your Discogs collection.
- Collection Value (Maximum): A sensor displaying the estimated maximum market value of your Discogs collection.
These sensors dynamically show the value in the currency provided by Discogs.
Acknowledgment & Development
This project stands on the shoulders of giants
. It is heavily based on and inspired by the official Home Assistant Discogs integration originally developed by the talented @thibmaek. A huge thank you to them for their foundational work!
As someone without extensive development experience, this integration was brought to life with significant assistance from AI , which helped in understanding Home Assistant’s architecture, refactoring the code, and implementing these new features.
Installation (via HACS Custom Repository)
You can easily install this integration using HACS:
- Open HACS in your Home Assistant instance.
- Go to Integrations.
- Click the three dots (
...) in the top right corner and select “Custom repositories”. - Enter the URL:
https://github.com/andreasc1/homeassistant-discogs-enhanced - Select “Category”:
Integration. - Click “ADD”.
- Once added, search for “Discogs Enhanced Integration” in HACS and click “Download”.
- Restart Home Assistant after downloading.
Configuration Example
After installation and restarting Home Assistant, add the following to your configuration.yaml:
# Example configuration.yaml entry
sensor:
- platform: discogs_enhanced
token: YOUR_DISCOGS_API_TOKEN
name: My Discogs Collection # Optional, defaults to "Discogs"
monitored_conditions:
- collection
- wantlist
- random_record
- collection_value_min
- collection_value_median
- collection_value_max