Skip to main content

A pythonic library for discovering and controlling Teufel Raumfeld devices.

Project description

A pythonic library for discovering and controlling Teufel Raumfeld devices.

Tested with a Raumfeld One. Hardware donations to improve the library are welcome :smile:

Supports Python >2.7, 3.x

Installation

pip install raumfeld

Quickstart

import raumfeld

# discovery returns a list of RaumfeldDevices
devices = raumfeld.discover(timeout=1, retries=1)
if len(devices) > 0:
    speaker = devices[0]

    # now you can control your raumfeld speaker
    speaker.mute = True     # mute
    print(speaker.volume)   # print current volume
    speaker.volume = 50     # set volume

    speaker.pause()
    speaker.play()
else:
    print('No devices found.')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for raumfeld, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size raumfeld-0.2.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page