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.

Source Distribution

raumfeld-0.2.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file raumfeld-0.2.tar.gz.

File metadata

  • Download URL: raumfeld-0.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for raumfeld-0.2.tar.gz
Algorithm Hash digest
SHA256 a242113d659fd683cb6dfd528750e9a0c3e218743cd496d0659512aa21f74e97
MD5 47ad87dcaf5d02298384fb5445dd0079
BLAKE2b-256 02aa467fc48ccdbe93641fcf35ed2c567a744880163b7395c3aa62f4021fdd95

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page