Welcome to python-raumfeld’s documentation!

Contents:

Installation

pip install raumfeld

Device discovery

With python-raumfeld it is very easy to discover all raumfeld devices in your local network. Simply run the function raumfeld.discover

raumfeld.discover(timeout=1, retries=1)

Discover Raumfeld devices in the network

Parameters:
  • timeout – The timeout in seconds
  • retries – How often the search should be retried
Returns:

A list of raumfeld devices, sorted by name

Device control

class raumfeld.RaumfeldDevice(location)
mute

get/set the current mute state

next()

Next

pause()

Pause

play(uri=None)

Start playing

Parameters:uri – (optional) play a specific uri
previous()

Previous

track_metadata

Get TrackURIMetaData

track_uri

Get TrackURI

transport_state

Get Current Transport State

uri

Get the uri of the currently played medium

uri_metadata

Get CurrentURIMetaData

volume

get/set the current volume

Indices and tables