Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Home-Assistant HACS - Mixcloud

NotificationsYou must be signed in to change notification settings

Lexorius/homeassistant-mixcloud-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This custom component integratesMixcloud user data intoHome Assistant via HACS. It provides sensors for follower counts, uploads, and profile information for any public Mixcloud user.


Features

  • Sensors for all count fields: Follower count, following count, cloudcast count, favorite count, listen count.
  • Profile sensor: All other profile information (bio, city, country, etc.) is available as attributes of a single sensor.
  • Last upload sensor: Shows the latest upload and its details.
  • Flexible config flow: Enter either your Mixcloud username or the full profile URL during setup.

Installation

  1. Via HACS (recommended):

    • Go to HACS → Integrations → Custom repositories.
    • Add this repository URL and select "Integration".
    • Search for "Mixcloud" and install.
  2. Manual:

    • Copy themixcloud folder into yourcustom_components directory.
  3. Restart Home Assistant after installation.


Configuration

Add via UI

  1. Go toSettings → Devices & Services → Add Integration.
  2. Search forMixcloud.
  3. Enter either your Mixcloud username (e.g.knockwood)or your profile URL (e.g.https://api.mixcloud.com/knockwood/).
  4. Confirm and finish setup.

Options

  • Scan interval: By default, data is updated every 5 minutes (300 seconds). You can adjust this in the integration options.

Sensors

After setup, the following sensors will be created (replaceyourusername with your Mixcloud username):

  • sensor.mixcloud_yourusername_follower_count
  • sensor.mixcloud_yourusername_following_count
  • sensor.mixcloud_yourusername_cloudcast_count
  • sensor.mixcloud_yourusername_favorite_count
  • sensor.mixcloud_yourusername_listen_count
  • sensor.mixcloud_yourusername_profile
    • Attributes:biog,created_time,updated_time,is_pro,is_premium,city,country,cover_pictures, etc.
  • sensor.mixcloud_yourusername_last_upload
    • State: Name of the last upload
    • Attributes:created_time,url,plays,likes

Example

Profile sensor attributes:

biog:"The german dj and radio-host..."created_time:"2013-12-16T22:55:03Z"city:"Stuttgart"country:"Germany"is_pro:truecover_pictures:835wx120h:"https://thumbnailer.mixcloud.com/..."...

Troubleshooting

  • If you seeNetwork error orinvalid_username, check your username or URL.
  • Only public Mixcloud profiles are supported.
  • Make sure your Home Assistant instance can reachapi.mixcloud.com.

Version

1.0.0


Credits


License

MIT License


[8]ページ先頭

©2009-2025 Movatter.jp