Last.fm


The lastfm sensor platform will allow you to see whenever a user starts scrobbling, their play count, last song played, and top song played on Last.fm.

Setup

To get an API key you need to create an API account.

Configuration

To use Last.fm sensor with your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
sensor:
  - platform: lastfm
    api_key: YOUR_API_KEY
    users:
      - user1
      - user2

Configuration Variables

api_key string Required

Your Last.fm API key.

users list Required

List of users.

username

Username of the user to monitor.